msvcp60: Use char type for FROZEN macro.
[wine.git] / configure
blobf15c3e46d31776652c1ec5c06ad246a1ea6725bb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.19.
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.19'
615 PACKAGE_STRING='Wine 8.19'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FLUIDSYNTH_PE_LIBS
744 FLUIDSYNTH_PE_CFLAGS
745 FAUDIO_PE_LIBS
746 FAUDIO_PE_CFLAGS
747 MINGW_PKG_CONFIG
748 PE_ARCHS
749 WINELOADER_DEPENDS
750 ac_ct_OBJC
751 OBJCFLAGS
752 OBJC
753 OPENCL_LIBS
754 COREAUDIO_LIBS
755 SYSTEMCONFIGURATION_LIBS
756 SECURITY_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 METAL_LIBS
761 IOKIT_LIBS
762 DISKARBITRATION_LIBS
763 COREFOUNDATION_LIBS
764 CARBON_LIBS
765 CONFIGURE_TARGETS
766 DISABLED_SUBDIRS
767 SUBDIRS
768 READELF
769 OTOOL
771 DLLEXT
772 WINEPRELOADER_LDFLAGS
773 WINELOADER_LDFLAGS
774 TOP_INSTALL_DEV
775 TOP_INSTALL_LIB
776 UNIXLDFLAGS
777 UNIXDLLFLAGS
778 EXTRACFLAGS
779 LDEXECFLAGS
780 LDDLLFLAGS
781 DLLFLAGS
782 OPENGL_LIBS
783 I386_LIBS
784 ICOTOOL
785 CONVERT
786 RSVG
787 FONTFORGE
788 PKG_CONFIG
789 MSGFMT
790 LDCONFIG
791 EGREP
792 GREP
793 LN_S
794 RANLIB
795 STRIP
796 ac_ct_AR
798 BISON
799 FLEX
800 SED_CMD
801 RUNTESTFLAGS
802 MAKEDEP
803 toolsdir
804 x86_64_DISABLED_SUBDIRS
805 x86_64_DELAYLOADFLAG
806 x86_64_TARGET
807 x86_64_DEBUG
808 x86_64_LDFLAGS
809 x86_64_EXTRACFLAGS
810 x86_64_CFLAGS
811 x86_64_CC
812 i386_DISABLED_SUBDIRS
813 i386_DELAYLOADFLAG
814 i386_TARGET
815 i386_DEBUG
816 i386_LDFLAGS
817 i386_EXTRACFLAGS
818 i386_CFLAGS
819 i386_CC
820 arm_DISABLED_SUBDIRS
821 arm_DELAYLOADFLAG
822 arm_TARGET
823 arm_DEBUG
824 arm_LDFLAGS
825 arm_EXTRACFLAGS
826 arm_CFLAGS
827 arm_CC
828 aarch64_DISABLED_SUBDIRS
829 aarch64_DELAYLOADFLAG
830 aarch64_TARGET
831 aarch64_DEBUG
832 aarch64_LDFLAGS
833 aarch64_EXTRACFLAGS
834 aarch64_CFLAGS
835 aarch64_CC
836 HOST_ARCH
837 toolsext
838 TARGETFLAGS
840 CPPBIN
841 ac_ct_CXX
842 CXXFLAGS
844 OBJEXT
845 EXEEXT
846 ac_ct_CC
847 CPPFLAGS
848 LDFLAGS
849 CFLAGS
851 SET_MAKE
852 srcdir
853 nlsdir
854 fontdir
855 dlldir
856 host_os
857 host_vendor
858 host_cpu
859 host
860 build_os
861 build_vendor
862 build_cpu
863 build
864 system_dllpath
865 target_alias
866 host_alias
867 build_alias
868 LIBS
869 ECHO_T
870 ECHO_N
871 ECHO_C
872 DEFS
873 mandir
874 localedir
875 libdir
876 psdir
877 pdfdir
878 dvidir
879 htmldir
880 infodir
881 docdir
882 oldincludedir
883 includedir
884 runstatedir
885 localstatedir
886 sharedstatedir
887 sysconfdir
888 datadir
889 datarootdir
890 libexecdir
891 sbindir
892 bindir
893 program_transform_name
894 prefix
895 exec_prefix
896 PACKAGE_URL
897 PACKAGE_BUGREPORT
898 PACKAGE_STRING
899 PACKAGE_VERSION
900 PACKAGE_TARNAME
901 PACKAGE_NAME
902 PATH_SEPARATOR
903 SHELL'
904 ac_subst_files=''
905 ac_user_opts='
906 enable_option_checking
907 enable_archs
908 enable_win16
909 enable_win64
910 enable_tests
911 enable_build_id
912 enable_maintainer_mode
913 enable_silent_rules
914 enable_werror
915 with_alsa
916 with_capi
917 with_coreaudio
918 with_cups
919 with_dbus
920 with_float_abi
921 with_fontconfig
922 with_freetype
923 with_gettext
924 with_gettextpo
925 with_gphoto
926 with_gnutls
927 with_gssapi
928 with_gstreamer
929 with_inotify
930 with_krb5
931 with_mingw
932 with_netapi
933 with_opencl
934 with_opengl
935 with_osmesa
936 with_oss
937 with_pcap
938 with_pcsclite
939 with_pthread
940 with_pulse
941 with_sane
942 with_sdl
943 with_udev
944 with_unwind
945 with_usb
946 with_v4l2
947 with_vulkan
948 with_wayland
949 with_xcomposite
950 with_xcursor
951 with_xfixes
952 with_xinerama
953 with_xinput
954 with_xinput2
955 with_xrandr
956 with_xrender
957 with_xshape
958 with_xshm
959 with_xxf86vm
960 with_system_dllpath
961 with_wine_tools
962 with_wine64
963 enable_largefile
964 with_x
965 enable_acledit
966 enable_aclui
967 enable_activeds_tlb
968 enable_activeds
969 enable_actxprxy
970 enable_adsldp
971 enable_adsldpc
972 enable_advapi32
973 enable_advpack
974 enable_amsi
975 enable_amstream
976 enable_apisetschema
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_appxdeploymentclient
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_atlthunk
986 enable_atmlib
987 enable_authz
988 enable_avicap32
989 enable_avifil32
990 enable_avrt
991 enable_bcrypt
992 enable_bcryptprimitives
993 enable_bluetoothapis
994 enable_browseui
995 enable_bthprops_cpl
996 enable_cabinet
997 enable_capi2032
998 enable_cards
999 enable_cdosys
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_cng_sys
1003 enable_combase
1004 enable_comcat
1005 enable_comctl32
1006 enable_comdlg32
1007 enable_compstui
1008 enable_comsvcs
1009 enable_concrt140
1010 enable_connect
1011 enable_credui
1012 enable_crtdll
1013 enable_crypt32
1014 enable_cryptdlg
1015 enable_cryptdll
1016 enable_cryptext
1017 enable_cryptnet
1018 enable_cryptowinrt
1019 enable_cryptsp
1020 enable_cryptui
1021 enable_ctapi32
1022 enable_ctl3d32
1023 enable_d2d1
1024 enable_d3d10
1025 enable_d3d10_1
1026 enable_d3d10core
1027 enable_d3d11
1028 enable_d3d12
1029 enable_d3d12core
1030 enable_d3d8
1031 enable_d3d8thk
1032 enable_d3d9
1033 enable_d3dcompiler_33
1034 enable_d3dcompiler_34
1035 enable_d3dcompiler_35
1036 enable_d3dcompiler_36
1037 enable_d3dcompiler_37
1038 enable_d3dcompiler_38
1039 enable_d3dcompiler_39
1040 enable_d3dcompiler_40
1041 enable_d3dcompiler_41
1042 enable_d3dcompiler_42
1043 enable_d3dcompiler_43
1044 enable_d3dcompiler_46
1045 enable_d3dcompiler_47
1046 enable_d3dim
1047 enable_d3dim700
1048 enable_d3drm
1049 enable_d3dx10_33
1050 enable_d3dx10_34
1051 enable_d3dx10_35
1052 enable_d3dx10_36
1053 enable_d3dx10_37
1054 enable_d3dx10_38
1055 enable_d3dx10_39
1056 enable_d3dx10_40
1057 enable_d3dx10_41
1058 enable_d3dx10_42
1059 enable_d3dx10_43
1060 enable_d3dx11_42
1061 enable_d3dx11_43
1062 enable_d3dx9_24
1063 enable_d3dx9_25
1064 enable_d3dx9_26
1065 enable_d3dx9_27
1066 enable_d3dx9_28
1067 enable_d3dx9_29
1068 enable_d3dx9_30
1069 enable_d3dx9_31
1070 enable_d3dx9_32
1071 enable_d3dx9_33
1072 enable_d3dx9_34
1073 enable_d3dx9_35
1074 enable_d3dx9_36
1075 enable_d3dx9_37
1076 enable_d3dx9_38
1077 enable_d3dx9_39
1078 enable_d3dx9_40
1079 enable_d3dx9_41
1080 enable_d3dx9_42
1081 enable_d3dx9_43
1082 enable_d3dxof
1083 enable_davclnt
1084 enable_dbgeng
1085 enable_dbghelp
1086 enable_dciman32
1087 enable_dcomp
1088 enable_ddraw
1089 enable_ddrawex
1090 enable_devenum
1091 enable_dhcpcsvc
1092 enable_dhcpcsvc6
1093 enable_dhtmled_ocx
1094 enable_diasymreader
1095 enable_difxapi
1096 enable_dinput
1097 enable_dinput8
1098 enable_directmanipulation
1099 enable_dispex
1100 enable_dmband
1101 enable_dmcompos
1102 enable_dmime
1103 enable_dmloader
1104 enable_dmscript
1105 enable_dmstyle
1106 enable_dmsynth
1107 enable_dmusic
1108 enable_dmusic32
1109 enable_dnsapi
1110 enable_dplay
1111 enable_dplayx
1112 enable_dpnaddr
1113 enable_dpnet
1114 enable_dpnhpast
1115 enable_dpnhupnp
1116 enable_dpnlobby
1117 enable_dpvoice
1118 enable_dpwsockx
1119 enable_drmclien
1120 enable_dsdmo
1121 enable_dsound
1122 enable_dsquery
1123 enable_dssenh
1124 enable_dsuiext
1125 enable_dswave
1126 enable_dwmapi
1127 enable_dwrite
1128 enable_dx8vb
1129 enable_dxcore
1130 enable_dxdiagn
1131 enable_dxgi
1132 enable_dxtrans
1133 enable_dxva2
1134 enable_esent
1135 enable_evr
1136 enable_explorerframe
1137 enable_faultrep
1138 enable_feclient
1139 enable_fltlib
1140 enable_fltmgr_sys
1141 enable_fntcache
1142 enable_fontsub
1143 enable_fusion
1144 enable_fwpuclnt
1145 enable_gameux
1146 enable_gamingtcui
1147 enable_gdi32
1148 enable_gdiplus
1149 enable_geolocation
1150 enable_glu32
1151 enable_gphoto2_ds
1152 enable_gpkcsp
1153 enable_graphicscapture
1154 enable_hal
1155 enable_hhctrl_ocx
1156 enable_hid
1157 enable_hidclass_sys
1158 enable_hidparse_sys
1159 enable_hlink
1160 enable_hnetcfg
1161 enable_hrtfapo
1162 enable_http_sys
1163 enable_httpapi
1164 enable_hvsimanagementapi
1165 enable_ia2comproxy
1166 enable_iccvid
1167 enable_icmp
1168 enable_ieframe
1169 enable_ieproxy
1170 enable_imaadp32_acm
1171 enable_imagehlp
1172 enable_imm32
1173 enable_inetcomm
1174 enable_inetcpl_cpl
1175 enable_inetmib1
1176 enable_infosoft
1177 enable_initpki
1178 enable_inkobj
1179 enable_inseng
1180 enable_iphlpapi
1181 enable_iprop
1182 enable_ir50_32
1183 enable_irprops_cpl
1184 enable_itircl
1185 enable_itss
1186 enable_joy_cpl
1187 enable_jscript
1188 enable_jsproxy
1189 enable_kerberos
1190 enable_kernel32
1191 enable_kernelbase
1192 enable_ksecdd_sys
1193 enable_ksproxy_ax
1194 enable_ksuser
1195 enable_ktmw32
1196 enable_l3codeca_acm
1197 enable_light_msstyles
1198 enable_loadperf
1199 enable_localspl
1200 enable_localui
1201 enable_lz32
1202 enable_magnification
1203 enable_mapi32
1204 enable_mapistub
1205 enable_mciavi32
1206 enable_mcicda
1207 enable_mciqtz32
1208 enable_mciseq
1209 enable_mciwave
1210 enable_mf
1211 enable_mf3216
1212 enable_mferror
1213 enable_mfmediaengine
1214 enable_mfplat
1215 enable_mfplay
1216 enable_mfreadwrite
1217 enable_mfsrcsnk
1218 enable_mgmtapi
1219 enable_midimap
1220 enable_mlang
1221 enable_mmcndmgr
1222 enable_mmdevapi
1223 enable_mountmgr_sys
1224 enable_mp3dmod
1225 enable_mpr
1226 enable_mprapi
1227 enable_msacm32_drv
1228 enable_msacm32
1229 enable_msado15
1230 enable_msadp32_acm
1231 enable_msasn1
1232 enable_msauddecmft
1233 enable_mscat32
1234 enable_mscms
1235 enable_mscoree
1236 enable_mscorwks
1237 enable_msctf
1238 enable_msctfmonitor
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdasql
1242 enable_msdelta
1243 enable_msdmo
1244 enable_msdrm
1245 enable_msftedit
1246 enable_msg711_acm
1247 enable_msgsm32_acm
1248 enable_mshtml_tlb
1249 enable_mshtml
1250 enable_msi
1251 enable_msident
1252 enable_msimg32
1253 enable_msimsg
1254 enable_msimtf
1255 enable_msisip
1256 enable_msisys_ocx
1257 enable_msls31
1258 enable_msmpeg2vdec
1259 enable_msnet32
1260 enable_mspatcha
1261 enable_msports
1262 enable_msrle32
1263 enable_msscript_ocx
1264 enable_mssign32
1265 enable_mssip32
1266 enable_mstask
1267 enable_msttsengine
1268 enable_msv1_0
1269 enable_msvcirt
1270 enable_msvcm80
1271 enable_msvcm90
1272 enable_msvcp100
1273 enable_msvcp110
1274 enable_msvcp120
1275 enable_msvcp120_app
1276 enable_msvcp140
1277 enable_msvcp140_1
1278 enable_msvcp140_2
1279 enable_msvcp140_atomic_wait
1280 enable_msvcp140_codecvt_ids
1281 enable_msvcp60
1282 enable_msvcp70
1283 enable_msvcp71
1284 enable_msvcp80
1285 enable_msvcp90
1286 enable_msvcp_win
1287 enable_msvcr100
1288 enable_msvcr110
1289 enable_msvcr120
1290 enable_msvcr120_app
1291 enable_msvcr70
1292 enable_msvcr71
1293 enable_msvcr80
1294 enable_msvcr90
1295 enable_msvcrt
1296 enable_msvcrt20
1297 enable_msvcrt40
1298 enable_msvcrtd
1299 enable_msvfw32
1300 enable_msvidc32
1301 enable_mswsock
1302 enable_msxml
1303 enable_msxml2
1304 enable_msxml3
1305 enable_msxml4
1306 enable_msxml6
1307 enable_mtxdm
1308 enable_ncrypt
1309 enable_nddeapi
1310 enable_ndis_sys
1311 enable_netapi32
1312 enable_netcfgx
1313 enable_netio_sys
1314 enable_netprofm
1315 enable_netutils
1316 enable_newdev
1317 enable_ninput
1318 enable_normaliz
1319 enable_npmshtml
1320 enable_npptools
1321 enable_nsi
1322 enable_nsiproxy_sys
1323 enable_ntdll
1324 enable_ntdsapi
1325 enable_ntoskrnl_exe
1326 enable_ntprint
1327 enable_objsel
1328 enable_odbc32
1329 enable_odbcbcp
1330 enable_odbccp32
1331 enable_odbccu32
1332 enable_ole32
1333 enable_oleacc
1334 enable_oleaut32
1335 enable_olecli32
1336 enable_oledb32
1337 enable_oledlg
1338 enable_olepro32
1339 enable_olesvr32
1340 enable_olethk32
1341 enable_opcservices
1342 enable_opencl
1343 enable_opengl32
1344 enable_packager
1345 enable_pdh
1346 enable_photometadatahandler
1347 enable_pidgen
1348 enable_powrprof
1349 enable_printui
1350 enable_prntvpt
1351 enable_propsys
1352 enable_psapi
1353 enable_pstorec
1354 enable_pwrshplugin
1355 enable_qasf
1356 enable_qcap
1357 enable_qdvd
1358 enable_qedit
1359 enable_qmgr
1360 enable_qmgrprxy
1361 enable_quartz
1362 enable_query
1363 enable_qwave
1364 enable_rasapi32
1365 enable_rasdlg
1366 enable_regapi
1367 enable_resutils
1368 enable_riched20
1369 enable_riched32
1370 enable_rpcrt4
1371 enable_rsabase
1372 enable_rsaenh
1373 enable_rstrtmgr
1374 enable_rtutils
1375 enable_rtworkq
1376 enable_samlib
1377 enable_sane_ds
1378 enable_sapi
1379 enable_sas
1380 enable_scarddlg
1381 enable_scardsvr
1382 enable_sccbase
1383 enable_schannel
1384 enable_schedsvc
1385 enable_scrobj
1386 enable_scrrun
1387 enable_scsiport_sys
1388 enable_sechost
1389 enable_secur32
1390 enable_security
1391 enable_sensapi
1392 enable_serialui
1393 enable_setupapi
1394 enable_sfc
1395 enable_sfc_os
1396 enable_shcore
1397 enable_shdoclc
1398 enable_shdocvw
1399 enable_shell32
1400 enable_shfolder
1401 enable_shlwapi
1402 enable_slbcsp
1403 enable_slc
1404 enable_snmpapi
1405 enable_softpub
1406 enable_spoolss
1407 enable_sppc
1408 enable_srclient
1409 enable_srvcli
1410 enable_srvsvc
1411 enable_sspicli
1412 enable_stdole2_tlb
1413 enable_stdole32_tlb
1414 enable_sti
1415 enable_strmdll
1416 enable_svrapi
1417 enable_sxs
1418 enable_t2embed
1419 enable_tapi32
1420 enable_taskschd
1421 enable_tbs
1422 enable_tdh
1423 enable_tdi_sys
1424 enable_threadpoolwinrt
1425 enable_traffic
1426 enable_twain_32
1427 enable_twinapi_appcore
1428 enable_tzres
1429 enable_ucrtbase
1430 enable_uianimation
1431 enable_uiautomationcore
1432 enable_uiribbon
1433 enable_unicows
1434 enable_updspapi
1435 enable_url
1436 enable_urlmon
1437 enable_usbd_sys
1438 enable_user32
1439 enable_userenv
1440 enable_usp10
1441 enable_utildll
1442 enable_uxtheme
1443 enable_vbscript
1444 enable_vcomp
1445 enable_vcomp100
1446 enable_vcomp110
1447 enable_vcomp120
1448 enable_vcomp140
1449 enable_vcomp90
1450 enable_vcruntime140
1451 enable_vcruntime140_1
1452 enable_vdmdbg
1453 enable_version
1454 enable_vga
1455 enable_virtdisk
1456 enable_vssapi
1457 enable_vulkan_1
1458 enable_wbemdisp
1459 enable_wbemprox
1460 enable_wdscore
1461 enable_webservices
1462 enable_websocket
1463 enable_wer
1464 enable_wevtapi
1465 enable_wevtsvc
1466 enable_wiaservc
1467 enable_wimgapi
1468 enable_win32u
1469 enable_windows_applicationmodel
1470 enable_windows_devices_bluetooth
1471 enable_windows_devices_enumeration
1472 enable_windows_devices_usb
1473 enable_windows_gaming_input
1474 enable_windows_gaming_ui_gamebar
1475 enable_windows_globalization
1476 enable_windows_media_devices
1477 enable_windows_media_mediacontrol
1478 enable_windows_media_speech
1479 enable_windows_media
1480 enable_windows_networking_hostname
1481 enable_windows_networking
1482 enable_windows_perception_stub
1483 enable_windows_security_credentials_ui_userconsentverifier
1484 enable_windows_storage_applicationdata
1485 enable_windows_system_profile_systemmanufacturers
1486 enable_windows_ui
1487 enable_windowscodecs
1488 enable_windowscodecsext
1489 enable_winealsa_drv
1490 enable_wineandroid_drv
1491 enable_winebus_sys
1492 enable_winecoreaudio_drv
1493 enable_winecrt0
1494 enable_wined3d
1495 enable_winegstreamer
1496 enable_winehid_sys
1497 enable_winemac_drv
1498 enable_winemapi
1499 enable_wineoss_drv
1500 enable_wineps_drv
1501 enable_winepulse_drv
1502 enable_wineusb_sys
1503 enable_winevulkan
1504 enable_winewayland_drv
1505 enable_winex11_drv
1506 enable_winexinput_sys
1507 enable_wing32
1508 enable_winhttp
1509 enable_wininet
1510 enable_winmm
1511 enable_winnls32
1512 enable_winprint
1513 enable_winscard
1514 enable_winspool_drv
1515 enable_winsta
1516 enable_wintab32
1517 enable_wintrust
1518 enable_wintypes
1519 enable_winusb
1520 enable_wlanapi
1521 enable_wlanui
1522 enable_wldap32
1523 enable_wldp
1524 enable_wmasf
1525 enable_wmi
1526 enable_wmiutils
1527 enable_wmp
1528 enable_wmphoto
1529 enable_wmvcore
1530 enable_wnaspi32
1531 enable_wofutil
1532 enable_wow64
1533 enable_wow64cpu
1534 enable_wow64win
1535 enable_wpc
1536 enable_wpcap
1537 enable_ws2_32
1538 enable_wsdapi
1539 enable_wshom_ocx
1540 enable_wsnmp32
1541 enable_wsock32
1542 enable_wtsapi32
1543 enable_wuapi
1544 enable_wuaueng
1545 enable_x3daudio1_0
1546 enable_x3daudio1_1
1547 enable_x3daudio1_2
1548 enable_x3daudio1_3
1549 enable_x3daudio1_4
1550 enable_x3daudio1_5
1551 enable_x3daudio1_6
1552 enable_x3daudio1_7
1553 enable_xactengine2_0
1554 enable_xactengine2_4
1555 enable_xactengine2_7
1556 enable_xactengine2_9
1557 enable_xactengine3_0
1558 enable_xactengine3_1
1559 enable_xactengine3_2
1560 enable_xactengine3_3
1561 enable_xactengine3_4
1562 enable_xactengine3_5
1563 enable_xactengine3_6
1564 enable_xactengine3_7
1565 enable_xapofx1_1
1566 enable_xapofx1_2
1567 enable_xapofx1_3
1568 enable_xapofx1_4
1569 enable_xapofx1_5
1570 enable_xaudio2_0
1571 enable_xaudio2_1
1572 enable_xaudio2_2
1573 enable_xaudio2_3
1574 enable_xaudio2_4
1575 enable_xaudio2_5
1576 enable_xaudio2_6
1577 enable_xaudio2_7
1578 enable_xaudio2_8
1579 enable_xaudio2_9
1580 enable_xinput1_1
1581 enable_xinput1_2
1582 enable_xinput1_3
1583 enable_xinput1_4
1584 enable_xinput9_1_0
1585 enable_xinputuap
1586 enable_xmllite
1587 enable_xolehlp
1588 enable_xpsprint
1589 enable_xpssvcs
1590 enable_fonts
1591 enable_include
1592 enable_adsiid
1593 enable_dmoguids
1594 enable_dxerr8
1595 enable_dxerr9
1596 enable_dxguid
1597 enable_faudio
1598 enable_fluidsynth
1599 enable_gsm
1600 enable_jpeg
1601 enable_jxr
1602 enable_lcms2
1603 enable_ldap
1604 enable_mfuuid
1605 enable_mpg123
1606 enable_musl
1607 enable_png
1608 enable_strmbase
1609 enable_strmiids
1610 enable_tiff
1611 enable_uuid
1612 enable_vkd3d
1613 enable_wbemuuid
1614 enable_wmcodecdspuuid
1615 enable_xml2
1616 enable_xslt
1617 enable_zlib
1618 enable_zydis
1619 enable_loader
1620 enable_nls
1621 enable_po
1622 enable_arp
1623 enable_aspnet_regiis
1624 enable_attrib
1625 enable_cabarc
1626 enable_cacls
1627 enable_certutil
1628 enable_chcp_com
1629 enable_clock
1630 enable_cmd
1631 enable_conhost
1632 enable_control
1633 enable_cscript
1634 enable_dism
1635 enable_dllhost
1636 enable_dplaysvr
1637 enable_dpnsvr
1638 enable_dpvsetup
1639 enable_dxdiag
1640 enable_eject
1641 enable_expand
1642 enable_explorer
1643 enable_extrac32
1644 enable_fc
1645 enable_find
1646 enable_findstr
1647 enable_fsutil
1648 enable_hh
1649 enable_hostname
1650 enable_icacls
1651 enable_icinfo
1652 enable_iexplore
1653 enable_ipconfig
1654 enable_klist
1655 enable_lodctr
1656 enable_mofcomp
1657 enable_mshta
1658 enable_msidb
1659 enable_msiexec
1660 enable_msinfo32
1661 enable_net
1662 enable_netsh
1663 enable_netstat
1664 enable_ngen
1665 enable_notepad
1666 enable_oleview
1667 enable_ping
1668 enable_plugplay
1669 enable_pnputil
1670 enable_powershell
1671 enable_presentationfontcache
1672 enable_progman
1673 enable_reg
1674 enable_regasm
1675 enable_regedit
1676 enable_regini
1677 enable_regsvcs
1678 enable_regsvr32
1679 enable_robocopy
1680 enable_rpcss
1681 enable_rundll32
1682 enable_sc
1683 enable_schtasks
1684 enable_sdbinst
1685 enable_secedit
1686 enable_servicemodelreg
1687 enable_services
1688 enable_setx
1689 enable_shutdown
1690 enable_spoolsv
1691 enable_start
1692 enable_subst
1693 enable_svchost
1694 enable_systeminfo
1695 enable_taskkill
1696 enable_tasklist
1697 enable_taskmgr
1698 enable_termsv
1699 enable_uninstaller
1700 enable_unlodctr
1701 enable_view
1702 enable_wevtutil
1703 enable_where
1704 enable_whoami
1705 enable_wineboot
1706 enable_winebrowser
1707 enable_winecfg
1708 enable_wineconsole
1709 enable_winedbg
1710 enable_winedevice
1711 enable_winefile
1712 enable_winemenubuilder
1713 enable_winemine
1714 enable_winemsibuilder
1715 enable_winepath
1716 enable_winetest
1717 enable_winhlp32
1718 enable_winmgmt
1719 enable_winver
1720 enable_wmic
1721 enable_wmplayer
1722 enable_wordpad
1723 enable_write
1724 enable_wscript
1725 enable_wuauserv
1726 enable_wusa
1727 enable_xcopy
1728 enable_server
1729 enable_tools
1730 enable_sfnt2fon
1731 enable_widl
1732 enable_winebuild
1733 enable_winedump
1734 enable_winegcc
1735 enable_winemaker
1736 enable_wmc
1737 enable_wrc
1739 ac_precious_vars='build_alias
1740 host_alias
1741 target_alias
1743 CFLAGS
1744 LDFLAGS
1745 LIBS
1746 CPPFLAGS
1748 CXXFLAGS
1750 OBJC
1751 OBJCFLAGS
1752 FAUDIO_PE_CFLAGS
1753 FAUDIO_PE_LIBS
1754 FLUIDSYNTH_PE_CFLAGS
1755 FLUIDSYNTH_PE_LIBS
1756 GSM_PE_CFLAGS
1757 GSM_PE_LIBS
1758 JPEG_PE_CFLAGS
1759 JPEG_PE_LIBS
1760 JXR_PE_CFLAGS
1761 JXR_PE_LIBS
1762 LCMS2_PE_CFLAGS
1763 LCMS2_PE_LIBS
1764 LDAP_PE_CFLAGS
1765 LDAP_PE_LIBS
1766 MPG123_PE_CFLAGS
1767 MPG123_PE_LIBS
1768 MUSL_PE_CFLAGS
1769 MUSL_PE_LIBS
1770 PNG_PE_CFLAGS
1771 PNG_PE_LIBS
1772 TIFF_PE_CFLAGS
1773 TIFF_PE_LIBS
1774 VKD3D_PE_CFLAGS
1775 VKD3D_PE_LIBS
1776 XML2_PE_CFLAGS
1777 XML2_PE_LIBS
1778 XSLT_PE_CFLAGS
1779 XSLT_PE_LIBS
1780 ZLIB_PE_CFLAGS
1781 ZLIB_PE_LIBS
1782 ZYDIS_PE_CFLAGS
1783 ZYDIS_PE_LIBS
1784 XMKMF
1786 WAYLAND_CLIENT_CFLAGS
1787 WAYLAND_CLIENT_LIBS
1788 INOTIFY_CFLAGS
1789 INOTIFY_LIBS
1790 DBUS_CFLAGS
1791 DBUS_LIBS
1792 GNUTLS_CFLAGS
1793 GNUTLS_LIBS
1794 SANE_CFLAGS
1795 SANE_LIBS
1796 USB_CFLAGS
1797 USB_LIBS
1798 GPHOTO2_CFLAGS
1799 GPHOTO2_LIBS
1800 GPHOTO2_PORT_CFLAGS
1801 GPHOTO2_PORT_LIBS
1802 FREETYPE_CFLAGS
1803 FREETYPE_LIBS
1804 PULSE_CFLAGS
1805 PULSE_LIBS
1806 GSTREAMER_CFLAGS
1807 GSTREAMER_LIBS
1808 UDEV_CFLAGS
1809 UDEV_LIBS
1810 UNWIND_CFLAGS
1811 UNWIND_LIBS
1812 SDL2_CFLAGS
1813 SDL2_LIBS
1814 CAPI20_CFLAGS
1815 CAPI20_LIBS
1816 CUPS_CFLAGS
1817 CUPS_LIBS
1818 FONTCONFIG_CFLAGS
1819 FONTCONFIG_LIBS
1820 KRB5_CFLAGS
1821 KRB5_LIBS
1822 GSSAPI_CFLAGS
1823 GSSAPI_LIBS
1824 NETAPI_CFLAGS
1825 NETAPI_LIBS'
1828 # Initialize some variables set by options.
1829 ac_init_help=
1830 ac_init_version=false
1831 ac_unrecognized_opts=
1832 ac_unrecognized_sep=
1833 # The variables have the same names as the options, with
1834 # dashes changed to underlines.
1835 cache_file=/dev/null
1836 exec_prefix=NONE
1837 no_create=
1838 no_recursion=
1839 prefix=NONE
1840 program_prefix=NONE
1841 program_suffix=NONE
1842 program_transform_name=s,x,x,
1843 silent=
1844 site=
1845 srcdir=
1846 verbose=
1847 x_includes=NONE
1848 x_libraries=NONE
1850 # Installation directory options.
1851 # These are left unexpanded so users can "make install exec_prefix=/foo"
1852 # and all the variables that are supposed to be based on exec_prefix
1853 # by default will actually change.
1854 # Use braces instead of parens because sh, perl, etc. also accept them.
1855 # (The list follows the same order as the GNU Coding Standards.)
1856 bindir='${exec_prefix}/bin'
1857 sbindir='${exec_prefix}/sbin'
1858 libexecdir='${exec_prefix}/libexec'
1859 datarootdir='${prefix}/share'
1860 datadir='${datarootdir}'
1861 sysconfdir='${prefix}/etc'
1862 sharedstatedir='${prefix}/com'
1863 localstatedir='${prefix}/var'
1864 runstatedir='${localstatedir}/run'
1865 includedir='${prefix}/include'
1866 oldincludedir='/usr/include'
1867 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1868 infodir='${datarootdir}/info'
1869 htmldir='${docdir}'
1870 dvidir='${docdir}'
1871 pdfdir='${docdir}'
1872 psdir='${docdir}'
1873 libdir='${exec_prefix}/lib'
1874 localedir='${datarootdir}/locale'
1875 mandir='${datarootdir}/man'
1877 ac_prev=
1878 ac_dashdash=
1879 for ac_option
1881 # If the previous option needs an argument, assign it.
1882 if test -n "$ac_prev"; then
1883 eval $ac_prev=\$ac_option
1884 ac_prev=
1885 continue
1888 case $ac_option in
1889 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1890 *=) ac_optarg= ;;
1891 *) ac_optarg=yes ;;
1892 esac
1894 case $ac_dashdash$ac_option in
1896 ac_dashdash=yes ;;
1898 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1899 ac_prev=bindir ;;
1900 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1901 bindir=$ac_optarg ;;
1903 -build | --build | --buil | --bui | --bu)
1904 ac_prev=build_alias ;;
1905 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1906 build_alias=$ac_optarg ;;
1908 -cache-file | --cache-file | --cache-fil | --cache-fi \
1909 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1910 ac_prev=cache_file ;;
1911 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1912 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1913 cache_file=$ac_optarg ;;
1915 --config-cache | -C)
1916 cache_file=config.cache ;;
1918 -datadir | --datadir | --datadi | --datad)
1919 ac_prev=datadir ;;
1920 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1921 datadir=$ac_optarg ;;
1923 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1924 | --dataroo | --dataro | --datar)
1925 ac_prev=datarootdir ;;
1926 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1927 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1928 datarootdir=$ac_optarg ;;
1930 -disable-* | --disable-*)
1931 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1934 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1935 ac_useropt_orig=$ac_useropt
1936 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "enable_$ac_useropt"
1940 "*) ;;
1941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1942 ac_unrecognized_sep=', ';;
1943 esac
1944 eval enable_$ac_useropt=no ;;
1946 -docdir | --docdir | --docdi | --doc | --do)
1947 ac_prev=docdir ;;
1948 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1949 docdir=$ac_optarg ;;
1951 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1952 ac_prev=dvidir ;;
1953 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1954 dvidir=$ac_optarg ;;
1956 -enable-* | --enable-*)
1957 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1960 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1961 ac_useropt_orig=$ac_useropt
1962 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_$ac_useropt"
1966 "*) ;;
1967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1968 ac_unrecognized_sep=', ';;
1969 esac
1970 eval enable_$ac_useropt=\$ac_optarg ;;
1972 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1973 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1974 | --exec | --exe | --ex)
1975 ac_prev=exec_prefix ;;
1976 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1977 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1978 | --exec=* | --exe=* | --ex=*)
1979 exec_prefix=$ac_optarg ;;
1981 -gas | --gas | --ga | --g)
1982 # Obsolete; use --with-gas.
1983 with_gas=yes ;;
1985 -help | --help | --hel | --he | -h)
1986 ac_init_help=long ;;
1987 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1988 ac_init_help=recursive ;;
1989 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1990 ac_init_help=short ;;
1992 -host | --host | --hos | --ho)
1993 ac_prev=host_alias ;;
1994 -host=* | --host=* | --hos=* | --ho=*)
1995 host_alias=$ac_optarg ;;
1997 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1998 ac_prev=htmldir ;;
1999 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2000 | --ht=*)
2001 htmldir=$ac_optarg ;;
2003 -includedir | --includedir | --includedi | --included | --include \
2004 | --includ | --inclu | --incl | --inc)
2005 ac_prev=includedir ;;
2006 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2007 | --includ=* | --inclu=* | --incl=* | --inc=*)
2008 includedir=$ac_optarg ;;
2010 -infodir | --infodir | --infodi | --infod | --info | --inf)
2011 ac_prev=infodir ;;
2012 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2013 infodir=$ac_optarg ;;
2015 -libdir | --libdir | --libdi | --libd)
2016 ac_prev=libdir ;;
2017 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2018 libdir=$ac_optarg ;;
2020 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2021 | --libexe | --libex | --libe)
2022 ac_prev=libexecdir ;;
2023 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2024 | --libexe=* | --libex=* | --libe=*)
2025 libexecdir=$ac_optarg ;;
2027 -localedir | --localedir | --localedi | --localed | --locale)
2028 ac_prev=localedir ;;
2029 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2030 localedir=$ac_optarg ;;
2032 -localstatedir | --localstatedir | --localstatedi | --localstated \
2033 | --localstate | --localstat | --localsta | --localst | --locals)
2034 ac_prev=localstatedir ;;
2035 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2036 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2037 localstatedir=$ac_optarg ;;
2039 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2040 ac_prev=mandir ;;
2041 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2042 mandir=$ac_optarg ;;
2044 -nfp | --nfp | --nf)
2045 # Obsolete; use --without-fp.
2046 with_fp=no ;;
2048 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2049 | --no-cr | --no-c | -n)
2050 no_create=yes ;;
2052 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2053 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2054 no_recursion=yes ;;
2056 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2057 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2058 | --oldin | --oldi | --old | --ol | --o)
2059 ac_prev=oldincludedir ;;
2060 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2061 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2062 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2063 oldincludedir=$ac_optarg ;;
2065 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2066 ac_prev=prefix ;;
2067 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2068 prefix=$ac_optarg ;;
2070 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2071 | --program-pre | --program-pr | --program-p)
2072 ac_prev=program_prefix ;;
2073 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2074 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2075 program_prefix=$ac_optarg ;;
2077 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2078 | --program-suf | --program-su | --program-s)
2079 ac_prev=program_suffix ;;
2080 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2081 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2082 program_suffix=$ac_optarg ;;
2084 -program-transform-name | --program-transform-name \
2085 | --program-transform-nam | --program-transform-na \
2086 | --program-transform-n | --program-transform- \
2087 | --program-transform | --program-transfor \
2088 | --program-transfo | --program-transf \
2089 | --program-trans | --program-tran \
2090 | --progr-tra | --program-tr | --program-t)
2091 ac_prev=program_transform_name ;;
2092 -program-transform-name=* | --program-transform-name=* \
2093 | --program-transform-nam=* | --program-transform-na=* \
2094 | --program-transform-n=* | --program-transform-=* \
2095 | --program-transform=* | --program-transfor=* \
2096 | --program-transfo=* | --program-transf=* \
2097 | --program-trans=* | --program-tran=* \
2098 | --progr-tra=* | --program-tr=* | --program-t=*)
2099 program_transform_name=$ac_optarg ;;
2101 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2102 ac_prev=pdfdir ;;
2103 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2104 pdfdir=$ac_optarg ;;
2106 -psdir | --psdir | --psdi | --psd | --ps)
2107 ac_prev=psdir ;;
2108 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2109 psdir=$ac_optarg ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2113 silent=yes ;;
2115 -runstatedir | --runstatedir | --runstatedi | --runstated \
2116 | --runstate | --runstat | --runsta | --runst | --runs \
2117 | --run | --ru | --r)
2118 ac_prev=runstatedir ;;
2119 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2120 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2121 | --run=* | --ru=* | --r=*)
2122 runstatedir=$ac_optarg ;;
2124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2125 ac_prev=sbindir ;;
2126 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2127 | --sbi=* | --sb=*)
2128 sbindir=$ac_optarg ;;
2130 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2131 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2132 | --sharedst | --shareds | --shared | --share | --shar \
2133 | --sha | --sh)
2134 ac_prev=sharedstatedir ;;
2135 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2136 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2137 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2138 | --sha=* | --sh=*)
2139 sharedstatedir=$ac_optarg ;;
2141 -site | --site | --sit)
2142 ac_prev=site ;;
2143 -site=* | --site=* | --sit=*)
2144 site=$ac_optarg ;;
2146 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2147 ac_prev=srcdir ;;
2148 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2149 srcdir=$ac_optarg ;;
2151 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2152 | --syscon | --sysco | --sysc | --sys | --sy)
2153 ac_prev=sysconfdir ;;
2154 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2155 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2156 sysconfdir=$ac_optarg ;;
2158 -target | --target | --targe | --targ | --tar | --ta | --t)
2159 ac_prev=target_alias ;;
2160 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2161 target_alias=$ac_optarg ;;
2163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2164 verbose=yes ;;
2166 -version | --version | --versio | --versi | --vers | -V)
2167 ac_init_version=: ;;
2169 -with-* | --with-*)
2170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2173 as_fn_error $? "invalid package name: \`$ac_useropt'"
2174 ac_useropt_orig=$ac_useropt
2175 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2178 "with_$ac_useropt"
2179 "*) ;;
2180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2181 ac_unrecognized_sep=', ';;
2182 esac
2183 eval with_$ac_useropt=\$ac_optarg ;;
2185 -without-* | --without-*)
2186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2189 as_fn_error $? "invalid package name: \`$ac_useropt'"
2190 ac_useropt_orig=$ac_useropt
2191 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2194 "with_$ac_useropt"
2195 "*) ;;
2196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2197 ac_unrecognized_sep=', ';;
2198 esac
2199 eval with_$ac_useropt=no ;;
2201 --x)
2202 # Obsolete; use --with-x.
2203 with_x=yes ;;
2205 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2206 | --x-incl | --x-inc | --x-in | --x-i)
2207 ac_prev=x_includes ;;
2208 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2209 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2210 x_includes=$ac_optarg ;;
2212 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2213 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2214 ac_prev=x_libraries ;;
2215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2217 x_libraries=$ac_optarg ;;
2219 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2220 Try \`$0 --help' for more information"
2223 *=*)
2224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2225 # Reject names that are not valid shell variable names.
2226 case $ac_envvar in #(
2227 '' | [0-9]* | *[!_$as_cr_alnum]* )
2228 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2229 esac
2230 eval $ac_envvar=\$ac_optarg
2231 export $ac_envvar ;;
2234 # FIXME: should be removed in autoconf 3.0.
2235 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2237 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2241 esac
2242 done
2244 if test -n "$ac_prev"; then
2245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2246 as_fn_error $? "missing argument to $ac_option"
2249 if test -n "$ac_unrecognized_opts"; then
2250 case $enable_option_checking in
2251 no) ;;
2252 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2253 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2254 esac
2257 # Check all directory arguments for consistency.
2258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2259 datadir sysconfdir sharedstatedir localstatedir includedir \
2260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2261 libdir localedir mandir runstatedir
2263 eval ac_val=\$$ac_var
2264 # Remove trailing slashes.
2265 case $ac_val in
2266 */ )
2267 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2268 eval $ac_var=\$ac_val;;
2269 esac
2270 # Be sure to have absolute directory names.
2271 case $ac_val in
2272 [\\/$]* | ?:[\\/]* ) continue;;
2273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2274 esac
2275 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2276 done
2278 # There might be people who depend on the old broken behavior: `$host'
2279 # used to hold the argument of --host etc.
2280 # FIXME: To remove some day.
2281 build=$build_alias
2282 host=$host_alias
2283 target=$target_alias
2285 # FIXME: To remove some day.
2286 if test "x$host_alias" != x; then
2287 if test "x$build_alias" = x; then
2288 cross_compiling=maybe
2289 elif test "x$build_alias" != "x$host_alias"; then
2290 cross_compiling=yes
2294 ac_tool_prefix=
2295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2297 test "$silent" = yes && exec 6>/dev/null
2300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2301 ac_ls_di=`ls -di .` &&
2302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2303 as_fn_error $? "working directory cannot be determined"
2304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2305 as_fn_error $? "pwd does not report name of working directory"
2308 # Find the source files, if location was not specified.
2309 if test -z "$srcdir"; then
2310 ac_srcdir_defaulted=yes
2311 # Try the directory containing this script, then the parent directory.
2312 ac_confdir=`$as_dirname -- "$as_myself" ||
2313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2314 X"$as_myself" : 'X\(//\)[^/]' \| \
2315 X"$as_myself" : 'X\(//\)$' \| \
2316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2317 printf "%s\n" X"$as_myself" |
2318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2319 s//\1/
2322 /^X\(\/\/\)[^/].*/{
2323 s//\1/
2326 /^X\(\/\/\)$/{
2327 s//\1/
2330 /^X\(\/\).*/{
2331 s//\1/
2334 s/.*/./; q'`
2335 srcdir=$ac_confdir
2336 if test ! -r "$srcdir/$ac_unique_file"; then
2337 srcdir=..
2339 else
2340 ac_srcdir_defaulted=no
2342 if test ! -r "$srcdir/$ac_unique_file"; then
2343 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2344 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2347 ac_abs_confdir=`(
2348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2349 pwd)`
2350 # When building in place, set srcdir=.
2351 if test "$ac_abs_confdir" = "$ac_pwd"; then
2352 srcdir=.
2354 # Remove unnecessary trailing slashes from srcdir.
2355 # Double slashes in file names in object file debugging info
2356 # mess up M-x gdb in Emacs.
2357 case $srcdir in
2358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2359 esac
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2362 eval ac_env_${ac_var}_value=\$${ac_var}
2363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2364 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2365 done
2368 # Report the --help message.
2370 if test "$ac_init_help" = "long"; then
2371 # Omit some internal or obsolete options to make the list less imposing.
2372 # This message is too long to be a string in the A/UX 3.1 sh.
2373 cat <<_ACEOF
2374 \`configure' configures Wine 8.19 to adapt to many kinds of systems.
2376 Usage: $0 [OPTION]... [VAR=VALUE]...
2378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2379 VAR=VALUE. See below for descriptions of some of the useful variables.
2381 Defaults for the options are specified in brackets.
2383 Configuration:
2384 -h, --help display this help and exit
2385 --help=short display options specific to this package
2386 --help=recursive display the short help of all the included packages
2387 -V, --version display version information and exit
2388 -q, --quiet, --silent do not print \`checking ...' messages
2389 --cache-file=FILE cache test results in FILE [disabled]
2390 -C, --config-cache alias for \`--cache-file=config.cache'
2391 -n, --no-create do not create output files
2392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2394 Installation directories:
2395 --prefix=PREFIX install architecture-independent files in PREFIX
2396 [$ac_default_prefix]
2397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2398 [PREFIX]
2400 By default, \`make install' will install all the files in
2401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2403 for instance \`--prefix=\$HOME'.
2405 For better control, use the options below.
2407 Fine tuning of the installation directories:
2408 --bindir=DIR user executables [EPREFIX/bin]
2409 --sbindir=DIR system admin executables [EPREFIX/sbin]
2410 --libexecdir=DIR program executables [EPREFIX/libexec]
2411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2414 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2415 --libdir=DIR object code libraries [EPREFIX/lib]
2416 --includedir=DIR C header files [PREFIX/include]
2417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2420 --infodir=DIR info documentation [DATAROOTDIR/info]
2421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2422 --mandir=DIR man documentation [DATAROOTDIR/man]
2423 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2424 --htmldir=DIR html documentation [DOCDIR]
2425 --dvidir=DIR dvi documentation [DOCDIR]
2426 --pdfdir=DIR pdf documentation [DOCDIR]
2427 --psdir=DIR ps documentation [DOCDIR]
2428 _ACEOF
2430 cat <<\_ACEOF
2432 X features:
2433 --x-includes=DIR X include files are in DIR
2434 --x-libraries=DIR X library files are in DIR
2436 System types:
2437 --build=BUILD configure for building on BUILD [guessed]
2438 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2439 _ACEOF
2442 if test -n "$ac_init_help"; then
2443 case $ac_init_help in
2444 short | recursive ) echo "Configuration of Wine 8.19:";;
2445 esac
2446 cat <<\_ACEOF
2448 Optional Features:
2449 --disable-option-checking ignore unrecognized --enable/--with options
2450 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2451 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2452 --enable-archs={i386,x86_64,arm,aarch64}
2453 enable multiple architectures for PE compilation
2454 --disable-win16 do not include Win16 support
2455 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2456 binaries)
2457 --disable-tests do not build the regression tests
2458 --enable-build-id include .buildid section in output objects
2459 --enable-maintainer-mode
2460 enable maintainer-specific build rules
2461 --enable-silent-rules use silent build rules (override: "make V=1")
2462 --enable-werror treat compilation warnings as errors
2463 --disable-largefile omit support for large files
2465 Optional Packages:
2466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2468 --without-alsa do not use the Alsa sound support
2469 --without-capi do not use CAPI (ISDN support)
2470 --without-coreaudio do not use the CoreAudio sound support
2471 --without-cups do not use CUPS
2472 --without-dbus do not use DBus (dynamic device support)
2473 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2474 --without-fontconfig do not use fontconfig
2475 --without-freetype do not use the FreeType library
2476 --without-gettext do not use gettext
2477 --with-gettextpo use the GetTextPO library to rebuild po files
2478 --without-gphoto do not use gphoto (Digital Camera support)
2479 --without-gnutls do not use GnuTLS (schannel support)
2480 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2481 --without-gstreamer do not use GStreamer (codecs support)
2482 --without-inotify do not use inotify (filesystem change notifications)
2483 --without-krb5 do not use krb5 (Kerberos)
2484 --without-mingw do not use the MinGW cross-compiler
2485 --without-netapi do not use the Samba NetAPI library
2486 --without-opencl do not use OpenCL
2487 --without-opengl do not use OpenGL
2488 --without-osmesa do not use the OSMesa library
2489 --without-oss do not use the OSS sound support
2490 --without-pcap do not use the Packet Capture library
2491 --without-pcsclite do not use PCSC lite
2492 --without-pthread do not use the pthread library
2493 --without-pulse do not use PulseAudio sound support
2494 --without-sane do not use SANE (scanner support)
2495 --without-sdl do not use SDL
2496 --without-udev do not use udev (plug and play support)
2497 --without-unwind do not use the libunwind library (exception
2498 handling)
2499 --without-usb do not use the libusb library
2500 --without-v4l2 do not use v4l2 (video capture)
2501 --without-vulkan do not use Vulkan
2502 --without-wayland do not build the Wayland driver
2503 --without-xcomposite do not use the Xcomposite extension
2504 --without-xcursor do not use the Xcursor extension
2505 --without-xfixes do not use Xfixes for clipboard change notifications
2506 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2507 --without-xinput do not use the Xinput extension
2508 --without-xinput2 do not use the Xinput 2 extension
2509 --without-xrandr do not use Xrandr (multi-monitor support)
2510 --without-xrender do not use the Xrender extension
2511 --without-xshape do not use the Xshape extension
2512 --without-xshm do not use XShm (shared memory extension)
2513 --without-xxf86vm do not use XFree video mode extension
2514 --with-system-dllpath=PATH
2515 load external PE dependencies from colon-separated
2516 path PATH
2517 --with-wine-tools=DIR use Wine tools from directory DIR
2518 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2519 --with-x use the X Window System
2521 Some influential environment variables:
2522 CC C compiler command
2523 CFLAGS C compiler flags
2524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2525 nonstandard directory <lib dir>
2526 LIBS libraries to pass to the linker, e.g. -l<library>
2527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2528 you have headers in a nonstandard directory <include dir>
2529 CXX C++ compiler command
2530 CXXFLAGS C++ compiler flags
2531 OBJC Objective C compiler command
2532 OBJCFLAGS Objective C compiler flags
2533 FAUDIO_PE_CFLAGS
2534 C compiler flags for the PE faudio, overriding the bundled
2535 version
2536 FAUDIO_PE_LIBS
2537 Linker flags for the PE faudio, overriding the bundled version
2538 FLUIDSYNTH_PE_CFLAGS
2539 C compiler flags for the PE fluidsynth, overriding the bundled
2540 version
2541 FLUIDSYNTH_PE_LIBS
2542 Linker flags for the PE fluidsynth, overriding the bundled
2543 version
2544 GSM_PE_CFLAGS
2545 C compiler flags for the PE gsm, overriding the bundled version
2546 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2547 JPEG_PE_CFLAGS
2548 C compiler flags for the PE jpeg, overriding the bundled version
2549 JPEG_PE_LIBS
2550 Linker flags for the PE jpeg, overriding the bundled version
2551 JXR_PE_CFLAGS
2552 C compiler flags for the PE jxr, overriding the bundled version
2553 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2554 LCMS2_PE_CFLAGS
2555 C compiler flags for the PE lcms2, overriding the bundled
2556 version
2557 LCMS2_PE_LIBS
2558 Linker flags for the PE lcms2, overriding the bundled version
2559 LDAP_PE_CFLAGS
2560 C compiler flags for the PE ldap, overriding the bundled version
2561 LDAP_PE_LIBS
2562 Linker flags for the PE ldap, overriding the bundled version
2563 MPG123_PE_CFLAGS
2564 C compiler flags for the PE mpg123, overriding the bundled
2565 version
2566 MPG123_PE_LIBS
2567 Linker flags for the PE mpg123, overriding the bundled version
2568 MUSL_PE_CFLAGS
2569 C compiler flags for the PE musl, overriding the bundled version
2570 MUSL_PE_LIBS
2571 Linker flags for the PE musl, overriding the bundled version
2572 PNG_PE_CFLAGS
2573 C compiler flags for the PE png, overriding the bundled version
2574 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2575 TIFF_PE_CFLAGS
2576 C compiler flags for the PE tiff, overriding the bundled version
2577 TIFF_PE_LIBS
2578 Linker flags for the PE tiff, overriding the bundled version
2579 VKD3D_PE_CFLAGS
2580 C compiler flags for the PE vkd3d, overriding the bundled
2581 version
2582 VKD3D_PE_LIBS
2583 Linker flags for the PE vkd3d, overriding the bundled version
2584 XML2_PE_CFLAGS
2585 C compiler flags for the PE xml2, overriding the bundled version
2586 XML2_PE_LIBS
2587 Linker flags for the PE xml2, overriding the bundled version
2588 XSLT_PE_CFLAGS
2589 C compiler flags for the PE xslt, overriding the bundled version
2590 XSLT_PE_LIBS
2591 Linker flags for the PE xslt, overriding the bundled version
2592 ZLIB_PE_CFLAGS
2593 C compiler flags for the PE zlib, overriding the bundled version
2594 ZLIB_PE_LIBS
2595 Linker flags for the PE zlib, overriding the bundled version
2596 ZYDIS_PE_CFLAGS
2597 C compiler flags for the PE zydis, overriding the bundled
2598 version
2599 ZYDIS_PE_LIBS
2600 Linker flags for the PE zydis, overriding the bundled version
2601 XMKMF Path to xmkmf, Makefile generator for X Window System
2602 CPP C preprocessor
2603 WAYLAND_CLIENT_CFLAGS
2604 C compiler flags for wayland-client, overriding pkg-config
2605 WAYLAND_CLIENT_LIBS
2606 Linker flags for wayland-client, overriding pkg-config
2607 INOTIFY_CFLAGS
2608 C compiler flags for libinotify, overriding pkg-config
2609 INOTIFY_LIBS
2610 Linker flags for libinotify, overriding pkg-config
2611 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2612 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2613 GNUTLS_CFLAGS
2614 C compiler flags for gnutls, overriding pkg-config
2615 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2616 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2617 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2618 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2619 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2620 GPHOTO2_CFLAGS
2621 C compiler flags for libgphoto2, overriding pkg-config
2622 GPHOTO2_LIBS
2623 Linker flags for libgphoto2, overriding pkg-config
2624 GPHOTO2_PORT_CFLAGS
2625 C compiler flags for libgphoto2_port, overriding pkg-config
2626 GPHOTO2_PORT_LIBS
2627 Linker flags for libgphoto2_port, overriding pkg-config
2628 FREETYPE_CFLAGS
2629 C compiler flags for freetype2, overriding pkg-config
2630 FREETYPE_LIBS
2631 Linker flags for freetype2, overriding pkg-config
2632 PULSE_CFLAGS
2633 C compiler flags for libpulse, overriding pkg-config
2634 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2635 GSTREAMER_CFLAGS
2636 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2637 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2638 GSTREAMER_LIBS
2639 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2640 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2641 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2642 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2643 UNWIND_CFLAGS
2644 C compiler flags for libunwind, overriding pkg-config
2645 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2646 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2647 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2648 CAPI20_CFLAGS
2649 C compiler flags for capi20, overriding pkg-config
2650 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2651 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2652 CUPS_LIBS Linker flags for cups, overriding pkg-config
2653 FONTCONFIG_CFLAGS
2654 C compiler flags for fontconfig, overriding pkg-config
2655 FONTCONFIG_LIBS
2656 Linker flags for fontconfig, overriding pkg-config
2657 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2658 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2659 GSSAPI_CFLAGS
2660 C compiler flags for krb5-gssapi, overriding pkg-config
2661 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2662 NETAPI_CFLAGS
2663 C compiler flags for netapi, overriding pkg-config
2664 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to help
2667 it to find libraries and programs with nonstandard names/locations.
2669 Report bugs to <wine-devel@winehq.org>.
2670 Wine home page: <https://www.winehq.org>.
2671 _ACEOF
2672 ac_status=$?
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2680 continue
2681 ac_builddir=.
2683 case "$ac_dir" in
2684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2686 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2692 esac ;;
2693 esac
2694 ac_abs_top_builddir=$ac_pwd
2695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir=$ac_top_build_prefix
2699 case $srcdir in
2700 .) # We are building in place.
2701 ac_srcdir=.
2702 ac_top_srcdir=$ac_top_builddir_sub
2703 ac_abs_top_srcdir=$ac_pwd ;;
2704 [\\/]* | ?:[\\/]* ) # Absolute name.
2705 ac_srcdir=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir=$srcdir
2707 ac_abs_top_srcdir=$srcdir ;;
2708 *) # Relative name.
2709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2712 esac
2713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" || { ac_status=$?; continue; }
2716 # Check for configure.gnu first; this name is used for a wrapper for
2717 # Metaconfig's "Configure" on case-insensitive file systems.
2718 if test -f "$ac_srcdir/configure.gnu"; then
2719 echo &&
2720 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2721 elif test -f "$ac_srcdir/configure"; then
2722 echo &&
2723 $SHELL "$ac_srcdir/configure" --help=recursive
2724 else
2725 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2726 fi || ac_status=$?
2727 cd "$ac_pwd" || { ac_status=$?; break; }
2728 done
2731 test -n "$ac_init_help" && exit $ac_status
2732 if $ac_init_version; then
2733 cat <<\_ACEOF
2734 Wine configure 8.19
2735 generated by GNU Autoconf 2.71
2737 Copyright (C) 2021 Free Software Foundation, Inc.
2738 This configure script is free software; the Free Software Foundation
2739 gives unlimited permission to copy, distribute and modify it.
2740 _ACEOF
2741 exit
2744 ## ------------------------ ##
2745 ## Autoconf initialization. ##
2746 ## ------------------------ ##
2748 # ac_fn_c_try_compile LINENO
2749 # --------------------------
2750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_c_try_compile ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 rm -f conftest.$ac_objext conftest.beam
2755 if { { ac_try="$ac_compile"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 printf "%s\n" "$ac_try_echo"; } >&5
2762 (eval "$ac_compile") 2>conftest.err
2763 ac_status=$?
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest.$ac_objext
2774 then :
2775 ac_retval=0
2776 else $as_nop
2777 printf "%s\n" "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2780 ac_retval=1
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2783 as_fn_set_status $ac_retval
2785 } # ac_fn_c_try_compile
2787 # ac_fn_cxx_try_compile LINENO
2788 # ----------------------------
2789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2790 ac_fn_cxx_try_compile ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 rm -f conftest.$ac_objext conftest.beam
2794 if { { ac_try="$ac_compile"
2795 case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 printf "%s\n" "$ac_try_echo"; } >&5
2801 (eval "$ac_compile") 2>conftest.err
2802 ac_status=$?
2803 if test -s conftest.err; then
2804 grep -v '^ *+' conftest.err >conftest.er1
2805 cat conftest.er1 >&5
2806 mv -f conftest.er1 conftest.err
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && {
2810 test -z "$ac_cxx_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext
2813 then :
2814 ac_retval=0
2815 else $as_nop
2816 printf "%s\n" "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_cxx_try_compile
2826 # ac_fn_c_try_link LINENO
2827 # -----------------------
2828 # Try to link conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_c_try_link ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2833 if { { ac_try="$ac_link"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 printf "%s\n" "$ac_try_echo"; } >&5
2840 (eval "$ac_link") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest$ac_exeext && {
2852 test "$cross_compiling" = yes ||
2853 test -x conftest$ac_exeext
2855 then :
2856 ac_retval=0
2857 else $as_nop
2858 printf "%s\n" "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2865 # interfere with the next link command; also delete a directory that is
2866 # left behind by Apple's compiler. We do this before executing the actions.
2867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_c_try_link
2873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2874 # -------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_c_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"
2892 then :
2893 eval "$3=yes"
2894 else $as_nop
2895 eval "$3=no"
2897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_c_check_header_compile
2906 # ac_fn_objc_try_compile LINENO
2907 # -----------------------------
2908 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_objc_try_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest.beam
2913 if { { ac_try="$ac_compile"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 printf "%s\n" "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_objc_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest.$ac_objext
2932 then :
2933 ac_retval=0
2934 else $as_nop
2935 printf "%s\n" "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_retval=1
2940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 as_fn_set_status $ac_retval
2943 } # ac_fn_objc_try_compile
2945 # ac_fn_c_check_func LINENO FUNC VAR
2946 # ----------------------------------
2947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2948 ac_fn_c_check_func ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2952 printf %s "checking for $2... " >&6; }
2953 if eval test \${$3+y}
2954 then :
2955 printf %s "(cached) " >&6
2956 else $as_nop
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2961 #define $2 innocuous_$2
2963 /* System header to define __stub macros and hopefully few prototypes,
2964 which can conflict with char $2 (); below. */
2966 #include <limits.h>
2967 #undef $2
2969 /* Override any GCC internal prototype to avoid an error.
2970 Use char because int might match the return type of a GCC
2971 builtin and then its argument prototype would still apply. */
2972 #ifdef __cplusplus
2973 extern "C"
2974 #endif
2975 char $2 ();
2976 /* The GNU C library defines this for functions which it implements
2977 to always fail with ENOSYS. Some functions are actually named
2978 something starting with __ and the normal name is an alias. */
2979 #if defined __stub_$2 || defined __stub___$2
2980 choke me
2981 #endif
2984 main (void)
2986 return $2 ();
2988 return 0;
2990 _ACEOF
2991 if ac_fn_c_try_link "$LINENO"
2992 then :
2993 eval "$3=yes"
2994 else $as_nop
2995 eval "$3=no"
2997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2998 conftest$ac_exeext conftest.$ac_ext
3000 eval ac_res=\$$3
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3002 printf "%s\n" "$ac_res" >&6; }
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 } # ac_fn_c_check_func
3007 # ac_fn_c_try_cpp LINENO
3008 # ----------------------
3009 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3010 ac_fn_c_try_cpp ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 if { { ac_try="$ac_cpp conftest.$ac_ext"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 printf "%s\n" "$ac_try_echo"; } >&5
3020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3021 ac_status=$?
3022 if test -s conftest.err; then
3023 grep -v '^ *+' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3025 mv -f conftest.er1 conftest.err
3027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; } > conftest.i && {
3029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3032 then :
3033 ac_retval=0
3034 else $as_nop
3035 printf "%s\n" "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3038 ac_retval=1
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 as_fn_set_status $ac_retval
3043 } # ac_fn_c_try_cpp
3045 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3046 # ----------------------------------------------------
3047 # Tries to find if the field MEMBER exists in type AGGR, after including
3048 # INCLUDES, setting cache variable VAR accordingly.
3049 ac_fn_c_check_member ()
3051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3053 printf %s "checking for $2.$3... " >&6; }
3054 if eval test \${$4+y}
3055 then :
3056 printf %s "(cached) " >&6
3057 else $as_nop
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 static $2 ac_aggr;
3065 if (ac_aggr.$3)
3066 return 0;
3068 return 0;
3070 _ACEOF
3071 if ac_fn_c_try_compile "$LINENO"
3072 then :
3073 eval "$4=yes"
3074 else $as_nop
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3079 main (void)
3081 static $2 ac_aggr;
3082 if (sizeof ac_aggr.$3)
3083 return 0;
3085 return 0;
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"
3089 then :
3090 eval "$4=yes"
3091 else $as_nop
3092 eval "$4=no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3098 eval ac_res=\$$4
3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 printf "%s\n" "$ac_res" >&6; }
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 } # ac_fn_c_check_member
3105 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3106 # -------------------------------------------
3107 # Tests whether TYPE exists after having included INCLUDES, setting cache
3108 # variable VAR accordingly.
3109 ac_fn_c_check_type ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3113 printf %s "checking for $2... " >&6; }
3114 if eval test \${$3+y}
3115 then :
3116 printf %s "(cached) " >&6
3117 else $as_nop
3118 eval "$3=no"
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3123 main (void)
3125 if (sizeof ($2))
3126 return 0;
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"
3132 then :
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3137 main (void)
3139 if (sizeof (($2)))
3140 return 0;
3142 return 0;
3144 _ACEOF
3145 if ac_fn_c_try_compile "$LINENO"
3146 then :
3148 else $as_nop
3149 eval "$3=yes"
3151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3155 eval ac_res=\$$3
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 printf "%s\n" "$ac_res" >&6; }
3158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3160 } # ac_fn_c_check_type
3161 ac_configure_args_raw=
3162 for ac_arg
3164 case $ac_arg in
3165 *\'*)
3166 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3167 esac
3168 as_fn_append ac_configure_args_raw " '$ac_arg'"
3169 done
3171 case $ac_configure_args_raw in
3172 *$as_nl*)
3173 ac_safe_unquote= ;;
3175 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3176 ac_unsafe_a="$ac_unsafe_z#~"
3177 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3178 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3179 esac
3181 cat >config.log <<_ACEOF
3182 This file contains any messages produced by compilers while
3183 running configure, to aid debugging if configure makes a mistake.
3185 It was created by Wine $as_me 8.19, which was
3186 generated by GNU Autoconf 2.71. Invocation command line was
3188 $ $0$ac_configure_args_raw
3190 _ACEOF
3191 exec 5>>config.log
3193 cat <<_ASUNAME
3194 ## --------- ##
3195 ## Platform. ##
3196 ## --------- ##
3198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3215 _ASUNAME
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3220 IFS=$as_save_IFS
3221 case $as_dir in #(((
3222 '') as_dir=./ ;;
3223 */) ;;
3224 *) as_dir=$as_dir/ ;;
3225 esac
3226 printf "%s\n" "PATH: $as_dir"
3227 done
3228 IFS=$as_save_IFS
3230 } >&5
3232 cat >&5 <<_ACEOF
3235 ## ----------- ##
3236 ## Core tests. ##
3237 ## ----------- ##
3239 _ACEOF
3242 # Keep a trace of the command line.
3243 # Strip out --no-create and --no-recursion so they do not pile up.
3244 # Strip out --silent because we don't want to record it for future runs.
3245 # Also quote any args containing shell meta-characters.
3246 # Make two passes to allow for proper duplicate-argument suppression.
3247 ac_configure_args=
3248 ac_configure_args0=
3249 ac_configure_args1=
3250 ac_must_keep_next=false
3251 for ac_pass in 1 2
3253 for ac_arg
3255 case $ac_arg in
3256 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3258 | -silent | --silent | --silen | --sile | --sil)
3259 continue ;;
3260 *\'*)
3261 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3262 esac
3263 case $ac_pass in
3264 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3266 as_fn_append ac_configure_args1 " '$ac_arg'"
3267 if test $ac_must_keep_next = true; then
3268 ac_must_keep_next=false # Got value, back to normal.
3269 else
3270 case $ac_arg in
3271 *=* | --config-cache | -C | -disable-* | --disable-* \
3272 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3273 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3274 | -with-* | --with-* | -without-* | --without-* | --x)
3275 case "$ac_configure_args0 " in
3276 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3277 esac
3279 -* ) ac_must_keep_next=true ;;
3280 esac
3282 as_fn_append ac_configure_args " '$ac_arg'"
3284 esac
3285 done
3286 done
3287 { ac_configure_args0=; unset ac_configure_args0;}
3288 { ac_configure_args1=; unset ac_configure_args1;}
3290 # When interrupted or exit'd, cleanup temporary files, and complete
3291 # config.log. We remove comments because anyway the quotes in there
3292 # would cause problems or look ugly.
3293 # WARNING: Use '\'' to represent an apostrophe within the trap.
3294 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3295 trap 'exit_status=$?
3296 # Sanitize IFS.
3297 IFS=" "" $as_nl"
3298 # Save into config.log some information that might help in debugging.
3300 echo
3302 printf "%s\n" "## ---------------- ##
3303 ## Cache variables. ##
3304 ## ---------------- ##"
3305 echo
3306 # The following way of writing the cache mishandles newlines in values,
3308 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3309 eval ac_val=\$$ac_var
3310 case $ac_val in #(
3311 *${as_nl}*)
3312 case $ac_var in #(
3313 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3314 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3315 esac
3316 case $ac_var in #(
3317 _ | IFS | as_nl) ;; #(
3318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3319 *) { eval $ac_var=; unset $ac_var;} ;;
3320 esac ;;
3321 esac
3322 done
3323 (set) 2>&1 |
3324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3325 *${as_nl}ac_space=\ *)
3326 sed -n \
3327 "s/'\''/'\''\\\\'\'''\''/g;
3328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3329 ;; #(
3331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3333 esac |
3334 sort
3336 echo
3338 printf "%s\n" "## ----------------- ##
3339 ## Output variables. ##
3340 ## ----------------- ##"
3341 echo
3342 for ac_var in $ac_subst_vars
3344 eval ac_val=\$$ac_var
3345 case $ac_val in
3346 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 esac
3348 printf "%s\n" "$ac_var='\''$ac_val'\''"
3349 done | sort
3350 echo
3352 if test -n "$ac_subst_files"; then
3353 printf "%s\n" "## ------------------- ##
3354 ## File substitutions. ##
3355 ## ------------------- ##"
3356 echo
3357 for ac_var in $ac_subst_files
3359 eval ac_val=\$$ac_var
3360 case $ac_val in
3361 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3362 esac
3363 printf "%s\n" "$ac_var='\''$ac_val'\''"
3364 done | sort
3365 echo
3368 if test -s confdefs.h; then
3369 printf "%s\n" "## ----------- ##
3370 ## confdefs.h. ##
3371 ## ----------- ##"
3372 echo
3373 cat confdefs.h
3374 echo
3376 test "$ac_signal" != 0 &&
3377 printf "%s\n" "$as_me: caught signal $ac_signal"
3378 printf "%s\n" "$as_me: exit $exit_status"
3379 } >&5
3380 rm -f core *.core core.conftest.* &&
3381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3382 exit $exit_status
3384 for ac_signal in 1 2 13 15; do
3385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3386 done
3387 ac_signal=0
3389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3390 rm -f -r conftest* confdefs.h
3392 printf "%s\n" "/* confdefs.h */" > confdefs.h
3394 # Predefined preprocessor variables.
3396 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3398 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3400 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3402 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3404 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3406 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3409 # Let the site file select an alternate cache file if it wants to.
3410 # Prefer an explicitly selected file to automatically selected ones.
3411 if test -n "$CONFIG_SITE"; then
3412 ac_site_files="$CONFIG_SITE"
3413 elif test "x$prefix" != xNONE; then
3414 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3415 else
3416 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3419 for ac_site_file in $ac_site_files
3421 case $ac_site_file in #(
3422 */*) :
3423 ;; #(
3424 *) :
3425 ac_site_file=./$ac_site_file ;;
3426 esac
3427 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3429 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3430 sed 's/^/| /' "$ac_site_file" >&5
3431 . "$ac_site_file" \
3432 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error $? "failed to load site script $ac_site_file
3435 See \`config.log' for more details" "$LINENO" 5; }
3437 done
3439 if test -r "$cache_file"; then
3440 # Some versions of bash will fail to source /dev/null (special files
3441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3444 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3445 case $cache_file in
3446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3447 *) . "./$cache_file";;
3448 esac
3450 else
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3452 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3453 >$cache_file
3456 # Test code for whether the C compiler supports C89 (global declarations)
3457 ac_c_conftest_c89_globals='
3458 /* Does the compiler advertise C89 conformance?
3459 Do not test the value of __STDC__, because some compilers set it to 0
3460 while being otherwise adequately conformant. */
3461 #if !defined __STDC__
3462 # error "Compiler does not advertise C89 conformance"
3463 #endif
3465 #include <stddef.h>
3466 #include <stdarg.h>
3467 struct stat;
3468 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3469 struct buf { int x; };
3470 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3471 static char *e (p, i)
3472 char **p;
3473 int i;
3475 return p[i];
3477 static char *f (char * (*g) (char **, int), char **p, ...)
3479 char *s;
3480 va_list v;
3481 va_start (v,p);
3482 s = g (p, va_arg (v,int));
3483 va_end (v);
3484 return s;
3487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3488 function prototypes and stuff, but not \xHH hex character constants.
3489 These do not provoke an error unfortunately, instead are silently treated
3490 as an "x". The following induces an error, until -std is added to get
3491 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3492 array size at least. It is necessary to write \x00 == 0 to get something
3493 that is true only with -std. */
3494 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3496 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3497 inside strings and character constants. */
3498 #define FOO(x) '\''x'\''
3499 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3501 int test (int i, double x);
3502 struct s1 {int (*f) (int a);};
3503 struct s2 {int (*f) (double a);};
3504 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3505 int, int);'
3507 # Test code for whether the C compiler supports C89 (body of main).
3508 ac_c_conftest_c89_main='
3509 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3512 # Test code for whether the C compiler supports C99 (global declarations)
3513 ac_c_conftest_c99_globals='
3514 // Does the compiler advertise C99 conformance?
3515 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3516 # error "Compiler does not advertise C99 conformance"
3517 #endif
3519 #include <stdbool.h>
3520 extern int puts (const char *);
3521 extern int printf (const char *, ...);
3522 extern int dprintf (int, const char *, ...);
3523 extern void *malloc (size_t);
3525 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3526 // dprintf is used instead of fprintf to avoid needing to declare
3527 // FILE and stderr.
3528 #define debug(...) dprintf (2, __VA_ARGS__)
3529 #define showlist(...) puts (#__VA_ARGS__)
3530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3531 static void
3532 test_varargs_macros (void)
3534 int x = 1234;
3535 int y = 5678;
3536 debug ("Flag");
3537 debug ("X = %d\n", x);
3538 showlist (The first, second, and third items.);
3539 report (x>y, "x is %d but y is %d", x, y);
3542 // Check long long types.
3543 #define BIG64 18446744073709551615ull
3544 #define BIG32 4294967295ul
3545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3546 #if !BIG_OK
3547 #error "your preprocessor is broken"
3548 #endif
3549 #if BIG_OK
3550 #else
3551 #error "your preprocessor is broken"
3552 #endif
3553 static long long int bignum = -9223372036854775807LL;
3554 static unsigned long long int ubignum = BIG64;
3556 struct incomplete_array
3558 int datasize;
3559 double data[];
3562 struct named_init {
3563 int number;
3564 const wchar_t *name;
3565 double average;
3568 typedef const char *ccp;
3570 static inline int
3571 test_restrict (ccp restrict text)
3573 // See if C++-style comments work.
3574 // Iterate through items via the restricted pointer.
3575 // Also check for declarations in for loops.
3576 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3577 continue;
3578 return 0;
3581 // Check varargs and va_copy.
3582 static bool
3583 test_varargs (const char *format, ...)
3585 va_list args;
3586 va_start (args, format);
3587 va_list args_copy;
3588 va_copy (args_copy, args);
3590 const char *str = "";
3591 int number = 0;
3592 float fnumber = 0;
3594 while (*format)
3596 switch (*format++)
3598 case '\''s'\'': // string
3599 str = va_arg (args_copy, const char *);
3600 break;
3601 case '\''d'\'': // int
3602 number = va_arg (args_copy, int);
3603 break;
3604 case '\''f'\'': // float
3605 fnumber = va_arg (args_copy, double);
3606 break;
3607 default:
3608 break;
3611 va_end (args_copy);
3612 va_end (args);
3614 return *str && number && fnumber;
3618 # Test code for whether the C compiler supports C99 (body of main).
3619 ac_c_conftest_c99_main='
3620 // Check bool.
3621 _Bool success = false;
3622 success |= (argc != 0);
3624 // Check restrict.
3625 if (test_restrict ("String literal") == 0)
3626 success = true;
3627 char *restrict newvar = "Another string";
3629 // Check varargs.
3630 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3631 test_varargs_macros ();
3633 // Check flexible array members.
3634 struct incomplete_array *ia =
3635 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3636 ia->datasize = 10;
3637 for (int i = 0; i < ia->datasize; ++i)
3638 ia->data[i] = i * 1.234;
3640 // Check named initializers.
3641 struct named_init ni = {
3642 .number = 34,
3643 .name = L"Test wide string",
3644 .average = 543.34343,
3647 ni.number = 58;
3649 int dynamic_array[ni.number];
3650 dynamic_array[0] = argv[0][0];
3651 dynamic_array[ni.number - 1] = 543;
3653 // work around unused variable warnings
3654 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3655 || dynamic_array[ni.number - 1] != 543);
3658 # Test code for whether the C compiler supports C11 (global declarations)
3659 ac_c_conftest_c11_globals='
3660 // Does the compiler advertise C11 conformance?
3661 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3662 # error "Compiler does not advertise C11 conformance"
3663 #endif
3665 // Check _Alignas.
3666 char _Alignas (double) aligned_as_double;
3667 char _Alignas (0) no_special_alignment;
3668 extern char aligned_as_int;
3669 char _Alignas (0) _Alignas (int) aligned_as_int;
3671 // Check _Alignof.
3672 enum
3674 int_alignment = _Alignof (int),
3675 int_array_alignment = _Alignof (int[100]),
3676 char_alignment = _Alignof (char)
3678 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3680 // Check _Noreturn.
3681 int _Noreturn does_not_return (void) { for (;;) continue; }
3683 // Check _Static_assert.
3684 struct test_static_assert
3686 int x;
3687 _Static_assert (sizeof (int) <= sizeof (long int),
3688 "_Static_assert does not work in struct");
3689 long int y;
3692 // Check UTF-8 literals.
3693 #define u8 syntax error!
3694 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3696 // Check duplicate typedefs.
3697 typedef long *long_ptr;
3698 typedef long int *long_ptr;
3699 typedef long_ptr long_ptr;
3701 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3702 struct anonymous
3704 union {
3705 struct { int i; int j; };
3706 struct { int k; long int l; } w;
3708 int m;
3709 } v1;
3712 # Test code for whether the C compiler supports C11 (body of main).
3713 ac_c_conftest_c11_main='
3714 _Static_assert ((offsetof (struct anonymous, i)
3715 == offsetof (struct anonymous, w.k)),
3716 "Anonymous union alignment botch");
3717 v1.i = 2;
3718 v1.w.k = 5;
3719 ok |= v1.i != 5;
3722 # Test code for whether the C compiler supports C11 (complete).
3723 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3724 ${ac_c_conftest_c99_globals}
3725 ${ac_c_conftest_c11_globals}
3728 main (int argc, char **argv)
3730 int ok = 0;
3731 ${ac_c_conftest_c89_main}
3732 ${ac_c_conftest_c99_main}
3733 ${ac_c_conftest_c11_main}
3734 return ok;
3738 # Test code for whether the C compiler supports C99 (complete).
3739 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3740 ${ac_c_conftest_c99_globals}
3743 main (int argc, char **argv)
3745 int ok = 0;
3746 ${ac_c_conftest_c89_main}
3747 ${ac_c_conftest_c99_main}
3748 return ok;
3752 # Test code for whether the C compiler supports C89 (complete).
3753 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3756 main (int argc, char **argv)
3758 int ok = 0;
3759 ${ac_c_conftest_c89_main}
3760 return ok;
3764 # Test code for whether the C++ compiler supports C++98 (global declarations)
3765 ac_cxx_conftest_cxx98_globals='
3766 // Does the compiler advertise C++98 conformance?
3767 #if !defined __cplusplus || __cplusplus < 199711L
3768 # error "Compiler does not advertise C++98 conformance"
3769 #endif
3771 // These inclusions are to reject old compilers that
3772 // lack the unsuffixed header files.
3773 #include <cstdlib>
3774 #include <exception>
3776 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3777 extern void assert (int);
3778 namespace std {
3779 extern int strcmp (const char *, const char *);
3782 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3783 using std::exception;
3784 using std::strcmp;
3786 namespace {
3788 void test_exception_syntax()
3790 try {
3791 throw "test";
3792 } catch (const char *s) {
3793 // Extra parentheses suppress a warning when building autoconf itself,
3794 // due to lint rules shared with more typical C programs.
3795 assert (!(strcmp) (s, "test"));
3799 template <typename T> struct test_template
3801 T const val;
3802 explicit test_template(T t) : val(t) {}
3803 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3806 } // anonymous namespace
3809 # Test code for whether the C++ compiler supports C++98 (body of main)
3810 ac_cxx_conftest_cxx98_main='
3811 assert (argc);
3812 assert (! argv[0]);
3814 test_exception_syntax ();
3815 test_template<double> tt (2.0);
3816 assert (tt.add (4) == 6.0);
3817 assert (true && !false);
3821 # Test code for whether the C++ compiler supports C++11 (global declarations)
3822 ac_cxx_conftest_cxx11_globals='
3823 // Does the compiler advertise C++ 2011 conformance?
3824 #if !defined __cplusplus || __cplusplus < 201103L
3825 # error "Compiler does not advertise C++11 conformance"
3826 #endif
3828 namespace cxx11test
3830 constexpr int get_val() { return 20; }
3832 struct testinit
3834 int i;
3835 double d;
3838 class delegate
3840 public:
3841 delegate(int n) : n(n) {}
3842 delegate(): delegate(2354) {}
3844 virtual int getval() { return this->n; };
3845 protected:
3846 int n;
3849 class overridden : public delegate
3851 public:
3852 overridden(int n): delegate(n) {}
3853 virtual int getval() override final { return this->n * 2; }
3856 class nocopy
3858 public:
3859 nocopy(int i): i(i) {}
3860 nocopy() = default;
3861 nocopy(const nocopy&) = delete;
3862 nocopy & operator=(const nocopy&) = delete;
3863 private:
3864 int i;
3867 // for testing lambda expressions
3868 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3870 return f(v);
3873 // for testing variadic templates and trailing return types
3874 template <typename V> auto sum(V first) -> V
3876 return first;
3878 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3880 return first + sum(rest...);
3885 # Test code for whether the C++ compiler supports C++11 (body of main)
3886 ac_cxx_conftest_cxx11_main='
3888 // Test auto and decltype
3889 auto a1 = 6538;
3890 auto a2 = 48573953.4;
3891 auto a3 = "String literal";
3893 int total = 0;
3894 for (auto i = a3; *i; ++i) { total += *i; }
3896 decltype(a2) a4 = 34895.034;
3899 // Test constexpr
3900 short sa[cxx11test::get_val()] = { 0 };
3903 // Test initializer lists
3904 cxx11test::testinit il = { 4323, 435234.23544 };
3907 // Test range-based for
3908 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3909 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3910 for (auto &x : array) { x += 23; }
3913 // Test lambda expressions
3914 using cxx11test::eval;
3915 assert (eval ([](int x) { return x*2; }, 21) == 42);
3916 double d = 2.0;
3917 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3918 assert (d == 5.0);
3919 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3920 assert (d == 5.0);
3923 // Test use of variadic templates
3924 using cxx11test::sum;
3925 auto a = sum(1);
3926 auto b = sum(1, 2);
3927 auto c = sum(1.0, 2.0, 3.0);
3930 // Test constructor delegation
3931 cxx11test::delegate d1;
3932 cxx11test::delegate d2();
3933 cxx11test::delegate d3(45);
3936 // Test override and final
3937 cxx11test::overridden o1(55464);
3940 // Test nullptr
3941 char *c = nullptr;
3944 // Test template brackets
3945 test_template<::test_template<int>> v(test_template<int>(12));
3948 // Unicode literals
3949 char const *utf8 = u8"UTF-8 string \u2500";
3950 char16_t const *utf16 = u"UTF-8 string \u2500";
3951 char32_t const *utf32 = U"UTF-32 string \u2500";
3955 # Test code for whether the C compiler supports C++11 (complete).
3956 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3957 ${ac_cxx_conftest_cxx11_globals}
3960 main (int argc, char **argv)
3962 int ok = 0;
3963 ${ac_cxx_conftest_cxx98_main}
3964 ${ac_cxx_conftest_cxx11_main}
3965 return ok;
3969 # Test code for whether the C compiler supports C++98 (complete).
3970 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3972 main (int argc, char **argv)
3974 int ok = 0;
3975 ${ac_cxx_conftest_cxx98_main}
3976 return ok;
3980 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3981 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3982 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3983 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3984 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3985 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3986 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3987 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3988 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3990 # Auxiliary files required by this configure script.
3991 ac_aux_files="config.guess config.sub"
3993 # Locations in which to look for auxiliary files.
3994 ac_aux_dir_candidates="${srcdir}/tools"
3996 # Search for a directory containing all of the required auxiliary files,
3997 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3998 # If we don't find one directory that contains all the files we need,
3999 # we report the set of missing files from the *first* directory in
4000 # $ac_aux_dir_candidates and give up.
4001 ac_missing_aux_files=""
4002 ac_first_candidate=:
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 as_found=false
4006 for as_dir in $ac_aux_dir_candidates
4008 IFS=$as_save_IFS
4009 case $as_dir in #(((
4010 '') as_dir=./ ;;
4011 */) ;;
4012 *) as_dir=$as_dir/ ;;
4013 esac
4014 as_found=:
4016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4017 ac_aux_dir_found=yes
4018 ac_install_sh=
4019 for ac_aux in $ac_aux_files
4021 # As a special case, if "install-sh" is required, that requirement
4022 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4023 # and $ac_install_sh is set appropriately for whichever one is found.
4024 if test x"$ac_aux" = x"install-sh"
4025 then
4026 if test -f "${as_dir}install-sh"; then
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4028 ac_install_sh="${as_dir}install-sh -c"
4029 elif test -f "${as_dir}install.sh"; then
4030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4031 ac_install_sh="${as_dir}install.sh -c"
4032 elif test -f "${as_dir}shtool"; then
4033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4034 ac_install_sh="${as_dir}shtool install -c"
4035 else
4036 ac_aux_dir_found=no
4037 if $ac_first_candidate; then
4038 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4039 else
4040 break
4043 else
4044 if test -f "${as_dir}${ac_aux}"; then
4045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4046 else
4047 ac_aux_dir_found=no
4048 if $ac_first_candidate; then
4049 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4050 else
4051 break
4055 done
4056 if test "$ac_aux_dir_found" = yes; then
4057 ac_aux_dir="$as_dir"
4058 break
4060 ac_first_candidate=false
4062 as_found=false
4063 done
4064 IFS=$as_save_IFS
4065 if $as_found
4066 then :
4068 else $as_nop
4069 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4073 # These three variables are undocumented and unsupported,
4074 # and are intended to be withdrawn in a future Autoconf release.
4075 # They can cause serious problems if a builder's source tree is in a directory
4076 # whose full name contains unusual characters.
4077 if test -f "${ac_aux_dir}config.guess"; then
4078 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4080 if test -f "${ac_aux_dir}config.sub"; then
4081 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4083 if test -f "$ac_aux_dir/configure"; then
4084 ac_configure="$SHELL ${ac_aux_dir}configure"
4087 # Check that the precious variables saved in the cache have kept the same
4088 # value.
4089 ac_cache_corrupted=false
4090 for ac_var in $ac_precious_vars; do
4091 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4092 eval ac_new_set=\$ac_env_${ac_var}_set
4093 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4094 eval ac_new_val=\$ac_env_${ac_var}_value
4095 case $ac_old_set,$ac_new_set in
4096 set,)
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4098 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4099 ac_cache_corrupted=: ;;
4100 ,set)
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4102 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4103 ac_cache_corrupted=: ;;
4104 ,);;
4106 if test "x$ac_old_val" != "x$ac_new_val"; then
4107 # differences in whitespace do not lead to failure.
4108 ac_old_val_w=`echo x $ac_old_val`
4109 ac_new_val_w=`echo x $ac_new_val`
4110 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4112 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4113 ac_cache_corrupted=:
4114 else
4115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4116 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4117 eval $ac_var=\$ac_old_val
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4120 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4122 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4123 fi;;
4124 esac
4125 # Pass precious variables to config.status.
4126 if test "$ac_new_set" = set; then
4127 case $ac_new_val in
4128 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4129 *) ac_arg=$ac_var=$ac_new_val ;;
4130 esac
4131 case " $ac_configure_args " in
4132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4133 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4134 esac
4136 done
4137 if $ac_cache_corrupted; then
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4141 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4142 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4143 and start over" "$LINENO" 5
4145 ## -------------------- ##
4146 ## Main body of script. ##
4147 ## -------------------- ##
4149 ac_ext=c
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4157 ac_config_headers="$ac_config_headers include/config.h"
4161 libwine_version="1.0"
4164 # Check whether --enable-archs was given.
4165 if test ${enable_archs+y}
4166 then :
4167 enableval=$enable_archs;
4170 # Check whether --enable-win16 was given.
4171 if test ${enable_win16+y}
4172 then :
4173 enableval=$enable_win16;
4176 # Check whether --enable-win64 was given.
4177 if test ${enable_win64+y}
4178 then :
4179 enableval=$enable_win64;
4182 # Check whether --enable-tests was given.
4183 if test ${enable_tests+y}
4184 then :
4185 enableval=$enable_tests;
4188 # Check whether --enable-build-id was given.
4189 if test ${enable_build_id+y}
4190 then :
4191 enableval=$enable_build_id;
4194 # Check whether --enable-maintainer-mode was given.
4195 if test ${enable_maintainer_mode+y}
4196 then :
4197 enableval=$enable_maintainer_mode;
4200 # Check whether --enable-silent-rules was given.
4201 if test ${enable_silent_rules+y}
4202 then :
4203 enableval=$enable_silent_rules;
4206 # Check whether --enable-werror was given.
4207 if test ${enable_werror+y}
4208 then :
4209 enableval=$enable_werror;
4214 # Check whether --with-alsa was given.
4215 if test ${with_alsa+y}
4216 then :
4217 withval=$with_alsa;
4221 # Check whether --with-capi was given.
4222 if test ${with_capi+y}
4223 then :
4224 withval=$with_capi;
4228 # Check whether --with-coreaudio was given.
4229 if test ${with_coreaudio+y}
4230 then :
4231 withval=$with_coreaudio;
4235 # Check whether --with-cups was given.
4236 if test ${with_cups+y}
4237 then :
4238 withval=$with_cups;
4242 # Check whether --with-dbus was given.
4243 if test ${with_dbus+y}
4244 then :
4245 withval=$with_dbus;
4249 # Check whether --with-float-abi was given.
4250 if test ${with_float_abi+y}
4251 then :
4252 withval=$with_float_abi;
4256 # Check whether --with-fontconfig was given.
4257 if test ${with_fontconfig+y}
4258 then :
4259 withval=$with_fontconfig;
4263 # Check whether --with-freetype was given.
4264 if test ${with_freetype+y}
4265 then :
4266 withval=$with_freetype;
4270 # Check whether --with-gettext was given.
4271 if test ${with_gettext+y}
4272 then :
4273 withval=$with_gettext;
4277 # Check whether --with-gettextpo was given.
4278 if test ${with_gettextpo+y}
4279 then :
4280 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4284 # Check whether --with-gphoto was given.
4285 if test ${with_gphoto+y}
4286 then :
4287 withval=$with_gphoto;
4291 # Check whether --with-gnutls was given.
4292 if test ${with_gnutls+y}
4293 then :
4294 withval=$with_gnutls;
4298 # Check whether --with-gssapi was given.
4299 if test ${with_gssapi+y}
4300 then :
4301 withval=$with_gssapi;
4305 # Check whether --with-gstreamer was given.
4306 if test ${with_gstreamer+y}
4307 then :
4308 withval=$with_gstreamer;
4312 # Check whether --with-inotify was given.
4313 if test ${with_inotify+y}
4314 then :
4315 withval=$with_inotify;
4319 # Check whether --with-krb5 was given.
4320 if test ${with_krb5+y}
4321 then :
4322 withval=$with_krb5;
4326 # Check whether --with-mingw was given.
4327 if test ${with_mingw+y}
4328 then :
4329 withval=$with_mingw;
4333 # Check whether --with-netapi was given.
4334 if test ${with_netapi+y}
4335 then :
4336 withval=$with_netapi;
4340 # Check whether --with-opencl was given.
4341 if test ${with_opencl+y}
4342 then :
4343 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4347 # Check whether --with-opengl was given.
4348 if test ${with_opengl+y}
4349 then :
4350 withval=$with_opengl;
4354 # Check whether --with-osmesa was given.
4355 if test ${with_osmesa+y}
4356 then :
4357 withval=$with_osmesa;
4361 # Check whether --with-oss was given.
4362 if test ${with_oss+y}
4363 then :
4364 withval=$with_oss;
4368 # Check whether --with-pcap was given.
4369 if test ${with_pcap+y}
4370 then :
4371 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4375 # Check whether --with-pcsclite was given.
4376 if test ${with_pcsclite+y}
4377 then :
4378 withval=$with_pcsclite;
4382 # Check whether --with-pthread was given.
4383 if test ${with_pthread+y}
4384 then :
4385 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4389 # Check whether --with-pulse was given.
4390 if test ${with_pulse+y}
4391 then :
4392 withval=$with_pulse;
4396 # Check whether --with-sane was given.
4397 if test ${with_sane+y}
4398 then :
4399 withval=$with_sane;
4403 # Check whether --with-sdl was given.
4404 if test ${with_sdl+y}
4405 then :
4406 withval=$with_sdl;
4410 # Check whether --with-udev was given.
4411 if test ${with_udev+y}
4412 then :
4413 withval=$with_udev;
4417 # Check whether --with-unwind was given.
4418 if test ${with_unwind+y}
4419 then :
4420 withval=$with_unwind;
4424 # Check whether --with-usb was given.
4425 if test ${with_usb+y}
4426 then :
4427 withval=$with_usb;
4431 # Check whether --with-v4l2 was given.
4432 if test ${with_v4l2+y}
4433 then :
4434 withval=$with_v4l2;
4438 # Check whether --with-vulkan was given.
4439 if test ${with_vulkan+y}
4440 then :
4441 withval=$with_vulkan;
4445 # Check whether --with-wayland was given.
4446 if test ${with_wayland+y}
4447 then :
4448 withval=$with_wayland;
4452 # Check whether --with-xcomposite was given.
4453 if test ${with_xcomposite+y}
4454 then :
4455 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4459 # Check whether --with-xcursor was given.
4460 if test ${with_xcursor+y}
4461 then :
4462 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4466 # Check whether --with-xfixes was given.
4467 if test ${with_xfixes+y}
4468 then :
4469 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4473 # Check whether --with-xinerama was given.
4474 if test ${with_xinerama+y}
4475 then :
4476 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4480 # Check whether --with-xinput was given.
4481 if test ${with_xinput+y}
4482 then :
4483 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4487 # Check whether --with-xinput2 was given.
4488 if test ${with_xinput2+y}
4489 then :
4490 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4494 # Check whether --with-xrandr was given.
4495 if test ${with_xrandr+y}
4496 then :
4497 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4501 # Check whether --with-xrender was given.
4502 if test ${with_xrender+y}
4503 then :
4504 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4508 # Check whether --with-xshape was given.
4509 if test ${with_xshape+y}
4510 then :
4511 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4515 # Check whether --with-xshm was given.
4516 if test ${with_xshm+y}
4517 then :
4518 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4522 # Check whether --with-xxf86vm was given.
4523 if test ${with_xxf86vm+y}
4524 then :
4525 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
4530 # Check whether --with-system-dllpath was given.
4531 if test ${with_system_dllpath+y}
4532 then :
4533 withval=$with_system_dllpath; system_dllpath=$withval
4538 # Check whether --with-wine-tools was given.
4539 if test ${with_wine_tools+y}
4540 then :
4541 withval=$with_wine_tools;
4545 # Check whether --with-wine64 was given.
4546 if test ${with_wine64+y}
4547 then :
4548 withval=$with_wine64;
4555 # Make sure we can run config.sub.
4556 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4557 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4560 printf %s "checking build system type... " >&6; }
4561 if test ${ac_cv_build+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else $as_nop
4565 ac_build_alias=$build_alias
4566 test "x$ac_build_alias" = x &&
4567 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4568 test "x$ac_build_alias" = x &&
4569 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4570 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4571 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4575 printf "%s\n" "$ac_cv_build" >&6; }
4576 case $ac_cv_build in
4577 *-*-*) ;;
4578 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4579 esac
4580 build=$ac_cv_build
4581 ac_save_IFS=$IFS; IFS='-'
4582 set x $ac_cv_build
4583 shift
4584 build_cpu=$1
4585 build_vendor=$2
4586 shift; shift
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4589 build_os=$*
4590 IFS=$ac_save_IFS
4591 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4595 printf %s "checking host system type... " >&6; }
4596 if test ${ac_cv_host+y}
4597 then :
4598 printf %s "(cached) " >&6
4599 else $as_nop
4600 if test "x$host_alias" = x; then
4601 ac_cv_host=$ac_cv_build
4602 else
4603 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4604 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4609 printf "%s\n" "$ac_cv_host" >&6; }
4610 case $ac_cv_host in
4611 *-*-*) ;;
4612 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4613 esac
4614 host=$ac_cv_host
4615 ac_save_IFS=$IFS; IFS='-'
4616 set x $ac_cv_host
4617 shift
4618 host_cpu=$1
4619 host_vendor=$2
4620 shift; shift
4621 # Remember, the first character of IFS is used to create $*,
4622 # except with old shells:
4623 host_os=$*
4624 IFS=$ac_save_IFS
4625 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4629 dlldir=\${libdir}/wine
4631 fontdir=\${datadir}/wine/fonts
4633 nlsdir=\${datadir}/wine/nls
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4639 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4640 set x ${MAKE-make}
4641 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4642 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4643 then :
4644 printf %s "(cached) " >&6
4645 else $as_nop
4646 cat >conftest.make <<\_ACEOF
4647 SHELL = /bin/sh
4648 all:
4649 @echo '@@@%%%=$(MAKE)=@@@%%%'
4650 _ACEOF
4651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4653 *@@@%%%=?*=@@@%%%*)
4654 eval ac_cv_prog_make_${ac_make}_set=yes;;
4656 eval ac_cv_prog_make_${ac_make}_set=no;;
4657 esac
4658 rm -f conftest.make
4660 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662 printf "%s\n" "yes" >&6; }
4663 SET_MAKE=
4664 else
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 printf "%s\n" "no" >&6; }
4667 SET_MAKE="MAKE=${MAKE-make}"
4679 ac_ext=c
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684 if test -n "$ac_tool_prefix"; then
4685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4686 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 printf %s "checking for $ac_word... " >&6; }
4689 if test ${ac_cv_prog_CC+y}
4690 then :
4691 printf %s "(cached) " >&6
4692 else $as_nop
4693 if test -n "$CC"; then
4694 ac_cv_prog_CC="$CC" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4699 IFS=$as_save_IFS
4700 case $as_dir in #(((
4701 '') as_dir=./ ;;
4702 */) ;;
4703 *) as_dir=$as_dir/ ;;
4704 esac
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4709 break 2
4711 done
4712 done
4713 IFS=$as_save_IFS
4717 CC=$ac_cv_prog_CC
4718 if test -n "$CC"; then
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4720 printf "%s\n" "$CC" >&6; }
4721 else
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 printf "%s\n" "no" >&6; }
4728 if test -z "$ac_cv_prog_CC"; then
4729 ac_ct_CC=$CC
4730 # Extract the first word of "gcc", so it can be a program name with args.
4731 set dummy gcc; ac_word=$2
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 printf %s "checking for $ac_word... " >&6; }
4734 if test ${ac_cv_prog_ac_ct_CC+y}
4735 then :
4736 printf %s "(cached) " >&6
4737 else $as_nop
4738 if test -n "$ac_ct_CC"; then
4739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4740 else
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH
4744 IFS=$as_save_IFS
4745 case $as_dir in #(((
4746 '') as_dir=./ ;;
4747 */) ;;
4748 *) as_dir=$as_dir/ ;;
4749 esac
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CC="gcc"
4753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4754 break 2
4756 done
4757 done
4758 IFS=$as_save_IFS
4762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4763 if test -n "$ac_ct_CC"; then
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4765 printf "%s\n" "$ac_ct_CC" >&6; }
4766 else
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 printf "%s\n" "no" >&6; }
4771 if test "x$ac_ct_CC" = x; then
4772 CC=""
4773 else
4774 case $cross_compiling:$ac_tool_warned in
4775 yes:)
4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4779 esac
4780 CC=$ac_ct_CC
4782 else
4783 CC="$ac_cv_prog_CC"
4786 if test -z "$CC"; then
4787 if test -n "$ac_tool_prefix"; then
4788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4789 set dummy ${ac_tool_prefix}cc; ac_word=$2
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 printf %s "checking for $ac_word... " >&6; }
4792 if test ${ac_cv_prog_CC+y}
4793 then :
4794 printf %s "(cached) " >&6
4795 else $as_nop
4796 if test -n "$CC"; then
4797 ac_cv_prog_CC="$CC" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4802 IFS=$as_save_IFS
4803 case $as_dir in #(((
4804 '') as_dir=./ ;;
4805 */) ;;
4806 *) as_dir=$as_dir/ ;;
4807 esac
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_CC="${ac_tool_prefix}cc"
4811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4812 break 2
4814 done
4815 done
4816 IFS=$as_save_IFS
4820 CC=$ac_cv_prog_CC
4821 if test -n "$CC"; then
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4823 printf "%s\n" "$CC" >&6; }
4824 else
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 printf "%s\n" "no" >&6; }
4832 if test -z "$CC"; then
4833 # Extract the first word of "cc", so it can be a program name with args.
4834 set dummy cc; ac_word=$2
4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 printf %s "checking for $ac_word... " >&6; }
4837 if test ${ac_cv_prog_CC+y}
4838 then :
4839 printf %s "(cached) " >&6
4840 else $as_nop
4841 if test -n "$CC"; then
4842 ac_cv_prog_CC="$CC" # Let the user override the test.
4843 else
4844 ac_prog_rejected=no
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 case $as_dir in #(((
4850 '') as_dir=./ ;;
4851 */) ;;
4852 *) as_dir=$as_dir/ ;;
4853 esac
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4856 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4857 ac_prog_rejected=yes
4858 continue
4860 ac_cv_prog_CC="cc"
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4862 break 2
4864 done
4865 done
4866 IFS=$as_save_IFS
4868 if test $ac_prog_rejected = yes; then
4869 # We found a bogon in the path, so make sure we never use it.
4870 set dummy $ac_cv_prog_CC
4871 shift
4872 if test $# != 0; then
4873 # We chose a different compiler from the bogus one.
4874 # However, it has the same basename, so the bogon will be chosen
4875 # first if we set CC to just the basename; use the full file name.
4876 shift
4877 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4882 CC=$ac_cv_prog_CC
4883 if test -n "$CC"; then
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4885 printf "%s\n" "$CC" >&6; }
4886 else
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 printf "%s\n" "no" >&6; }
4893 if test -z "$CC"; then
4894 if test -n "$ac_tool_prefix"; then
4895 for ac_prog in cl.exe
4897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 printf %s "checking for $ac_word... " >&6; }
4901 if test ${ac_cv_prog_CC+y}
4902 then :
4903 printf %s "(cached) " >&6
4904 else $as_nop
4905 if test -n "$CC"; then
4906 ac_cv_prog_CC="$CC" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 case $as_dir in #(((
4913 '') as_dir=./ ;;
4914 */) ;;
4915 *) as_dir=$as_dir/ ;;
4916 esac
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4921 break 2
4923 done
4924 done
4925 IFS=$as_save_IFS
4929 CC=$ac_cv_prog_CC
4930 if test -n "$CC"; then
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4932 printf "%s\n" "$CC" >&6; }
4933 else
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 printf "%s\n" "no" >&6; }
4939 test -n "$CC" && break
4940 done
4942 if test -z "$CC"; then
4943 ac_ct_CC=$CC
4944 for ac_prog in cl.exe
4946 # Extract the first word of "$ac_prog", so it can be a program name with args.
4947 set dummy $ac_prog; ac_word=$2
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 printf %s "checking for $ac_word... " >&6; }
4950 if test ${ac_cv_prog_ac_ct_CC+y}
4951 then :
4952 printf %s "(cached) " >&6
4953 else $as_nop
4954 if test -n "$ac_ct_CC"; then
4955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 case $as_dir in #(((
4962 '') as_dir=./ ;;
4963 */) ;;
4964 *) as_dir=$as_dir/ ;;
4965 esac
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_ac_ct_CC="$ac_prog"
4969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4970 break 2
4972 done
4973 done
4974 IFS=$as_save_IFS
4978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4979 if test -n "$ac_ct_CC"; then
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4981 printf "%s\n" "$ac_ct_CC" >&6; }
4982 else
4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 printf "%s\n" "no" >&6; }
4988 test -n "$ac_ct_CC" && break
4989 done
4991 if test "x$ac_ct_CC" = x; then
4992 CC=""
4993 else
4994 case $cross_compiling:$ac_tool_warned in
4995 yes:)
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4998 ac_tool_warned=yes ;;
4999 esac
5000 CC=$ac_ct_CC
5005 if test -z "$CC"; then
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}clang; ac_word=$2
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 printf %s "checking for $ac_word... " >&6; }
5011 if test ${ac_cv_prog_CC+y}
5012 then :
5013 printf %s "(cached) " >&6
5014 else $as_nop
5015 if test -n "$CC"; then
5016 ac_cv_prog_CC="$CC" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 case $as_dir in #(((
5023 '') as_dir=./ ;;
5024 */) ;;
5025 *) as_dir=$as_dir/ ;;
5026 esac
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_CC="${ac_tool_prefix}clang"
5030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 CC=$ac_cv_prog_CC
5040 if test -n "$CC"; then
5041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5042 printf "%s\n" "$CC" >&6; }
5043 else
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 printf "%s\n" "no" >&6; }
5050 if test -z "$ac_cv_prog_CC"; then
5051 ac_ct_CC=$CC
5052 # Extract the first word of "clang", so it can be a program name with args.
5053 set dummy clang; ac_word=$2
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 printf %s "checking for $ac_word... " >&6; }
5056 if test ${ac_cv_prog_ac_ct_CC+y}
5057 then :
5058 printf %s "(cached) " >&6
5059 else $as_nop
5060 if test -n "$ac_ct_CC"; then
5061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 case $as_dir in #(((
5068 '') as_dir=./ ;;
5069 */) ;;
5070 *) as_dir=$as_dir/ ;;
5071 esac
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_ac_ct_CC="clang"
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5076 break 2
5078 done
5079 done
5080 IFS=$as_save_IFS
5084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5085 if test -n "$ac_ct_CC"; then
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5087 printf "%s\n" "$ac_ct_CC" >&6; }
5088 else
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 printf "%s\n" "no" >&6; }
5093 if test "x$ac_ct_CC" = x; then
5094 CC=""
5095 else
5096 case $cross_compiling:$ac_tool_warned in
5097 yes:)
5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned=yes ;;
5101 esac
5102 CC=$ac_ct_CC
5104 else
5105 CC="$ac_cv_prog_CC"
5111 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5112 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5113 as_fn_error $? "no acceptable C compiler found in \$PATH
5114 See \`config.log' for more details" "$LINENO" 5; }
5116 # Provide some information about the compiler.
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5118 set X $ac_compile
5119 ac_compiler=$2
5120 for ac_option in --version -v -V -qversion -version; do
5121 { { ac_try="$ac_compiler $ac_option >&5"
5122 case "(($ac_try" in
5123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5125 esac
5126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5127 printf "%s\n" "$ac_try_echo"; } >&5
5128 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5129 ac_status=$?
5130 if test -s conftest.err; then
5131 sed '10a\
5132 ... rest of stderr output deleted ...
5133 10q' conftest.err >conftest.er1
5134 cat conftest.er1 >&5
5136 rm -f conftest.er1 conftest.err
5137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5138 test $ac_status = 0; }
5139 done
5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5145 main (void)
5149 return 0;
5151 _ACEOF
5152 ac_clean_files_save=$ac_clean_files
5153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5154 # Try to create an executable without -o first, disregard a.out.
5155 # It will help us diagnose broken compilers, and finding out an intuition
5156 # of exeext.
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5158 printf %s "checking whether the C compiler works... " >&6; }
5159 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5161 # The possible output files:
5162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5164 ac_rmfiles=
5165 for ac_file in $ac_files
5167 case $ac_file in
5168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5170 esac
5171 done
5172 rm -f $ac_rmfiles
5174 if { { ac_try="$ac_link_default"
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_default") 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 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5187 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5188 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5189 # so that the user can short-circuit this test for compilers unknown to
5190 # Autoconf.
5191 for ac_file in $ac_files ''
5193 test -f "$ac_file" || continue
5194 case $ac_file in
5195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5197 [ab].out )
5198 # We found the default executable, but exeext='' is most
5199 # certainly right.
5200 break;;
5201 *.* )
5202 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5203 then :; else
5204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5206 # We set ac_cv_exeext here because the later test for it is not
5207 # safe: cross compilers may not add the suffix if given an `-o'
5208 # argument, so we may need to know it at that point already.
5209 # Even if this section looks crufty: it has the advantage of
5210 # actually working.
5211 break;;
5213 break;;
5214 esac
5215 done
5216 test "$ac_cv_exeext" = no && ac_cv_exeext=
5218 else $as_nop
5219 ac_file=''
5221 if test -z "$ac_file"
5222 then :
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 printf "%s\n" "no" >&6; }
5225 printf "%s\n" "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5229 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5230 as_fn_error 77 "C compiler cannot create executables
5231 See \`config.log' for more details" "$LINENO" 5; }
5232 else $as_nop
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 printf "%s\n" "yes" >&6; }
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5237 printf %s "checking for C compiler default output file name... " >&6; }
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5239 printf "%s\n" "$ac_file" >&6; }
5240 ac_exeext=$ac_cv_exeext
5242 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5243 ac_clean_files=$ac_clean_files_save
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5245 printf %s "checking for suffix of executables... " >&6; }
5246 if { { ac_try="$ac_link"
5247 case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 printf "%s\n" "$ac_try_echo"; } >&5
5253 (eval "$ac_link") 2>&5
5254 ac_status=$?
5255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }
5257 then :
5258 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5259 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5260 # work properly (i.e., refer to `conftest.exe'), while it won't with
5261 # `rm'.
5262 for ac_file in conftest.exe conftest conftest.*; do
5263 test -f "$ac_file" || continue
5264 case $ac_file in
5265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5266 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5267 break;;
5268 * ) break;;
5269 esac
5270 done
5271 else $as_nop
5272 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5274 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5275 See \`config.log' for more details" "$LINENO" 5; }
5277 rm -f conftest conftest$ac_cv_exeext
5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5279 printf "%s\n" "$ac_cv_exeext" >&6; }
5281 rm -f conftest.$ac_ext
5282 EXEEXT=$ac_cv_exeext
5283 ac_exeext=$EXEEXT
5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5286 #include <stdio.h>
5288 main (void)
5290 FILE *f = fopen ("conftest.out", "w");
5291 return ferror (f) || fclose (f) != 0;
5294 return 0;
5296 _ACEOF
5297 ac_clean_files="$ac_clean_files conftest.out"
5298 # Check that the compiler produces executables we can run. If not, either
5299 # the compiler is broken, or we cross compile.
5300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5301 printf %s "checking whether we are cross compiling... " >&6; }
5302 if test "$cross_compiling" != yes; then
5303 { { ac_try="$ac_link"
5304 case "(($ac_try" in
5305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306 *) ac_try_echo=$ac_try;;
5307 esac
5308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5309 printf "%s\n" "$ac_try_echo"; } >&5
5310 (eval "$ac_link") 2>&5
5311 ac_status=$?
5312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313 test $ac_status = 0; }
5314 if { ac_try='./conftest$ac_cv_exeext'
5315 { { case "(($ac_try" in
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5318 esac
5319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5320 printf "%s\n" "$ac_try_echo"; } >&5
5321 (eval "$ac_try") 2>&5
5322 ac_status=$?
5323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }; }; then
5325 cross_compiling=no
5326 else
5327 if test "$cross_compiling" = maybe; then
5328 cross_compiling=yes
5329 else
5330 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5332 as_fn_error 77 "cannot run C compiled programs.
5333 If you meant to cross compile, use \`--host'.
5334 See \`config.log' for more details" "$LINENO" 5; }
5338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5339 printf "%s\n" "$cross_compiling" >&6; }
5341 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5342 ac_clean_files=$ac_clean_files_save
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5344 printf %s "checking for suffix of object files... " >&6; }
5345 if test ${ac_cv_objext+y}
5346 then :
5347 printf %s "(cached) " >&6
5348 else $as_nop
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main (void)
5357 return 0;
5359 _ACEOF
5360 rm -f conftest.o conftest.obj
5361 if { { ac_try="$ac_compile"
5362 case "(($ac_try" in
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5365 esac
5366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5367 printf "%s\n" "$ac_try_echo"; } >&5
5368 (eval "$ac_compile") 2>&5
5369 ac_status=$?
5370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5371 test $ac_status = 0; }
5372 then :
5373 for ac_file in conftest.o conftest.obj conftest.*; do
5374 test -f "$ac_file" || continue;
5375 case $ac_file in
5376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5378 break;;
5379 esac
5380 done
5381 else $as_nop
5382 printf "%s\n" "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.$ac_ext >&5
5385 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5386 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5387 as_fn_error $? "cannot compute suffix of object files: cannot compile
5388 See \`config.log' for more details" "$LINENO" 5; }
5390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5393 printf "%s\n" "$ac_cv_objext" >&6; }
5394 OBJEXT=$ac_cv_objext
5395 ac_objext=$OBJEXT
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5397 printf %s "checking whether the compiler supports GNU C... " >&6; }
5398 if test ${ac_cv_c_compiler_gnu+y}
5399 then :
5400 printf %s "(cached) " >&6
5401 else $as_nop
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main (void)
5408 #ifndef __GNUC__
5409 choke me
5410 #endif
5413 return 0;
5415 _ACEOF
5416 if ac_fn_c_try_compile "$LINENO"
5417 then :
5418 ac_compiler_gnu=yes
5419 else $as_nop
5420 ac_compiler_gnu=no
5422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5423 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5427 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5430 if test $ac_compiler_gnu = yes; then
5431 GCC=yes
5432 else
5433 GCC=
5435 ac_test_CFLAGS=${CFLAGS+y}
5436 ac_save_CFLAGS=$CFLAGS
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5438 printf %s "checking whether $CC accepts -g... " >&6; }
5439 if test ${ac_cv_prog_cc_g+y}
5440 then :
5441 printf %s "(cached) " >&6
5442 else $as_nop
5443 ac_save_c_werror_flag=$ac_c_werror_flag
5444 ac_c_werror_flag=yes
5445 ac_cv_prog_cc_g=no
5446 CFLAGS="-g"
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5451 main (void)
5455 return 0;
5457 _ACEOF
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_g=yes
5461 else $as_nop
5462 CFLAGS=""
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5467 main (void)
5471 return 0;
5473 _ACEOF
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5477 else $as_nop
5478 ac_c_werror_flag=$ac_save_c_werror_flag
5479 CFLAGS="-g"
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5484 main (void)
5488 return 0;
5490 _ACEOF
5491 if ac_fn_c_try_compile "$LINENO"
5492 then :
5493 ac_cv_prog_cc_g=yes
5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5500 ac_c_werror_flag=$ac_save_c_werror_flag
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5504 if test $ac_test_CFLAGS; then
5505 CFLAGS=$ac_save_CFLAGS
5506 elif test $ac_cv_prog_cc_g = yes; then
5507 if test "$GCC" = yes; then
5508 CFLAGS="-g -O2"
5509 else
5510 CFLAGS="-g"
5512 else
5513 if test "$GCC" = yes; then
5514 CFLAGS="-O2"
5515 else
5516 CFLAGS=
5519 ac_prog_cc_stdc=no
5520 if test x$ac_prog_cc_stdc = xno
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5523 printf %s "checking for $CC option to enable C11 features... " >&6; }
5524 if test ${ac_cv_prog_cc_c11+y}
5525 then :
5526 printf %s "(cached) " >&6
5527 else $as_nop
5528 ac_cv_prog_cc_c11=no
5529 ac_save_CC=$CC
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 /* end confdefs.h. */
5532 $ac_c_conftest_c11_program
5533 _ACEOF
5534 for ac_arg in '' -std=gnu11
5536 CC="$ac_save_CC $ac_arg"
5537 if ac_fn_c_try_compile "$LINENO"
5538 then :
5539 ac_cv_prog_cc_c11=$ac_arg
5541 rm -f core conftest.err conftest.$ac_objext conftest.beam
5542 test "x$ac_cv_prog_cc_c11" != "xno" && break
5543 done
5544 rm -f conftest.$ac_ext
5545 CC=$ac_save_CC
5548 if test "x$ac_cv_prog_cc_c11" = xno
5549 then :
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5551 printf "%s\n" "unsupported" >&6; }
5552 else $as_nop
5553 if test "x$ac_cv_prog_cc_c11" = x
5554 then :
5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5556 printf "%s\n" "none needed" >&6; }
5557 else $as_nop
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5559 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5560 CC="$CC $ac_cv_prog_cc_c11"
5562 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5563 ac_prog_cc_stdc=c11
5566 if test x$ac_prog_cc_stdc = xno
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5569 printf %s "checking for $CC option to enable C99 features... " >&6; }
5570 if test ${ac_cv_prog_cc_c99+y}
5571 then :
5572 printf %s "(cached) " >&6
5573 else $as_nop
5574 ac_cv_prog_cc_c99=no
5575 ac_save_CC=$CC
5576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5577 /* end confdefs.h. */
5578 $ac_c_conftest_c99_program
5579 _ACEOF
5580 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5582 CC="$ac_save_CC $ac_arg"
5583 if ac_fn_c_try_compile "$LINENO"
5584 then :
5585 ac_cv_prog_cc_c99=$ac_arg
5587 rm -f core conftest.err conftest.$ac_objext conftest.beam
5588 test "x$ac_cv_prog_cc_c99" != "xno" && break
5589 done
5590 rm -f conftest.$ac_ext
5591 CC=$ac_save_CC
5594 if test "x$ac_cv_prog_cc_c99" = xno
5595 then :
5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5597 printf "%s\n" "unsupported" >&6; }
5598 else $as_nop
5599 if test "x$ac_cv_prog_cc_c99" = x
5600 then :
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5602 printf "%s\n" "none needed" >&6; }
5603 else $as_nop
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5605 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5606 CC="$CC $ac_cv_prog_cc_c99"
5608 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5609 ac_prog_cc_stdc=c99
5612 if test x$ac_prog_cc_stdc = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5615 printf %s "checking for $CC option to enable C89 features... " >&6; }
5616 if test ${ac_cv_prog_cc_c89+y}
5617 then :
5618 printf %s "(cached) " >&6
5619 else $as_nop
5620 ac_cv_prog_cc_c89=no
5621 ac_save_CC=$CC
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 $ac_c_conftest_c89_program
5625 _ACEOF
5626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5628 CC="$ac_save_CC $ac_arg"
5629 if ac_fn_c_try_compile "$LINENO"
5630 then :
5631 ac_cv_prog_cc_c89=$ac_arg
5633 rm -f core conftest.err conftest.$ac_objext conftest.beam
5634 test "x$ac_cv_prog_cc_c89" != "xno" && break
5635 done
5636 rm -f conftest.$ac_ext
5637 CC=$ac_save_CC
5640 if test "x$ac_cv_prog_cc_c89" = xno
5641 then :
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5643 printf "%s\n" "unsupported" >&6; }
5644 else $as_nop
5645 if test "x$ac_cv_prog_cc_c89" = x
5646 then :
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5648 printf "%s\n" "none needed" >&6; }
5649 else $as_nop
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5651 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5652 CC="$CC $ac_cv_prog_cc_c89"
5654 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5655 ac_prog_cc_stdc=c89
5659 ac_ext=c
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5671 ac_ext=cpp
5672 ac_cpp='$CXXCPP $CPPFLAGS'
5673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5676 if test -z "$CXX"; then
5677 if test -n "$CCC"; then
5678 CXX=$CCC
5679 else
5680 if test -n "$ac_tool_prefix"; then
5681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 printf %s "checking for $ac_word... " >&6; }
5687 if test ${ac_cv_prog_CXX+y}
5688 then :
5689 printf %s "(cached) " >&6
5690 else $as_nop
5691 if test -n "$CXX"; then
5692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 case $as_dir in #(((
5699 '') as_dir=./ ;;
5700 */) ;;
5701 *) as_dir=$as_dir/ ;;
5702 esac
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 CXX=$ac_cv_prog_CXX
5716 if test -n "$CXX"; then
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5718 printf "%s\n" "$CXX" >&6; }
5719 else
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 printf "%s\n" "no" >&6; }
5725 test -n "$CXX" && break
5726 done
5728 if test -z "$CXX"; then
5729 ac_ct_CXX=$CXX
5730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5732 # Extract the first word of "$ac_prog", so it can be a program name with args.
5733 set dummy $ac_prog; ac_word=$2
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 printf %s "checking for $ac_word... " >&6; }
5736 if test ${ac_cv_prog_ac_ct_CXX+y}
5737 then :
5738 printf %s "(cached) " >&6
5739 else $as_nop
5740 if test -n "$ac_ct_CXX"; then
5741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 case $as_dir in #(((
5748 '') as_dir=./ ;;
5749 */) ;;
5750 *) as_dir=$as_dir/ ;;
5751 esac
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5754 ac_cv_prog_ac_ct_CXX="$ac_prog"
5755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5765 if test -n "$ac_ct_CXX"; then
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5767 printf "%s\n" "$ac_ct_CXX" >&6; }
5768 else
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 printf "%s\n" "no" >&6; }
5774 test -n "$ac_ct_CXX" && break
5775 done
5777 if test "x$ac_ct_CXX" = x; then
5778 CXX="g++"
5779 else
5780 case $cross_compiling:$ac_tool_warned in
5781 yes:)
5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned=yes ;;
5785 esac
5786 CXX=$ac_ct_CXX
5792 # Provide some information about the compiler.
5793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5794 set X $ac_compile
5795 ac_compiler=$2
5796 for ac_option in --version -v -V -qversion; do
5797 { { ac_try="$ac_compiler $ac_option >&5"
5798 case "(($ac_try" in
5799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5800 *) ac_try_echo=$ac_try;;
5801 esac
5802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5803 printf "%s\n" "$ac_try_echo"; } >&5
5804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5805 ac_status=$?
5806 if test -s conftest.err; then
5807 sed '10a\
5808 ... rest of stderr output deleted ...
5809 10q' conftest.err >conftest.er1
5810 cat conftest.er1 >&5
5812 rm -f conftest.er1 conftest.err
5813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }
5815 done
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5818 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5819 if test ${ac_cv_cxx_compiler_gnu+y}
5820 then :
5821 printf %s "(cached) " >&6
5822 else $as_nop
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5827 main (void)
5829 #ifndef __GNUC__
5830 choke me
5831 #endif
5834 return 0;
5836 _ACEOF
5837 if ac_fn_cxx_try_compile "$LINENO"
5838 then :
5839 ac_compiler_gnu=yes
5840 else $as_nop
5841 ac_compiler_gnu=no
5843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5844 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5848 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5851 if test $ac_compiler_gnu = yes; then
5852 GXX=yes
5853 else
5854 GXX=
5856 ac_test_CXXFLAGS=${CXXFLAGS+y}
5857 ac_save_CXXFLAGS=$CXXFLAGS
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5859 printf %s "checking whether $CXX accepts -g... " >&6; }
5860 if test ${ac_cv_prog_cxx_g+y}
5861 then :
5862 printf %s "(cached) " >&6
5863 else $as_nop
5864 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5865 ac_cxx_werror_flag=yes
5866 ac_cv_prog_cxx_g=no
5867 CXXFLAGS="-g"
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5872 main (void)
5876 return 0;
5878 _ACEOF
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_g=yes
5882 else $as_nop
5883 CXXFLAGS=""
5884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5888 main (void)
5892 return 0;
5894 _ACEOF
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5898 else $as_nop
5899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5900 CXXFLAGS="-g"
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5905 main (void)
5909 return 0;
5911 _ACEOF
5912 if ac_fn_cxx_try_compile "$LINENO"
5913 then :
5914 ac_cv_prog_cxx_g=yes
5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5925 if test $ac_test_CXXFLAGS; then
5926 CXXFLAGS=$ac_save_CXXFLAGS
5927 elif test $ac_cv_prog_cxx_g = yes; then
5928 if test "$GXX" = yes; then
5929 CXXFLAGS="-g -O2"
5930 else
5931 CXXFLAGS="-g"
5933 else
5934 if test "$GXX" = yes; then
5935 CXXFLAGS="-O2"
5936 else
5937 CXXFLAGS=
5940 ac_prog_cxx_stdcxx=no
5941 if test x$ac_prog_cxx_stdcxx = xno
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5944 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5945 if test ${ac_cv_prog_cxx_cxx11+y}
5946 then :
5947 printf %s "(cached) " >&6
5948 else $as_nop
5949 ac_cv_prog_cxx_cxx11=no
5950 ac_save_CXX=$CXX
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 $ac_cxx_conftest_cxx11_program
5954 _ACEOF
5955 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5957 CXX="$ac_save_CXX $ac_arg"
5958 if ac_fn_cxx_try_compile "$LINENO"
5959 then :
5960 ac_cv_prog_cxx_cxx11=$ac_arg
5962 rm -f core conftest.err conftest.$ac_objext conftest.beam
5963 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5964 done
5965 rm -f conftest.$ac_ext
5966 CXX=$ac_save_CXX
5969 if test "x$ac_cv_prog_cxx_cxx11" = xno
5970 then :
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5972 printf "%s\n" "unsupported" >&6; }
5973 else $as_nop
5974 if test "x$ac_cv_prog_cxx_cxx11" = x
5975 then :
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5977 printf "%s\n" "none needed" >&6; }
5978 else $as_nop
5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5980 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5981 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5983 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5984 ac_prog_cxx_stdcxx=cxx11
5987 if test x$ac_prog_cxx_stdcxx = xno
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5990 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5991 if test ${ac_cv_prog_cxx_cxx98+y}
5992 then :
5993 printf %s "(cached) " >&6
5994 else $as_nop
5995 ac_cv_prog_cxx_cxx98=no
5996 ac_save_CXX=$CXX
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 $ac_cxx_conftest_cxx98_program
6000 _ACEOF
6001 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6003 CXX="$ac_save_CXX $ac_arg"
6004 if ac_fn_cxx_try_compile "$LINENO"
6005 then :
6006 ac_cv_prog_cxx_cxx98=$ac_arg
6008 rm -f core conftest.err conftest.$ac_objext conftest.beam
6009 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6010 done
6011 rm -f conftest.$ac_ext
6012 CXX=$ac_save_CXX
6015 if test "x$ac_cv_prog_cxx_cxx98" = xno
6016 then :
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6018 printf "%s\n" "unsupported" >&6; }
6019 else $as_nop
6020 if test "x$ac_cv_prog_cxx_cxx98" = x
6021 then :
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6023 printf "%s\n" "none needed" >&6; }
6024 else $as_nop
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6026 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6027 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6029 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6030 ac_prog_cxx_stdcxx=cxx98
6034 ac_ext=c
6035 ac_cpp='$CPP $CPPFLAGS'
6036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6040 if test -n "$ac_tool_prefix"; then
6041 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6042 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 printf %s "checking for $ac_word... " >&6; }
6045 if test ${ac_cv_prog_CPPBIN+y}
6046 then :
6047 printf %s "(cached) " >&6
6048 else $as_nop
6049 if test -n "$CPPBIN"; then
6050 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 case $as_dir in #(((
6057 '') as_dir=./ ;;
6058 */) ;;
6059 *) as_dir=$as_dir/ ;;
6060 esac
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 CPPBIN=$ac_cv_prog_CPPBIN
6074 if test -n "$CPPBIN"; then
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6076 printf "%s\n" "$CPPBIN" >&6; }
6077 else
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 printf "%s\n" "no" >&6; }
6084 if test -z "$ac_cv_prog_CPPBIN"; then
6085 ac_ct_CPPBIN=$CPPBIN
6086 # Extract the first word of "cpp", so it can be a program name with args.
6087 set dummy cpp; ac_word=$2
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 printf %s "checking for $ac_word... " >&6; }
6090 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6091 then :
6092 printf %s "(cached) " >&6
6093 else $as_nop
6094 if test -n "$ac_ct_CPPBIN"; then
6095 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 case $as_dir in #(((
6102 '') as_dir=./ ;;
6103 */) ;;
6104 *) as_dir=$as_dir/ ;;
6105 esac
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_CPPBIN="cpp"
6109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6119 if test -n "$ac_ct_CPPBIN"; then
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6121 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6122 else
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 printf "%s\n" "no" >&6; }
6127 if test "x$ac_ct_CPPBIN" = x; then
6128 CPPBIN="cpp"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 CPPBIN=$ac_ct_CPPBIN
6138 else
6139 CPPBIN="$ac_cv_prog_CPPBIN"
6143 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}ld; ac_word=$2
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 printf %s "checking for $ac_word... " >&6; }
6150 if test ${ac_cv_prog_LD+y}
6151 then :
6152 printf %s "(cached) " >&6
6153 else $as_nop
6154 if test -n "$LD"; then
6155 ac_cv_prog_LD="$LD" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6160 IFS=$as_save_IFS
6161 case $as_dir in #(((
6162 '') as_dir=./ ;;
6163 */) ;;
6164 *) as_dir=$as_dir/ ;;
6165 esac
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_LD="${ac_tool_prefix}ld"
6169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6178 LD=$ac_cv_prog_LD
6179 if test -n "$LD"; then
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6181 printf "%s\n" "$LD" >&6; }
6182 else
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 printf "%s\n" "no" >&6; }
6189 if test -z "$ac_cv_prog_LD"; then
6190 ac_ct_LD=$LD
6191 # Extract the first word of "ld", so it can be a program name with args.
6192 set dummy ld; ac_word=$2
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 printf %s "checking for $ac_word... " >&6; }
6195 if test ${ac_cv_prog_ac_ct_LD+y}
6196 then :
6197 printf %s "(cached) " >&6
6198 else $as_nop
6199 if test -n "$ac_ct_LD"; then
6200 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 case $as_dir in #(((
6207 '') as_dir=./ ;;
6208 */) ;;
6209 *) as_dir=$as_dir/ ;;
6210 esac
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6213 ac_cv_prog_ac_ct_LD="ld"
6214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6219 IFS=$as_save_IFS
6223 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6224 if test -n "$ac_ct_LD"; then
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6226 printf "%s\n" "$ac_ct_LD" >&6; }
6227 else
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 printf "%s\n" "no" >&6; }
6232 if test "x$ac_ct_LD" = x; then
6233 LD=""
6234 else
6235 case $cross_compiling:$ac_tool_warned in
6236 yes:)
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6240 esac
6241 LD=$ac_ct_LD
6243 else
6244 LD="$ac_cv_prog_LD"
6248 case $host in
6249 *-darwin*)
6250 with_fontconfig=${with_fontconfig:-no}
6252 *-mingw32*|*-cygwin*)
6253 enable_win16=${enable_win16:-no}
6254 with_mingw=${with_mingw:-no}
6256 esac
6259 case $host in
6260 x86_64*|amd64*)
6261 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6262 then
6263 CC="$CC -m32"
6264 CXX="$CXX -m32"
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6267 printf %s "checking whether $CC works... " >&6; }
6268 if test ${wine_cv_cc_m32+y}
6269 then :
6270 printf %s "(cached) " >&6
6271 else $as_nop
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6276 main (void)
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"
6284 then :
6285 wine_cv_cc_m32=yes
6286 else $as_nop
6287 wine_cv_cc_m32=no
6289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6290 conftest$ac_exeext conftest.$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6293 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6294 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
6295 host_cpu="i386"
6296 notice_platform="32-bit "
6297 TARGETFLAGS="$TARGETFLAGS -m32"
6298 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6299 export PKG_CONFIG_LIBDIR
6300 with_unwind=${with_unwind:-no}
6301 else
6302 CC="$CC -m64"
6303 CXX="$CXX -m64"
6304 host_cpu="x86_64"
6305 notice_platform="64-bit "
6306 TARGETFLAGS="$TARGETFLAGS -m64"
6309 arm*)
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6311 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6312 if test ${wine_cv_thumb2+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_thumb2=yes
6330 else $as_nop
6331 wine_cv_thumb2=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6337 printf "%s\n" "$wine_cv_thumb2" >&6; }
6338 if test x"$wine_cv_thumb2" = xyes
6339 then
6340 CFLAGS="$CFLAGS -mthumb"
6341 TARGETFLAGS="$TARGETFLAGS -mthumb"
6342 else
6343 CFLAGS="$CFLAGS -marm"
6344 TARGETFLAGS="$TARGETFLAGS -marm"
6346 case $with_float_abi in
6347 soft|softfp|hard)
6348 float_abi=$with_float_abi ;;
6350 case $host_os in
6351 *eabihf)
6352 float_abi=hard ;;
6354 float_abi=softfp
6355 saved_CFLAGS=$CFLAGS
6356 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6358 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6359 if test ${wine_cv_float_abi+y}
6360 then :
6361 printf %s "(cached) " >&6
6362 else $as_nop
6363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6367 main (void)
6369 asm("vmrs r2,fpscr");
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_link "$LINENO"
6375 then :
6376 wine_cv_float_abi=yes
6377 else $as_nop
6378 wine_cv_float_abi=no
6380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6381 conftest$ac_exeext conftest.$ac_ext
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6384 printf "%s\n" "$wine_cv_float_abi" >&6; }
6385 if test $wine_cv_float_abi = no
6386 then
6387 float_abi=soft
6388 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6390 CFLAGS=$saved_CFLAGS
6391 esac
6393 esac
6394 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6395 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6397 i[3456789]86*)
6398 with_unwind=${with_unwind:-no}
6400 esac
6402 enable_win16=${enable_win16:-i386}
6403 enable_win64=${enable_win64:-no}
6404 enable_wow64=${enable_wow64:-aarch64,x86_64}
6405 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6406 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6407 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64}
6409 enable_winetest=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6412 then
6413 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 case $build_os in
6418 cygwin*|mingw32*) toolsext=".exe"
6420 *) toolsext=""
6422 esac
6424 HOST_ARCH=unknown
6425 case "$host_cpu" in
6426 aarch64*) HOST_ARCH=aarch64 ;;
6427 arm*) HOST_ARCH=arm ;;
6428 i[3456789]86*) HOST_ARCH=i386 ;;
6429 x86_64) HOST_ARCH=x86_64 ;;
6430 esac
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s "checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6436 then :
6437 printf %s "(cached) " >&6
6438 else $as_nop
6439 wine_cv_toolsdir="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep=tools/makedep$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6454 enable_tools=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 else
6457 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir=$wine_cv_toolsdir
6461 MAKEDEP=$wine_makedep
6463 RUNTESTFLAGS="-q -P wine"
6465 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'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 then
6470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6473 for ac_prog in flex
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s "checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 case $as_dir in #(((
6491 '') as_dir=./ ;;
6492 */) ;;
6493 *) as_dir=$as_dir/ ;;
6494 esac
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 FLEX=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6511 else
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6518 done
6519 test -n "$FLEX" || FLEX="none"
6521 if test "$FLEX" = "none"
6522 then
6523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s "checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat >conftest.l <<EOF
6532 %top{
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l >/dev/null 2>&5
6538 then
6539 wine_cv_recent_flex=yes
6540 else
6541 wine_cv_recent_flex=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 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
6548 for ac_prog in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s "checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 case $as_dir in #(((
6566 '') as_dir=./ ;;
6567 */) ;;
6568 *) as_dir=$as_dir/ ;;
6569 esac
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 BISON=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6586 else
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6593 done
6594 test -n "$BISON" || BISON="none"
6596 if test "$BISON" = "none"
6597 then
6598 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s "checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 cat >conftest.y <<EOF
6607 %define parse.error verbose
6609 empty: ;
6611 if $BISON conftest.y >/dev/null 2>&5
6612 then
6613 wine_cv_recent_bison=yes
6614 else
6615 wine_cv_recent_bison=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 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
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR="$AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 AR=$ac_cv_prog_AR
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6668 done
6670 if test -z "$AR"; then
6671 ac_ct_AR=$AR
6672 for ac_prog in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6710 else
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6717 done
6719 if test "x$ac_ct_AR" = x; then
6720 AR="ar"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 AR=$ac_ct_AR
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s "checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6738 then :
6739 printf %s "(cached) " >&6
6740 else $as_nop
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 case $as_dir in #(((
6749 '') as_dir=./ ;;
6750 */) ;;
6751 *) as_dir=$as_dir/ ;;
6752 esac
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 STRIP=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6769 else
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6777 ac_ct_STRIP=$STRIP
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x; then
6820 STRIP="strip"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 STRIP=$ac_ct_STRIP
6830 else
6831 STRIP="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s "checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6840 then :
6841 printf %s "(cached) " >&6
6842 else $as_nop
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 case $as_dir in #(((
6851 '') as_dir=./ ;;
6852 */) ;;
6853 *) as_dir=$as_dir/ ;;
6854 esac
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6871 else
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s "checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 then :
6886 printf %s "(cached) " >&6
6887 else $as_nop
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 case $as_dir in #(((
6896 '') as_dir=./ ;;
6897 */) ;;
6898 *) as_dir=$as_dir/ ;;
6899 esac
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x; then
6922 RANLIB=":"
6923 else
6924 case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930 RANLIB=$ac_ct_RANLIB
6932 else
6933 RANLIB="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s "checking whether ln -s works... " >&6; }
6938 LN_S=$as_ln_s
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6942 else
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s "checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6950 then :
6951 printf %s "(cached) " >&6
6952 else $as_nop
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6959 IFS=$as_save_IFS
6960 case $as_dir in #(((
6961 '') as_dir=./ ;;
6962 */) ;;
6963 *) as_dir=$as_dir/ ;;
6964 esac
6965 for ac_prog in grep ggrep
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p "$ac_path_GREP" || continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6973 *GNU*)
6974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6976 ac_count=0
6977 printf %s 0123456789 >"conftest.in"
6978 while :
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6986 as_fn_arith $ac_count + 1 && ac_count=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP="$ac_path_GREP"
6990 ac_path_GREP_max=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6994 done
6995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6996 esac
6998 $ac_path_GREP_found && break 3
6999 done
7000 done
7001 done
7002 IFS=$as_save_IFS
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 else
7007 ac_cv_path_GREP=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s "checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else $as_nop
7022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7023 then ac_cv_path_EGREP="$GREP -E"
7024 else
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7031 IFS=$as_save_IFS
7032 case $as_dir in #(((
7033 '') as_dir=./ ;;
7034 */) ;;
7035 *) as_dir=$as_dir/ ;;
7036 esac
7037 for ac_prog in egrep
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p "$ac_path_EGREP" || continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7045 *GNU*)
7046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7048 ac_count=0
7049 printf %s 0123456789 >"conftest.in"
7050 while :
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7058 as_fn_arith $ac_count + 1 && ac_count=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP="$ac_path_EGREP"
7062 ac_path_EGREP_max=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7066 done
7067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 esac
7070 $ac_path_EGREP_found && break 3
7071 done
7072 done
7073 done
7074 IFS=$as_save_IFS
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 else
7079 ac_cv_path_EGREP=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 case $LDCONFIG in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in /sbin /usr/sbin $PATH
7105 IFS=$as_save_IFS
7106 case $as_dir in #(((
7107 '') as_dir=./ ;;
7108 */) ;;
7109 *) as_dir=$as_dir/ ;;
7110 esac
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7123 esac
7125 LDCONFIG=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7129 else
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 MSGFMT=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7180 done
7181 test -n "$MSGFMT" || MSGFMT="false"
7183 if test ${ac_tool_prefix+y}
7184 then :
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 then :
7230 if test "x$cross_compiling" = xyes
7231 then :
7233 else $as_nop
7234 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config; ac_word=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s "checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 else
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7278 else $as_nop
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7283 then
7284 FONTFORGE=""
7285 RSVG=""
7286 CONVERT=""
7287 ICOTOOL=""
7288 else
7289 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 FONTFORGE=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7335 done
7336 test -n "$FONTFORGE" || FONTFORGE="false"
7338 for ac_prog in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 RSVG=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7383 done
7384 test -n "$RSVG" || RSVG="false"
7386 for ac_prog in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 CONVERT=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7431 done
7432 test -n "$CONVERT" || CONVERT="false"
7434 for ac_prog in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy $ac_prog; ac_word=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s "checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7441 then :
7442 printf %s "(cached) " >&6
7443 else $as_nop
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 case $as_dir in #(((
7452 '') as_dir=./ ;;
7453 */) ;;
7454 *) as_dir=$as_dir/ ;;
7455 esac
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 ICOTOOL=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7472 else
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7479 done
7480 test -n "$ICOTOOL" || ICOTOOL="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7486 then
7487 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s "checking for recent enough imagemagick... " >&6; }
7491 convert_version=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7493 then
7494 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 then
7498 CONVERT=false
7501 if test "$CONVERT" = false
7502 then
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7513 then
7514 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s "checking for recent enough icotool... " >&6; }
7518 icotool_version=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7520 then
7521 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 then
7525 ICOTOOL=false
7526 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 else
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7540 with_gettext=yes
7541 with_gettextpo=yes
7543 enable_werror=yes
7546 test "x$with_gettext" != xno || MSGFMT=false
7547 if test "$MSGFMT" != "false"
7548 then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s "checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7552 then :
7553 printf %s "(cached) " >&6
7554 else $as_nop
7555 cat >conftest.po <<EOF
7556 # comment
7557 msgctxt "ctxt"
7558 msgid "id"
7559 msgstr "str"
7561 if $MSGFMT -o /dev/null conftest.po 2>&5
7562 then
7563 wine_cv_msgfmt_contexts=yes
7564 else
7565 wine_cv_msgfmt_contexts=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7572 if test "$MSGFMT" = false
7573 then :
7574 case "x$with_gettext" in
7575 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7576 xno) ;;
7577 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 esac
7580 enable_po=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-li386 $LIBS"
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7600 main (void)
7602 return i386_set_ldt ();
7604 return 0;
7606 _ACEOF
7607 if ac_fn_c_try_link "$LINENO"
7608 then :
7609 ac_cv_lib_i386_i386_set_ldt=yes
7610 else $as_nop
7611 ac_cv_lib_i386_i386_set_ldt=no
7613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7620 then :
7621 I386_LIBS="-li386"
7626 OPENGL_LIBS=""
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7632 then :
7633 enableval=$enable_largefile;
7636 if test "$enable_largefile" != no; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s "checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 ac_cv_sys_largefile_CC=no
7645 if test "$GCC" != yes; then
7646 ac_save_CC=$CC
7647 while :; do
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam
7674 CC="$CC -n32"
7675 if ac_fn_c_try_compile "$LINENO"
7676 then :
7677 ac_cv_sys_largefile_CC=' -n32'; break
7679 rm -f core conftest.err conftest.$ac_objext conftest.beam
7680 break
7681 done
7682 CC=$ac_save_CC
7683 rm -f conftest.$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no; then
7689 CC=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7695 then :
7696 printf %s "(cached) " >&6
7697 else $as_nop
7698 while :; do
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7709 ? 1 : -1];
7711 main (void)
7715 return 0;
7717 _ACEOF
7718 if ac_fn_c_try_compile "$LINENO"
7719 then :
7720 ac_cv_sys_file_offset_bits=no; break
7722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=64; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 ac_cv_sys_file_offset_bits=unknown
7749 break
7750 done
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7755 no | unknown) ;;
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 esac
7760 rm -rf conftest*
7761 if test $ac_cv_sys_file_offset_bits = unknown; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7765 then :
7766 printf %s "(cached) " >&6
7767 else $as_nop
7768 while :; do
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7779 ? 1 : -1];
7781 main (void)
7785 return 0;
7787 _ACEOF
7788 if ac_fn_c_try_compile "$LINENO"
7789 then :
7790 ac_cv_sys_large_files=no; break
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=1; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 ac_cv_sys_large_files=unknown
7819 break
7820 done
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7825 no | unknown) ;;
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7829 esac
7830 rm -rf conftest*
7835 ac_header= ac_cache=
7836 for ac_item in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7840 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header= ac_cache=
7844 elif test $ac_header; then
7845 ac_cache=$ac_item
7846 else
7847 ac_header=$ac_item
7849 done
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 then :
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_wireless_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_lwp_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mach_mach_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_cpu_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_mntent_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netdb_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_port_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pthread_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_pwd_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_sched_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_scsi_sg_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_stdint_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_attr_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_auxv_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_cdio_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_epoll_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_event_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_extattr_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_filio_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_ipc_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_link_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_modem_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_mtio_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_param_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_prctl_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_queue_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_random_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_resource_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_shm_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_signal_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_sockio_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_strtio_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_syscall_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_times_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_uio_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_user_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_utsname_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_vnode_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_xattr_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_syscall_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_utime_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8347 then :
8349 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8353 if test $ac_cv_header_sys_mkdev_h = no; then
8354 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8356 then :
8358 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8364 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8365 if test ${ac_cv_header_stat_broken+y}
8366 then :
8367 printf %s "(cached) " >&6
8368 else $as_nop
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 #include <sys/types.h>
8372 #include <sys/stat.h>
8374 #if defined S_ISBLK && defined S_IFDIR
8375 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8376 #endif
8378 #if defined S_ISBLK && defined S_IFCHR
8379 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8380 #endif
8382 #if defined S_ISLNK && defined S_IFREG
8383 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8384 #endif
8386 #if defined S_ISSOCK && defined S_IFREG
8387 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8388 #endif
8390 _ACEOF
8391 if ac_fn_c_try_compile "$LINENO"
8392 then :
8393 ac_cv_header_stat_broken=no
8394 else $as_nop
8395 ac_cv_header_stat_broken=yes
8397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8400 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8401 if test $ac_cv_header_stat_broken = yes; then
8403 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8412 #endif
8414 if test "x$ac_cv_header_sys_conf_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_mount_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8432 #endif
8434 if test "x$ac_cv_header_sys_statfs_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8442 #endif
8444 if test "x$ac_cv_header_sys_user_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8450 #ifdef HAVE_SYS_PARAM_H
8451 # include <sys/param.h>
8452 #endif
8454 if test "x$ac_cv_header_sys_vfs_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8461 saved_sysctl_h_CFLAGS=$CFLAGS
8462 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8463 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8466 #endif
8468 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8474 CFLAGS=$saved_sysctl_h_CFLAGS
8476 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8477 #include <sys/socket.h>
8478 #ifdef HAVE_SYS_SOCKETVAR_H
8479 # include <sys/socketvar.h>
8480 #endif
8481 #ifdef HAVE_NET_ROUTE_H
8482 # include <net/route.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IN_H
8485 # include <netinet/in.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IN_SYSTM_H
8488 # include <netinet/in_systm.h>
8489 #endif
8490 #ifdef HAVE_NET_IF_H
8491 # include <net/if.h>
8492 #endif
8493 #ifdef HAVE_NETINET_IP_H
8494 # include <netinet/ip.h>
8495 #endif
8497 if test "x$ac_cv_header_netinet_ip_h" = xyes
8498 then :
8499 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8502 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8503 #include <sys/socket.h>
8504 #ifdef HAVE_SYS_SOCKETVAR_H
8505 # include <sys/socketvar.h>
8506 #endif
8507 #ifdef HAVE_NET_ROUTE_H
8508 # include <net/route.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IN_H
8511 # include <netinet/in.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IN_SYSTM_H
8514 # include <netinet/in_systm.h>
8515 #endif
8516 #ifdef HAVE_NET_IF_H
8517 # include <net/if.h>
8518 #endif
8519 #ifdef HAVE_NETINET_IP_H
8520 # include <netinet/ip.h>
8521 #endif
8523 if test "x$ac_cv_header_net_if_h" = xyes
8524 then :
8525 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8528 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8529 #include <sys/socket.h>
8530 #ifdef HAVE_SYS_SOCKETVAR_H
8531 # include <sys/socketvar.h>
8532 #endif
8533 #ifdef HAVE_NET_ROUTE_H
8534 # include <net/route.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_H
8537 # include <netinet/in.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IN_SYSTM_H
8540 # include <netinet/in_systm.h>
8541 #endif
8542 #ifdef HAVE_NET_IF_H
8543 # include <net/if.h>
8544 #endif
8545 #ifdef HAVE_NETINET_IP_H
8546 # include <netinet/ip.h>
8547 #endif
8549 if test "x$ac_cv_header_net_if_arp_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8555 #include <sys/socket.h>
8556 #ifdef HAVE_SYS_SOCKETVAR_H
8557 # include <sys/socketvar.h>
8558 #endif
8559 #ifdef HAVE_NET_ROUTE_H
8560 # include <net/route.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_H
8563 # include <netinet/in.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IN_SYSTM_H
8566 # include <netinet/in_systm.h>
8567 #endif
8568 #ifdef HAVE_NET_IF_H
8569 # include <net/if.h>
8570 #endif
8571 #ifdef HAVE_NETINET_IP_H
8572 # include <netinet/ip.h>
8573 #endif
8575 if test "x$ac_cv_header_net_if_dl_h" = xyes
8576 then :
8577 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8580 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8581 #include <sys/socket.h>
8582 #ifdef HAVE_SYS_SOCKETVAR_H
8583 # include <sys/socketvar.h>
8584 #endif
8585 #ifdef HAVE_NET_ROUTE_H
8586 # include <net/route.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_H
8589 # include <netinet/in.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IN_SYSTM_H
8592 # include <netinet/in_systm.h>
8593 #endif
8594 #ifdef HAVE_NET_IF_H
8595 # include <net/if.h>
8596 #endif
8597 #ifdef HAVE_NETINET_IP_H
8598 # include <netinet/ip.h>
8599 #endif
8601 if test "x$ac_cv_header_net_if_types_h" = xyes
8602 then :
8603 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8606 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8607 #include <sys/socket.h>
8608 #ifdef HAVE_SYS_SOCKETVAR_H
8609 # include <sys/socketvar.h>
8610 #endif
8611 #ifdef HAVE_NET_ROUTE_H
8612 # include <net/route.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_H
8615 # include <netinet/in.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IN_SYSTM_H
8618 # include <netinet/in_systm.h>
8619 #endif
8620 #ifdef HAVE_NET_IF_H
8621 # include <net/if.h>
8622 #endif
8623 #ifdef HAVE_NETINET_IP_H
8624 # include <netinet/ip.h>
8625 #endif
8627 if test "x$ac_cv_header_net_route_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8633 #include <sys/socket.h>
8634 #ifdef HAVE_SYS_SOCKETVAR_H
8635 # include <sys/socketvar.h>
8636 #endif
8637 #ifdef HAVE_NET_ROUTE_H
8638 # include <net/route.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_H
8641 # include <netinet/in.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IN_SYSTM_H
8644 # include <netinet/in_systm.h>
8645 #endif
8646 #ifdef HAVE_NET_IF_H
8647 # include <net/if.h>
8648 #endif
8649 #ifdef HAVE_NETINET_IP_H
8650 # include <netinet/ip.h>
8651 #endif
8653 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8654 then :
8655 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8658 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8659 #include <sys/socket.h>
8660 #ifdef HAVE_SYS_SOCKETVAR_H
8661 # include <sys/socketvar.h>
8662 #endif
8663 #ifdef HAVE_NET_ROUTE_H
8664 # include <net/route.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_H
8667 # include <netinet/in.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IN_SYSTM_H
8670 # include <netinet/in_systm.h>
8671 #endif
8672 #ifdef HAVE_NET_IF_H
8673 # include <net/if.h>
8674 #endif
8675 #ifdef HAVE_NETINET_IP_H
8676 # include <netinet/ip.h>
8677 #endif
8679 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8680 then :
8681 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8684 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8685 #include <sys/socket.h>
8686 #ifdef HAVE_SYS_SOCKETVAR_H
8687 # include <sys/socketvar.h>
8688 #endif
8689 #ifdef HAVE_NET_ROUTE_H
8690 # include <net/route.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_H
8693 # include <netinet/in.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IN_SYSTM_H
8696 # include <netinet/in_systm.h>
8697 #endif
8698 #ifdef HAVE_NET_IF_H
8699 # include <net/if.h>
8700 #endif
8701 #ifdef HAVE_NETINET_IP_H
8702 # include <netinet/ip.h>
8703 #endif
8705 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8706 then :
8707 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8711 #include <sys/socket.h>
8712 #ifdef HAVE_SYS_SOCKETVAR_H
8713 # include <sys/socketvar.h>
8714 #endif
8715 #ifdef HAVE_NET_ROUTE_H
8716 # include <net/route.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_H
8719 # include <netinet/in.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IN_SYSTM_H
8722 # include <netinet/in_systm.h>
8723 #endif
8724 #ifdef HAVE_NET_IF_H
8725 # include <net/if.h>
8726 #endif
8727 #ifdef HAVE_NETINET_IP_H
8728 # include <netinet/ip.h>
8729 #endif
8731 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8732 then :
8733 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8736 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8737 #include <sys/socket.h>
8738 #ifdef HAVE_SYS_SOCKETVAR_H
8739 # include <sys/socketvar.h>
8740 #endif
8741 #ifdef HAVE_NET_ROUTE_H
8742 # include <net/route.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_H
8745 # include <netinet/in.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IN_SYSTM_H
8748 # include <netinet/in_systm.h>
8749 #endif
8750 #ifdef HAVE_NET_IF_H
8751 # include <net/if.h>
8752 #endif
8753 #ifdef HAVE_NETINET_IP_H
8754 # include <netinet/ip.h>
8755 #endif
8757 if test "x$ac_cv_header_netinet_udp_h" = xyes
8758 then :
8759 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8762 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8763 #include <sys/socket.h>
8764 #ifdef HAVE_SYS_SOCKETVAR_H
8765 # include <sys/socketvar.h>
8766 #endif
8767 #ifdef HAVE_NET_ROUTE_H
8768 # include <net/route.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_H
8771 # include <netinet/in.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IN_SYSTM_H
8774 # include <netinet/in_systm.h>
8775 #endif
8776 #ifdef HAVE_NET_IF_H
8777 # include <net/if.h>
8778 #endif
8779 #ifdef HAVE_NETINET_IP_H
8780 # include <netinet/ip.h>
8781 #endif
8783 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8784 then :
8785 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8788 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8789 #include <sys/socket.h>
8790 #ifdef HAVE_SYS_SOCKETVAR_H
8791 # include <sys/socketvar.h>
8792 #endif
8793 #ifdef HAVE_NET_ROUTE_H
8794 # include <net/route.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_H
8797 # include <netinet/in.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IN_SYSTM_H
8800 # include <netinet/in_systm.h>
8801 #endif
8802 #ifdef HAVE_NET_IF_H
8803 # include <net/if.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IP_H
8806 # include <netinet/ip.h>
8807 #endif
8809 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8810 then :
8811 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8814 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8815 #include <sys/socket.h>
8816 #ifdef HAVE_SYS_SOCKETVAR_H
8817 # include <sys/socketvar.h>
8818 #endif
8819 #ifdef HAVE_NET_ROUTE_H
8820 # include <net/route.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8827 #endif
8828 #ifdef HAVE_NET_IF_H
8829 # include <net/if.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_H
8832 # include <netinet/ip.h>
8833 #endif
8835 if test "x$ac_cv_header_sys_un_h" = xyes
8836 then :
8837 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_H
8848 # include <netinet/in.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_SYSTM_H
8851 # include <netinet/in_systm.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_VAR_H
8857 # include <netinet/ip_var.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_ICMP_H
8860 # include <netinet/ip_icmp.h>
8861 #endif
8862 #ifdef HAVE_NETINET_UDP_H
8863 # include <netinet/udp.h>
8864 #endif
8865 #ifdef HAVE_NETINET_TCP_H
8866 # include <netinet/tcp.h>
8867 #endif
8869 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8870 then :
8871 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8874 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8875 #include <sys/socket.h>
8876 #ifdef HAVE_SYS_SOCKETVAR_H
8877 # include <sys/socketvar.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IN_H
8880 # include <netinet/in.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IN_SYSTM_H
8883 # include <netinet/in_systm.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_H
8886 # include <netinet/ip.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_VAR_H
8889 # include <netinet/ip_var.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_ICMP_H
8892 # include <netinet/ip_icmp.h>
8893 #endif
8894 #ifdef HAVE_NETINET_UDP_H
8895 # include <netinet/udp.h>
8896 #endif
8897 #ifdef HAVE_NETINET_TCP_H
8898 # include <netinet/tcp.h>
8899 #endif
8901 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8902 then :
8903 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8906 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8907 #include <sys/socket.h>
8908 #ifdef HAVE_SYS_SOCKETVAR_H
8909 # include <sys/socketvar.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IN_H
8912 # include <netinet/in.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IN_SYSTM_H
8915 # include <netinet/in_systm.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_H
8918 # include <netinet/ip.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_VAR_H
8921 # include <netinet/ip_var.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IP_ICMP_H
8924 # include <netinet/ip_icmp.h>
8925 #endif
8926 #ifdef HAVE_NETINET_UDP_H
8927 # include <netinet/udp.h>
8928 #endif
8929 #ifdef HAVE_NETINET_TCP_H
8930 # include <netinet/tcp.h>
8931 #endif
8933 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8934 then :
8935 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_SYS_SOCKETVAR_H
8941 # include <sys/socketvar.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IN_H
8944 # include <netinet/in.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IN_SYSTM_H
8947 # include <netinet/in_systm.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_H
8950 # include <netinet/ip.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IP_VAR_H
8953 # include <netinet/ip_var.h>
8954 #endif
8955 #ifdef HAVE_NETINET_IP_ICMP_H
8956 # include <netinet/ip_icmp.h>
8957 #endif
8958 #ifdef HAVE_NETINET_UDP_H
8959 # include <netinet/udp.h>
8960 #endif
8961 #ifdef HAVE_NETINET_TCP_H
8962 # include <netinet/tcp.h>
8963 #endif
8965 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8966 then :
8967 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_ASM_TYPES_H
8975 # include <asm/types.h>
8976 #endif
8977 #ifdef HAVE_LINUX_TYPES_H
8978 # include <linux/types.h>
8979 #endif
8981 if test "x$ac_cv_header_linux_ipx_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_ASM_TYPES_H
8989 # include <asm/types.h>
8990 #endif
8991 #ifdef HAVE_LINUX_TYPES_H
8992 # include <linux/types.h>
8993 #endif
8995 if test "x$ac_cv_header_linux_irda_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9004 #endif
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9007 #endif
9009 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9017 #include <sys/socket.h>
9018 #ifdef HAVE_NETINET_IN_H
9019 # include <netinet/in.h>
9020 #endif
9021 #ifdef HAVE_ARPA_NAMESER_H
9022 # include <arpa/nameser.h>
9023 #endif
9025 if test "x$ac_cv_header_resolv_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9034 if test "x$ac_cv_header_ifaddrs_h" = xyes
9035 then :
9036 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9043 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9044 then :
9045 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9050 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9051 #ifdef HAVE_SYS_UCONTEXT_H
9052 #include <sys/ucontext.h>
9053 #endif
9055 if test "x$ac_cv_header_sys_thr_h" = xyes
9056 then :
9057 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9062 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9063 #include <pthread.h>
9064 #endif
9066 if test "x$ac_cv_header_pthread_np_h" = xyes
9067 then :
9068 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9073 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9074 #include <sys/types.h>
9075 #ifdef HAVE_ASM_TYPES_H
9076 #include <asm/types.h>
9077 #endif
9079 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9080 then :
9081 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9086 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9087 #include <sys/param.h>
9088 #endif
9089 #include <sys/socket.h>
9090 #ifdef HAVE_SYS_QUEUE_H
9091 #include <sys/queue.h>
9092 #endif
9094 if test "x$ac_cv_header_libprocstat_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9101 if test "x$ac_cv_header_sys_xattr_h" = xyes
9102 then
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9104 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9105 if test ${wine_cv_xattr_extra_args+y}
9106 then :
9107 printf %s "(cached) " >&6
9108 else $as_nop
9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110 /* end confdefs.h. */
9111 #include <sys/xattr.h>
9113 main (void)
9115 getxattr("", "", "", 0, 0, 0);
9117 return 0;
9119 _ACEOF
9120 if ac_fn_c_try_compile "$LINENO"
9121 then :
9122 wine_cv_xattr_extra_args=yes
9123 else $as_nop
9124 wine_cv_xattr_extra_args=no
9126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9129 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9130 test $wine_cv_xattr_extra_args != yes ||
9131 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9136 DLLFLAGS=""
9138 LDDLLFLAGS=""
9140 LDEXECFLAGS=""
9142 EXTRACFLAGS=""
9144 UNIXDLLFLAGS="-fPIC"
9146 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9148 TOP_INSTALL_LIB=""
9150 TOP_INSTALL_DEV=""
9152 WINELOADER_LDFLAGS=""
9154 WINEPRELOADER_LDFLAGS=""
9156 DLLEXT=".so"
9158 LIBEXT="so"
9159 # Extract the first word of "ldd", so it can be a program name with args.
9160 set dummy ldd; ac_word=$2
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9162 printf %s "checking for $ac_word... " >&6; }
9163 if test ${ac_cv_path_LDD+y}
9164 then :
9165 printf %s "(cached) " >&6
9166 else $as_nop
9167 case $LDD in
9168 [\\/]* | ?:[\\/]*)
9169 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 as_dummy="/sbin:/usr/sbin:$PATH"
9174 for as_dir in $as_dummy
9176 IFS=$as_save_IFS
9177 case $as_dir in #(((
9178 '') as_dir=./ ;;
9179 */) ;;
9180 *) as_dir=$as_dir/ ;;
9181 esac
9182 for ac_exec_ext in '' $ac_executable_extensions; do
9183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9184 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9186 break 2
9188 done
9189 done
9190 IFS=$as_save_IFS
9192 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9194 esac
9196 LDD=$ac_cv_path_LDD
9197 if test -n "$LDD"; then
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9199 printf "%s\n" "$LDD" >&6; }
9200 else
9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 printf "%s\n" "no" >&6; }
9206 if test -n "$ac_tool_prefix"; then
9207 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9208 set dummy ${ac_tool_prefix}otool; ac_word=$2
9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9210 printf %s "checking for $ac_word... " >&6; }
9211 if test ${ac_cv_prog_OTOOL+y}
9212 then :
9213 printf %s "(cached) " >&6
9214 else $as_nop
9215 if test -n "$OTOOL"; then
9216 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9217 else
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 for as_dir in $PATH
9221 IFS=$as_save_IFS
9222 case $as_dir in #(((
9223 '') as_dir=./ ;;
9224 */) ;;
9225 *) as_dir=$as_dir/ ;;
9226 esac
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9229 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9231 break 2
9233 done
9234 done
9235 IFS=$as_save_IFS
9239 OTOOL=$ac_cv_prog_OTOOL
9240 if test -n "$OTOOL"; then
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9242 printf "%s\n" "$OTOOL" >&6; }
9243 else
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9245 printf "%s\n" "no" >&6; }
9250 if test -z "$ac_cv_prog_OTOOL"; then
9251 ac_ct_OTOOL=$OTOOL
9252 # Extract the first word of "otool", so it can be a program name with args.
9253 set dummy otool; ac_word=$2
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 printf %s "checking for $ac_word... " >&6; }
9256 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9257 then :
9258 printf %s "(cached) " >&6
9259 else $as_nop
9260 if test -n "$ac_ct_OTOOL"; then
9261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9262 else
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 for as_dir in $PATH
9266 IFS=$as_save_IFS
9267 case $as_dir in #(((
9268 '') as_dir=./ ;;
9269 */) ;;
9270 *) as_dir=$as_dir/ ;;
9271 esac
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_ac_ct_OTOOL="otool"
9275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9276 break 2
9278 done
9279 done
9280 IFS=$as_save_IFS
9284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9285 if test -n "$ac_ct_OTOOL"; then
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9287 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9288 else
9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 printf "%s\n" "no" >&6; }
9293 if test "x$ac_ct_OTOOL" = x; then
9294 OTOOL="otool"
9295 else
9296 case $cross_compiling:$ac_tool_warned in
9297 yes:)
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9300 ac_tool_warned=yes ;;
9301 esac
9302 OTOOL=$ac_ct_OTOOL
9304 else
9305 OTOOL="$ac_cv_prog_OTOOL"
9308 if test -n "$ac_tool_prefix"; then
9309 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9310 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9312 printf %s "checking for $ac_word... " >&6; }
9313 if test ${ac_cv_prog_READELF+y}
9314 then :
9315 printf %s "(cached) " >&6
9316 else $as_nop
9317 if test -n "$READELF"; then
9318 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9319 else
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321 for as_dir in $PATH
9323 IFS=$as_save_IFS
9324 case $as_dir in #(((
9325 '') as_dir=./ ;;
9326 */) ;;
9327 *) as_dir=$as_dir/ ;;
9328 esac
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9331 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9333 break 2
9335 done
9336 done
9337 IFS=$as_save_IFS
9341 READELF=$ac_cv_prog_READELF
9342 if test -n "$READELF"; then
9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9344 printf "%s\n" "$READELF" >&6; }
9345 else
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 printf "%s\n" "no" >&6; }
9352 if test -z "$ac_cv_prog_READELF"; then
9353 ac_ct_READELF=$READELF
9354 # Extract the first word of "readelf", so it can be a program name with args.
9355 set dummy readelf; ac_word=$2
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9357 printf %s "checking for $ac_word... " >&6; }
9358 if test ${ac_cv_prog_ac_ct_READELF+y}
9359 then :
9360 printf %s "(cached) " >&6
9361 else $as_nop
9362 if test -n "$ac_ct_READELF"; then
9363 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9364 else
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 for as_dir in $PATH
9368 IFS=$as_save_IFS
9369 case $as_dir in #(((
9370 '') as_dir=./ ;;
9371 */) ;;
9372 *) as_dir=$as_dir/ ;;
9373 esac
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9376 ac_cv_prog_ac_ct_READELF="readelf"
9377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9378 break 2
9380 done
9381 done
9382 IFS=$as_save_IFS
9386 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9387 if test -n "$ac_ct_READELF"; then
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9389 printf "%s\n" "$ac_ct_READELF" >&6; }
9390 else
9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 printf "%s\n" "no" >&6; }
9395 if test "x$ac_ct_READELF" = x; then
9396 READELF="true"
9397 else
9398 case $cross_compiling:$ac_tool_warned in
9399 yes:)
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9401 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9402 ac_tool_warned=yes ;;
9403 esac
9404 READELF=$ac_ct_READELF
9406 else
9407 READELF="$ac_cv_prog_READELF"
9410 wine_rules="all:"
9411 SUBDIRS=""
9413 DISABLED_SUBDIRS=""
9415 CONFIGURE_TARGETS=""
9418 wine_fn_config_makefile ()
9420 as_fn_append SUBDIRS " \\$as_nl $1"
9421 eval enable=\$$2
9422 case "$enable" in
9423 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9424 *aarch64*|*arm*|*i386*|*x86_64*)
9425 if test -n "$PE_ARCHS"
9426 then
9427 for i in $PE_ARCHS
9429 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9430 done
9431 else
9432 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9433 fi;;
9434 esac
9437 wine_fn_config_symlink ()
9439 ac_links=$@
9440 as_fn_append wine_rules "
9441 $ac_links:
9442 @./config.status \$@"
9443 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9446 case $host_os in
9447 cygwin*|mingw32*)
9448 LIBEXT="dll"
9449 DLLEXT=""
9450 EXTRACFLAGS="-D__WINE_PE_BUILD"
9451 case $host_cpu in
9452 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9453 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9454 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9455 then :
9456 printf %s "(cached) " >&6
9457 else $as_nop
9458 ac_wine_try_cflags_saved=$CFLAGS
9459 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9462 int main(int argc, char **argv) { return 0; }
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"
9465 then :
9466 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9467 else $as_nop
9468 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9471 conftest$ac_exeext conftest.$ac_ext
9472 CFLAGS=$ac_wine_try_cflags_saved
9474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9475 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9476 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9477 then :
9478 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9479 fi ;;
9480 esac
9481 enable_loader=${enable_loader:-no}
9482 enable_server=${enable_server:-no}
9483 with_x=${with_x:-no}
9484 with_pthread=${with_pthread:-no}
9487 darwin*|macosx*)
9488 LIBEXT="dylib"
9489 DLLFLAGS="$DLLFLAGS -fPIC"
9490 LDDLLFLAGS="-fPIC"
9491 enable_winemac_drv=${enable_winemac_drv:-yes}
9492 CARBON_LIBS="-framework Carbon"
9494 COREFOUNDATION_LIBS="-framework CoreFoundation"
9496 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9498 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9500 METAL_LIBS="-framework Metal"
9502 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9504 CORESERVICES_LIBS="-framework CoreServices"
9506 APPKIT_LIBS="-framework AppKit"
9508 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9510 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9513 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9515 case $host_cpu in
9516 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9517 *) wine_can_build_preloader=no ;;
9518 esac
9520 if test "$wine_can_build_preloader" = "yes"
9521 then
9522 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9524 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9525 if test ${ac_cv_cflags__Wl__no_pie+y}
9526 then :
9527 printf %s "(cached) " >&6
9528 else $as_nop
9529 ac_wine_try_cflags_saved=$CFLAGS
9530 CFLAGS="$CFLAGS -Wl,-no_pie"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"
9536 then :
9537 ac_cv_cflags__Wl__no_pie=yes
9538 else $as_nop
9539 ac_cv_cflags__Wl__no_pie=no
9541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9542 conftest$ac_exeext conftest.$ac_ext
9543 CFLAGS=$ac_wine_try_cflags_saved
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9546 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9547 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9548 then :
9549 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9551 case $host_cpu in
9552 *i[3456]86*)
9553 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9555 *x86_64*)
9556 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9558 esac
9559 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9560 else
9561 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9564 if test "x$with_coreaudio" != "xno";
9565 then
9566 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9568 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9570 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9571 then
9572 OPENCL_LIBS="-framework OpenCL"
9574 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9578 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9579 ac_ext=m
9580 ac_cpp='$OBJCPP $CPPFLAGS'
9581 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9582 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9583 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9585 ac_ext=m
9586 ac_cpp='$OBJCPP $CPPFLAGS'
9587 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9588 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9589 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9590 if test -n "$ac_tool_prefix"; then
9591 for ac_prog in gcc objcc objc cc CC clang
9593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9596 printf %s "checking for $ac_word... " >&6; }
9597 if test ${ac_cv_prog_OBJC+y}
9598 then :
9599 printf %s "(cached) " >&6
9600 else $as_nop
9601 if test -n "$OBJC"; then
9602 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9603 else
9604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9605 for as_dir in $PATH
9607 IFS=$as_save_IFS
9608 case $as_dir in #(((
9609 '') as_dir=./ ;;
9610 */) ;;
9611 *) as_dir=$as_dir/ ;;
9612 esac
9613 for ac_exec_ext in '' $ac_executable_extensions; do
9614 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9615 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9617 break 2
9619 done
9620 done
9621 IFS=$as_save_IFS
9625 OBJC=$ac_cv_prog_OBJC
9626 if test -n "$OBJC"; then
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9628 printf "%s\n" "$OBJC" >&6; }
9629 else
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9631 printf "%s\n" "no" >&6; }
9635 test -n "$OBJC" && break
9636 done
9638 if test -z "$OBJC"; then
9639 ac_ct_OBJC=$OBJC
9640 for ac_prog in gcc objcc objc cc CC clang
9642 # Extract the first word of "$ac_prog", so it can be a program name with args.
9643 set dummy $ac_prog; ac_word=$2
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 printf %s "checking for $ac_word... " >&6; }
9646 if test ${ac_cv_prog_ac_ct_OBJC+y}
9647 then :
9648 printf %s "(cached) " >&6
9649 else $as_nop
9650 if test -n "$ac_ct_OBJC"; then
9651 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9652 else
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 for as_dir in $PATH
9656 IFS=$as_save_IFS
9657 case $as_dir in #(((
9658 '') as_dir=./ ;;
9659 */) ;;
9660 *) as_dir=$as_dir/ ;;
9661 esac
9662 for ac_exec_ext in '' $ac_executable_extensions; do
9663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9664 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9666 break 2
9668 done
9669 done
9670 IFS=$as_save_IFS
9674 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9675 if test -n "$ac_ct_OBJC"; then
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9677 printf "%s\n" "$ac_ct_OBJC" >&6; }
9678 else
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9680 printf "%s\n" "no" >&6; }
9684 test -n "$ac_ct_OBJC" && break
9685 done
9687 if test "x$ac_ct_OBJC" = x; then
9688 OBJC="gcc"
9689 else
9690 case $cross_compiling:$ac_tool_warned in
9691 yes:)
9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9694 ac_tool_warned=yes ;;
9695 esac
9696 OBJC=$ac_ct_OBJC
9700 # Provide some information about the compiler.
9701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9702 set X $ac_compile
9703 ac_compiler=$2
9704 for ac_option in --version -v -V -qversion; do
9705 { { ac_try="$ac_compiler $ac_option >&5"
9706 case "(($ac_try" in
9707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9708 *) ac_try_echo=$ac_try;;
9709 esac
9710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9711 printf "%s\n" "$ac_try_echo"; } >&5
9712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9713 ac_status=$?
9714 if test -s conftest.err; then
9715 sed '10a\
9716 ... rest of stderr output deleted ...
9717 10q' conftest.err >conftest.er1
9718 cat conftest.er1 >&5
9720 rm -f conftest.er1 conftest.err
9721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9722 test $ac_status = 0; }
9723 done
9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9726 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9727 if test ${ac_cv_objc_compiler_gnu+y}
9728 then :
9729 printf %s "(cached) " >&6
9730 else $as_nop
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9735 main (void)
9737 #ifndef __GNUC__
9738 choke me
9739 #endif
9742 return 0;
9744 _ACEOF
9745 if ac_fn_objc_try_compile "$LINENO"
9746 then :
9747 ac_compiler_gnu=yes
9748 else $as_nop
9749 ac_compiler_gnu=no
9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9756 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9757 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9759 if test $ac_compiler_gnu = yes; then
9760 GOBJC=yes
9761 else
9762 GOBJC=
9764 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9765 ac_save_OBJCFLAGS=$OBJCFLAGS
9766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9767 printf %s "checking whether $OBJC accepts -g... " >&6; }
9768 if test ${ac_cv_prog_objc_g+y}
9769 then :
9770 printf %s "(cached) " >&6
9771 else $as_nop
9772 ac_save_objc_werror_flag=$ac_objc_werror_flag
9773 ac_objc_werror_flag=yes
9774 ac_cv_prog_objc_g=no
9775 OBJCFLAGS="-g"
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9780 main (void)
9784 return 0;
9786 _ACEOF
9787 if ac_fn_objc_try_compile "$LINENO"
9788 then :
9789 ac_cv_prog_objc_g=yes
9790 else $as_nop
9791 OBJCFLAGS=""
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9796 main (void)
9800 return 0;
9802 _ACEOF
9803 if ac_fn_objc_try_compile "$LINENO"
9804 then :
9806 else $as_nop
9807 ac_objc_werror_flag=$ac_save_objc_werror_flag
9808 OBJCFLAGS="-g"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9813 main (void)
9817 return 0;
9819 _ACEOF
9820 if ac_fn_objc_try_compile "$LINENO"
9821 then :
9822 ac_cv_prog_objc_g=yes
9824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9829 ac_objc_werror_flag=$ac_save_objc_werror_flag
9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9832 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9833 if test $ac_test_OBJCFLAGS; then
9834 OBJCFLAGS=$ac_save_OBJCFLAGS
9835 elif test $ac_cv_prog_objc_g = yes; then
9836 if test "$GOBJC" = yes; then
9837 OBJCFLAGS="-g -O2"
9838 else
9839 OBJCFLAGS="-g"
9841 else
9842 if test "$GOBJC" = yes; then
9843 OBJCFLAGS="-O2"
9844 else
9845 OBJCFLAGS=
9848 ac_ext=m
9849 ac_cpp='$OBJCPP $CPPFLAGS'
9850 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9851 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9852 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9857 #include <Metal/Metal.h>
9859 main (void)
9861 id<MTLDevice> device; device.registryID;
9863 return 0;
9865 _ACEOF
9866 if ac_fn_objc_try_compile "$LINENO"
9867 then :
9868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9869 printf "%s\n" "yes" >&6; }
9871 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9873 else $as_nop
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 printf "%s\n" "no" >&6; }
9877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9878 ac_ext=c
9879 ac_cpp='$CPP $CPPFLAGS'
9880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9885 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9886 WINELOADER_DEPENDS="wine_info.plist"
9890 linux-android*)
9892 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9894 DLLFLAGS="$DLLFLAGS -fPIC"
9895 LDDLLFLAGS="-fPIC"
9896 LDEXECFLAGS="-Wl,-pie"
9897 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9899 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9900 if test ${ac_cv_cflags__Wl__z_defs+y}
9901 then :
9902 printf %s "(cached) " >&6
9903 else $as_nop
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 CFLAGS="$CFLAGS -Wl,-z,defs"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"
9911 then :
9912 ac_cv_cflags__Wl__z_defs=yes
9913 else $as_nop
9914 ac_cv_cflags__Wl__z_defs=no
9916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9921 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9922 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9923 then :
9924 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9927 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9928 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9929 then :
9930 printf %s "(cached) " >&6
9931 else $as_nop
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int main(int argc, char **argv) { return 0; }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"
9939 then :
9940 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9941 else $as_nop
9942 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9949 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9950 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9951 then :
9952 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9954 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9957 printf %s "checking for -lEGL... " >&6; }
9958 if test ${ac_cv_lib_soname_EGL+y}
9959 then :
9960 printf %s "(cached) " >&6
9961 else $as_nop
9962 ac_check_soname_save_LIBS=$LIBS
9963 LIBS="-lEGL $LIBS"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9967 /* Override any GCC internal prototype to avoid an error.
9968 Use char because int might match the return type of a GCC
9969 builtin and then its argument prototype would still apply. */
9970 char eglGetProcAddress ();
9972 main (void)
9974 return eglGetProcAddress ();
9976 return 0;
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"
9980 then :
9981 case "$LIBEXT" in
9982 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_EGL:+false} :
9986 then :
9987 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 fi ;;
9989 esac
9990 else $as_nop
9991 ac_cv_lib_soname_EGL=
9993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_soname_save_LIBS
9997 if ${ac_cv_lib_soname_EGL:+false} :
9998 then :
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 printf "%s\n" "not found" >&6; }
10002 else $as_nop
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10004 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10006 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10011 printf %s "checking for -lGLESv2... " >&6; }
10012 if test ${ac_cv_lib_soname_GLESv2+y}
10013 then :
10014 printf %s "(cached) " >&6
10015 else $as_nop
10016 ac_check_soname_save_LIBS=$LIBS
10017 LIBS="-lGLESv2 $LIBS"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10021 /* Override any GCC internal prototype to avoid an error.
10022 Use char because int might match the return type of a GCC
10023 builtin and then its argument prototype would still apply. */
10024 char glFlush ();
10026 main (void)
10028 return glFlush ();
10030 return 0;
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"
10034 then :
10035 case "$LIBEXT" in
10036 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10039 if ${ac_cv_lib_soname_GLESv2:+false} :
10040 then :
10041 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10042 fi ;;
10043 esac
10044 else $as_nop
10045 ac_cv_lib_soname_GLESv2=
10047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_soname_save_LIBS
10051 if ${ac_cv_lib_soname_GLESv2:+false} :
10052 then :
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10054 printf "%s\n" "not found" >&6; }
10056 else $as_nop
10057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10058 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10060 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10065 if test "x$exec_prefix" = xNONE
10066 then
10067 case $host_cpu in
10068 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10069 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10070 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10071 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10072 esac
10078 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10080 test "$ac_cv_sys_file_offset_bits" = 64 &&
10081 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10083 case $host_cpu in
10084 *i[3456789]86*)
10085 DLLFLAGS="$DLLFLAGS -fno-PIC"
10086 LDDLLFLAGS="-fno-PIC"
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10088 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10089 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10090 then :
10091 printf %s "(cached) " >&6
10092 else $as_nop
10093 ac_wine_try_cflags_saved=$CFLAGS
10094 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int main(int argc, char **argv) { return 0; }
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"
10100 then :
10101 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10102 else $as_nop
10103 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10110 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10111 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10112 then :
10113 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10117 DLLFLAGS="$DLLFLAGS -fPIC"
10118 LDDLLFLAGS="-fPIC" ;;
10119 esac
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10122 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10123 if test ${ac_cv_wl_z_defs+y}
10124 then :
10125 printf %s "(cached) " >&6
10126 else $as_nop
10127 ac_save_CFLAGS="$CFLAGS"
10128 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"
10134 then :
10135 ac_cv_wl_z_defs=yes
10136 else $as_nop
10137 ac_cv_wl_z_defs=no
10139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10140 conftest$ac_exeext conftest.$ac_ext
10141 CFLAGS=$ac_save_CFLAGS
10143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10144 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10145 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10148 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10149 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10150 then :
10151 printf %s "(cached) " >&6
10152 else $as_nop
10153 ac_wine_try_cflags_saved=$CFLAGS
10154 CFLAGS="$CFLAGS -Wl,--export-dynamic"
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___export_dynamic=yes
10162 else $as_nop
10163 ac_cv_cflags__Wl___export_dynamic=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___export_dynamic" >&5
10170 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10171 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10172 then :
10173 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10175 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10177 case $host_os in
10178 linux*)
10179 as_fn_append WINELOADER_LDFLAGS " -pie"
10180 case $HOST_ARCH in
10181 i386|arm)
10182 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10185 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10186 if test ${ac_cv_cflags__static_pie+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 CFLAGS="$CFLAGS -static-pie"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"
10197 then :
10198 ac_cv_cflags__static_pie=yes
10199 else $as_nop
10200 ac_cv_cflags__static_pie=no
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10207 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10208 if test "x$ac_cv_cflags__static_pie" = xyes
10209 then :
10210 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10211 else $as_nop
10212 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10215 esac
10218 case $HOST_ARCH in
10219 i386|arm)
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10221 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10222 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10223 then :
10224 printf %s "(cached) " >&6
10225 else $as_nop
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"
10233 then :
10234 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10235 else $as_nop
10236 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10244 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10245 then :
10246 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10247 else $as_nop
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10249 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10250 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10251 then :
10252 printf %s "(cached) " >&6
10253 else $as_nop
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"
10261 then :
10262 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10263 else $as_nop
10264 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10272 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10273 then :
10274 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10279 as_fn_append WINELOADER_LDFLAGS " -pie"
10281 esac
10283 esac
10285 esac
10287 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10288 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10289 enable_winemac_drv=${enable_winemac_drv:-no}
10291 PE_ARCHS=""
10293 cross_archs=
10294 if test ${enable_archs+y}
10295 then :
10296 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10297 ac_save_IFS=$IFS
10298 IFS=' ,'
10299 set x $enable_archs
10300 IFS=$ac_save_IFS
10301 shift
10302 for arch
10304 case $arch in
10305 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10306 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10307 esac
10308 done
10309 else $as_nop
10310 if test "x$with_mingw" != xno
10311 then
10312 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10316 for wine_arch in $cross_archs
10318 case "x$with_mingw" in
10319 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10320 esac
10321 if eval \${${wine_arch}_CC:+false} :
10322 then :
10323 case $wine_arch in
10324 aarch64)
10325 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10327 # Extract the first word of "$ac_prog", so it can be a program name with args.
10328 set dummy $ac_prog; ac_word=$2
10329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10330 printf %s "checking for $ac_word... " >&6; }
10331 if test ${ac_cv_prog_aarch64_CC+y}
10332 then :
10333 printf %s "(cached) " >&6
10334 else $as_nop
10335 if test -n "$aarch64_CC"; then
10336 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10337 else
10338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339 for as_dir in $PATH
10341 IFS=$as_save_IFS
10342 case $as_dir in #(((
10343 '') as_dir=./ ;;
10344 */) ;;
10345 *) as_dir=$as_dir/ ;;
10346 esac
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10349 ac_cv_prog_aarch64_CC="$ac_prog"
10350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10351 break 2
10353 done
10354 done
10355 IFS=$as_save_IFS
10359 aarch64_CC=$ac_cv_prog_aarch64_CC
10360 if test -n "$aarch64_CC"; then
10361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10362 printf "%s\n" "$aarch64_CC" >&6; }
10363 else
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 printf "%s\n" "no" >&6; }
10369 test -n "$aarch64_CC" && break
10370 done
10371 test -n "$aarch64_CC" || aarch64_CC="false"
10374 arm)
10375 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10377 # Extract the first word of "$ac_prog", so it can be a program name with args.
10378 set dummy $ac_prog; ac_word=$2
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 printf %s "checking for $ac_word... " >&6; }
10381 if test ${ac_cv_prog_arm_CC+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 if test -n "$arm_CC"; then
10386 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10387 else
10388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10389 for as_dir in $PATH
10391 IFS=$as_save_IFS
10392 case $as_dir in #(((
10393 '') as_dir=./ ;;
10394 */) ;;
10395 *) as_dir=$as_dir/ ;;
10396 esac
10397 for ac_exec_ext in '' $ac_executable_extensions; do
10398 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10399 ac_cv_prog_arm_CC="$ac_prog"
10400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10401 break 2
10403 done
10404 done
10405 IFS=$as_save_IFS
10409 arm_CC=$ac_cv_prog_arm_CC
10410 if test -n "$arm_CC"; then
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10412 printf "%s\n" "$arm_CC" >&6; }
10413 else
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 printf "%s\n" "no" >&6; }
10419 test -n "$arm_CC" && break
10420 done
10421 test -n "$arm_CC" || arm_CC="false"
10424 i386)
10425 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 "
10426 for ac_prog in $ac_prefix_list clang
10428 # Extract the first word of "$ac_prog", so it can be a program name with args.
10429 set dummy $ac_prog; ac_word=$2
10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431 printf %s "checking for $ac_word... " >&6; }
10432 if test ${ac_cv_prog_i386_CC+y}
10433 then :
10434 printf %s "(cached) " >&6
10435 else $as_nop
10436 if test -n "$i386_CC"; then
10437 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10438 else
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10442 IFS=$as_save_IFS
10443 case $as_dir in #(((
10444 '') as_dir=./ ;;
10445 */) ;;
10446 *) as_dir=$as_dir/ ;;
10447 esac
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_i386_CC="$ac_prog"
10451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10452 break 2
10454 done
10455 done
10456 IFS=$as_save_IFS
10460 i386_CC=$ac_cv_prog_i386_CC
10461 if test -n "$i386_CC"; then
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10463 printf "%s\n" "$i386_CC" >&6; }
10464 else
10465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10466 printf "%s\n" "no" >&6; }
10470 test -n "$i386_CC" && break
10471 done
10472 test -n "$i386_CC" || i386_CC="false"
10475 x86_64)
10476 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10477 for ac_prog in $ac_prefix_list clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_x86_64_CC+y}
10484 then :
10485 printf %s "(cached) " >&6
10486 else $as_nop
10487 if test -n "$x86_64_CC"; then
10488 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10489 else
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10493 IFS=$as_save_IFS
10494 case $as_dir in #(((
10495 '') as_dir=./ ;;
10496 */) ;;
10497 *) as_dir=$as_dir/ ;;
10498 esac
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_x86_64_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10503 break 2
10505 done
10506 done
10507 IFS=$as_save_IFS
10511 x86_64_CC=$ac_cv_prog_x86_64_CC
10512 if test -n "$x86_64_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10514 printf "%s\n" "$x86_64_CC" >&6; }
10515 else
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$x86_64_CC" && break
10522 done
10523 test -n "$x86_64_CC" || x86_64_CC="false"
10526 esac
10529 saved_CC=$CC
10530 saved_CFLAGS=$CFLAGS
10531 saved_LDFLAGS=$LDFLAGS
10533 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10534 LDFLAGS=$CROSSLDFLAGS
10535 eval CC=\$${wine_arch}_CC
10536 eval ${wine_arch}_CFLAGS=\$CFLAGS
10537 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10538 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10540 target=""
10541 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10543 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10544 then :
10546 else $as_nop
10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10548 printf %s "checking whether $CC works... " >&6; }
10549 if eval test \${$as_wine_cv_crosscc+y}
10550 then :
10551 printf %s "(cached) " >&6
10552 else $as_nop
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10557 main (void)
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_compile "$LINENO"
10565 then :
10566 eval "$as_wine_cv_crosscc=yes"
10567 else $as_nop
10568 eval "$as_wine_cv_crosscc=no"
10570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10572 eval ac_res=\$$as_wine_cv_crosscc
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10574 printf "%s\n" "$ac_res" >&6; }
10576 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10577 then :
10578 set x $CC
10579 shift
10580 while test $# -ge 1
10582 case "$1" in
10583 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10584 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10585 esac
10586 shift
10587 done
10589 llvm_target=$target
10590 if test -z "$llvm_target"
10591 then
10592 case $wine_arch in
10593 i386) llvm_target=i686-windows ;;
10594 arm) llvm_target=armv7-windows ;;
10595 *) llvm_target=$wine_arch-windows ;;
10596 esac
10598 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10599 case $llvm_target in
10600 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10601 esac
10602 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10604 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10605 if eval test \${$as_ac_var+y}
10606 then :
10607 printf %s "(cached) " >&6
10608 else $as_nop
10609 ac_wine_try_cflags_saved=$CFLAGS
10610 ac_wine_try_cflags_saved_exeext=$ac_exeext
10611 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10612 ac_exeext=".exe"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 int __cdecl mainCRTStartup(void) { return 0; }
10616 _ACEOF
10617 if ac_fn_c_try_link "$LINENO"
10618 then :
10619 eval "$as_ac_var=yes"
10620 else $as_nop
10621 eval "$as_ac_var=no"
10623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10624 conftest$ac_exeext conftest.$ac_ext
10625 CFLAGS=$ac_wine_try_cflags_saved
10626 ac_exeext=$ac_wine_try_cflags_saved_exeext
10628 eval ac_res=\$$as_ac_var
10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10630 printf "%s\n" "$ac_res" >&6; }
10631 if eval test \"x\$"$as_ac_var"\" = x"yes"
10632 then :
10633 target=$llvm_target
10634 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10635 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10636 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10637 fi }
10638 eval "${wine_arch}_TARGET=\$target"
10642 if test -z "$target"
10643 then
10644 if test ${enable_archs+y}
10645 then :
10646 as_fn_error $? "MinGW $wine_arch compiler not found.
10647 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10649 CC=$saved_CC
10650 CFLAGS=$saved_CFLAGS
10651 LDFLAGS=$saved_LDFLAGS
10652 continue
10655 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10658 printf %s "checking for $CC option to enable C99 features... " >&6; }
10659 if eval test \${$as_wine_cv_crosscc_c99+y}
10660 then :
10661 printf %s "(cached) " >&6
10662 else $as_nop
10663 eval "$as_wine_cv_crosscc_c99=no"
10664 for arg in '' '-std=gnu99' '-D__STDC__'
10666 test -z "$arg" || CC="$CC $arg"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 $ac_c_conftest_c99_program
10670 _ACEOF
10671 if ac_fn_c_try_compile "$LINENO"
10672 then :
10673 eval "$as_wine_cv_crosscc_c99=\$arg"
10674 else $as_nop
10675 eval "$as_wine_cv_crosscc_c99=no"
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10678 eval CC=\$${wine_arch}_CC
10679 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10680 then :
10682 else $as_nop
10683 break
10685 done
10688 eval res=\$$as_wine_cv_crosscc_c99
10690 case "x$res" in
10691 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10692 printf "%s\n" "none needed" >&6; } ;;
10693 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10694 printf "%s\n" "unsupported" >&6; }
10695 CC=$saved_CC
10696 CFLAGS=$saved_CFLAGS
10697 LDFLAGS=$saved_LDFLAGS
10698 if test ${enable_archs+y}
10699 then :
10700 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10701 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10703 continue
10705 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10706 printf "%s\n" "$res" >&6; }
10707 as_fn_append ${wine_arch}_CC " $res" ;;
10708 esac
10710 as_fn_append PE_ARCHS " $wine_arch"
10711 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10713 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10714 if eval test \${$as_ac_var+y}
10715 then :
10716 printf %s "(cached) " >&6
10717 else $as_nop
10718 ac_wine_try_cflags_saved=$CFLAGS
10719 ac_wine_try_cflags_saved_exeext=$ac_exeext
10720 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10721 ac_exeext=".exe"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 int __cdecl mainCRTStartup(void) { return 0; }
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"
10727 then :
10728 eval "$as_ac_var=yes"
10729 else $as_nop
10730 eval "$as_ac_var=no"
10732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10733 conftest$ac_exeext conftest.$ac_ext
10734 CFLAGS=$ac_wine_try_cflags_saved
10735 ac_exeext=$ac_wine_try_cflags_saved_exeext
10737 eval ac_res=\$$as_ac_var
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10739 printf "%s\n" "$ac_res" >&6; }
10740 if eval test \"x\$"$as_ac_var"\" = x"yes"
10741 then :
10742 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10743 fi }
10744 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10746 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10747 if eval test \${$as_ac_var+y}
10748 then :
10749 printf %s "(cached) " >&6
10750 else $as_nop
10751 ac_wine_try_cflags_saved=$CFLAGS
10752 ac_wine_try_cflags_saved_exeext=$ac_exeext
10753 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10754 ac_exeext=".exe"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 int __cdecl mainCRTStartup(void) { return 0; }
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"
10760 then :
10761 eval "$as_ac_var=yes"
10762 else $as_nop
10763 eval "$as_ac_var=no"
10765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10766 conftest$ac_exeext conftest.$ac_ext
10767 CFLAGS=$ac_wine_try_cflags_saved
10768 ac_exeext=$ac_wine_try_cflags_saved_exeext
10770 eval ac_res=\$$as_ac_var
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10772 printf "%s\n" "$ac_res" >&6; }
10773 if eval test \"x\$"$as_ac_var"\" = x"yes"
10774 then :
10775 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10776 fi }
10777 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10779 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10780 if eval test \${$as_ac_var+y}
10781 then :
10782 printf %s "(cached) " >&6
10783 else $as_nop
10784 ac_wine_try_cflags_saved=$CFLAGS
10785 ac_wine_try_cflags_saved_exeext=$ac_exeext
10786 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10787 ac_exeext=".exe"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 int __cdecl mainCRTStartup(void) { return 0; }
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"
10793 then :
10794 eval "$as_ac_var=yes"
10795 else $as_nop
10796 eval "$as_ac_var=no"
10798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10799 conftest$ac_exeext conftest.$ac_ext
10800 CFLAGS=$ac_wine_try_cflags_saved
10801 ac_exeext=$ac_wine_try_cflags_saved_exeext
10803 eval ac_res=\$$as_ac_var
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10805 printf "%s\n" "$ac_res" >&6; }
10806 if eval test \"x\$"$as_ac_var"\" = x"yes"
10807 then :
10808 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10809 fi }
10810 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10812 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10813 if eval test \${$as_ac_var+y}
10814 then :
10815 printf %s "(cached) " >&6
10816 else $as_nop
10817 ac_wine_try_cflags_saved=$CFLAGS
10818 ac_wine_try_cflags_saved_exeext=$ac_exeext
10819 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10820 ac_exeext=".exe"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10823 int __cdecl mainCRTStartup(void) { return 0; }
10824 _ACEOF
10825 if ac_fn_c_try_link "$LINENO"
10826 then :
10827 eval "$as_ac_var=yes"
10828 else $as_nop
10829 eval "$as_ac_var=no"
10831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10832 conftest$ac_exeext conftest.$ac_ext
10833 CFLAGS=$ac_wine_try_cflags_saved
10834 ac_exeext=$ac_wine_try_cflags_saved_exeext
10836 eval ac_res=\$$as_ac_var
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10838 printf "%s\n" "$ac_res" >&6; }
10839 if eval test \"x\$"$as_ac_var"\" = x"yes"
10840 then :
10841 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10842 fi }
10843 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10845 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10846 if eval test \${$as_ac_var+y}
10847 then :
10848 printf %s "(cached) " >&6
10849 else $as_nop
10850 ac_wine_try_cflags_saved=$CFLAGS
10851 ac_wine_try_cflags_saved_exeext=$ac_exeext
10852 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10853 ac_exeext=".exe"
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 int __cdecl mainCRTStartup(void) { return 0; }
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"
10859 then :
10860 eval "$as_ac_var=yes"
10861 else $as_nop
10862 eval "$as_ac_var=no"
10864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10865 conftest$ac_exeext conftest.$ac_ext
10866 CFLAGS=$ac_wine_try_cflags_saved
10867 ac_exeext=$ac_wine_try_cflags_saved_exeext
10869 eval ac_res=\$$as_ac_var
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10871 printf "%s\n" "$ac_res" >&6; }
10872 if eval test \"x\$"$as_ac_var"\" = x"yes"
10873 then :
10874 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10875 fi }
10876 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10878 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10879 if eval test \${$as_ac_var+y}
10880 then :
10881 printf %s "(cached) " >&6
10882 else $as_nop
10883 ac_wine_try_cflags_saved=$CFLAGS
10884 ac_wine_try_cflags_saved_exeext=$ac_exeext
10885 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10886 ac_exeext=".exe"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 int __cdecl mainCRTStartup(void) { return 0; }
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"
10892 then :
10893 eval "$as_ac_var=yes"
10894 else $as_nop
10895 eval "$as_ac_var=no"
10897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10898 conftest$ac_exeext conftest.$ac_ext
10899 CFLAGS=$ac_wine_try_cflags_saved
10900 ac_exeext=$ac_wine_try_cflags_saved_exeext
10902 eval ac_res=\$$as_ac_var
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10904 printf "%s\n" "$ac_res" >&6; }
10905 if eval test \"x\$"$as_ac_var"\" = x"yes"
10906 then :
10907 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10908 fi }
10909 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10911 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10912 if eval test \${$as_ac_var+y}
10913 then :
10914 printf %s "(cached) " >&6
10915 else $as_nop
10916 ac_wine_try_cflags_saved=$CFLAGS
10917 ac_wine_try_cflags_saved_exeext=$ac_exeext
10918 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10919 ac_exeext=".exe"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10922 int __cdecl mainCRTStartup(void) { return 0; }
10923 _ACEOF
10924 if ac_fn_c_try_link "$LINENO"
10925 then :
10926 eval "$as_ac_var=yes"
10927 else $as_nop
10928 eval "$as_ac_var=no"
10930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10931 conftest$ac_exeext conftest.$ac_ext
10932 CFLAGS=$ac_wine_try_cflags_saved
10933 ac_exeext=$ac_wine_try_cflags_saved_exeext
10935 eval ac_res=\$$as_ac_var
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10937 printf "%s\n" "$ac_res" >&6; }
10938 if eval test \"x\$"$as_ac_var"\" = x"yes"
10939 then :
10940 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10941 fi }
10942 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10944 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10945 if eval test \${$as_ac_var+y}
10946 then :
10947 printf %s "(cached) " >&6
10948 else $as_nop
10949 ac_wine_try_cflags_saved=$CFLAGS
10950 ac_wine_try_cflags_saved_exeext=$ac_exeext
10951 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10952 ac_exeext=".exe"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 int __cdecl mainCRTStartup(void) { return 0; }
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"
10958 then :
10959 eval "$as_ac_var=yes"
10960 else $as_nop
10961 eval "$as_ac_var=no"
10963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10964 conftest$ac_exeext conftest.$ac_ext
10965 CFLAGS=$ac_wine_try_cflags_saved
10966 ac_exeext=$ac_wine_try_cflags_saved_exeext
10968 eval ac_res=\$$as_ac_var
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10970 printf "%s\n" "$ac_res" >&6; }
10971 if eval test \"x\$"$as_ac_var"\" = x"yes"
10972 then :
10973 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10974 fi }
10975 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10977 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10978 if eval test \${$as_ac_var+y}
10979 then :
10980 printf %s "(cached) " >&6
10981 else $as_nop
10982 ac_wine_try_cflags_saved=$CFLAGS
10983 ac_wine_try_cflags_saved_exeext=$ac_exeext
10984 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10985 ac_exeext=".exe"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10988 int __cdecl mainCRTStartup(void) { return 0; }
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"
10991 then :
10992 eval "$as_ac_var=yes"
10993 else $as_nop
10994 eval "$as_ac_var=no"
10996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10997 conftest$ac_exeext conftest.$ac_ext
10998 CFLAGS=$ac_wine_try_cflags_saved
10999 ac_exeext=$ac_wine_try_cflags_saved_exeext
11001 eval ac_res=\$$as_ac_var
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11003 printf "%s\n" "$ac_res" >&6; }
11004 if eval test \"x\$"$as_ac_var"\" = x"yes"
11005 then :
11006 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11007 fi }
11008 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11010 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11011 if eval test \${$as_ac_var+y}
11012 then :
11013 printf %s "(cached) " >&6
11014 else $as_nop
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11018 ac_exeext=".exe"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 int __cdecl mainCRTStartup(void) { return 0; }
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"
11024 then :
11025 eval "$as_ac_var=yes"
11026 else $as_nop
11027 eval "$as_ac_var=no"
11029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11030 conftest$ac_exeext conftest.$ac_ext
11031 CFLAGS=$ac_wine_try_cflags_saved
11032 ac_exeext=$ac_wine_try_cflags_saved_exeext
11034 eval ac_res=\$$as_ac_var
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11036 printf "%s\n" "$ac_res" >&6; }
11037 if eval test \"x\$"$as_ac_var"\" = x"yes"
11038 then :
11039 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11040 fi }
11041 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11043 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11044 if eval test \${$as_ac_var+y}
11045 then :
11046 printf %s "(cached) " >&6
11047 else $as_nop
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_exeext=$ac_exeext
11050 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11051 ac_exeext=".exe"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 int __cdecl mainCRTStartup(void) { return 0; }
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"
11057 then :
11058 eval "$as_ac_var=yes"
11059 else $as_nop
11060 eval "$as_ac_var=no"
11062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11063 conftest$ac_exeext conftest.$ac_ext
11064 CFLAGS=$ac_wine_try_cflags_saved
11065 ac_exeext=$ac_wine_try_cflags_saved_exeext
11067 eval ac_res=\$$as_ac_var
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11069 printf "%s\n" "$ac_res" >&6; }
11070 if eval test \"x\$"$as_ac_var"\" = x"yes"
11071 then :
11072 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11073 fi }
11074 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11076 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11077 if eval test \${$as_ac_var+y}
11078 then :
11079 printf %s "(cached) " >&6
11080 else $as_nop
11081 ac_wine_try_cflags_saved=$CFLAGS
11082 ac_wine_try_cflags_saved_exeext=$ac_exeext
11083 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11084 ac_exeext=".exe"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11087 int __cdecl mainCRTStartup(void) { return 0; }
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"
11090 then :
11091 eval "$as_ac_var=yes"
11092 else $as_nop
11093 eval "$as_ac_var=no"
11095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11096 conftest$ac_exeext conftest.$ac_ext
11097 CFLAGS=$ac_wine_try_cflags_saved
11098 ac_exeext=$ac_wine_try_cflags_saved_exeext
11100 eval ac_res=\$$as_ac_var
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11102 printf "%s\n" "$ac_res" >&6; }
11103 if eval test \"x\$"$as_ac_var"\" = x"yes"
11104 then :
11105 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11106 fi }
11107 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11109 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11110 if eval test \${$as_ac_var+y}
11111 then :
11112 printf %s "(cached) " >&6
11113 else $as_nop
11114 ac_wine_try_cflags_saved=$CFLAGS
11115 ac_wine_try_cflags_saved_exeext=$ac_exeext
11116 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11117 ac_exeext=".exe"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11120 int __cdecl mainCRTStartup(void) { return 0; }
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"
11123 then :
11124 eval "$as_ac_var=yes"
11125 else $as_nop
11126 eval "$as_ac_var=no"
11128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11129 conftest$ac_exeext conftest.$ac_ext
11130 CFLAGS=$ac_wine_try_cflags_saved
11131 ac_exeext=$ac_wine_try_cflags_saved_exeext
11133 eval ac_res=\$$as_ac_var
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11135 printf "%s\n" "$ac_res" >&6; }
11136 if eval test \"x\$"$as_ac_var"\" = x"yes"
11137 then :
11138 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11139 fi }
11140 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11142 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11143 if eval test \${$as_ac_var+y}
11144 then :
11145 printf %s "(cached) " >&6
11146 else $as_nop
11147 ac_wine_try_cflags_saved=$CFLAGS
11148 ac_wine_try_cflags_saved_exeext=$ac_exeext
11149 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11150 ac_exeext=".exe"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11153 int __cdecl mainCRTStartup(void) { return 0; }
11154 _ACEOF
11155 if ac_fn_c_try_link "$LINENO"
11156 then :
11157 eval "$as_ac_var=yes"
11158 else $as_nop
11159 eval "$as_ac_var=no"
11161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11162 conftest$ac_exeext conftest.$ac_ext
11163 CFLAGS=$ac_wine_try_cflags_saved
11164 ac_exeext=$ac_wine_try_cflags_saved_exeext
11166 eval ac_res=\$$as_ac_var
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11168 printf "%s\n" "$ac_res" >&6; }
11169 if eval test \"x\$"$as_ac_var"\" = x"yes"
11170 then :
11171 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11172 fi }
11173 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11175 printf %s "checking whether $CC supports -Wvla... " >&6; }
11176 if eval test \${$as_ac_var+y}
11177 then :
11178 printf %s "(cached) " >&6
11179 else $as_nop
11180 ac_wine_try_cflags_saved=$CFLAGS
11181 ac_wine_try_cflags_saved_exeext=$ac_exeext
11182 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11183 ac_exeext=".exe"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11186 int __cdecl mainCRTStartup(void) { return 0; }
11187 _ACEOF
11188 if ac_fn_c_try_link "$LINENO"
11189 then :
11190 eval "$as_ac_var=yes"
11191 else $as_nop
11192 eval "$as_ac_var=no"
11194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11195 conftest$ac_exeext conftest.$ac_ext
11196 CFLAGS=$ac_wine_try_cflags_saved
11197 ac_exeext=$ac_wine_try_cflags_saved_exeext
11199 eval ac_res=\$$as_ac_var
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11201 printf "%s\n" "$ac_res" >&6; }
11202 if eval test \"x\$"$as_ac_var"\" = x"yes"
11203 then :
11204 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11205 fi }
11206 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11208 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11209 if eval test \${$as_ac_var+y}
11210 then :
11211 printf %s "(cached) " >&6
11212 else $as_nop
11213 ac_wine_try_cflags_saved=$CFLAGS
11214 ac_wine_try_cflags_saved_exeext=$ac_exeext
11215 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11216 ac_exeext=".exe"
11217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11218 /* end confdefs.h. */
11219 int __cdecl mainCRTStartup(void) { return 0; }
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"
11222 then :
11223 eval "$as_ac_var=yes"
11224 else $as_nop
11225 eval "$as_ac_var=no"
11227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11228 conftest$ac_exeext conftest.$ac_ext
11229 CFLAGS=$ac_wine_try_cflags_saved
11230 ac_exeext=$ac_wine_try_cflags_saved_exeext
11232 eval ac_res=\$$as_ac_var
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11234 printf "%s\n" "$ac_res" >&6; }
11235 if eval test \"x\$"$as_ac_var"\" = x"yes"
11236 then :
11237 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11238 fi }
11239 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11241 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11242 if eval test \${$as_ac_var+y}
11243 then :
11244 printf %s "(cached) " >&6
11245 else $as_nop
11246 ac_wine_try_cflags_saved=$CFLAGS
11247 ac_wine_try_cflags_saved_exeext=$ac_exeext
11248 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11249 ac_exeext=".exe"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 int __cdecl mainCRTStartup(void) { return 0; }
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"
11255 then :
11256 eval "$as_ac_var=yes"
11257 else $as_nop
11258 eval "$as_ac_var=no"
11260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11261 conftest$ac_exeext conftest.$ac_ext
11262 CFLAGS=$ac_wine_try_cflags_saved
11263 ac_exeext=$ac_wine_try_cflags_saved_exeext
11265 eval ac_res=\$$as_ac_var
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11267 printf "%s\n" "$ac_res" >&6; }
11268 if eval test \"x\$"$as_ac_var"\" = x"yes"
11269 then :
11270 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11271 fi }
11272 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11274 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11275 if eval test \${$as_ac_var+y}
11276 then :
11277 printf %s "(cached) " >&6
11278 else $as_nop
11279 ac_wine_try_cflags_saved=$CFLAGS
11280 ac_wine_try_cflags_saved_exeext=$ac_exeext
11281 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11282 ac_exeext=".exe"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285 int __cdecl mainCRTStartup(void) { return 0; }
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"
11288 then :
11289 eval "$as_ac_var=yes"
11290 else $as_nop
11291 eval "$as_ac_var=no"
11293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11294 conftest$ac_exeext conftest.$ac_ext
11295 CFLAGS=$ac_wine_try_cflags_saved
11296 ac_exeext=$ac_wine_try_cflags_saved_exeext
11298 eval ac_res=\$$as_ac_var
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11300 printf "%s\n" "$ac_res" >&6; }
11301 if eval test \"x\$"$as_ac_var"\" = x"yes"
11302 then :
11303 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11304 fi }
11305 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11307 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11308 if eval test \${$as_ac_var+y}
11309 then :
11310 printf %s "(cached) " >&6
11311 else $as_nop
11312 ac_wine_try_cflags_saved=$CFLAGS
11313 ac_wine_try_cflags_saved_exeext=$ac_exeext
11314 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11315 ac_exeext=".exe"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11318 int __cdecl mainCRTStartup(void) { return 0; }
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"
11321 then :
11322 eval "$as_ac_var=yes"
11323 else $as_nop
11324 eval "$as_ac_var=no"
11326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11327 conftest$ac_exeext conftest.$ac_ext
11328 CFLAGS=$ac_wine_try_cflags_saved
11329 ac_exeext=$ac_wine_try_cflags_saved_exeext
11331 eval ac_res=\$$as_ac_var
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11333 printf "%s\n" "$ac_res" >&6; }
11334 if eval test \"x\$"$as_ac_var"\" = x"yes"
11335 then :
11336 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11337 fi }
11339 case $wine_arch in
11340 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11342 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11343 if eval test \${$as_ac_var+y}
11344 then :
11345 printf %s "(cached) " >&6
11346 else $as_nop
11347 ac_wine_try_cflags_saved=$CFLAGS
11348 ac_wine_try_cflags_saved_exeext=$ac_exeext
11349 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11350 ac_exeext=".exe"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 int __cdecl mainCRTStartup(void) { return 0; }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"
11356 then :
11357 eval "$as_ac_var=yes"
11358 else $as_nop
11359 eval "$as_ac_var=no"
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 ac_exeext=$ac_wine_try_cflags_saved_exeext
11366 eval ac_res=\$$as_ac_var
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11368 printf "%s\n" "$ac_res" >&6; }
11369 if eval test \"x\$"$as_ac_var"\" = x"yes"
11370 then :
11371 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11372 fi }
11373 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11375 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11376 if eval test \${$as_ac_var+y}
11377 then :
11378 printf %s "(cached) " >&6
11379 else $as_nop
11380 ac_wine_try_cflags_saved=$CFLAGS
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11383 ac_exeext=".exe"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 int __cdecl mainCRTStartup(void) { return 0; }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"
11389 then :
11390 eval "$as_ac_var=yes"
11391 else $as_nop
11392 eval "$as_ac_var=no"
11394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11395 conftest$ac_exeext conftest.$ac_ext
11396 CFLAGS=$ac_wine_try_cflags_saved
11397 ac_exeext=$ac_wine_try_cflags_saved_exeext
11399 eval ac_res=\$$as_ac_var
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11401 printf "%s\n" "$ac_res" >&6; }
11402 if eval test \"x\$"$as_ac_var"\" = x"yes"
11403 then :
11404 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11405 fi } ;;
11406 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11408 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11409 if eval test \${$as_ac_var+y}
11410 then :
11411 printf %s "(cached) " >&6
11412 else $as_nop
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_exeext=$ac_exeext
11415 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11416 ac_exeext=".exe"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11419 int __cdecl mainCRTStartup(void) { return 0; }
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"
11422 then :
11423 eval "$as_ac_var=yes"
11424 else $as_nop
11425 eval "$as_ac_var=no"
11427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11428 conftest$ac_exeext conftest.$ac_ext
11429 CFLAGS=$ac_wine_try_cflags_saved
11430 ac_exeext=$ac_wine_try_cflags_saved_exeext
11432 eval ac_res=\$$as_ac_var
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11434 printf "%s\n" "$ac_res" >&6; }
11435 if eval test \"x\$"$as_ac_var"\" = x"yes"
11436 then :
11437 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11438 fi }
11439 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11441 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11442 if eval test \${$as_ac_var+y}
11443 then :
11444 printf %s "(cached) " >&6
11445 else $as_nop
11446 ac_wine_try_cflags_saved=$CFLAGS
11447 ac_wine_try_cflags_saved_exeext=$ac_exeext
11448 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11449 ac_exeext=".exe"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11452 int __cdecl mainCRTStartup(void) { return 0; }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"
11455 then :
11456 eval "$as_ac_var=yes"
11457 else $as_nop
11458 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11461 conftest$ac_exeext conftest.$ac_ext
11462 CFLAGS=$ac_wine_try_cflags_saved
11463 ac_exeext=$ac_wine_try_cflags_saved_exeext
11465 eval ac_res=\$$as_ac_var
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11467 printf "%s\n" "$ac_res" >&6; }
11468 if eval test \"x\$"$as_ac_var"\" = x"yes"
11469 then :
11470 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11471 fi }
11472 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11474 printf %s "checking whether $CC supports -mcx16... " >&6; }
11475 if eval test \${$as_ac_var+y}
11476 then :
11477 printf %s "(cached) " >&6
11478 else $as_nop
11479 ac_wine_try_cflags_saved=$CFLAGS
11480 ac_wine_try_cflags_saved_exeext=$ac_exeext
11481 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11482 ac_exeext=".exe"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11485 int __cdecl mainCRTStartup(void) { return 0; }
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"
11488 then :
11489 eval "$as_ac_var=yes"
11490 else $as_nop
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11502 then :
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11504 fi }
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11507 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11508 if eval test \${$as_ac_var+y}
11509 then :
11510 printf %s "(cached) " >&6
11511 else $as_nop
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11515 ac_exeext=".exe"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 int __cdecl mainCRTStartup(void) { return 0; }
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"
11521 then :
11522 eval "$as_ac_var=yes"
11523 else $as_nop
11524 eval "$as_ac_var=no"
11526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11527 conftest$ac_exeext conftest.$ac_ext
11528 CFLAGS=$ac_wine_try_cflags_saved
11529 ac_exeext=$ac_wine_try_cflags_saved_exeext
11531 eval ac_res=\$$as_ac_var
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11533 printf "%s\n" "$ac_res" >&6; }
11534 if eval test \"x\$"$as_ac_var"\" = x"yes"
11535 then :
11536 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11537 fi } ;;
11538 esac
11540 wine_crossdebug=$CROSSDEBUG
11541 if test -z "$wine_crossdebug"
11542 then
11543 for ac_flag in $CFLAGS; do
11544 case $ac_flag in
11545 -gdwarf*) wine_crossdebug=dwarf ;;
11546 -gcodeview) wine_crossdebug=pdb ;;
11547 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11548 esac
11549 done
11552 ac_debug_format_seen=""
11553 for ac_flag in $CFLAGS; do
11554 case $ac_flag in
11555 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11556 esac
11557 done
11558 if test "x$ac_debug_format_seen" = x
11559 then
11560 case $wine_crossdebug in
11561 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11563 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11564 if eval test \${$as_ac_var+y}
11565 then :
11566 printf %s "(cached) " >&6
11567 else $as_nop
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_exeext=$ac_exeext
11570 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11571 ac_exeext=".exe"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 int __cdecl mainCRTStartup(void) { return 0; }
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"
11577 then :
11578 eval "$as_ac_var=yes"
11579 else $as_nop
11580 eval "$as_ac_var=no"
11582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11583 conftest$ac_exeext conftest.$ac_ext
11584 CFLAGS=$ac_wine_try_cflags_saved
11585 ac_exeext=$ac_wine_try_cflags_saved_exeext
11587 eval ac_res=\$$as_ac_var
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11589 printf "%s\n" "$ac_res" >&6; }
11590 if eval test \"x\$"$as_ac_var"\" = x"yes"
11591 then :
11592 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11593 fi } ;;
11594 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11596 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11597 if eval test \${$as_ac_var+y}
11598 then :
11599 printf %s "(cached) " >&6
11600 else $as_nop
11601 ac_wine_try_cflags_saved=$CFLAGS
11602 ac_wine_try_cflags_saved_exeext=$ac_exeext
11603 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11604 ac_exeext=".exe"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 int __cdecl mainCRTStartup(void) { return 0; }
11608 _ACEOF
11609 if ac_fn_c_try_link "$LINENO"
11610 then :
11611 eval "$as_ac_var=yes"
11612 else $as_nop
11613 eval "$as_ac_var=no"
11615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11616 conftest$ac_exeext conftest.$ac_ext
11617 CFLAGS=$ac_wine_try_cflags_saved
11618 ac_exeext=$ac_wine_try_cflags_saved_exeext
11620 eval ac_res=\$$as_ac_var
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11622 printf "%s\n" "$ac_res" >&6; }
11623 if eval test \"x\$"$as_ac_var"\" = x"yes"
11624 then :
11625 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11626 fi } ;;
11627 esac
11629 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11631 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11633 printf %s "checking whether $CC supports -Werror... " >&6; }
11634 if eval test \${$as_ac_var+y}
11635 then :
11636 printf %s "(cached) " >&6
11637 else $as_nop
11638 ac_wine_try_cflags_saved=$CFLAGS
11639 ac_wine_try_cflags_saved_exeext=$ac_exeext
11640 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11641 ac_exeext=".exe"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11644 int __cdecl mainCRTStartup(void) { return 0; }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"
11647 then :
11648 eval "$as_ac_var=yes"
11649 else $as_nop
11650 eval "$as_ac_var=no"
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 ac_exeext=$ac_wine_try_cflags_saved_exeext
11657 eval ac_res=\$$as_ac_var
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11659 printf "%s\n" "$ac_res" >&6; }
11660 if eval test \"x\$"$as_ac_var"\" = x"yes"
11661 then :
11662 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11663 fi }
11664 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11666 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11667 if eval test \${$as_ac_var+y}
11668 then :
11669 printf %s "(cached) " >&6
11670 else $as_nop
11671 ac_wine_try_cflags_saved=$CFLAGS
11672 ac_wine_try_cflags_saved_exeext=$ac_exeext
11673 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11674 ac_exeext=".exe"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11677 int __cdecl mainCRTStartup(void) { return 0; }
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"
11680 then :
11681 eval "$as_ac_var=yes"
11682 else $as_nop
11683 eval "$as_ac_var=no"
11685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11686 conftest$ac_exeext conftest.$ac_ext
11687 CFLAGS=$ac_wine_try_cflags_saved
11688 ac_exeext=$ac_wine_try_cflags_saved_exeext
11690 eval ac_res=\$$as_ac_var
11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11692 printf "%s\n" "$ac_res" >&6; }
11693 if eval test \"x\$"$as_ac_var"\" = x"yes"
11694 then :
11695 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11696 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11697 fi }
11699 CC=$saved_CC
11700 CFLAGS=$saved_CFLAGS
11701 LDFLAGS=$saved_LDFLAGS
11702 done
11704 if test $HOST_ARCH = aarch64
11705 then
11706 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11707 DLLEXT=""
11711 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11712 then
11713 case "$host_cpu" in
11714 i[3456789]86*)
11715 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11717 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11718 esac
11719 for ac_prog in $ac_prefix_list
11721 # Extract the first word of "$ac_prog", so it can be a program name with args.
11722 set dummy $ac_prog; ac_word=$2
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11724 printf %s "checking for $ac_word... " >&6; }
11725 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11726 then :
11727 printf %s "(cached) " >&6
11728 else $as_nop
11729 if test -n "$MINGW_PKG_CONFIG"; then
11730 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11731 else
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11735 IFS=$as_save_IFS
11736 case $as_dir in #(((
11737 '') as_dir=./ ;;
11738 */) ;;
11739 *) as_dir=$as_dir/ ;;
11740 esac
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11743 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11745 break 2
11747 done
11748 done
11749 IFS=$as_save_IFS
11753 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11754 if test -n "$MINGW_PKG_CONFIG"; then
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11756 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11757 else
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 printf "%s\n" "no" >&6; }
11763 test -n "$MINGW_PKG_CONFIG" && break
11764 done
11765 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11767 if ${FAUDIO_PE_CFLAGS:+false} :
11768 then :
11769 if test ${MINGW_PKG_CONFIG+y}
11770 then :
11771 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11774 if ${FAUDIO_PE_LIBS:+false} :
11775 then :
11776 if test ${MINGW_PKG_CONFIG+y}
11777 then :
11778 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11781 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11782 ac_save_CPPFLAGS=$CPPFLAGS
11783 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11785 printf %s "checking for MinGW FAudio.h... " >&6; }
11786 if test ${ac_cv_mingw_header_FAudio_h+y}
11787 then :
11788 printf %s "(cached) " >&6
11789 else $as_nop
11790 ac_wine_check_headers_saved_cc=$CC
11791 ac_wine_check_headers_saved_exeext=$ac_exeext
11792 eval CC=\$${wine_arch}_CC
11793 ac_exeext=".exe"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 #include <FAudio.h>
11799 main (void)
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_compile "$LINENO"
11807 then :
11808 ac_cv_mingw_header_FAudio_h=yes
11809 else $as_nop
11810 ac_cv_mingw_header_FAudio_h=no
11812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11813 CC=$ac_wine_check_headers_saved_cc
11814 ac_exeext=$ac_wine_check_headers_saved_exeext
11816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11817 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11818 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11819 then :
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11821 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11822 if test ${ac_cv_mingw_lib_FAudio+y}
11823 then :
11824 printf %s "(cached) " >&6
11825 else $as_nop
11826 ac_wine_check_headers_saved_cc=$CC
11827 ac_wine_check_headers_saved_exeext=$ac_exeext
11828 ac_wine_check_headers_saved_libs=$LIBS
11829 eval CC=\$${wine_arch}_CC
11830 ac_exeext=".exe"
11831 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 char FAudio_CommitOperationSet ();
11840 main (void)
11842 return FAudio_CommitOperationSet ();
11844 return 0;
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"
11848 then :
11849 ac_cv_mingw_lib_FAudio=yes
11850 else $as_nop
11851 ac_cv_mingw_lib_FAudio=no
11853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11854 conftest$ac_exeext conftest.$ac_ext
11855 CC=$ac_wine_check_headers_saved_cc
11856 ac_exeext=$ac_wine_check_headers_saved_exeext
11857 LIBS=$ac_wine_check_headers_saved_libs
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11860 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11861 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11862 then :
11864 else $as_nop
11865 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11867 else $as_nop
11868 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11870 CPPFLAGS=$ac_save_CPPFLAGS
11872 if test "x$FAUDIO_PE_LIBS" = "x"
11873 then
11874 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11877 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
11878 then :
11879 if test ${MINGW_PKG_CONFIG+y}
11880 then :
11881 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
11884 if ${FLUIDSYNTH_PE_LIBS:+false} :
11885 then :
11886 if test ${MINGW_PKG_CONFIG+y}
11887 then :
11888 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
11891 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
11892 ac_save_CPPFLAGS=$CPPFLAGS
11893 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
11895 printf %s "checking for MinGW fluidsynth.h... " >&6; }
11896 if test ${ac_cv_mingw_header_fluidsynth_h+y}
11897 then :
11898 printf %s "(cached) " >&6
11899 else $as_nop
11900 ac_wine_check_headers_saved_cc=$CC
11901 ac_wine_check_headers_saved_exeext=$ac_exeext
11902 eval CC=\$${wine_arch}_CC
11903 ac_exeext=".exe"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 #include <fluidsynth.h>
11909 main (void)
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_compile "$LINENO"
11917 then :
11918 ac_cv_mingw_header_fluidsynth_h=yes
11919 else $as_nop
11920 ac_cv_mingw_header_fluidsynth_h=no
11922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11923 CC=$ac_wine_check_headers_saved_cc
11924 ac_exeext=$ac_wine_check_headers_saved_exeext
11926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
11927 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
11928 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
11929 then :
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
11931 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
11932 if test ${ac_cv_mingw_lib_fluidsynth+y}
11933 then :
11934 printf %s "(cached) " >&6
11935 else $as_nop
11936 ac_wine_check_headers_saved_cc=$CC
11937 ac_wine_check_headers_saved_exeext=$ac_exeext
11938 ac_wine_check_headers_saved_libs=$LIBS
11939 eval CC=\$${wine_arch}_CC
11940 ac_exeext=".exe"
11941 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11948 char new_fluid_synth ();
11950 main (void)
11952 return new_fluid_synth ();
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_link "$LINENO"
11958 then :
11959 ac_cv_mingw_lib_fluidsynth=yes
11960 else $as_nop
11961 ac_cv_mingw_lib_fluidsynth=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11964 conftest$ac_exeext conftest.$ac_ext
11965 CC=$ac_wine_check_headers_saved_cc
11966 ac_exeext=$ac_wine_check_headers_saved_exeext
11967 LIBS=$ac_wine_check_headers_saved_libs
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
11970 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
11971 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
11972 then :
11974 else $as_nop
11975 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11977 else $as_nop
11978 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
11980 CPPFLAGS=$ac_save_CPPFLAGS
11982 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
11983 then
11984 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
11987 if ${JPEG_PE_CFLAGS:+false} :
11988 then :
11989 if test ${MINGW_PKG_CONFIG+y}
11990 then :
11991 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11994 if ${JPEG_PE_LIBS:+false} :
11995 then :
11996 if test ${MINGW_PKG_CONFIG+y}
11997 then :
11998 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12002 ac_save_CPPFLAGS=$CPPFLAGS
12003 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12005 printf %s "checking for MinGW jpeglib.h... " >&6; }
12006 if test ${ac_cv_mingw_header_jpeglib_h+y}
12007 then :
12008 printf %s "(cached) " >&6
12009 else $as_nop
12010 ac_wine_check_headers_saved_cc=$CC
12011 ac_wine_check_headers_saved_exeext=$ac_exeext
12012 eval CC=\$${wine_arch}_CC
12013 ac_exeext=".exe"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12016 #include <stddef.h>
12017 #include <stdio.h>
12018 #include <jpeglib.h>
12020 main (void)
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_compile "$LINENO"
12028 then :
12029 ac_cv_mingw_header_jpeglib_h=yes
12030 else $as_nop
12031 ac_cv_mingw_header_jpeglib_h=no
12033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12034 CC=$ac_wine_check_headers_saved_cc
12035 ac_exeext=$ac_wine_check_headers_saved_exeext
12037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12038 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12039 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12040 then :
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12042 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12043 if test ${ac_cv_mingw_lib_jpeg+y}
12044 then :
12045 printf %s "(cached) " >&6
12046 else $as_nop
12047 ac_wine_check_headers_saved_cc=$CC
12048 ac_wine_check_headers_saved_exeext=$ac_exeext
12049 ac_wine_check_headers_saved_libs=$LIBS
12050 eval CC=\$${wine_arch}_CC
12051 ac_exeext=".exe"
12052 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 char jpeg_start_decompress ();
12061 main (void)
12063 return jpeg_start_decompress ();
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"
12069 then :
12070 ac_cv_mingw_lib_jpeg=yes
12071 else $as_nop
12072 ac_cv_mingw_lib_jpeg=no
12074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12075 conftest$ac_exeext conftest.$ac_ext
12076 CC=$ac_wine_check_headers_saved_cc
12077 ac_exeext=$ac_wine_check_headers_saved_exeext
12078 LIBS=$ac_wine_check_headers_saved_libs
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12081 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12082 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12083 then :
12085 else $as_nop
12086 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12088 else $as_nop
12089 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12091 CPPFLAGS=$ac_save_CPPFLAGS
12093 if test "x$JPEG_PE_LIBS" = "x"
12094 then
12095 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12098 if ${LCMS2_PE_CFLAGS:+false} :
12099 then :
12100 if test ${MINGW_PKG_CONFIG+y}
12101 then :
12102 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12105 if ${LCMS2_PE_LIBS:+false} :
12106 then :
12107 if test ${MINGW_PKG_CONFIG+y}
12108 then :
12109 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12112 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12113 ac_save_CPPFLAGS=$CPPFLAGS
12114 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12116 printf %s "checking for MinGW lcms2.h... " >&6; }
12117 if test ${ac_cv_mingw_header_lcms2_h+y}
12118 then :
12119 printf %s "(cached) " >&6
12120 else $as_nop
12121 ac_wine_check_headers_saved_cc=$CC
12122 ac_wine_check_headers_saved_exeext=$ac_exeext
12123 eval CC=\$${wine_arch}_CC
12124 ac_exeext=".exe"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 #include <lcms2.h>
12130 main (void)
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_compile "$LINENO"
12138 then :
12139 ac_cv_mingw_header_lcms2_h=yes
12140 else $as_nop
12141 ac_cv_mingw_header_lcms2_h=no
12143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12144 CC=$ac_wine_check_headers_saved_cc
12145 ac_exeext=$ac_wine_check_headers_saved_exeext
12147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12148 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12149 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12150 then :
12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12152 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12153 if test ${ac_cv_mingw_lib_lcms2+y}
12154 then :
12155 printf %s "(cached) " >&6
12156 else $as_nop
12157 ac_wine_check_headers_saved_cc=$CC
12158 ac_wine_check_headers_saved_exeext=$ac_exeext
12159 ac_wine_check_headers_saved_libs=$LIBS
12160 eval CC=\$${wine_arch}_CC
12161 ac_exeext=".exe"
12162 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 char cmsOpenProfileFromFile ();
12171 main (void)
12173 return cmsOpenProfileFromFile ();
12175 return 0;
12177 _ACEOF
12178 if ac_fn_c_try_link "$LINENO"
12179 then :
12180 ac_cv_mingw_lib_lcms2=yes
12181 else $as_nop
12182 ac_cv_mingw_lib_lcms2=no
12184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12185 conftest$ac_exeext conftest.$ac_ext
12186 CC=$ac_wine_check_headers_saved_cc
12187 ac_exeext=$ac_wine_check_headers_saved_exeext
12188 LIBS=$ac_wine_check_headers_saved_libs
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12191 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12192 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12193 then :
12195 else $as_nop
12196 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12198 else $as_nop
12199 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12201 CPPFLAGS=$ac_save_CPPFLAGS
12203 if test "x$LCMS2_PE_LIBS" = "x"
12204 then
12205 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12208 if ${MPG123_PE_CFLAGS:+false} :
12209 then :
12210 if test ${MINGW_PKG_CONFIG+y}
12211 then :
12212 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12215 if ${MPG123_PE_LIBS:+false} :
12216 then :
12217 if test ${MINGW_PKG_CONFIG+y}
12218 then :
12219 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12222 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12223 ac_save_CPPFLAGS=$CPPFLAGS
12224 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12226 printf %s "checking for MinGW mpg123.h... " >&6; }
12227 if test ${ac_cv_mingw_header_mpg123_h+y}
12228 then :
12229 printf %s "(cached) " >&6
12230 else $as_nop
12231 ac_wine_check_headers_saved_cc=$CC
12232 ac_wine_check_headers_saved_exeext=$ac_exeext
12233 eval CC=\$${wine_arch}_CC
12234 ac_exeext=".exe"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12238 #include <mpg123.h>
12240 main (void)
12244 return 0;
12246 _ACEOF
12247 if ac_fn_c_try_compile "$LINENO"
12248 then :
12249 ac_cv_mingw_header_mpg123_h=yes
12250 else $as_nop
12251 ac_cv_mingw_header_mpg123_h=no
12253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12254 CC=$ac_wine_check_headers_saved_cc
12255 ac_exeext=$ac_wine_check_headers_saved_exeext
12257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12258 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12259 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12260 then :
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12262 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12263 if test ${ac_cv_mingw_lib_mpg123+y}
12264 then :
12265 printf %s "(cached) " >&6
12266 else $as_nop
12267 ac_wine_check_headers_saved_cc=$CC
12268 ac_wine_check_headers_saved_exeext=$ac_exeext
12269 ac_wine_check_headers_saved_libs=$LIBS
12270 eval CC=\$${wine_arch}_CC
12271 ac_exeext=".exe"
12272 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12279 char mpg123_feed ();
12281 main (void)
12283 return mpg123_feed ();
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"
12289 then :
12290 ac_cv_mingw_lib_mpg123=yes
12291 else $as_nop
12292 ac_cv_mingw_lib_mpg123=no
12294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12295 conftest$ac_exeext conftest.$ac_ext
12296 CC=$ac_wine_check_headers_saved_cc
12297 ac_exeext=$ac_wine_check_headers_saved_exeext
12298 LIBS=$ac_wine_check_headers_saved_libs
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12301 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12302 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12303 then :
12305 else $as_nop
12306 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12308 else $as_nop
12309 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12311 CPPFLAGS=$ac_save_CPPFLAGS
12313 if test "x$MPG123_PE_LIBS" = "x"
12314 then
12315 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12318 if ${PNG_PE_CFLAGS:+false} :
12319 then :
12320 if test ${MINGW_PKG_CONFIG+y}
12321 then :
12322 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12325 if ${PNG_PE_LIBS:+false} :
12326 then :
12327 if test ${MINGW_PKG_CONFIG+y}
12328 then :
12329 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12333 ac_save_CPPFLAGS=$CPPFLAGS
12334 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12336 printf %s "checking for MinGW png.h... " >&6; }
12337 if test ${ac_cv_mingw_header_png_h+y}
12338 then :
12339 printf %s "(cached) " >&6
12340 else $as_nop
12341 ac_wine_check_headers_saved_cc=$CC
12342 ac_wine_check_headers_saved_exeext=$ac_exeext
12343 eval CC=\$${wine_arch}_CC
12344 ac_exeext=".exe"
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 #include <png.h>
12350 main (void)
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_compile "$LINENO"
12358 then :
12359 ac_cv_mingw_header_png_h=yes
12360 else $as_nop
12361 ac_cv_mingw_header_png_h=no
12363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12364 CC=$ac_wine_check_headers_saved_cc
12365 ac_exeext=$ac_wine_check_headers_saved_exeext
12367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12368 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12369 if test "x$ac_cv_mingw_header_png_h" = xyes
12370 then :
12371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12372 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12373 if test ${ac_cv_mingw_lib_png+y}
12374 then :
12375 printf %s "(cached) " >&6
12376 else $as_nop
12377 ac_wine_check_headers_saved_cc=$CC
12378 ac_wine_check_headers_saved_exeext=$ac_exeext
12379 ac_wine_check_headers_saved_libs=$LIBS
12380 eval CC=\$${wine_arch}_CC
12381 ac_exeext=".exe"
12382 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12386 /* Override any GCC internal prototype to avoid an error.
12387 Use char because int might match the return type of a GCC
12388 builtin and then its argument prototype would still apply. */
12389 char png_create_read_struct ();
12391 main (void)
12393 return png_create_read_struct ();
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_link "$LINENO"
12399 then :
12400 ac_cv_mingw_lib_png=yes
12401 else $as_nop
12402 ac_cv_mingw_lib_png=no
12404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12405 conftest$ac_exeext conftest.$ac_ext
12406 CC=$ac_wine_check_headers_saved_cc
12407 ac_exeext=$ac_wine_check_headers_saved_exeext
12408 LIBS=$ac_wine_check_headers_saved_libs
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12411 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12412 if test "x$ac_cv_mingw_lib_png" = xyes
12413 then :
12415 else $as_nop
12416 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12418 else $as_nop
12419 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12421 CPPFLAGS=$ac_save_CPPFLAGS
12423 if test "x$PNG_PE_LIBS" = "x"
12424 then
12425 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12428 if ${TIFF_PE_CFLAGS:+false} :
12429 then :
12430 if test ${MINGW_PKG_CONFIG+y}
12431 then :
12432 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12435 if ${TIFF_PE_LIBS:+false} :
12436 then :
12437 if test ${MINGW_PKG_CONFIG+y}
12438 then :
12439 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12443 ac_save_CPPFLAGS=$CPPFLAGS
12444 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12446 printf %s "checking for MinGW tiffio.h... " >&6; }
12447 if test ${ac_cv_mingw_header_tiffio_h+y}
12448 then :
12449 printf %s "(cached) " >&6
12450 else $as_nop
12451 ac_wine_check_headers_saved_cc=$CC
12452 ac_wine_check_headers_saved_exeext=$ac_exeext
12453 eval CC=\$${wine_arch}_CC
12454 ac_exeext=".exe"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 #include <tiffio.h>
12460 main (void)
12464 return 0;
12466 _ACEOF
12467 if ac_fn_c_try_compile "$LINENO"
12468 then :
12469 ac_cv_mingw_header_tiffio_h=yes
12470 else $as_nop
12471 ac_cv_mingw_header_tiffio_h=no
12473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12474 CC=$ac_wine_check_headers_saved_cc
12475 ac_exeext=$ac_wine_check_headers_saved_exeext
12477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12478 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12479 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12480 then :
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12482 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12483 if test ${ac_cv_mingw_lib_tiff+y}
12484 then :
12485 printf %s "(cached) " >&6
12486 else $as_nop
12487 ac_wine_check_headers_saved_cc=$CC
12488 ac_wine_check_headers_saved_exeext=$ac_exeext
12489 ac_wine_check_headers_saved_libs=$LIBS
12490 eval CC=\$${wine_arch}_CC
12491 ac_exeext=".exe"
12492 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12499 char TIFFClientOpen ();
12501 main (void)
12503 return TIFFClientOpen ();
12505 return 0;
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"
12509 then :
12510 ac_cv_mingw_lib_tiff=yes
12511 else $as_nop
12512 ac_cv_mingw_lib_tiff=no
12514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12515 conftest$ac_exeext conftest.$ac_ext
12516 CC=$ac_wine_check_headers_saved_cc
12517 ac_exeext=$ac_wine_check_headers_saved_exeext
12518 LIBS=$ac_wine_check_headers_saved_libs
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12521 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12522 if test "x$ac_cv_mingw_lib_tiff" = xyes
12523 then :
12525 else $as_nop
12526 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12528 else $as_nop
12529 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12531 CPPFLAGS=$ac_save_CPPFLAGS
12533 if test "x$TIFF_PE_LIBS" = "x"
12534 then
12535 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12538 if ${XML2_PE_CFLAGS:+false} :
12539 then :
12540 if test ${MINGW_PKG_CONFIG+y}
12541 then :
12542 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12545 if ${XML2_PE_LIBS:+false} :
12546 then :
12547 if test ${MINGW_PKG_CONFIG+y}
12548 then :
12549 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12552 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12553 ac_save_CPPFLAGS=$CPPFLAGS
12554 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12556 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12557 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12558 then :
12559 printf %s "(cached) " >&6
12560 else $as_nop
12561 ac_wine_check_headers_saved_cc=$CC
12562 ac_wine_check_headers_saved_exeext=$ac_exeext
12563 eval CC=\$${wine_arch}_CC
12564 ac_exeext=".exe"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 #include <libxml/parser.h>
12570 main (void)
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_compile "$LINENO"
12578 then :
12579 ac_cv_mingw_header_libxml_parser_h=yes
12580 else $as_nop
12581 ac_cv_mingw_header_libxml_parser_h=no
12583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12584 CC=$ac_wine_check_headers_saved_cc
12585 ac_exeext=$ac_wine_check_headers_saved_exeext
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12588 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12589 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12590 then :
12593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12594 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12595 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12596 then :
12597 printf %s "(cached) " >&6
12598 else $as_nop
12599 ac_wine_check_headers_saved_cc=$CC
12600 ac_wine_check_headers_saved_exeext=$ac_exeext
12601 eval CC=\$${wine_arch}_CC
12602 ac_exeext=".exe"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 #include <libxml/xmlsave.h>
12608 main (void)
12612 return 0;
12614 _ACEOF
12615 if ac_fn_c_try_compile "$LINENO"
12616 then :
12617 ac_cv_mingw_header_libxml_xmlsave_h=yes
12618 else $as_nop
12619 ac_cv_mingw_header_libxml_xmlsave_h=no
12621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12622 CC=$ac_wine_check_headers_saved_cc
12623 ac_exeext=$ac_wine_check_headers_saved_exeext
12625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12626 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12627 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12628 then :
12631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12632 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12633 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12634 then :
12635 printf %s "(cached) " >&6
12636 else $as_nop
12637 ac_wine_check_headers_saved_cc=$CC
12638 ac_wine_check_headers_saved_exeext=$ac_exeext
12639 eval CC=\$${wine_arch}_CC
12640 ac_exeext=".exe"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 #include <libxml/SAX2.h>
12646 main (void)
12650 return 0;
12652 _ACEOF
12653 if ac_fn_c_try_compile "$LINENO"
12654 then :
12655 ac_cv_mingw_header_libxml_SAX2_h=yes
12656 else $as_nop
12657 ac_cv_mingw_header_libxml_SAX2_h=no
12659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12660 CC=$ac_wine_check_headers_saved_cc
12661 ac_exeext=$ac_wine_check_headers_saved_exeext
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12664 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12665 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12666 then :
12669 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"
12670 then
12671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12672 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12673 if test ${ac_cv_mingw_lib_xml2+y}
12674 then :
12675 printf %s "(cached) " >&6
12676 else $as_nop
12677 ac_wine_check_headers_saved_cc=$CC
12678 ac_wine_check_headers_saved_exeext=$ac_exeext
12679 ac_wine_check_headers_saved_libs=$LIBS
12680 eval CC=\$${wine_arch}_CC
12681 ac_exeext=".exe"
12682 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 char xmlFirstElementChild ();
12691 main (void)
12693 return xmlFirstElementChild ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"
12699 then :
12700 ac_cv_mingw_lib_xml2=yes
12701 else $as_nop
12702 ac_cv_mingw_lib_xml2=no
12704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12705 conftest$ac_exeext conftest.$ac_ext
12706 CC=$ac_wine_check_headers_saved_cc
12707 ac_exeext=$ac_wine_check_headers_saved_exeext
12708 LIBS=$ac_wine_check_headers_saved_libs
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12711 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12712 if test "x$ac_cv_mingw_lib_xml2" = xyes
12713 then :
12715 else $as_nop
12716 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12718 else
12719 XML2_PE_CFLAGS=""
12720 XML2_PE_LIBS=""
12722 CPPFLAGS=$ac_save_CPPFLAGS
12724 if test "x$XML2_PE_LIBS" = "x"
12725 then
12726 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12729 if ${XSLT_PE_CFLAGS:+false} :
12730 then :
12731 if test ${MINGW_PKG_CONFIG+y}
12732 then :
12733 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12736 if ${XSLT_PE_LIBS:+false} :
12737 then :
12738 if test ${MINGW_PKG_CONFIG+y}
12739 then :
12740 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12743 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12744 ac_save_CPPFLAGS=$CPPFLAGS
12745 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12747 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12748 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12749 then :
12750 printf %s "(cached) " >&6
12751 else $as_nop
12752 ac_wine_check_headers_saved_cc=$CC
12753 ac_wine_check_headers_saved_exeext=$ac_exeext
12754 eval CC=\$${wine_arch}_CC
12755 ac_exeext=".exe"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 #include <libxslt/pattern.h>
12761 main (void)
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_compile "$LINENO"
12769 then :
12770 ac_cv_mingw_header_libxslt_pattern_h=yes
12771 else $as_nop
12772 ac_cv_mingw_header_libxslt_pattern_h=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12775 CC=$ac_wine_check_headers_saved_cc
12776 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12779 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12780 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12781 then :
12784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12785 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12786 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12787 then :
12788 printf %s "(cached) " >&6
12789 else $as_nop
12790 ac_wine_check_headers_saved_cc=$CC
12791 ac_wine_check_headers_saved_exeext=$ac_exeext
12792 eval CC=\$${wine_arch}_CC
12793 ac_exeext=".exe"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 #include <libxslt/transform.h>
12799 main (void)
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_compile "$LINENO"
12807 then :
12808 ac_cv_mingw_header_libxslt_transform_h=yes
12809 else $as_nop
12810 ac_cv_mingw_header_libxslt_transform_h=no
12812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12813 CC=$ac_wine_check_headers_saved_cc
12814 ac_exeext=$ac_wine_check_headers_saved_exeext
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12817 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12818 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12819 then :
12822 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12823 then
12824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12825 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12826 if test ${ac_cv_mingw_lib_xslt+y}
12827 then :
12828 printf %s "(cached) " >&6
12829 else $as_nop
12830 ac_wine_check_headers_saved_cc=$CC
12831 ac_wine_check_headers_saved_exeext=$ac_exeext
12832 ac_wine_check_headers_saved_libs=$LIBS
12833 eval CC=\$${wine_arch}_CC
12834 ac_exeext=".exe"
12835 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 char xsltCompilePattern ();
12844 main (void)
12846 return xsltCompilePattern ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"
12852 then :
12853 ac_cv_mingw_lib_xslt=yes
12854 else $as_nop
12855 ac_cv_mingw_lib_xslt=no
12857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12858 conftest$ac_exeext conftest.$ac_ext
12859 CC=$ac_wine_check_headers_saved_cc
12860 ac_exeext=$ac_wine_check_headers_saved_exeext
12861 LIBS=$ac_wine_check_headers_saved_libs
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12864 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12865 if test "x$ac_cv_mingw_lib_xslt" = xyes
12866 then :
12868 else $as_nop
12869 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12871 else
12872 XSLT_PE_CFLAGS=""
12873 XSLT_PE_LIBS=""
12875 CPPFLAGS=$ac_save_CPPFLAGS
12877 if test "x$XSLT_PE_LIBS" = "x"
12878 then
12879 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12882 if ${VKD3D_PE_CFLAGS:+false} :
12883 then :
12884 if test ${MINGW_PKG_CONFIG+y}
12885 then :
12886 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12889 if ${VKD3D_PE_LIBS:+false} :
12890 then :
12891 if test ${MINGW_PKG_CONFIG+y}
12892 then :
12893 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12896 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12897 ac_save_CPPFLAGS=$CPPFLAGS
12898 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12900 printf %s "checking for MinGW vkd3d.h... " >&6; }
12901 if test ${ac_cv_mingw_header_vkd3d_h+y}
12902 then :
12903 printf %s "(cached) " >&6
12904 else $as_nop
12905 ac_wine_check_headers_saved_cc=$CC
12906 ac_wine_check_headers_saved_exeext=$ac_exeext
12907 eval CC=\$${wine_arch}_CC
12908 ac_exeext=".exe"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 #include <vkd3d.h>
12914 main (void)
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_compile "$LINENO"
12922 then :
12923 ac_cv_mingw_header_vkd3d_h=yes
12924 else $as_nop
12925 ac_cv_mingw_header_vkd3d_h=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12928 CC=$ac_wine_check_headers_saved_cc
12929 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12932 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12933 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12934 then :
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12938 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12939 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12940 then :
12941 printf %s "(cached) " >&6
12942 else $as_nop
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 eval CC=\$${wine_arch}_CC
12946 ac_exeext=".exe"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 #include <vkd3d_shader.h>
12952 main (void)
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_compile "$LINENO"
12960 then :
12961 ac_cv_mingw_header_vkd3d_shader_h=yes
12962 else $as_nop
12963 ac_cv_mingw_header_vkd3d_shader_h=no
12965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12966 CC=$ac_wine_check_headers_saved_cc
12967 ac_exeext=$ac_wine_check_headers_saved_exeext
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12970 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12971 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12972 then :
12975 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12976 then
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12978 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12979 if test ${ac_cv_mingw_lib_vkd3d+y}
12980 then :
12981 printf %s "(cached) " >&6
12982 else $as_nop
12983 ac_wine_check_headers_saved_cc=$CC
12984 ac_wine_check_headers_saved_exeext=$ac_exeext
12985 ac_wine_check_headers_saved_libs=$LIBS
12986 eval CC=\$${wine_arch}_CC
12987 ac_exeext=".exe"
12988 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 char vkd3d_set_log_callback ();
12997 main (void)
12999 return vkd3d_set_log_callback ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"
13005 then :
13006 ac_cv_mingw_lib_vkd3d=yes
13007 else $as_nop
13008 ac_cv_mingw_lib_vkd3d=no
13010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13011 conftest$ac_exeext conftest.$ac_ext
13012 CC=$ac_wine_check_headers_saved_cc
13013 ac_exeext=$ac_wine_check_headers_saved_exeext
13014 LIBS=$ac_wine_check_headers_saved_libs
13016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13017 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13018 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13019 then :
13021 else $as_nop
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13025 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13026 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13027 then :
13028 printf %s "(cached) " >&6
13029 else $as_nop
13030 ac_wine_check_headers_saved_cc=$CC
13031 ac_wine_check_headers_saved_exeext=$ac_exeext
13032 ac_wine_check_headers_saved_libs=$LIBS
13033 eval CC=\$${wine_arch}_CC
13034 ac_exeext=".exe"
13035 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13039 /* Override any GCC internal prototype to avoid an error.
13040 Use char because int might match the return type of a GCC
13041 builtin and then its argument prototype would still apply. */
13042 char vkd3d_shader_serialize_dxbc ();
13044 main (void)
13046 return vkd3d_shader_serialize_dxbc ();
13048 return 0;
13050 _ACEOF
13051 if ac_fn_c_try_link "$LINENO"
13052 then :
13053 ac_cv_mingw_lib_vkd3d_shader=yes
13054 else $as_nop
13055 ac_cv_mingw_lib_vkd3d_shader=no
13057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13058 conftest$ac_exeext conftest.$ac_ext
13059 CC=$ac_wine_check_headers_saved_cc
13060 ac_exeext=$ac_wine_check_headers_saved_exeext
13061 LIBS=$ac_wine_check_headers_saved_libs
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13064 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13065 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13066 then :
13068 else $as_nop
13071 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13072 then
13073 VKD3D_PE_CFLAGS=""
13074 VKD3D_PE_LIBS=""
13076 else
13077 VKD3D_PE_CFLAGS=""
13078 VKD3D_PE_LIBS=""
13080 CPPFLAGS=$ac_save_CPPFLAGS
13082 if test "x$VKD3D_PE_LIBS" = "x"
13083 then
13084 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13087 if ${ZLIB_PE_CFLAGS:+false} :
13088 then :
13089 if test ${MINGW_PKG_CONFIG+y}
13090 then :
13091 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13094 if ${ZLIB_PE_LIBS:+false} :
13095 then :
13096 if test ${MINGW_PKG_CONFIG+y}
13097 then :
13098 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13101 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13102 ac_save_CPPFLAGS=$CPPFLAGS
13103 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13105 printf %s "checking for MinGW zlib.h... " >&6; }
13106 if test ${ac_cv_mingw_header_zlib_h+y}
13107 then :
13108 printf %s "(cached) " >&6
13109 else $as_nop
13110 ac_wine_check_headers_saved_cc=$CC
13111 ac_wine_check_headers_saved_exeext=$ac_exeext
13112 eval CC=\$${wine_arch}_CC
13113 ac_exeext=".exe"
13114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13117 #include <zlib.h>
13119 main (void)
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_compile "$LINENO"
13127 then :
13128 ac_cv_mingw_header_zlib_h=yes
13129 else $as_nop
13130 ac_cv_mingw_header_zlib_h=no
13132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13133 CC=$ac_wine_check_headers_saved_cc
13134 ac_exeext=$ac_wine_check_headers_saved_exeext
13136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13137 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13138 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13139 then :
13140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13141 printf %s "checking for inflate in MinGW -lz... " >&6; }
13142 if test ${ac_cv_mingw_lib_z+y}
13143 then :
13144 printf %s "(cached) " >&6
13145 else $as_nop
13146 ac_wine_check_headers_saved_cc=$CC
13147 ac_wine_check_headers_saved_exeext=$ac_exeext
13148 ac_wine_check_headers_saved_libs=$LIBS
13149 eval CC=\$${wine_arch}_CC
13150 ac_exeext=".exe"
13151 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 char inflate ();
13160 main (void)
13162 return inflate ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"
13168 then :
13169 ac_cv_mingw_lib_z=yes
13170 else $as_nop
13171 ac_cv_mingw_lib_z=no
13173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13174 conftest$ac_exeext conftest.$ac_ext
13175 CC=$ac_wine_check_headers_saved_cc
13176 ac_exeext=$ac_wine_check_headers_saved_exeext
13177 LIBS=$ac_wine_check_headers_saved_libs
13179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13180 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13181 if test "x$ac_cv_mingw_lib_z" = xyes
13182 then :
13184 else $as_nop
13185 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13187 else $as_nop
13188 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13190 CPPFLAGS=$ac_save_CPPFLAGS
13192 if test "x$ZLIB_PE_LIBS" = "x"
13193 then
13194 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13198 if ${FAUDIO_PE_LIBS:+false} :
13199 then :
13200 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13201 if ${FAUDIO_PE_CFLAGS:+false} :
13202 then :
13203 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13204 else $as_nop
13205 enable_faudio=no
13207 else $as_nop
13208 enable_faudio=no
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13213 if ${FLUIDSYNTH_PE_LIBS:+false} :
13214 then :
13215 FLUIDSYNTH_PE_LIBS="fluidsynth"
13216 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13217 then :
13218 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13219 else $as_nop
13220 enable_fluidsynth=no
13222 else $as_nop
13223 enable_fluidsynth=no
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13228 if ${GSM_PE_LIBS:+false} :
13229 then :
13230 GSM_PE_LIBS=gsm
13231 if ${GSM_PE_CFLAGS:+false} :
13232 then :
13233 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13234 else $as_nop
13235 enable_gsm=no
13237 else $as_nop
13238 enable_gsm=no
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13243 if ${JPEG_PE_LIBS:+false} :
13244 then :
13245 JPEG_PE_LIBS=jpeg
13246 if ${JPEG_PE_CFLAGS:+false} :
13247 then :
13248 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13249 else $as_nop
13250 enable_jpeg=no
13252 else $as_nop
13253 enable_jpeg=no
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13258 if ${JXR_PE_LIBS:+false} :
13259 then :
13260 JXR_PE_LIBS=jxr
13261 if ${JXR_PE_CFLAGS:+false} :
13262 then :
13263 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13264 else $as_nop
13265 enable_jxr=no
13267 else $as_nop
13268 enable_jxr=no
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13273 if ${LCMS2_PE_LIBS:+false} :
13274 then :
13275 LCMS2_PE_LIBS=lcms2
13276 if ${LCMS2_PE_CFLAGS:+false} :
13277 then :
13278 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13279 else $as_nop
13280 enable_lcms2=no
13282 else $as_nop
13283 enable_lcms2=no
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13288 if ${LDAP_PE_LIBS:+false} :
13289 then :
13290 LDAP_PE_LIBS=ldap
13291 if ${LDAP_PE_CFLAGS:+false} :
13292 then :
13293 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13294 else $as_nop
13295 enable_ldap=no
13297 else $as_nop
13298 enable_ldap=no
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13303 if ${MPG123_PE_LIBS:+false} :
13304 then :
13305 MPG123_PE_LIBS=mpg123
13306 if ${MPG123_PE_CFLAGS:+false} :
13307 then :
13308 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13309 else $as_nop
13310 enable_mpg123=no
13312 else $as_nop
13313 enable_mpg123=no
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13318 if ${MUSL_PE_LIBS:+false} :
13319 then :
13320 MUSL_PE_LIBS=musl
13321 if ${MUSL_PE_CFLAGS:+false} :
13322 then :
13323 MUSL_PE_CFLAGS=
13324 else $as_nop
13325 enable_musl=no
13327 else $as_nop
13328 enable_musl=no
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13333 if ${PNG_PE_LIBS:+false} :
13334 then :
13335 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13336 if ${PNG_PE_CFLAGS:+false} :
13337 then :
13338 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13339 else $as_nop
13340 enable_png=no
13342 else $as_nop
13343 enable_png=no
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13348 if ${TIFF_PE_LIBS:+false} :
13349 then :
13350 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13351 if ${TIFF_PE_CFLAGS:+false} :
13352 then :
13353 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13354 else $as_nop
13355 enable_tiff=no
13357 else $as_nop
13358 enable_tiff=no
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13363 if ${VKD3D_PE_LIBS:+false} :
13364 then :
13365 VKD3D_PE_LIBS=vkd3d
13366 if ${VKD3D_PE_CFLAGS:+false} :
13367 then :
13368 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13369 else $as_nop
13370 enable_vkd3d=no
13372 else $as_nop
13373 enable_vkd3d=no
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13378 if ${XML2_PE_LIBS:+false} :
13379 then :
13380 XML2_PE_LIBS=xml2
13381 if ${XML2_PE_CFLAGS:+false} :
13382 then :
13383 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13384 else $as_nop
13385 enable_xml2=no
13387 else $as_nop
13388 enable_xml2=no
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13393 if ${XSLT_PE_LIBS:+false} :
13394 then :
13395 XSLT_PE_LIBS=xslt
13396 if ${XSLT_PE_CFLAGS:+false} :
13397 then :
13398 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13399 else $as_nop
13400 enable_xslt=no
13402 else $as_nop
13403 enable_xslt=no
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13408 if ${ZLIB_PE_LIBS:+false} :
13409 then :
13410 ZLIB_PE_LIBS=z
13411 if ${ZLIB_PE_CFLAGS:+false} :
13412 then :
13413 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13414 else $as_nop
13415 enable_zlib=no
13417 else $as_nop
13418 enable_zlib=no
13420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13423 if ${ZYDIS_PE_LIBS:+false} :
13424 then :
13425 ZYDIS_PE_LIBS=zydis
13426 if ${ZYDIS_PE_CFLAGS:+false} :
13427 then :
13428 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13429 else $as_nop
13430 enable_zydis=no
13432 else $as_nop
13433 enable_zydis=no
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13440 if test "$ac_cv_header_pthread_h" = "yes"
13441 then
13442 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13443 if test "x$ac_cv_func_pthread_create" = xyes
13444 then :
13446 else $as_nop
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13448 printf %s "checking for pthread_create in -lpthread... " >&6; }
13449 if test ${ac_cv_lib_pthread_pthread_create+y}
13450 then :
13451 printf %s "(cached) " >&6
13452 else $as_nop
13453 ac_check_lib_save_LIBS=$LIBS
13454 LIBS="-lpthread $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 char pthread_create ();
13463 main (void)
13465 return pthread_create ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"
13471 then :
13472 ac_cv_lib_pthread_pthread_create=yes
13473 else $as_nop
13474 ac_cv_lib_pthread_pthread_create=no
13476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_lib_save_LIBS
13480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13481 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13482 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13483 then :
13484 PTHREAD_LIBS="-lpthread"
13491 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13492 then :
13493 case "x$with_pthread" in
13494 xno) ;;
13495 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13496 Wine cannot support threads without libpthread.
13497 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13498 esac
13503 ac_ext=c
13504 ac_cpp='$CPP $CPPFLAGS'
13505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13509 printf %s "checking how to run the C preprocessor... " >&6; }
13510 # On Suns, sometimes $CPP names a directory.
13511 if test -n "$CPP" && test -d "$CPP"; then
13512 CPP=
13514 if test -z "$CPP"; then
13515 if test ${ac_cv_prog_CPP+y}
13516 then :
13517 printf %s "(cached) " >&6
13518 else $as_nop
13519 # Double quotes because $CC needs to be expanded
13520 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13522 ac_preproc_ok=false
13523 for ac_c_preproc_warn_flag in '' yes
13525 # Use a header file that comes with gcc, so configuring glibc
13526 # with a fresh cross-compiler works.
13527 # On the NeXT, cc -E runs the code through the compiler's parser,
13528 # not just through cpp. "Syntax error" is here to catch this case.
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 #include <limits.h>
13532 Syntax error
13533 _ACEOF
13534 if ac_fn_c_try_cpp "$LINENO"
13535 then :
13537 else $as_nop
13538 # Broken: fails on valid input.
13539 continue
13541 rm -f conftest.err conftest.i conftest.$ac_ext
13543 # OK, works on sane cases. Now check whether nonexistent headers
13544 # can be detected and how.
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 #include <ac_nonexistent.h>
13548 _ACEOF
13549 if ac_fn_c_try_cpp "$LINENO"
13550 then :
13551 # Broken: success on invalid input.
13552 continue
13553 else $as_nop
13554 # Passes both tests.
13555 ac_preproc_ok=:
13556 break
13558 rm -f conftest.err conftest.i conftest.$ac_ext
13560 done
13561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13562 rm -f conftest.i conftest.err conftest.$ac_ext
13563 if $ac_preproc_ok
13564 then :
13565 break
13568 done
13569 ac_cv_prog_CPP=$CPP
13572 CPP=$ac_cv_prog_CPP
13573 else
13574 ac_cv_prog_CPP=$CPP
13576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13577 printf "%s\n" "$CPP" >&6; }
13578 ac_preproc_ok=false
13579 for ac_c_preproc_warn_flag in '' yes
13581 # Use a header file that comes with gcc, so configuring glibc
13582 # with a fresh cross-compiler works.
13583 # On the NeXT, cc -E runs the code through the compiler's parser,
13584 # not just through cpp. "Syntax error" is here to catch this case.
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13587 #include <limits.h>
13588 Syntax error
13589 _ACEOF
13590 if ac_fn_c_try_cpp "$LINENO"
13591 then :
13593 else $as_nop
13594 # Broken: fails on valid input.
13595 continue
13597 rm -f conftest.err conftest.i conftest.$ac_ext
13599 # OK, works on sane cases. Now check whether nonexistent headers
13600 # can be detected and how.
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 #include <ac_nonexistent.h>
13604 _ACEOF
13605 if ac_fn_c_try_cpp "$LINENO"
13606 then :
13607 # Broken: success on invalid input.
13608 continue
13609 else $as_nop
13610 # Passes both tests.
13611 ac_preproc_ok=:
13612 break
13614 rm -f conftest.err conftest.i conftest.$ac_ext
13616 done
13617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13618 rm -f conftest.i conftest.err conftest.$ac_ext
13619 if $ac_preproc_ok
13620 then :
13622 else $as_nop
13623 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13624 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13625 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13626 See \`config.log' for more details" "$LINENO" 5; }
13629 ac_ext=c
13630 ac_cpp='$CPP $CPPFLAGS'
13631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13637 printf %s "checking for X... " >&6; }
13640 # Check whether --with-x was given.
13641 if test ${with_x+y}
13642 then :
13643 withval=$with_x;
13646 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13647 if test "x$with_x" = xno; then
13648 # The user explicitly disabled X.
13649 have_x=disabled
13650 else
13651 case $x_includes,$x_libraries in #(
13652 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13653 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13654 then :
13655 printf %s "(cached) " >&6
13656 else $as_nop
13657 # One or both of the vars are not set, and there is no cached value.
13658 ac_x_includes=no
13659 ac_x_libraries=no
13660 # Do we need to do anything special at all?
13661 ac_save_LIBS=$LIBS
13662 LIBS="-lX11 $LIBS"
13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13665 #include <X11/Xlib.h>
13667 main (void)
13669 XrmInitialize ()
13671 return 0;
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"
13675 then :
13676 # We can compile and link X programs with no special options.
13677 ac_x_includes=
13678 ac_x_libraries=
13680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13681 conftest$ac_exeext conftest.$ac_ext
13682 LIBS="$ac_save_LIBS"
13683 # If that didn't work, only try xmkmf and file system searches
13684 # for native compilation.
13685 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13686 then :
13687 rm -f -r conftest.dir
13688 if mkdir conftest.dir; then
13689 cd conftest.dir
13690 cat >Imakefile <<'_ACEOF'
13691 incroot:
13692 @echo incroot='${INCROOT}'
13693 usrlibdir:
13694 @echo usrlibdir='${USRLIBDIR}'
13695 libdir:
13696 @echo libdir='${LIBDIR}'
13697 _ACEOF
13698 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13699 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13700 for ac_var in incroot usrlibdir libdir; do
13701 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13702 done
13703 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13704 for ac_extension in a so sl dylib la dll; do
13705 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13706 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13707 ac_im_usrlibdir=$ac_im_libdir; break
13709 done
13710 # Screen out bogus values from the imake configuration. They are
13711 # bogus both because they are the default anyway, and because
13712 # using them would break gcc on systems where it needs fixed includes.
13713 case $ac_im_incroot in
13714 /usr/include) ac_x_includes= ;;
13715 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13716 esac
13717 case $ac_im_usrlibdir in
13718 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13719 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13720 esac
13722 cd ..
13723 rm -f -r conftest.dir
13726 # Standard set of common directories for X headers.
13727 # Check X11 before X11Rn because it is often a symlink to the current release.
13728 ac_x_header_dirs='
13729 /usr/X11/include
13730 /usr/X11R7/include
13731 /usr/X11R6/include
13732 /usr/X11R5/include
13733 /usr/X11R4/include
13735 /usr/include/X11
13736 /usr/include/X11R7
13737 /usr/include/X11R6
13738 /usr/include/X11R5
13739 /usr/include/X11R4
13741 /usr/local/X11/include
13742 /usr/local/X11R7/include
13743 /usr/local/X11R6/include
13744 /usr/local/X11R5/include
13745 /usr/local/X11R4/include
13747 /usr/local/include/X11
13748 /usr/local/include/X11R7
13749 /usr/local/include/X11R6
13750 /usr/local/include/X11R5
13751 /usr/local/include/X11R4
13753 /opt/X11/include
13755 /usr/X386/include
13756 /usr/x386/include
13757 /usr/XFree86/include/X11
13759 /usr/include
13760 /usr/local/include
13761 /usr/unsupported/include
13762 /usr/athena/include
13763 /usr/local/x11r5/include
13764 /usr/lpp/Xamples/include
13766 /usr/openwin/include
13767 /usr/openwin/share/include'
13769 if test "$ac_x_includes" = no; then
13770 # Guess where to find include files, by looking for Xlib.h.
13771 # First, try using that file with no special directory specified.
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 #include <X11/Xlib.h>
13775 _ACEOF
13776 if ac_fn_c_try_cpp "$LINENO"
13777 then :
13778 # We can compile using X headers with no special include directory.
13779 ac_x_includes=
13780 else $as_nop
13781 for ac_dir in $ac_x_header_dirs; do
13782 if test -r "$ac_dir/X11/Xlib.h"; then
13783 ac_x_includes=$ac_dir
13784 break
13786 done
13788 rm -f conftest.err conftest.i conftest.$ac_ext
13789 fi # $ac_x_includes = no
13791 if test "$ac_x_libraries" = no; then
13792 # Check for the libraries.
13793 # See if we find them without any special options.
13794 # Don't add to $LIBS permanently.
13795 ac_save_LIBS=$LIBS
13796 LIBS="-lX11 $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 #include <X11/Xlib.h>
13801 main (void)
13803 XrmInitialize ()
13805 return 0;
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"
13809 then :
13810 LIBS=$ac_save_LIBS
13811 # We can link X programs with no special library path.
13812 ac_x_libraries=
13813 else $as_nop
13814 LIBS=$ac_save_LIBS
13815 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13817 # Don't even attempt the hair of trying to link an X program!
13818 for ac_extension in a so sl dylib la dll; do
13819 if test -r "$ac_dir/libX11.$ac_extension"; then
13820 ac_x_libraries=$ac_dir
13821 break 2
13823 done
13824 done
13826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13827 conftest$ac_exeext conftest.$ac_ext
13828 fi # $ac_x_libraries = no
13831 # Record the results.
13832 case $ac_x_includes,$ac_x_libraries in #(
13833 no,* | *,no | *\'*) :
13834 # Didn't find X, or a directory has "'" in its name.
13835 ac_cv_have_x="have_x=no" ;; #(
13836 *) :
13837 # Record where we found X for the cache.
13838 ac_cv_have_x="have_x=yes\
13839 ac_x_includes='$ac_x_includes'\
13840 ac_x_libraries='$ac_x_libraries'" ;;
13841 esac
13843 ;; #(
13844 *) have_x=yes;;
13845 esac
13846 eval "$ac_cv_have_x"
13847 fi # $with_x != no
13849 if test "$have_x" != yes; then
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13851 printf "%s\n" "$have_x" >&6; }
13852 no_x=yes
13853 else
13854 # If each of the values was on the command line, it overrides each guess.
13855 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13856 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13857 # Update the cache value to reflect the command line values.
13858 ac_cv_have_x="have_x=yes\
13859 ac_x_includes='$x_includes'\
13860 ac_x_libraries='$x_libraries'"
13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13862 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13865 if test "$no_x" = yes; then
13866 # Not all programs may use this symbol, but it does not hurt to define it.
13868 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13870 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13871 else
13872 if test -n "$x_includes"; then
13873 X_CFLAGS="$X_CFLAGS -I$x_includes"
13876 # It would also be nice to do this for all -L options, not just this one.
13877 if test -n "$x_libraries"; then
13878 X_LIBS="$X_LIBS -L$x_libraries"
13879 # For Solaris; some versions of Sun CC require a space after -R and
13880 # others require no space. Words are not sufficient . . . .
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13882 printf %s "checking whether -R must be followed by a space... " >&6; }
13883 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13884 ac_xsave_c_werror_flag=$ac_c_werror_flag
13885 ac_c_werror_flag=yes
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13890 main (void)
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"
13898 then :
13899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13900 printf "%s\n" "no" >&6; }
13901 X_LIBS="$X_LIBS -R$x_libraries"
13902 else $as_nop
13903 LIBS="$ac_xsave_LIBS -R $x_libraries"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13908 main (void)
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"
13916 then :
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13918 printf "%s\n" "yes" >&6; }
13919 X_LIBS="$X_LIBS -R $x_libraries"
13920 else $as_nop
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13922 printf "%s\n" "neither works" >&6; }
13924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13925 conftest$ac_exeext conftest.$ac_ext
13927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13928 conftest$ac_exeext conftest.$ac_ext
13929 ac_c_werror_flag=$ac_xsave_c_werror_flag
13930 LIBS=$ac_xsave_LIBS
13933 # Check for system-dependent libraries X programs must link with.
13934 # Do this before checking for the system-independent R6 libraries
13935 # (-lICE), since we may need -lsocket or whatever for X linking.
13937 if test "$ISC" = yes; then
13938 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13939 else
13940 # Martyn Johnson says this is needed for Ultrix, if the X
13941 # libraries were built with DECnet support. And Karl Berry says
13942 # the Alpha needs dnet_stub (dnet does not exist).
13943 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 char XOpenDisplay ();
13952 main (void)
13954 return XOpenDisplay ();
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"
13960 then :
13962 else $as_nop
13963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13964 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13965 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13966 then :
13967 printf %s "(cached) " >&6
13968 else $as_nop
13969 ac_check_lib_save_LIBS=$LIBS
13970 LIBS="-ldnet $LIBS"
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13974 /* Override any GCC internal prototype to avoid an error.
13975 Use char because int might match the return type of a GCC
13976 builtin and then its argument prototype would still apply. */
13977 char dnet_ntoa ();
13979 main (void)
13981 return dnet_ntoa ();
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"
13987 then :
13988 ac_cv_lib_dnet_dnet_ntoa=yes
13989 else $as_nop
13990 ac_cv_lib_dnet_dnet_ntoa=no
13992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13993 conftest$ac_exeext conftest.$ac_ext
13994 LIBS=$ac_check_lib_save_LIBS
13996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13997 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13998 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13999 then :
14000 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14003 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14005 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14006 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14007 then :
14008 printf %s "(cached) " >&6
14009 else $as_nop
14010 ac_check_lib_save_LIBS=$LIBS
14011 LIBS="-ldnet_stub $LIBS"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14015 /* Override any GCC internal prototype to avoid an error.
14016 Use char because int might match the return type of a GCC
14017 builtin and then its argument prototype would still apply. */
14018 char dnet_ntoa ();
14020 main (void)
14022 return dnet_ntoa ();
14024 return 0;
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"
14028 then :
14029 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14030 else $as_nop
14031 ac_cv_lib_dnet_stub_dnet_ntoa=no
14033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS=$ac_check_lib_save_LIBS
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14038 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14039 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14040 then :
14041 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS="$ac_xsave_LIBS"
14050 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14051 # to get the SysV transport functions.
14052 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14053 # needs -lnsl.
14054 # The nsl library prevents programs from opening the X display
14055 # on Irix 5.2, according to T.E. Dickey.
14056 # The functions gethostbyname, getservbyname, and inet_addr are
14057 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14058 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14059 if test "x$ac_cv_func_gethostbyname" = xyes
14060 then :
14064 if test $ac_cv_func_gethostbyname = no; then
14065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14066 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14067 if test ${ac_cv_lib_nsl_gethostbyname+y}
14068 then :
14069 printf %s "(cached) " >&6
14070 else $as_nop
14071 ac_check_lib_save_LIBS=$LIBS
14072 LIBS="-lnsl $LIBS"
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14076 /* Override any GCC internal prototype to avoid an error.
14077 Use char because int might match the return type of a GCC
14078 builtin and then its argument prototype would still apply. */
14079 char gethostbyname ();
14081 main (void)
14083 return gethostbyname ();
14085 return 0;
14087 _ACEOF
14088 if ac_fn_c_try_link "$LINENO"
14089 then :
14090 ac_cv_lib_nsl_gethostbyname=yes
14091 else $as_nop
14092 ac_cv_lib_nsl_gethostbyname=no
14094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14095 conftest$ac_exeext conftest.$ac_ext
14096 LIBS=$ac_check_lib_save_LIBS
14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14099 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14100 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14101 then :
14102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14105 if test $ac_cv_lib_nsl_gethostbyname = no; then
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14107 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14108 if test ${ac_cv_lib_bsd_gethostbyname+y}
14109 then :
14110 printf %s "(cached) " >&6
14111 else $as_nop
14112 ac_check_lib_save_LIBS=$LIBS
14113 LIBS="-lbsd $LIBS"
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14120 char gethostbyname ();
14122 main (void)
14124 return gethostbyname ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"
14130 then :
14131 ac_cv_lib_bsd_gethostbyname=yes
14132 else $as_nop
14133 ac_cv_lib_bsd_gethostbyname=no
14135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS=$ac_check_lib_save_LIBS
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14140 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14141 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14142 then :
14143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14149 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14150 # socket/setsockopt and other routines are undefined under SCO ODT
14151 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14152 # on later versions), says Simon Leinen: it contains gethostby*
14153 # variants that don't use the name server (or something). -lsocket
14154 # must be given before -lnsl if both are needed. We assume that
14155 # if connect needs -lnsl, so does gethostbyname.
14156 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14157 if test "x$ac_cv_func_connect" = xyes
14158 then :
14162 if test $ac_cv_func_connect = no; then
14163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14164 printf %s "checking for connect in -lsocket... " >&6; }
14165 if test ${ac_cv_lib_socket_connect+y}
14166 then :
14167 printf %s "(cached) " >&6
14168 else $as_nop
14169 ac_check_lib_save_LIBS=$LIBS
14170 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14174 /* Override any GCC internal prototype to avoid an error.
14175 Use char because int might match the return type of a GCC
14176 builtin and then its argument prototype would still apply. */
14177 char connect ();
14179 main (void)
14181 return connect ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"
14187 then :
14188 ac_cv_lib_socket_connect=yes
14189 else $as_nop
14190 ac_cv_lib_socket_connect=no
14192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14193 conftest$ac_exeext conftest.$ac_ext
14194 LIBS=$ac_check_lib_save_LIBS
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14197 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14198 if test "x$ac_cv_lib_socket_connect" = xyes
14199 then :
14200 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14205 # Guillermo Gomez says -lposix is necessary on A/UX.
14206 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14207 if test "x$ac_cv_func_remove" = xyes
14208 then :
14212 if test $ac_cv_func_remove = no; then
14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14214 printf %s "checking for remove in -lposix... " >&6; }
14215 if test ${ac_cv_lib_posix_remove+y}
14216 then :
14217 printf %s "(cached) " >&6
14218 else $as_nop
14219 ac_check_lib_save_LIBS=$LIBS
14220 LIBS="-lposix $LIBS"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14224 /* Override any GCC internal prototype to avoid an error.
14225 Use char because int might match the return type of a GCC
14226 builtin and then its argument prototype would still apply. */
14227 char remove ();
14229 main (void)
14231 return remove ();
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_link "$LINENO"
14237 then :
14238 ac_cv_lib_posix_remove=yes
14239 else $as_nop
14240 ac_cv_lib_posix_remove=no
14242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14247 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14248 if test "x$ac_cv_lib_posix_remove" = xyes
14249 then :
14250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14255 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14256 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14257 if test "x$ac_cv_func_shmat" = xyes
14258 then :
14262 if test $ac_cv_func_shmat = no; then
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14264 printf %s "checking for shmat in -lipc... " >&6; }
14265 if test ${ac_cv_lib_ipc_shmat+y}
14266 then :
14267 printf %s "(cached) " >&6
14268 else $as_nop
14269 ac_check_lib_save_LIBS=$LIBS
14270 LIBS="-lipc $LIBS"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14277 char shmat ();
14279 main (void)
14281 return shmat ();
14283 return 0;
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"
14287 then :
14288 ac_cv_lib_ipc_shmat=yes
14289 else $as_nop
14290 ac_cv_lib_ipc_shmat=no
14292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14293 conftest$ac_exeext conftest.$ac_ext
14294 LIBS=$ac_check_lib_save_LIBS
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14297 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14298 if test "x$ac_cv_lib_ipc_shmat" = xyes
14299 then :
14300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14306 # Check for libraries that X11R6 Xt/Xaw programs need.
14307 ac_save_LDFLAGS=$LDFLAGS
14308 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14309 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14310 # check for ICE first), but we must link in the order -lSM -lICE or
14311 # we get undefined symbols. So assume we have SM if we have ICE.
14312 # These have to be linked with before -lX11, unlike the other
14313 # libraries we check for below, so use a different variable.
14314 # John Interrante, Karl Berry
14315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14316 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14317 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14318 then :
14319 printf %s "(cached) " >&6
14320 else $as_nop
14321 ac_check_lib_save_LIBS=$LIBS
14322 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14326 /* Override any GCC internal prototype to avoid an error.
14327 Use char because int might match the return type of a GCC
14328 builtin and then its argument prototype would still apply. */
14329 char IceConnectionNumber ();
14331 main (void)
14333 return IceConnectionNumber ();
14335 return 0;
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"
14339 then :
14340 ac_cv_lib_ICE_IceConnectionNumber=yes
14341 else $as_nop
14342 ac_cv_lib_ICE_IceConnectionNumber=no
14344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14345 conftest$ac_exeext conftest.$ac_ext
14346 LIBS=$ac_check_lib_save_LIBS
14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14349 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14350 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14351 then :
14352 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14355 LDFLAGS=$ac_save_LDFLAGS
14360 if test "$have_x" = "yes"
14361 then
14362 ac_save_CPPFLAGS="$CPPFLAGS"
14363 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14366 printf %s "checking for -lX11... " >&6; }
14367 if test ${ac_cv_lib_soname_X11+y}
14368 then :
14369 printf %s "(cached) " >&6
14370 else $as_nop
14371 ac_check_soname_save_LIBS=$LIBS
14372 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 char XCreateWindow ();
14381 main (void)
14383 return XCreateWindow ();
14385 return 0;
14387 _ACEOF
14388 if ac_fn_c_try_link "$LINENO"
14389 then :
14390 case "$LIBEXT" in
14391 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14392 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'` ;;
14393 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14394 if ${ac_cv_lib_soname_X11:+false} :
14395 then :
14396 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14397 fi ;;
14398 esac
14399 else $as_nop
14400 ac_cv_lib_soname_X11=
14402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14403 conftest$ac_exeext conftest.$ac_ext
14404 LIBS=$ac_check_soname_save_LIBS
14406 if ${ac_cv_lib_soname_X11:+false} :
14407 then :
14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14409 printf "%s\n" "not found" >&6; }
14411 else $as_nop
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14413 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14415 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14420 printf %s "checking for -lXext... " >&6; }
14421 if test ${ac_cv_lib_soname_Xext+y}
14422 then :
14423 printf %s "(cached) " >&6
14424 else $as_nop
14425 ac_check_soname_save_LIBS=$LIBS
14426 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14430 /* Override any GCC internal prototype to avoid an error.
14431 Use char because int might match the return type of a GCC
14432 builtin and then its argument prototype would still apply. */
14433 char XextCreateExtension ();
14435 main (void)
14437 return XextCreateExtension ();
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"
14443 then :
14444 case "$LIBEXT" in
14445 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14446 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'` ;;
14447 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14448 if ${ac_cv_lib_soname_Xext:+false} :
14449 then :
14450 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14451 fi ;;
14452 esac
14453 else $as_nop
14454 ac_cv_lib_soname_Xext=
14456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14457 conftest$ac_exeext conftest.$ac_ext
14458 LIBS=$ac_check_soname_save_LIBS
14460 if ${ac_cv_lib_soname_Xext:+false} :
14461 then :
14462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14463 printf "%s\n" "not found" >&6; }
14465 else $as_nop
14466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14467 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14469 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14471 X_LIBS="$X_LIBS -lXext"
14473 X_LIBS="$X_LIBS -lX11"
14475 xlib_includes="#include <X11/Xlib.h>
14476 #include <X11/Xutil.h>"
14478 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14480 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14481 then :
14482 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14485 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14487 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14494 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14495 then :
14496 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14501 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14502 then :
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14508 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14509 then :
14510 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14513 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14515 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14516 then :
14517 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14520 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14522 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14523 then :
14524 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14527 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14529 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14530 then :
14531 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14534 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14536 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14537 then :
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14543 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14545 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14546 then :
14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14548 printf %s "checking for -lXcursor... " >&6; }
14549 if test ${ac_cv_lib_soname_Xcursor+y}
14550 then :
14551 printf %s "(cached) " >&6
14552 else $as_nop
14553 ac_check_soname_save_LIBS=$LIBS
14554 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14558 /* Override any GCC internal prototype to avoid an error.
14559 Use char because int might match the return type of a GCC
14560 builtin and then its argument prototype would still apply. */
14561 char XcursorImageLoadCursor ();
14563 main (void)
14565 return XcursorImageLoadCursor ();
14567 return 0;
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"
14571 then :
14572 case "$LIBEXT" in
14573 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14574 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'` ;;
14575 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14576 if ${ac_cv_lib_soname_Xcursor:+false} :
14577 then :
14578 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14579 fi ;;
14580 esac
14581 else $as_nop
14582 ac_cv_lib_soname_Xcursor=
14584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14585 conftest$ac_exeext conftest.$ac_ext
14586 LIBS=$ac_check_soname_save_LIBS
14588 if ${ac_cv_lib_soname_Xcursor:+false} :
14589 then :
14590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14591 printf "%s\n" "not found" >&6; }
14593 else $as_nop
14594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14595 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14597 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14603 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14604 then :
14605 case "x$with_xcursor" in
14606 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14607 xno) ;;
14608 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14609 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14610 esac
14614 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14616 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14617 then :
14618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14619 printf %s "checking for -lXi... " >&6; }
14620 if test ${ac_cv_lib_soname_Xi+y}
14621 then :
14622 printf %s "(cached) " >&6
14623 else $as_nop
14624 ac_check_soname_save_LIBS=$LIBS
14625 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 char XOpenDevice ();
14634 main (void)
14636 return XOpenDevice ();
14638 return 0;
14640 _ACEOF
14641 if ac_fn_c_try_link "$LINENO"
14642 then :
14643 case "$LIBEXT" in
14644 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14645 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'` ;;
14646 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14647 if ${ac_cv_lib_soname_Xi:+false} :
14648 then :
14649 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14650 fi ;;
14651 esac
14652 else $as_nop
14653 ac_cv_lib_soname_Xi=
14655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14656 conftest$ac_exeext conftest.$ac_ext
14657 LIBS=$ac_check_soname_save_LIBS
14659 if ${ac_cv_lib_soname_Xi:+false} :
14660 then :
14661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14662 printf "%s\n" "not found" >&6; }
14664 else $as_nop
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14666 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14668 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14674 if test "x$ac_cv_lib_soname_Xi" = "x"
14675 then :
14676 case "x$with_xinput" in
14677 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14678 xno) ;;
14679 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14680 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14681 esac
14685 if test "x$ac_cv_lib_soname_Xi" != x
14686 then
14687 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14688 then :
14689 case "x$with_xinput2" in
14690 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14691 xno) ;;
14692 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14693 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14694 esac
14699 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14700 then
14701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14702 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14703 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14704 then :
14705 printf %s "(cached) " >&6
14706 else $as_nop
14707 ac_check_lib_save_LIBS=$LIBS
14708 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 char XShmQueryExtension ();
14717 main (void)
14719 return XShmQueryExtension ();
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_link "$LINENO"
14725 then :
14726 ac_cv_lib_Xext_XShmQueryExtension=yes
14727 else $as_nop
14728 ac_cv_lib_Xext_XShmQueryExtension=no
14730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14731 conftest$ac_exeext conftest.$ac_ext
14732 LIBS=$ac_check_lib_save_LIBS
14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14735 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14736 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14737 then :
14739 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14744 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14745 then :
14746 case "x$with_xshm" in
14747 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14748 xno) ;;
14749 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14750 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14751 esac
14755 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14756 then
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14758 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14759 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14760 then :
14761 printf %s "(cached) " >&6
14762 else $as_nop
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 char XShapeQueryExtension ();
14773 main (void)
14775 return XShapeQueryExtension ();
14777 return 0;
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"
14781 then :
14782 ac_cv_lib_Xext_XShapeQueryExtension=yes
14783 else $as_nop
14784 ac_cv_lib_Xext_XShapeQueryExtension=no
14786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14791 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14792 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14793 then :
14795 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14800 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14801 then :
14802 case "x$with_xshape" in
14803 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14804 xno) ;;
14805 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14806 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14807 esac
14811 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14812 then
14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14814 printf %s "checking for -lXxf86vm... " >&6; }
14815 if test ${ac_cv_lib_soname_Xxf86vm+y}
14816 then :
14817 printf %s "(cached) " >&6
14818 else $as_nop
14819 ac_check_soname_save_LIBS=$LIBS
14820 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 /* Override any GCC internal prototype to avoid an error.
14825 Use char because int might match the return type of a GCC
14826 builtin and then its argument prototype would still apply. */
14827 char XF86VidModeQueryExtension ();
14829 main (void)
14831 return XF86VidModeQueryExtension ();
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"
14837 then :
14838 case "$LIBEXT" in
14839 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14840 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'` ;;
14841 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14842 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14843 then :
14844 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14845 fi ;;
14846 esac
14847 else $as_nop
14848 ac_cv_lib_soname_Xxf86vm=
14850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14851 conftest$ac_exeext conftest.$ac_ext
14852 LIBS=$ac_check_soname_save_LIBS
14854 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14855 then :
14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14857 printf "%s\n" "not found" >&6; }
14859 else $as_nop
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14861 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14863 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14868 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14869 then :
14870 case "x$with_xxf86vm" in
14871 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14872 xno) ;;
14873 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14874 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14875 esac
14879 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14880 then
14881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14882 printf %s "checking for -lXrender... " >&6; }
14883 if test ${ac_cv_lib_soname_Xrender+y}
14884 then :
14885 printf %s "(cached) " >&6
14886 else $as_nop
14887 ac_check_soname_save_LIBS=$LIBS
14888 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14895 char XRenderQueryExtension ();
14897 main (void)
14899 return XRenderQueryExtension ();
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_link "$LINENO"
14905 then :
14906 case "$LIBEXT" in
14907 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14908 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'` ;;
14909 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14910 if ${ac_cv_lib_soname_Xrender:+false} :
14911 then :
14912 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14913 fi ;;
14914 esac
14915 else $as_nop
14916 ac_cv_lib_soname_Xrender=
14918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14919 conftest$ac_exeext conftest.$ac_ext
14920 LIBS=$ac_check_soname_save_LIBS
14922 if ${ac_cv_lib_soname_Xrender:+false} :
14923 then :
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14925 printf "%s\n" "not found" >&6; }
14927 else $as_nop
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14929 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14931 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14934 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14935 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14936 then :
14937 printf %s "(cached) " >&6
14938 else $as_nop
14939 ac_check_lib_save_LIBS=$LIBS
14940 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14947 char XRenderSetPictureTransform ();
14949 main (void)
14951 return XRenderSetPictureTransform ();
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"
14957 then :
14958 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14959 else $as_nop
14960 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14963 conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_lib_save_LIBS
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14967 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14968 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14969 then :
14971 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14976 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14977 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14978 then :
14979 printf %s "(cached) " >&6
14980 else $as_nop
14981 ac_check_lib_save_LIBS=$LIBS
14982 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14986 /* Override any GCC internal prototype to avoid an error.
14987 Use char because int might match the return type of a GCC
14988 builtin and then its argument prototype would still apply. */
14989 char XRenderCreateLinearGradient ();
14991 main (void)
14993 return XRenderCreateLinearGradient ();
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"
14999 then :
15000 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15001 else $as_nop
15002 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_check_lib_save_LIBS
15008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15009 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15010 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15011 then :
15013 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15020 if test "x$ac_cv_lib_soname_Xrender" = "x"
15021 then :
15022 case "x$with_xrender" in
15023 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15024 xno) ;;
15025 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15026 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15027 esac
15031 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15032 then
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 #include <X11/Xlib.h>
15036 #include <X11/extensions/Xrandr.h>
15038 main (void)
15040 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_compile "$LINENO"
15046 then :
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15048 printf %s "checking for -lXrandr... " >&6; }
15049 if test ${ac_cv_lib_soname_Xrandr+y}
15050 then :
15051 printf %s "(cached) " >&6
15052 else $as_nop
15053 ac_check_soname_save_LIBS=$LIBS
15054 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15058 /* Override any GCC internal prototype to avoid an error.
15059 Use char because int might match the return type of a GCC
15060 builtin and then its argument prototype would still apply. */
15061 char XRRQueryExtension ();
15063 main (void)
15065 return XRRQueryExtension ();
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"
15071 then :
15072 case "$LIBEXT" in
15073 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15074 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'` ;;
15075 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15076 if ${ac_cv_lib_soname_Xrandr:+false} :
15077 then :
15078 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15079 fi ;;
15080 esac
15081 else $as_nop
15082 ac_cv_lib_soname_Xrandr=
15084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_soname_save_LIBS
15088 if ${ac_cv_lib_soname_Xrandr:+false} :
15089 then :
15090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15091 printf "%s\n" "not found" >&6; }
15093 else $as_nop
15094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15095 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15097 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15101 #include <X11/Xlib.h>
15102 #include <X11/extensions/Xrandr.h>
15104 main (void)
15106 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15108 return 0;
15110 _ACEOF
15111 if ac_fn_c_try_compile "$LINENO"
15112 then :
15114 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15116 else $as_nop
15117 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15124 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15125 then :
15126 case "x$with_xrandr" in
15127 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15130 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15131 esac
15135 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15136 then
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139 #include <X11/Xlib.h>
15140 #include <X11/extensions/Xfixes.h>
15142 main (void)
15144 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_compile "$LINENO"
15150 then :
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15152 printf %s "checking for -lXfixes... " >&6; }
15153 if test ${ac_cv_lib_soname_Xfixes+y}
15154 then :
15155 printf %s "(cached) " >&6
15156 else $as_nop
15157 ac_check_soname_save_LIBS=$LIBS
15158 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 char XFixesQueryVersion ();
15167 main (void)
15169 return XFixesQueryVersion ();
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"
15175 then :
15176 case "$LIBEXT" in
15177 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15178 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'` ;;
15179 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15180 if ${ac_cv_lib_soname_Xfixes:+false} :
15181 then :
15182 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15183 fi ;;
15184 esac
15185 else $as_nop
15186 ac_cv_lib_soname_Xfixes=
15188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15189 conftest$ac_exeext conftest.$ac_ext
15190 LIBS=$ac_check_soname_save_LIBS
15192 if ${ac_cv_lib_soname_Xfixes:+false} :
15193 then :
15194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15195 printf "%s\n" "not found" >&6; }
15197 else $as_nop
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15199 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15201 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15208 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15209 then :
15210 case "x$with_xfixes" in
15211 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15212 xno) ;;
15213 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15214 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15215 esac
15219 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15220 then
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #include <X11/Xlib.h>
15224 #include <X11/extensions/Xinerama.h>
15226 main (void)
15228 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15230 return 0;
15232 _ACEOF
15233 if ac_fn_c_try_compile "$LINENO"
15234 then :
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15236 printf %s "checking for -lXinerama... " >&6; }
15237 if test ${ac_cv_lib_soname_Xinerama+y}
15238 then :
15239 printf %s "(cached) " >&6
15240 else $as_nop
15241 ac_check_soname_save_LIBS=$LIBS
15242 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15246 /* Override any GCC internal prototype to avoid an error.
15247 Use char because int might match the return type of a GCC
15248 builtin and then its argument prototype would still apply. */
15249 char XineramaQueryScreens ();
15251 main (void)
15253 return XineramaQueryScreens ();
15255 return 0;
15257 _ACEOF
15258 if ac_fn_c_try_link "$LINENO"
15259 then :
15260 case "$LIBEXT" in
15261 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15262 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'` ;;
15263 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15264 if ${ac_cv_lib_soname_Xinerama:+false} :
15265 then :
15266 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15267 fi ;;
15268 esac
15269 else $as_nop
15270 ac_cv_lib_soname_Xinerama=
15272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15273 conftest$ac_exeext conftest.$ac_ext
15274 LIBS=$ac_check_soname_save_LIBS
15276 if ${ac_cv_lib_soname_Xinerama:+false} :
15277 then :
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15279 printf "%s\n" "not found" >&6; }
15281 else $as_nop
15282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15283 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15285 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15292 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15293 then :
15294 case "x$with_xinerama" in
15295 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15296 xno) ;;
15297 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15298 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15299 esac
15303 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15305 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15306 then :
15307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15308 printf %s "checking for -lXcomposite... " >&6; }
15309 if test ${ac_cv_lib_soname_Xcomposite+y}
15310 then :
15311 printf %s "(cached) " >&6
15312 else $as_nop
15313 ac_check_soname_save_LIBS=$LIBS
15314 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15321 char XCompositeRedirectWindow ();
15323 main (void)
15325 return XCompositeRedirectWindow ();
15327 return 0;
15329 _ACEOF
15330 if ac_fn_c_try_link "$LINENO"
15331 then :
15332 case "$LIBEXT" in
15333 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15334 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'` ;;
15335 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15336 if ${ac_cv_lib_soname_Xcomposite:+false} :
15337 then :
15338 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15339 fi ;;
15340 esac
15341 else $as_nop
15342 ac_cv_lib_soname_Xcomposite=
15344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15345 conftest$ac_exeext conftest.$ac_ext
15346 LIBS=$ac_check_soname_save_LIBS
15348 if ${ac_cv_lib_soname_Xcomposite:+false} :
15349 then :
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15351 printf "%s\n" "not found" >&6; }
15353 else $as_nop
15354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15355 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15357 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15363 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15364 then :
15365 case "x$with_xcomposite" in
15366 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15367 xno) ;;
15368 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15369 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15370 esac
15374 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15376 if test "x$ac_cv_member_XICCallback_callback" = xyes
15377 then :
15379 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15383 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15385 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15386 then :
15388 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15395 opengl_msg=""
15396 if test "x$with_opengl" != "xno"
15397 then
15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15399 printf %s "checking for -lGL... " >&6; }
15400 if test ${ac_cv_lib_soname_GL+y}
15401 then :
15402 printf %s "(cached) " >&6
15403 else $as_nop
15404 ac_check_soname_save_LIBS=$LIBS
15405 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 char glXCreateContext ();
15414 main (void)
15416 return glXCreateContext ();
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_link "$LINENO"
15422 then :
15423 case "$LIBEXT" in
15424 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15425 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'` ;;
15426 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15427 if ${ac_cv_lib_soname_GL:+false} :
15428 then :
15429 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15430 fi ;;
15431 esac
15432 else $as_nop
15433 ac_cv_lib_soname_GL=
15435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_soname_save_LIBS
15439 if ${ac_cv_lib_soname_GL:+false} :
15440 then :
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15442 printf "%s\n" "not found" >&6; }
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15444 printf %s "checking for -lGL... " >&6; }
15445 if test ${ac_cv_lib_soname_GL+y}
15446 then :
15447 printf %s "(cached) " >&6
15448 else $as_nop
15449 ac_check_soname_save_LIBS=$LIBS
15450 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"
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 char glXCreateContext ();
15459 main (void)
15461 return glXCreateContext ();
15463 return 0;
15465 _ACEOF
15466 if ac_fn_c_try_link "$LINENO"
15467 then :
15468 case "$LIBEXT" in
15469 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15470 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'` ;;
15471 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15472 if ${ac_cv_lib_soname_GL:+false} :
15473 then :
15474 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15475 fi ;;
15476 esac
15477 else $as_nop
15478 ac_cv_lib_soname_GL=
15480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15481 conftest$ac_exeext conftest.$ac_ext
15482 LIBS=$ac_check_soname_save_LIBS
15484 if ${ac_cv_lib_soname_GL:+false} :
15485 then :
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15487 printf "%s\n" "not found" >&6; }
15488 if test -f /usr/X11R6/lib/libGL.a
15489 then
15490 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15491 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15492 else
15493 opengl_msg="No OpenGL library found on this system."
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="-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"
15503 else $as_nop
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15505 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15507 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15509 OPENGL_LIBS="-lGL"
15511 if test "x$with_osmesa" != "xno"
15512 then
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15514 printf %s "checking for -lOSMesa... " >&6; }
15515 if test ${ac_cv_lib_soname_OSMesa+y}
15516 then :
15517 printf %s "(cached) " >&6
15518 else $as_nop
15519 ac_check_soname_save_LIBS=$LIBS
15520 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 char OSMesaGetProcAddress ();
15529 main (void)
15531 return OSMesaGetProcAddress ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"
15537 then :
15538 case "$LIBEXT" in
15539 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15542 if ${ac_cv_lib_soname_OSMesa:+false} :
15543 then :
15544 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15545 fi ;;
15546 esac
15547 else $as_nop
15548 ac_cv_lib_soname_OSMesa=
15550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15551 conftest$ac_exeext conftest.$ac_ext
15552 LIBS=$ac_check_soname_save_LIBS
15554 if ${ac_cv_lib_soname_OSMesa:+false} :
15555 then :
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15557 printf "%s\n" "not found" >&6; }
15559 else $as_nop
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15561 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15563 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15567 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15568 then :
15569 case "x$with_osmesa" in
15570 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15571 xno) ;;
15572 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15573 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15574 esac
15579 if test -n "$opengl_msg"
15580 then :
15581 case "x$with_opengl" in
15582 x) as_fn_append wine_warnings "|$opengl_msg
15583 OpenGL and Direct3D won't be supported." ;;
15584 xno) ;;
15585 *) as_fn_error $? "$opengl_msg
15586 OpenGL and Direct3D won't be supported.
15587 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15588 esac
15592 CPPFLAGS="$ac_save_CPPFLAGS"
15593 else
15594 X_CFLAGS=""
15595 X_LIBS=""
15598 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15599 then
15600 if test "x$X_LIBS" = "x"
15601 then :
15602 case "x$with_x" in
15603 xno) ;;
15604 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15605 without X support, which probably isn't what you want. You will need
15606 to install ${notice_platform}development packages of Xlib at the very least.
15607 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15608 esac
15609 enable_winex11_drv=${enable_winex11_drv:-no}
15611 else
15612 if test "x$X_LIBS" = "x"
15613 then :
15614 case "x$with_x" in
15615 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15616 xno) ;;
15617 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15618 This is an error since --with-x was requested." "$LINENO" 5 ;;
15619 esac
15620 enable_winex11_drv=${enable_winex11_drv:-no}
15624 if test "x$with_wayland" != "xno"
15625 then
15626 rm -f conftest.err
15627 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15628 then :
15629 if test ${PKG_CONFIG+y}
15630 then :
15631 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15635 if ${WAYLAND_CLIENT_LIBS:+false} :
15636 then :
15637 if test ${PKG_CONFIG+y}
15638 then :
15639 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15646 if test -s conftest.err; then
15647 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15648 cat conftest.err >&5
15650 rm -f conftest.err
15651 ac_save_CPPFLAGS=$CPPFLAGS
15652 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15653 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15654 if test "x$ac_cv_header_wayland_client_h" = xyes
15655 then :
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15657 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15658 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15659 then :
15660 printf %s "(cached) " >&6
15661 else $as_nop
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char wl_display_connect ();
15672 main (void)
15674 return wl_display_connect ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"
15680 then :
15681 ac_cv_lib_wayland_client_wl_display_connect=yes
15682 else $as_nop
15683 ac_cv_lib_wayland_client_wl_display_connect=no
15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_lib_save_LIBS
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15690 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15691 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15692 then :
15693 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15694 set dummy wayland-scanner; ac_word=$2
15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15696 printf %s "checking for $ac_word... " >&6; }
15697 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15698 then :
15699 printf %s "(cached) " >&6
15700 else $as_nop
15701 case $WAYLAND_SCANNER in
15702 [\\/]* | ?:[\\/]*)
15703 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15707 for as_dir in $PATH
15709 IFS=$as_save_IFS
15710 case $as_dir in #(((
15711 '') as_dir=./ ;;
15712 */) ;;
15713 *) as_dir=$as_dir/ ;;
15714 esac
15715 for ac_exec_ext in '' $ac_executable_extensions; do
15716 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15717 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15719 break 2
15721 done
15722 done
15723 IFS=$as_save_IFS
15725 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15727 esac
15729 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15730 if test -n "$WAYLAND_SCANNER"; then
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15732 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15733 else
15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15735 printf "%s\n" "no" >&6; }
15739 else $as_nop
15740 WAYLAND_CLIENT_LIBS=""
15745 CPPFLAGS=$ac_save_CPPFLAGS
15748 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
15749 then :
15750 case "x$with_wayland" in
15751 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15752 xno) ;;
15753 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15754 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15755 esac
15756 enable_winewayland_drv=${enable_winewayland_drv:-no}
15759 if test "$ac_cv_header_CL_cl_h" = "yes"
15760 then
15761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15762 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15763 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15764 then :
15765 printf %s "(cached) " >&6
15766 else $as_nop
15767 ac_check_lib_save_LIBS=$LIBS
15768 LIBS="-lOpenCL $LIBS"
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15775 char clGetPlatformInfo ();
15777 main (void)
15779 return clGetPlatformInfo ();
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_link "$LINENO"
15785 then :
15786 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15787 else $as_nop
15788 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15795 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15796 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15797 then :
15798 OPENCL_LIBS="-lOpenCL"
15803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15804 then :
15805 case "x$with_opencl" in
15806 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15807 xno) ;;
15808 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15809 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15810 esac
15811 enable_opencl=${enable_opencl:-no}
15814 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15815 then
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15817 printf %s "checking for pcap_init in -lpcap... " >&6; }
15818 if test ${ac_cv_lib_pcap_pcap_init+y}
15819 then :
15820 printf %s "(cached) " >&6
15821 else $as_nop
15822 ac_check_lib_save_LIBS=$LIBS
15823 LIBS="-lpcap $LIBS"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15830 char pcap_init ();
15832 main (void)
15834 return pcap_init ();
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_link "$LINENO"
15840 then :
15841 ac_cv_lib_pcap_pcap_init=yes
15842 else $as_nop
15843 ac_cv_lib_pcap_pcap_init=no
15845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15846 conftest$ac_exeext conftest.$ac_ext
15847 LIBS=$ac_check_lib_save_LIBS
15849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15850 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15851 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15852 then :
15853 PCAP_LIBS="-lpcap"
15858 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15859 then :
15860 case "x$with_pcap" in
15861 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15862 xno) ;;
15863 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15864 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15865 esac
15866 enable_wpcap=${enable_wpcap:-no}
15869 if test "x$with_pcsclite" != "xno"
15870 then
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15872 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15873 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15874 then :
15875 printf %s "(cached) " >&6
15876 else $as_nop
15877 ac_check_lib_save_LIBS=$LIBS
15878 LIBS="-lpcsclite $LIBS"
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15882 /* Override any GCC internal prototype to avoid an error.
15883 Use char because int might match the return type of a GCC
15884 builtin and then its argument prototype would still apply. */
15885 char SCardEstablishContext ();
15887 main (void)
15889 return SCardEstablishContext ();
15891 return 0;
15893 _ACEOF
15894 if ac_fn_c_try_link "$LINENO"
15895 then :
15896 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15897 else $as_nop
15898 ac_cv_lib_pcsclite_SCardEstablishContext=no
15900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_lib_save_LIBS
15904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15905 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15906 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15907 then :
15908 PCSCLITE_LIBS="-lpcsclite"
15910 else $as_nop
15911 case $host_os in
15912 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15914 esac
15918 if test "x$PCSCLITE_LIBS" = x
15919 then :
15920 case "x$with_pcsclite" in
15921 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15922 xno) ;;
15923 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15924 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15925 esac
15926 enable_winscard=${enable_winscard:-no}
15929 if test "x$with_inotify" != "xno"
15930 then
15931 rm -f conftest.err
15932 if ${INOTIFY_CFLAGS:+false} :
15933 then :
15934 if test ${PKG_CONFIG+y}
15935 then :
15936 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15940 if ${INOTIFY_LIBS:+false} :
15941 then :
15942 if test ${PKG_CONFIG+y}
15943 then :
15944 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15951 if test -s conftest.err; then
15952 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15953 cat conftest.err >&5
15955 rm -f conftest.err
15956 ac_save_CPPFLAGS=$CPPFLAGS
15957 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15958 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15959 if test "x$ac_cv_header_sys_inotify_h" = xyes
15960 then :
15961 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15966 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15967 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15968 then :
15969 printf %s "(cached) " >&6
15970 else $as_nop
15971 ac_check_lib_save_LIBS=$LIBS
15972 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15979 char inotify_add_watch ();
15981 main (void)
15983 return inotify_add_watch ();
15985 return 0;
15987 _ACEOF
15988 if ac_fn_c_try_link "$LINENO"
15989 then :
15990 ac_cv_lib_inotify_inotify_add_watch=yes
15991 else $as_nop
15992 ac_cv_lib_inotify_inotify_add_watch=no
15994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15995 conftest$ac_exeext conftest.$ac_ext
15996 LIBS=$ac_check_lib_save_LIBS
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15999 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16000 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16001 then :
16003 else $as_nop
16004 INOTIFY_LIBS=""
16007 CPPFLAGS=$ac_save_CPPFLAGS
16010 if test "$ac_cv_header_sys_inotify_h" != "yes"
16011 then :
16012 case "x$with_inotify" in
16013 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16014 xno) ;;
16015 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16016 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16017 esac
16021 if test "x$with_dbus" != "xno"
16022 then
16023 rm -f conftest.err
16024 if ${DBUS_CFLAGS:+false} :
16025 then :
16026 if test ${PKG_CONFIG+y}
16027 then :
16028 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16032 if ${DBUS_LIBS:+false} :
16033 then :
16034 if test ${PKG_CONFIG+y}
16035 then :
16036 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16043 if test -s conftest.err; then
16044 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16045 cat conftest.err >&5
16047 rm -f conftest.err
16048 ac_save_CPPFLAGS=$CPPFLAGS
16049 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16050 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16051 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16052 then :
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16054 printf %s "checking for -ldbus-1... " >&6; }
16055 if test ${ac_cv_lib_soname_dbus_1+y}
16056 then :
16057 printf %s "(cached) " >&6
16058 else $as_nop
16059 ac_check_soname_save_LIBS=$LIBS
16060 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 char dbus_connection_close ();
16069 main (void)
16071 return dbus_connection_close ();
16073 return 0;
16075 _ACEOF
16076 if ac_fn_c_try_link "$LINENO"
16077 then :
16078 case "$LIBEXT" in
16079 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16080 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'` ;;
16081 *) 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'`
16082 if ${ac_cv_lib_soname_dbus_1:+false} :
16083 then :
16084 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16085 fi ;;
16086 esac
16087 else $as_nop
16088 ac_cv_lib_soname_dbus_1=
16090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16091 conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_soname_save_LIBS
16094 if ${ac_cv_lib_soname_dbus_1:+false} :
16095 then :
16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16097 printf "%s\n" "not found" >&6; }
16098 DBUS_CFLAGS=""
16099 else $as_nop
16100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16101 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16103 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16107 else $as_nop
16108 DBUS_CFLAGS=""
16111 CPPFLAGS=$ac_save_CPPFLAGS
16114 case $host_os in
16115 darwin*|macosx*) ;;
16116 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16117 then :
16118 case "x$with_dbus" in
16119 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16120 xno) ;;
16121 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16122 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16123 esac
16125 fi ;;
16126 esac
16128 if test "x$with_gnutls" != "xno"
16129 then
16130 rm -f conftest.err
16131 if ${GNUTLS_CFLAGS:+false} :
16132 then :
16133 if test ${PKG_CONFIG+y}
16134 then :
16135 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16139 if ${GNUTLS_LIBS:+false} :
16140 then :
16141 if test ${PKG_CONFIG+y}
16142 then :
16143 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16147 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16150 if test -s conftest.err; then
16151 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16152 cat conftest.err >&5
16154 rm -f conftest.err
16155 ac_save_CPPFLAGS=$CPPFLAGS
16156 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16157 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16158 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16159 then :
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16162 #include <gnutls/gnutls.h>
16163 #include <gnutls/crypto.h>
16165 main (void)
16167 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_compile "$LINENO"
16173 then :
16174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16175 printf %s "checking for -lgnutls... " >&6; }
16176 if test ${ac_cv_lib_soname_gnutls+y}
16177 then :
16178 printf %s "(cached) " >&6
16179 else $as_nop
16180 ac_check_soname_save_LIBS=$LIBS
16181 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16185 /* Override any GCC internal prototype to avoid an error.
16186 Use char because int might match the return type of a GCC
16187 builtin and then its argument prototype would still apply. */
16188 char gnutls_global_init ();
16190 main (void)
16192 return gnutls_global_init ();
16194 return 0;
16196 _ACEOF
16197 if ac_fn_c_try_link "$LINENO"
16198 then :
16199 case "$LIBEXT" in
16200 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16201 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'` ;;
16202 *) 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'`
16203 if ${ac_cv_lib_soname_gnutls:+false} :
16204 then :
16205 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'`
16206 fi ;;
16207 esac
16208 else $as_nop
16209 ac_cv_lib_soname_gnutls=
16211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16212 conftest$ac_exeext conftest.$ac_ext
16213 LIBS=$ac_check_soname_save_LIBS
16215 if ${ac_cv_lib_soname_gnutls:+false} :
16216 then :
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16218 printf "%s\n" "not found" >&6; }
16219 GNUTLS_CFLAGS=""
16220 else $as_nop
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16222 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16224 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16228 ac_wine_check_funcs_save_LIBS="$LIBS"
16229 LIBS="$LIBS $GNUTLS_LIBS"
16231 for ac_func in gnutls_cipher_init
16232 do :
16233 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16234 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16235 then :
16236 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16238 else $as_nop
16239 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16242 done
16243 LIBS="$ac_wine_check_funcs_save_LIBS"
16245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16246 else $as_nop
16247 GNUTLS_CFLAGS=""
16250 CPPFLAGS=$ac_save_CPPFLAGS
16253 if test "x$ac_cv_lib_soname_gnutls" = "x"
16254 then :
16255 case "x$with_gnutls" in
16256 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16257 xno) ;;
16258 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16259 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16260 esac
16264 if test "x$with_sane" != "xno"
16265 then
16266 rm -f conftest.err
16267 if ${SANE_CFLAGS:+false} :
16268 then :
16269 if test ${PKG_CONFIG+y}
16270 then :
16271 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16274 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16275 if ${SANE_LIBS:+false} :
16276 then :
16277 if test ${PKG_CONFIG+y}
16278 then :
16279 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16282 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16286 if test -s conftest.err; then
16287 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16288 cat conftest.err >&5
16290 rm -f conftest.err
16291 ac_save_CPPFLAGS=$CPPFLAGS
16292 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16293 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16294 if test "x$ac_cv_header_sane_sane_h" = xyes
16295 then :
16296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16297 printf %s "checking for sane_init in -lsane... " >&6; }
16298 if test ${ac_cv_lib_sane_sane_init+y}
16299 then :
16300 printf %s "(cached) " >&6
16301 else $as_nop
16302 ac_check_lib_save_LIBS=$LIBS
16303 LIBS="-lsane $SANE_LIBS $LIBS"
16304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16307 /* Override any GCC internal prototype to avoid an error.
16308 Use char because int might match the return type of a GCC
16309 builtin and then its argument prototype would still apply. */
16310 char sane_init ();
16312 main (void)
16314 return sane_init ();
16316 return 0;
16318 _ACEOF
16319 if ac_fn_c_try_link "$LINENO"
16320 then :
16321 ac_cv_lib_sane_sane_init=yes
16322 else $as_nop
16323 ac_cv_lib_sane_sane_init=no
16325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16326 conftest$ac_exeext conftest.$ac_ext
16327 LIBS=$ac_check_lib_save_LIBS
16329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16330 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16331 if test "x$ac_cv_lib_sane_sane_init" = xyes
16332 then :
16338 CPPFLAGS=$ac_save_CPPFLAGS
16341 if test "$ac_cv_lib_sane_sane_init" != "yes"
16342 then :
16343 case "x$with_sane" in
16344 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16347 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_sane_ds=${enable_sane_ds:-no}
16352 if test "x$with_usb" != "xno"
16353 then
16354 rm -f conftest.err
16355 if ${USB_CFLAGS:+false} :
16356 then :
16357 if test ${PKG_CONFIG+y}
16358 then :
16359 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16363 if ${USB_LIBS:+false} :
16364 then :
16365 if test ${PKG_CONFIG+y}
16366 then :
16367 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16371 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16374 if test -s conftest.err; then
16375 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16376 cat conftest.err >&5
16378 rm -f conftest.err
16379 ac_save_CPPFLAGS=$CPPFLAGS
16380 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16381 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_libusb_h" = xyes
16383 then :
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16385 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16386 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16387 then :
16388 printf %s "(cached) " >&6
16389 else $as_nop
16390 ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 char libusb_interrupt_event_handler ();
16400 main (void)
16402 return libusb_interrupt_event_handler ();
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"
16408 then :
16409 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16410 else $as_nop
16411 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16414 conftest$ac_exeext conftest.$ac_ext
16415 LIBS=$ac_check_lib_save_LIBS
16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16418 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16419 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16420 then :
16422 else $as_nop
16423 USB_LIBS=""
16426 else $as_nop
16427 USB_LIBS=""
16430 CPPFLAGS=$ac_save_CPPFLAGS
16433 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16434 then :
16435 case "x$with_usb" in
16436 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16437 xno) ;;
16438 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16439 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16440 esac
16441 enable_wineusb_sys=${enable_wineusb_sys:-no}
16444 if test "x$with_v4l2" != "xno"
16445 then
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16447 printf %s "checking for -lv4l2... " >&6; }
16448 if test ${ac_cv_lib_soname_v4l2+y}
16449 then :
16450 printf %s "(cached) " >&6
16451 else $as_nop
16452 ac_check_soname_save_LIBS=$LIBS
16453 LIBS="-lv4l2 $LIBS"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 char v4l2_open ();
16462 main (void)
16464 return v4l2_open ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"
16470 then :
16471 case "$LIBEXT" in
16472 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16473 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'` ;;
16474 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16475 if ${ac_cv_lib_soname_v4l2:+false} :
16476 then :
16477 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16478 fi ;;
16479 esac
16480 else $as_nop
16481 ac_cv_lib_soname_v4l2=
16483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_soname_save_LIBS
16487 if ${ac_cv_lib_soname_v4l2:+false} :
16488 then :
16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16490 printf "%s\n" "not found" >&6; }
16492 else $as_nop
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16494 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16496 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16501 if test "x$ac_cv_lib_soname_v4l2" = "x"
16502 then :
16503 case "x$with_v4l2" in
16504 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16505 xno) ;;
16506 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16507 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16508 esac
16512 if test "x$with_gphoto" != "xno"
16513 then
16514 rm -f conftest.err
16515 if ${GPHOTO2_CFLAGS:+false} :
16516 then :
16517 if test ${PKG_CONFIG+y}
16518 then :
16519 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16522 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16523 if ${GPHOTO2_LIBS:+false} :
16524 then :
16525 if test ${PKG_CONFIG+y}
16526 then :
16527 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16530 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16531 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16534 if test -s conftest.err; then
16535 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16536 cat conftest.err >&5
16538 rm -f conftest.err
16539 ac_save_CPPFLAGS=$CPPFLAGS
16540 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16541 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16542 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16543 then :
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16545 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16546 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16547 then :
16548 printf %s "(cached) " >&6
16549 else $as_nop
16550 ac_check_lib_save_LIBS=$LIBS
16551 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16558 char gp_camera_new ();
16560 main (void)
16562 return gp_camera_new ();
16564 return 0;
16566 _ACEOF
16567 if ac_fn_c_try_link "$LINENO"
16568 then :
16569 ac_cv_lib_gphoto2_gp_camera_new=yes
16570 else $as_nop
16571 ac_cv_lib_gphoto2_gp_camera_new=no
16573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16578 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16579 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16580 then :
16586 CPPFLAGS=$ac_save_CPPFLAGS
16588 rm -f conftest.err
16589 if ${GPHOTO2_PORT_CFLAGS:+false} :
16590 then :
16591 if test ${PKG_CONFIG+y}
16592 then :
16593 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16596 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16597 if ${GPHOTO2_PORT_LIBS:+false} :
16598 then :
16599 if test ${PKG_CONFIG+y}
16600 then :
16601 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16605 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16608 if test -s conftest.err; then
16609 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16610 cat conftest.err >&5
16612 rm -f conftest.err
16613 ac_save_CPPFLAGS=$CPPFLAGS
16614 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16615 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16616 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16617 then :
16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16619 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16620 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16621 then :
16622 printf %s "(cached) " >&6
16623 else $as_nop
16624 ac_check_lib_save_LIBS=$LIBS
16625 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16629 /* Override any GCC internal prototype to avoid an error.
16630 Use char because int might match the return type of a GCC
16631 builtin and then its argument prototype would still apply. */
16632 char gp_port_info_list_new ();
16634 main (void)
16636 return gp_port_info_list_new ();
16638 return 0;
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"
16642 then :
16643 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16644 else $as_nop
16645 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16648 conftest$ac_exeext conftest.$ac_ext
16649 LIBS=$ac_check_lib_save_LIBS
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16652 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16653 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16654 then :
16656 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16658 else $as_nop
16659 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16662 else $as_nop
16663 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16666 CPPFLAGS=$ac_save_CPPFLAGS
16669 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16670 then :
16671 case "x$with_gphoto" in
16672 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16673 xno) ;;
16674 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16675 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16676 esac
16677 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16679 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16680 then :
16681 case "x$with_gphoto" in
16682 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16683 xno) ;;
16684 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16685 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16686 esac
16691 if test "$ac_cv_header_resolv_h" = "yes"
16692 then
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16694 printf %s "checking for resolver library... " >&6; }
16695 if test ${ac_cv_have_resolv+y}
16696 then :
16697 printf %s "(cached) " >&6
16698 else $as_nop
16699 ac_save_LIBS="$LIBS"
16700 for lib in '' -lresolv
16702 LIBS="$lib $ac_save_LIBS"
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #ifdef HAVE_NETINET_IN_H
16706 #include <netinet/in.h>
16707 #endif
16708 #include <resolv.h>
16710 main (void)
16712 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16714 return 0;
16716 _ACEOF
16717 if ac_fn_c_try_link "$LINENO"
16718 then :
16719 ac_cv_have_resolv=${lib:-"none required"}
16720 else $as_nop
16721 ac_cv_have_resolv="not found"
16723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16724 conftest$ac_exeext conftest.$ac_ext
16725 test "x$ac_cv_have_resolv" = "xnot found" || break
16726 done
16727 LIBS="$ac_save_LIBS"
16729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16730 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16732 case "$ac_cv_have_resolv" in
16733 "not found") ;;
16734 "none required")
16736 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16739 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16741 RESOLV_LIBS=$ac_cv_have_resolv
16743 esac
16745 if test "x$ac_cv_have_resolv" != "xnot found"
16746 then
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16748 printf %s "checking for res_getservers... " >&6; }
16749 if test ${ac_cv_have_res_getservers+y}
16750 then :
16751 printf %s "(cached) " >&6
16752 else $as_nop
16753 ac_save_LIBS="$LIBS"
16754 LIBS="$RESOLV_LIBS $LIBS"
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <resolv.h>
16759 main (void)
16761 res_getservers(NULL, NULL, 0);
16763 return 0;
16765 _ACEOF
16766 if ac_fn_c_try_link "$LINENO"
16767 then :
16768 ac_cv_have_res_getservers=yes
16769 else $as_nop
16770 ac_cv_have_res_getservers=no
16772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS="$ac_save_LIBS"
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16777 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16778 if test "$ac_cv_have_res_getservers" = "yes"
16779 then
16781 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16787 if test "x$with_freetype" != "xno"
16788 then
16789 rm -f conftest.err
16790 if ${FREETYPE_CFLAGS:+false} :
16791 then :
16792 if test ${PKG_CONFIG+y}
16793 then :
16794 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16797 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16798 if ${FREETYPE_LIBS:+false} :
16799 then :
16800 if test ${PKG_CONFIG+y}
16801 then :
16802 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16805 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16806 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16809 if test -s conftest.err; then
16810 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16811 cat conftest.err >&5
16813 rm -f conftest.err
16814 ac_save_CPPFLAGS=$CPPFLAGS
16815 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16816 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16817 if test "x$ac_cv_header_ft2build_h" = xyes
16818 then :
16819 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16823 if test "$ac_cv_header_ft2build_h" = "yes"
16824 then
16825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16826 printf %s "checking for -lfreetype... " >&6; }
16827 if test ${ac_cv_lib_soname_freetype+y}
16828 then :
16829 printf %s "(cached) " >&6
16830 else $as_nop
16831 ac_check_soname_save_LIBS=$LIBS
16832 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16836 /* Override any GCC internal prototype to avoid an error.
16837 Use char because int might match the return type of a GCC
16838 builtin and then its argument prototype would still apply. */
16839 char FT_Init_FreeType ();
16841 main (void)
16843 return FT_Init_FreeType ();
16845 return 0;
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"
16849 then :
16850 case "$LIBEXT" in
16851 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16852 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'` ;;
16853 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16854 if ${ac_cv_lib_soname_freetype:+false} :
16855 then :
16856 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16857 fi ;;
16858 esac
16859 else $as_nop
16860 ac_cv_lib_soname_freetype=
16862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16863 conftest$ac_exeext conftest.$ac_ext
16864 LIBS=$ac_check_soname_save_LIBS
16866 if ${ac_cv_lib_soname_freetype:+false} :
16867 then :
16868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16869 printf "%s\n" "not found" >&6; }
16870 FREETYPE_LIBS=""
16871 else $as_nop
16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16873 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16875 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16878 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16880 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16881 #include FT_MODULE_H
16883 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16884 then :
16886 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16892 else
16893 FREETYPE_CFLAGS=""
16894 FREETYPE_LIBS=""
16896 CPPFLAGS=$ac_save_CPPFLAGS
16899 if test "x$ac_cv_lib_soname_freetype" = x
16900 then :
16901 case "x$with_freetype" in
16902 xno) ;;
16903 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16904 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16905 esac
16906 enable_fonts=${enable_fonts:-no}
16909 ac_wine_check_funcs_save_LIBS="$LIBS"
16910 LIBS="$LIBS $PTHREAD_LIBS"
16911 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16912 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16913 then :
16914 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16918 LIBS="$ac_wine_check_funcs_save_LIBS"
16920 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16921 then
16922 if test "$ac_cv_header_gettext_po_h" = "yes"
16923 then
16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16925 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16926 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16927 then :
16928 printf %s "(cached) " >&6
16929 else $as_nop
16930 ac_check_lib_save_LIBS=$LIBS
16931 LIBS="-lgettextpo $LIBS"
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16935 /* Override any GCC internal prototype to avoid an error.
16936 Use char because int might match the return type of a GCC
16937 builtin and then its argument prototype would still apply. */
16938 char po_message_msgctxt ();
16940 main (void)
16942 return po_message_msgctxt ();
16944 return 0;
16946 _ACEOF
16947 if ac_fn_c_try_link "$LINENO"
16948 then :
16949 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16950 else $as_nop
16951 ac_cv_lib_gettextpo_po_message_msgctxt=no
16953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16954 conftest$ac_exeext conftest.$ac_ext
16955 LIBS=$ac_check_lib_save_LIBS
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16958 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16959 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16960 then :
16962 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16964 GETTEXTPO_LIBS="-lgettextpo"
16969 if test "x$GETTEXTPO_LIBS" = "x"
16970 then :
16971 case "x$with_gettextpo" in
16972 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16973 xno) ;;
16974 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16975 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16976 esac
16979 if test "$srcdir" != .
16980 then :
16981 case "x$with_gettextpo" in
16982 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16983 xno) ;;
16984 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16985 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16986 esac
16991 if test "x$with_pulse" != "xno";
16992 then
16993 rm -f conftest.err
16994 if ${PULSE_CFLAGS:+false} :
16995 then :
16996 if test ${PKG_CONFIG+y}
16997 then :
16998 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17002 if ${PULSE_LIBS:+false} :
17003 then :
17004 if test ${PKG_CONFIG+y}
17005 then :
17006 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17013 if test -s conftest.err; then
17014 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17015 cat conftest.err >&5
17017 rm -f conftest.err
17018 ac_save_CPPFLAGS=$CPPFLAGS
17019 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17020 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17021 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17022 then :
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17024 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17025 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17026 then :
17027 printf %s "(cached) " >&6
17028 else $as_nop
17029 ac_check_lib_save_LIBS=$LIBS
17030 LIBS="-lpulse $PULSE_LIBS $LIBS"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char pa_stream_is_corked ();
17039 main (void)
17041 return pa_stream_is_corked ();
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"
17047 then :
17048 ac_cv_lib_pulse_pa_stream_is_corked=yes
17049 else $as_nop
17050 ac_cv_lib_pulse_pa_stream_is_corked=no
17052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17053 conftest$ac_exeext conftest.$ac_ext
17054 LIBS=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17057 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17058 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17059 then :
17061 else $as_nop
17062 PULSE_LIBS=""
17065 else $as_nop
17066 PULSE_LIBS=""
17069 CPPFLAGS=$ac_save_CPPFLAGS
17072 if test -z "$PULSE_LIBS"
17073 then :
17074 case "x$with_pulse" in
17075 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17076 xno) ;;
17077 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17078 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17079 esac
17080 enable_winepulse_drv=${enable_winepulse_drv:-no}
17083 if test "x$with_gstreamer" != "xno"
17084 then
17085 rm -f conftest.err
17086 if ${GSTREAMER_CFLAGS:+false} :
17087 then :
17088 if test ${PKG_CONFIG+y}
17089 then :
17090 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17094 if ${GSTREAMER_LIBS:+false} :
17095 then :
17096 if test ${PKG_CONFIG+y}
17097 then :
17098 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17103 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
17104 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
17105 if test -s conftest.err; then
17106 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17107 cat conftest.err >&5
17109 rm -f conftest.err
17110 ac_save_CPPFLAGS=$CPPFLAGS
17111 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17112 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17113 if test "x$ac_cv_header_gst_gst_h" = xyes
17114 then :
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17116 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <gst/gst.h>
17121 main (void)
17123 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17125 return 0;
17127 _ACEOF
17128 if ac_fn_c_try_compile "$LINENO"
17129 then :
17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17131 printf "%s\n" "yes" >&6; }
17132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17133 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17134 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17135 then :
17136 printf %s "(cached) " >&6
17137 else $as_nop
17138 ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17143 /* Override any GCC internal prototype to avoid an error.
17144 Use char because int might match the return type of a GCC
17145 builtin and then its argument prototype would still apply. */
17146 char gst_pad_new ();
17148 main (void)
17150 return gst_pad_new ();
17152 return 0;
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"
17156 then :
17157 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17158 else $as_nop
17159 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17162 conftest$ac_exeext conftest.$ac_ext
17163 LIBS=$ac_check_lib_save_LIBS
17165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17166 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17167 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17168 then :
17172 else $as_nop
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17174 printf "%s\n" "no" >&6; }
17175 ac_glib2_broken=yes
17176 enable_winegstreamer=${enable_winegstreamer:-no}
17177 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17182 CPPFLAGS=$ac_save_CPPFLAGS
17185 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17186 then :
17187 case "x$with_gstreamer" in
17188 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17189 xno) ;;
17190 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17191 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17192 esac
17193 enable_winegstreamer=${enable_winegstreamer:-no}
17196 ALSA_LIBS=""
17198 if test "x$with_alsa" != "xno"
17199 then
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17201 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17202 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17203 then :
17204 printf %s "(cached) " >&6
17205 else $as_nop
17206 ac_check_lib_save_LIBS=$LIBS
17207 LIBS="-lasound $LIBS"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 char snd_pcm_hw_params_get_access_mask ();
17216 main (void)
17218 return snd_pcm_hw_params_get_access_mask ();
17220 return 0;
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"
17224 then :
17225 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17226 else $as_nop
17227 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_check_lib_save_LIBS
17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17234 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17235 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17236 then :
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 #include <alsa/asoundlib.h>
17241 main (void)
17243 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17245 return 0;
17247 _ACEOF
17248 if ac_fn_c_try_compile "$LINENO"
17249 then :
17250 ALSA_LIBS="-lasound"
17252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17256 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17258 if test "x$with_oss" != xno
17259 then
17260 ac_save_CPPFLAGS="$CPPFLAGS"
17261 if test -f /etc/oss.conf
17262 then
17263 . /etc/oss.conf
17265 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17266 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17267 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17268 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17269 then :
17270 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17272 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17273 then :
17275 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17277 OSS4_CFLAGS="$ac_oss_incl"
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17280 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17281 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17282 then :
17283 printf %s "(cached) " >&6
17284 else $as_nop
17285 ac_check_lib_save_LIBS=$LIBS
17286 LIBS="-lossaudio $LIBS"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 /* Override any GCC internal prototype to avoid an error.
17291 Use char because int might match the return type of a GCC
17292 builtin and then its argument prototype would still apply. */
17293 char _oss_ioctl ();
17295 main (void)
17297 return _oss_ioctl ();
17299 return 0;
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"
17303 then :
17304 ac_cv_lib_ossaudio__oss_ioctl=yes
17305 else $as_nop
17306 ac_cv_lib_ossaudio__oss_ioctl=no
17308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17309 conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17313 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17314 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17315 then :
17316 OSS4_LIBS="-lossaudio"
17324 CPPFLAGS="$ac_save_CPPFLAGS"
17326 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17327 then :
17328 case "x$with_oss" in
17329 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17330 xno) ;;
17331 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17332 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17333 esac
17334 enable_wineoss_drv=${enable_wineoss_drv:-no}
17337 if test "x$with_udev" != "xno"
17338 then
17339 rm -f conftest.err
17340 if ${UDEV_CFLAGS:+false} :
17341 then :
17342 if test ${PKG_CONFIG+y}
17343 then :
17344 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17348 if ${UDEV_LIBS:+false} :
17349 then :
17350 if test ${PKG_CONFIG+y}
17351 then :
17352 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17356 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17359 if test -s conftest.err; then
17360 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17361 cat conftest.err >&5
17363 rm -f conftest.err
17364 ac_save_CPPFLAGS=$CPPFLAGS
17365 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17366 for ac_header in libudev.h
17367 do :
17368 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_libudev_h" = xyes
17370 then :
17371 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17373 printf %s "checking for udev_new in -ludev... " >&6; }
17374 if test ${ac_cv_lib_udev_udev_new+y}
17375 then :
17376 printf %s "(cached) " >&6
17377 else $as_nop
17378 ac_check_lib_save_LIBS=$LIBS
17379 LIBS="-ludev $UDEV_LIBS $LIBS"
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17386 char udev_new ();
17388 main (void)
17390 return udev_new ();
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"
17396 then :
17397 ac_cv_lib_udev_udev_new=yes
17398 else $as_nop
17399 ac_cv_lib_udev_udev_new=no
17401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17402 conftest$ac_exeext conftest.$ac_ext
17403 LIBS=$ac_check_lib_save_LIBS
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17406 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17407 if test "x$ac_cv_lib_udev_udev_new" = xyes
17408 then :
17410 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17412 else $as_nop
17413 UDEV_LIBS=""
17416 else $as_nop
17417 UDEV_LIBS=""
17420 done
17421 CPPFLAGS=$ac_save_CPPFLAGS
17424 if test "x$UDEV_LIBS" = "x"
17425 then :
17426 case "x$with_udev" in
17427 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17428 xno) ;;
17429 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17430 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17431 esac
17435 if test "x$with_unwind" != xno
17436 then
17437 rm -f conftest.err
17438 if ${UNWIND_CFLAGS:+false} :
17439 then :
17440 if test ${PKG_CONFIG+y}
17441 then :
17442 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17446 if ${UNWIND_LIBS:+false} :
17447 then :
17448 if test ${PKG_CONFIG+y}
17449 then :
17450 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17454 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17457 if test -s conftest.err; then
17458 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17459 cat conftest.err >&5
17461 rm -f conftest.err
17462 ac_save_CPPFLAGS=$CPPFLAGS
17463 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17465 printf %s "checking for unw_step... " >&6; }
17466 if test ${wine_cv_have_unw_step+y}
17467 then :
17468 printf %s "(cached) " >&6
17469 else $as_nop
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 /* end confdefs.h. */
17472 #define UNW_LOCAL_ONLY
17473 #include <libunwind.h>
17475 main (void)
17477 unw_cursor_t cursor; unw_step( &cursor );
17479 return 0;
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"
17483 then :
17484 wine_cv_have_unw_step="yes"
17485 else $as_nop
17486 wine_cv_have_unw_step="no"
17488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17489 conftest$ac_exeext conftest.$ac_ext
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17492 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17493 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17494 then
17495 save_libs=$LIBS
17496 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17497 LIBS="$UNWIND_LIBS $LIBS"
17498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17499 printf %s "checking for unw_step in libunwind... " >&6; }
17500 if test ${wine_cv_have_libunwind_unw_step+y}
17501 then :
17502 printf %s "(cached) " >&6
17503 else $as_nop
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #define UNW_LOCAL_ONLY
17507 #include <libunwind.h>
17509 main (void)
17511 unw_cursor_t cursor; unw_step( &cursor );
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"
17517 then :
17518 wine_cv_have_libunwind_unw_step="yes"
17519 else $as_nop
17520 wine_cv_have_libunwind_unw_step="no"
17522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17523 conftest$ac_exeext conftest.$ac_ext
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17526 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17527 LIBS=$save_libs
17529 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17530 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17531 then
17533 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17536 CPPFLAGS=$ac_save_CPPFLAGS
17539 case $host in
17540 aarch64*|*-darwin*)
17541 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17542 then :
17543 case "x$with_unwind" in
17544 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17545 xno) ;;
17546 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17547 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17548 esac
17550 fi ;;
17551 esac
17553 if test "x$with_sdl" != "xno"
17554 then
17555 rm -f conftest.err
17556 if ${SDL2_CFLAGS:+false} :
17557 then :
17558 if test ${PKG_CONFIG+y}
17559 then :
17560 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17564 if ${SDL2_LIBS:+false} :
17565 then :
17566 if test ${PKG_CONFIG+y}
17567 then :
17568 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17572 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17575 if test -s conftest.err; then
17576 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17577 cat conftest.err >&5
17579 rm -f conftest.err
17580 ac_save_CPPFLAGS=$CPPFLAGS
17581 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17582 for ac_header in SDL.h
17583 do :
17584 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17585 if test "x$ac_cv_header_SDL_h" = xyes
17586 then :
17587 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17589 printf %s "checking for -lSDL2... " >&6; }
17590 if test ${ac_cv_lib_soname_SDL2+y}
17591 then :
17592 printf %s "(cached) " >&6
17593 else $as_nop
17594 ac_check_soname_save_LIBS=$LIBS
17595 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17602 char SDL_Init ();
17604 main (void)
17606 return SDL_Init ();
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"
17612 then :
17613 case "$LIBEXT" in
17614 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17615 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'` ;;
17616 *) 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'`
17617 if ${ac_cv_lib_soname_SDL2:+false} :
17618 then :
17619 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17620 fi ;;
17621 esac
17622 else $as_nop
17623 ac_cv_lib_soname_SDL2=
17625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17626 conftest$ac_exeext conftest.$ac_ext
17627 LIBS=$ac_check_soname_save_LIBS
17629 if ${ac_cv_lib_soname_SDL2:+false} :
17630 then :
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17632 printf "%s\n" "not found" >&6; }
17634 else $as_nop
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17636 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17638 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17644 done
17645 CPPFLAGS=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_SDL2" = "x"
17649 then :
17650 case "x$with_sdl" in
17651 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17652 xno) ;;
17653 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17654 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17655 esac
17659 if test "x$with_capi" != "xno"
17660 then
17661 rm -f conftest.err
17662 if ${CAPI20_CFLAGS:+false} :
17663 then :
17664 if test ${PKG_CONFIG+y}
17665 then :
17666 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17670 if ${CAPI20_LIBS:+false} :
17671 then :
17672 if test ${PKG_CONFIG+y}
17673 then :
17674 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17681 if test -s conftest.err; then
17682 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17683 cat conftest.err >&5
17685 rm -f conftest.err
17686 ac_save_CPPFLAGS=$CPPFLAGS
17687 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17688 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17690 if test "x$ac_cv_header_capi20_h" = xyes
17691 then :
17692 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17695 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17697 if test "x$ac_cv_header_linux_capi_h" = xyes
17698 then :
17699 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17703 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17704 then
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17706 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17707 if test ${ac_cv_lib_capi20_capi20_register+y}
17708 then :
17709 printf %s "(cached) " >&6
17710 else $as_nop
17711 ac_check_lib_save_LIBS=$LIBS
17712 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17719 char capi20_register ();
17721 main (void)
17723 return capi20_register ();
17725 return 0;
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"
17729 then :
17730 ac_cv_lib_capi20_capi20_register=yes
17731 else $as_nop
17732 ac_cv_lib_capi20_capi20_register=no
17734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17735 conftest$ac_exeext conftest.$ac_ext
17736 LIBS=$ac_check_lib_save_LIBS
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17739 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17740 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17741 then :
17743 else $as_nop
17744 CAPI20_LIBS=""
17748 CPPFLAGS=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17752 then :
17753 case "x$with_capi" in
17754 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17755 xno) ;;
17756 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17757 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17758 esac
17759 enable_capi2032=${enable_capi2032:-no}
17762 if test "x$with_cups" != "xno"
17763 then
17764 rm -f conftest.err
17765 if ${CUPS_CFLAGS:+false} :
17766 then :
17767 if test ${PKG_CONFIG+y}
17768 then :
17769 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17772 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17773 if ${CUPS_LIBS:+false} :
17774 then :
17775 if test ${PKG_CONFIG+y}
17776 then :
17777 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17780 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17781 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17784 if test -s conftest.err; then
17785 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17786 cat conftest.err >&5
17788 rm -f conftest.err
17789 ac_save_CPPFLAGS=$CPPFLAGS
17790 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17791 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17792 if test "x$ac_cv_header_cups_cups_h" = xyes
17793 then :
17794 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17797 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17798 if test "x$ac_cv_header_cups_ppd_h" = xyes
17799 then :
17800 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17804 if test "$ac_cv_header_cups_cups_h" = "yes"
17805 then
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17807 printf %s "checking for -lcups... " >&6; }
17808 if test ${ac_cv_lib_soname_cups+y}
17809 then :
17810 printf %s "(cached) " >&6
17811 else $as_nop
17812 ac_check_soname_save_LIBS=$LIBS
17813 LIBS="-lcups $CUPS_LIBS $LIBS"
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17817 /* Override any GCC internal prototype to avoid an error.
17818 Use char because int might match the return type of a GCC
17819 builtin and then its argument prototype would still apply. */
17820 char cupsGetDefault ();
17822 main (void)
17824 return cupsGetDefault ();
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"
17830 then :
17831 case "$LIBEXT" in
17832 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17833 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'` ;;
17834 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17835 if ${ac_cv_lib_soname_cups:+false} :
17836 then :
17837 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17838 fi ;;
17839 esac
17840 else $as_nop
17841 ac_cv_lib_soname_cups=
17843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17844 conftest$ac_exeext conftest.$ac_ext
17845 LIBS=$ac_check_soname_save_LIBS
17847 if ${ac_cv_lib_soname_cups:+false} :
17848 then :
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17850 printf "%s\n" "not found" >&6; }
17851 CUPS_LIBS=""
17852 else $as_nop
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17854 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17856 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17860 else
17861 CUPS_CFLAGS=""
17862 CUPS_LIBS=""
17864 CPPFLAGS=$ac_save_CPPFLAGS
17867 if test "x$ac_cv_lib_soname_cups" = "x"
17868 then :
17869 case "x$with_cups" in
17870 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17871 xno) ;;
17872 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17873 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17874 esac
17878 if test "x$with_fontconfig" != "xno"
17879 then
17880 rm -f conftest.err
17881 if ${FONTCONFIG_CFLAGS:+false} :
17882 then :
17883 if test ${PKG_CONFIG+y}
17884 then :
17885 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17888 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17889 if ${FONTCONFIG_LIBS:+false} :
17890 then :
17891 if test ${PKG_CONFIG+y}
17892 then :
17893 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17896 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17900 if test -s conftest.err; then
17901 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17902 cat conftest.err >&5
17904 rm -f conftest.err
17905 ac_save_CPPFLAGS=$CPPFLAGS
17906 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17907 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17908 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17909 then :
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17911 printf %s "checking for -lfontconfig... " >&6; }
17912 if test ${ac_cv_lib_soname_fontconfig+y}
17913 then :
17914 printf %s "(cached) " >&6
17915 else $as_nop
17916 ac_check_soname_save_LIBS=$LIBS
17917 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 char FcInit ();
17926 main (void)
17928 return FcInit ();
17930 return 0;
17932 _ACEOF
17933 if ac_fn_c_try_link "$LINENO"
17934 then :
17935 case "$LIBEXT" in
17936 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17937 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'` ;;
17938 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17939 if ${ac_cv_lib_soname_fontconfig:+false} :
17940 then :
17941 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17942 fi ;;
17943 esac
17944 else $as_nop
17945 ac_cv_lib_soname_fontconfig=
17947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17948 conftest$ac_exeext conftest.$ac_ext
17949 LIBS=$ac_check_soname_save_LIBS
17951 if ${ac_cv_lib_soname_fontconfig:+false} :
17952 then :
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17954 printf "%s\n" "not found" >&6; }
17955 FONTCONFIG_CFLAGS=""
17956 else $as_nop
17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17958 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17960 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17964 else $as_nop
17965 FONTCONFIG_CFLAGS=""
17968 CPPFLAGS=$ac_save_CPPFLAGS
17971 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17972 then :
17973 case "x$with_fontconfig" in
17974 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17975 xno) ;;
17976 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17977 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17978 esac
17982 if test "x$with_krb5" != "xno"
17983 then
17984 rm -f conftest.err
17985 if ${KRB5_CFLAGS:+false} :
17986 then :
17987 if test ${PKG_CONFIG+y}
17988 then :
17989 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17992 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17993 if ${KRB5_LIBS:+false} :
17994 then :
17995 if test ${PKG_CONFIG+y}
17996 then :
17997 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18000 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18004 if test -s conftest.err; then
18005 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18006 cat conftest.err >&5
18008 rm -f conftest.err
18009 ac_save_CPPFLAGS=$CPPFLAGS
18010 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18011 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18012 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18013 then :
18014 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18018 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18019 then
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18021 printf %s "checking for -lkrb5... " >&6; }
18022 if test ${ac_cv_lib_soname_krb5+y}
18023 then :
18024 printf %s "(cached) " >&6
18025 else $as_nop
18026 ac_check_soname_save_LIBS=$LIBS
18027 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18031 /* Override any GCC internal prototype to avoid an error.
18032 Use char because int might match the return type of a GCC
18033 builtin and then its argument prototype would still apply. */
18034 char krb5_is_config_principal ();
18036 main (void)
18038 return krb5_is_config_principal ();
18040 return 0;
18042 _ACEOF
18043 if ac_fn_c_try_link "$LINENO"
18044 then :
18045 case "$LIBEXT" in
18046 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18047 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'` ;;
18048 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18049 if ${ac_cv_lib_soname_krb5:+false} :
18050 then :
18051 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18052 fi ;;
18053 esac
18054 else $as_nop
18055 ac_cv_lib_soname_krb5=
18057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18058 conftest$ac_exeext conftest.$ac_ext
18059 LIBS=$ac_check_soname_save_LIBS
18061 if ${ac_cv_lib_soname_krb5:+false} :
18062 then :
18063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18064 printf "%s\n" "not found" >&6; }
18065 KRB5_CFLAGS=""
18066 else $as_nop
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18068 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18070 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18074 else
18075 KRB5_CFLAGS=""
18077 CPPFLAGS=$ac_save_CPPFLAGS
18080 if test "x$ac_cv_lib_soname_krb5" = "x"
18081 then :
18082 case "x$with_krb5" in
18083 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18084 xno) ;;
18085 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18086 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18087 esac
18090 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18092 if test "x$with_gssapi" != "xno"
18093 then
18094 rm -f conftest.err
18095 if ${GSSAPI_CFLAGS:+false} :
18096 then :
18097 if test ${PKG_CONFIG+y}
18098 then :
18099 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18102 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18103 if ${GSSAPI_LIBS:+false} :
18104 then :
18105 if test ${PKG_CONFIG+y}
18106 then :
18107 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18110 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18114 if test -s conftest.err; then
18115 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18116 cat conftest.err >&5
18118 rm -f conftest.err
18119 ac_save_CPPFLAGS=$CPPFLAGS
18120 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18121 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18122 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18123 then :
18124 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18127 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18128 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18129 then :
18130 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18134 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18135 then
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18137 printf %s "checking for -lgssapi_krb5... " >&6; }
18138 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18139 then :
18140 printf %s "(cached) " >&6
18141 else $as_nop
18142 ac_check_soname_save_LIBS=$LIBS
18143 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18150 char gss_init_sec_context ();
18152 main (void)
18154 return gss_init_sec_context ();
18156 return 0;
18158 _ACEOF
18159 if ac_fn_c_try_link "$LINENO"
18160 then :
18161 case "$LIBEXT" in
18162 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18163 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'` ;;
18164 *) 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'`
18165 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18166 then :
18167 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18168 fi ;;
18169 esac
18170 else $as_nop
18171 ac_cv_lib_soname_gssapi_krb5=
18173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18174 conftest$ac_exeext conftest.$ac_ext
18175 LIBS=$ac_check_soname_save_LIBS
18177 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18178 then :
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18180 printf "%s\n" "not found" >&6; }
18181 GSSAPI_CFLAGS=""
18182 else $as_nop
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18184 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18186 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18190 else
18191 GSSAPI_CFLAGS=""
18193 CPPFLAGS=$ac_save_CPPFLAGS
18196 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18197 then :
18198 case "x$with_gssapi" in
18199 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18200 xno) ;;
18201 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18202 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18203 esac
18207 if test "$ac_cv_header_libprocstat_h" = "yes"
18208 then
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18210 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18211 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18212 then :
18213 printf %s "(cached) " >&6
18214 else $as_nop
18215 ac_check_lib_save_LIBS=$LIBS
18216 LIBS="-lprocstat $LIBS"
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18223 char procstat_open_sysctl ();
18225 main (void)
18227 return procstat_open_sysctl ();
18229 return 0;
18231 _ACEOF
18232 if ac_fn_c_try_link "$LINENO"
18233 then :
18234 ac_cv_lib_procstat_procstat_open_sysctl=yes
18235 else $as_nop
18236 ac_cv_lib_procstat_procstat_open_sysctl=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18239 conftest$ac_exeext conftest.$ac_ext
18240 LIBS=$ac_check_lib_save_LIBS
18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18243 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18244 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18245 then :
18247 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18249 PROCSTAT_LIBS="-lprocstat"
18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18256 printf %s "checking for -lodbc... " >&6; }
18257 if test ${ac_cv_lib_soname_odbc+y}
18258 then :
18259 printf %s "(cached) " >&6
18260 else $as_nop
18261 ac_check_soname_save_LIBS=$LIBS
18262 LIBS="-lodbc $LIBS"
18263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h. */
18266 /* Override any GCC internal prototype to avoid an error.
18267 Use char because int might match the return type of a GCC
18268 builtin and then its argument prototype would still apply. */
18269 char SQLConnect ();
18271 main (void)
18273 return SQLConnect ();
18275 return 0;
18277 _ACEOF
18278 if ac_fn_c_try_link "$LINENO"
18279 then :
18280 case "$LIBEXT" in
18281 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18282 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'` ;;
18283 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18284 if ${ac_cv_lib_soname_odbc:+false} :
18285 then :
18286 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18287 fi ;;
18288 esac
18289 else $as_nop
18290 ac_cv_lib_soname_odbc=
18292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18293 conftest$ac_exeext conftest.$ac_ext
18294 LIBS=$ac_check_soname_save_LIBS
18296 if ${ac_cv_lib_soname_odbc:+false} :
18297 then :
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18299 printf "%s\n" "not found" >&6; }
18300 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18302 else $as_nop
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18304 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18306 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18311 if test "x$with_netapi" != "xno"
18312 then
18313 rm -f conftest.err
18314 if ${NETAPI_CFLAGS:+false} :
18315 then :
18316 if test ${PKG_CONFIG+y}
18317 then :
18318 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18322 if ${NETAPI_LIBS:+false} :
18323 then :
18324 if test ${PKG_CONFIG+y}
18325 then :
18326 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18333 if test -s conftest.err; then
18334 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18335 cat conftest.err >&5
18337 rm -f conftest.err
18338 ac_save_CPPFLAGS=$CPPFLAGS
18339 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18341 printf %s "checking for -lnetapi... " >&6; }
18342 if test ${ac_cv_lib_soname_netapi+y}
18343 then :
18344 printf %s "(cached) " >&6
18345 else $as_nop
18346 ac_check_soname_save_LIBS=$LIBS
18347 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18351 /* Override any GCC internal prototype to avoid an error.
18352 Use char because int might match the return type of a GCC
18353 builtin and then its argument prototype would still apply. */
18354 char libnetapi_init ();
18356 main (void)
18358 return libnetapi_init ();
18360 return 0;
18362 _ACEOF
18363 if ac_fn_c_try_link "$LINENO"
18364 then :
18365 case "$LIBEXT" in
18366 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18367 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'` ;;
18368 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18369 if ${ac_cv_lib_soname_netapi:+false} :
18370 then :
18371 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18372 fi ;;
18373 esac
18374 else $as_nop
18375 ac_cv_lib_soname_netapi=
18377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18378 conftest$ac_exeext conftest.$ac_ext
18379 LIBS=$ac_check_soname_save_LIBS
18381 if ${ac_cv_lib_soname_netapi:+false} :
18382 then :
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18384 printf "%s\n" "not found" >&6; }
18385 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18387 else $as_nop
18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18389 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18391 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18395 CPPFLAGS=$ac_save_CPPFLAGS
18398 if test "x$ac_cv_lib_soname_netapi" = "x"
18399 then :
18400 case "x$with_netapi" in
18401 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18402 xno) ;;
18403 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18404 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18405 esac
18406 enable_netapi=${enable_netapi:-no}
18410 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18411 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18412 then
18413 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18416 if test "x$with_vulkan" != "xno"
18417 then
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18419 printf %s "checking for -lvulkan... " >&6; }
18420 if test ${ac_cv_lib_soname_vulkan+y}
18421 then :
18422 printf %s "(cached) " >&6
18423 else $as_nop
18424 ac_check_soname_save_LIBS=$LIBS
18425 LIBS="-lvulkan $LIBS"
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 /* Override any GCC internal prototype to avoid an error.
18430 Use char because int might match the return type of a GCC
18431 builtin and then its argument prototype would still apply. */
18432 char vkGetInstanceProcAddr ();
18434 main (void)
18436 return vkGetInstanceProcAddr ();
18438 return 0;
18440 _ACEOF
18441 if ac_fn_c_try_link "$LINENO"
18442 then :
18443 case "$LIBEXT" in
18444 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18445 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'` ;;
18446 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18447 if ${ac_cv_lib_soname_vulkan:+false} :
18448 then :
18449 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18450 fi ;;
18451 esac
18452 else $as_nop
18453 ac_cv_lib_soname_vulkan=
18455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18456 conftest$ac_exeext conftest.$ac_ext
18457 LIBS=$ac_check_soname_save_LIBS
18459 if ${ac_cv_lib_soname_vulkan:+false} :
18460 then :
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18462 printf "%s\n" "not found" >&6; }
18464 else $as_nop
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18466 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18468 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18472 if test "x$ac_cv_lib_soname_vulkan" = "x"
18473 then
18474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18475 printf %s "checking for -lMoltenVK... " >&6; }
18476 if test ${ac_cv_lib_soname_MoltenVK+y}
18477 then :
18478 printf %s "(cached) " >&6
18479 else $as_nop
18480 ac_check_soname_save_LIBS=$LIBS
18481 LIBS="-lMoltenVK $LIBS"
18482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18485 /* Override any GCC internal prototype to avoid an error.
18486 Use char because int might match the return type of a GCC
18487 builtin and then its argument prototype would still apply. */
18488 char vkGetInstanceProcAddr ();
18490 main (void)
18492 return vkGetInstanceProcAddr ();
18494 return 0;
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"
18498 then :
18499 case "$LIBEXT" in
18500 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18501 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'` ;;
18502 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18503 if ${ac_cv_lib_soname_MoltenVK:+false} :
18504 then :
18505 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18506 fi ;;
18507 esac
18508 else $as_nop
18509 ac_cv_lib_soname_MoltenVK=
18511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18512 conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_soname_save_LIBS
18515 if ${ac_cv_lib_soname_MoltenVK:+false} :
18516 then :
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18518 printf "%s\n" "not found" >&6; }
18520 else $as_nop
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18522 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18524 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18530 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18531 then :
18532 case "x$with_vulkan" in
18533 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18534 xno) ;;
18535 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18536 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18537 esac
18542 if test "x${GCC}" = "xyes"
18543 then
18544 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18546 saved_CFLAGS=$CFLAGS
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18548 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18549 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_wine_try_cflags_saved=$CFLAGS
18554 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
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__Werror_unknown_warning_option=yes
18562 else $as_nop
18563 ac_cv_cflags__Werror_unknown_warning_option=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__Werror_unknown_warning_option" >&5
18570 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18571 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18572 then :
18573 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18576 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18577 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_wine_try_cflags_saved=$CFLAGS
18582 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
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__Werror_unused_command_line_argument=yes
18590 else $as_nop
18591 ac_cv_cflags__Werror_unused_command_line_argument=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__Werror_unused_command_line_argument" >&5
18598 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18599 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18600 then :
18601 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18604 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18605 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
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__Werror_ignored_optimization_argument=yes
18618 else $as_nop
18619 ac_cv_cflags__Werror_ignored_optimization_argument=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__Werror_ignored_optimization_argument" >&5
18626 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18627 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18628 then :
18629 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18632 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18633 if test ${ac_cv_cflags__fcf_protection_none+y}
18634 then :
18635 printf %s "(cached) " >&6
18636 else $as_nop
18637 ac_wine_try_cflags_saved=$CFLAGS
18638 CFLAGS="$CFLAGS -fcf-protection=none"
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__fcf_protection_none=yes
18646 else $as_nop
18647 ac_cv_cflags__fcf_protection_none=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__fcf_protection_none" >&5
18654 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18655 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18656 then :
18657 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18660 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
18661 if test ${ac_cv_cflags__fvisibility_hidden+y}
18662 then :
18663 printf %s "(cached) " >&6
18664 else $as_nop
18665 ac_wine_try_cflags_saved=$CFLAGS
18666 CFLAGS="$CFLAGS -fvisibility=hidden"
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__fvisibility_hidden=yes
18674 else $as_nop
18675 ac_cv_cflags__fvisibility_hidden=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__fvisibility_hidden" >&5
18682 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18683 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18684 then :
18685 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18688 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18689 if test ${ac_cv_cflags__fno_stack_protector+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_wine_try_cflags_saved=$CFLAGS
18694 CFLAGS="$CFLAGS -fno-stack-protector"
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__fno_stack_protector=yes
18702 else $as_nop
18703 ac_cv_cflags__fno_stack_protector=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__fno_stack_protector" >&5
18710 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18711 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18712 then :
18713 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18716 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18717 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -fno-strict-aliasing"
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__fno_strict_aliasing=yes
18730 else $as_nop
18731 ac_cv_cflags__fno_strict_aliasing=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__fno_strict_aliasing" >&5
18738 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18739 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18740 then :
18741 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18744 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18745 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
18758 else $as_nop
18759 ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18767 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18768 then :
18769 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18772 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18773 if test ${ac_cv_cflags__Wempty_body+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
18786 else $as_nop
18787 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18795 if test "x$ac_cv_cflags__Wempty_body" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18800 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18801 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
18814 else $as_nop
18815 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18823 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18828 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18829 if test ${ac_cv_cflags__Winit_self+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -Winit-self"
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__Winit_self=yes
18842 else $as_nop
18843 ac_cv_cflags__Winit_self=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__Winit_self" >&5
18850 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18851 if test "x$ac_cv_cflags__Winit_self" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18856 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18857 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -Wpacked-not-aligned"
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__Wpacked_not_aligned=yes
18870 else $as_nop
18871 ac_cv_cflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18879 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18884 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18885 if test ${ac_cv_cflags__Wpragma_pack+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wpragma-pack"
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__Wpragma_pack=yes
18898 else $as_nop
18899 ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18907 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18912 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18913 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 ac_wine_try_cflags_saved=$CFLAGS
18918 CFLAGS="$CFLAGS -Wshift-overflow=2"
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 ac_cv_cflags__Wshift_overflow_2=yes
18926 else $as_nop
18927 ac_cv_cflags__Wshift_overflow_2=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18930 conftest$ac_exeext conftest.$ac_ext
18931 CFLAGS=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18935 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18936 then :
18937 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18940 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18941 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wstrict-prototypes"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wstrict_prototypes=yes
18954 else $as_nop
18955 ac_cv_cflags__Wstrict_prototypes=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18963 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18964 then :
18965 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18968 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18969 if test ${ac_cv_cflags__Wtype_limits+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_wine_try_cflags_saved=$CFLAGS
18974 CFLAGS="$CFLAGS -Wtype-limits"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"
18980 then :
18981 ac_cv_cflags__Wtype_limits=yes
18982 else $as_nop
18983 ac_cv_cflags__Wtype_limits=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18986 conftest$ac_exeext conftest.$ac_ext
18987 CFLAGS=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18991 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18992 then :
18993 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18996 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18997 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 ac_wine_try_cflags_saved=$CFLAGS
19002 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"
19008 then :
19009 ac_cv_cflags__Wunused_but_set_parameter=yes
19010 else $as_nop
19011 ac_cv_cflags__Wunused_but_set_parameter=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19014 conftest$ac_exeext conftest.$ac_ext
19015 CFLAGS=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19018 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19019 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19020 then :
19021 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19024 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19025 if test ${ac_cv_cflags__Wvla+y}
19026 then :
19027 printf %s "(cached) " >&6
19028 else $as_nop
19029 ac_wine_try_cflags_saved=$CFLAGS
19030 CFLAGS="$CFLAGS -Wvla"
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 int main(int argc, char **argv) { return 0; }
19034 _ACEOF
19035 if ac_fn_c_try_link "$LINENO"
19036 then :
19037 ac_cv_cflags__Wvla=yes
19038 else $as_nop
19039 ac_cv_cflags__Wvla=no
19041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19042 conftest$ac_exeext conftest.$ac_ext
19043 CFLAGS=$ac_wine_try_cflags_saved
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19046 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19047 if test "x$ac_cv_cflags__Wvla" = xyes
19048 then :
19049 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19052 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19053 if test ${ac_cv_cflags__Wwrite_strings+y}
19054 then :
19055 printf %s "(cached) " >&6
19056 else $as_nop
19057 ac_wine_try_cflags_saved=$CFLAGS
19058 CFLAGS="$CFLAGS -Wwrite-strings"
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19062 _ACEOF
19063 if ac_fn_c_try_link "$LINENO"
19064 then :
19065 ac_cv_cflags__Wwrite_strings=yes
19066 else $as_nop
19067 ac_cv_cflags__Wwrite_strings=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 CFLAGS=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19075 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19076 then :
19077 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19081 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19082 if test ${ac_cv_cflags__Wpointer_arith+y}
19083 then :
19084 printf %s "(cached) " >&6
19085 else $as_nop
19086 ac_wine_try_cflags_saved=$CFLAGS
19087 CFLAGS="$CFLAGS -Wpointer-arith"
19088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 int main(int argc, char **argv) { return 0; }
19091 _ACEOF
19092 if ac_fn_c_try_link "$LINENO"
19093 then :
19094 ac_cv_cflags__Wpointer_arith=yes
19095 else $as_nop
19096 ac_cv_cflags__Wpointer_arith=no
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19099 conftest$ac_exeext conftest.$ac_ext
19100 CFLAGS=$ac_wine_try_cflags_saved
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19103 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19104 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19105 then :
19106 saved_string_h_CFLAGS=$CFLAGS
19107 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19109 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19110 if test ${ac_cv_c_string_h_warnings+y}
19111 then :
19112 printf %s "(cached) " >&6
19113 else $as_nop
19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 #include <string.h>
19118 main (void)
19122 return 0;
19124 _ACEOF
19125 if ac_fn_c_try_compile "$LINENO"
19126 then :
19127 ac_cv_c_string_h_warnings=no
19128 else $as_nop
19129 ac_cv_c_string_h_warnings=yes
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19134 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19135 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19136 CFLAGS=$saved_string_h_CFLAGS
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19140 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19141 if test ${ac_cv_cflags__Wlogical_op+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_wine_try_cflags_saved=$CFLAGS
19146 CFLAGS="$CFLAGS -Wlogical-op"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 int main(int argc, char **argv) { return 0; }
19150 _ACEOF
19151 if ac_fn_c_try_link "$LINENO"
19152 then :
19153 ac_cv_cflags__Wlogical_op=yes
19154 else $as_nop
19155 ac_cv_cflags__Wlogical_op=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19158 conftest$ac_exeext conftest.$ac_ext
19159 CFLAGS=$ac_wine_try_cflags_saved
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19162 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19163 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19164 then :
19165 saved_string_h_CFLAGS=$CFLAGS
19166 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19168 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19169 if test ${ac_cv_c_logicalop_noisy+y}
19170 then :
19171 printf %s "(cached) " >&6
19172 else $as_nop
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19175 #include <string.h>
19176 char*f(const char *h,char n) {return strchr(h,n);}
19178 main (void)
19182 return 0;
19184 _ACEOF
19185 if ac_fn_c_try_compile "$LINENO"
19186 then :
19187 ac_cv_c_logicalop_noisy=no
19188 else $as_nop
19189 ac_cv_c_logicalop_noisy=yes
19191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19194 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19195 CFLAGS=$saved_string_h_CFLAGS
19196 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19200 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19201 if test ${wine_cv_64bit_compare_swap+y}
19202 then :
19203 printf %s "(cached) " >&6
19204 else $as_nop
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19208 #error no
19209 #endif
19211 main (void)
19215 return 0;
19217 _ACEOF
19218 if ac_fn_c_try_compile "$LINENO"
19219 then :
19220 wine_cv_64bit_compare_swap="none needed"
19221 else $as_nop
19222 case $host_cpu in
19223 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19224 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19225 *) wine_cv_64bit_compare_swap="unknown" ;;
19226 esac
19227 if test "x$wine_cv_64bit_compare_swap" != xunknown
19228 then
19229 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19233 #error no
19234 #endif
19236 main (void)
19240 return 0;
19242 _ACEOF
19243 if ac_fn_c_try_compile "$LINENO"
19244 then :
19246 else $as_nop
19247 wine_cv_64bit_compare_swap="unknown"
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19250 CFLAGS=$saved_CFLAGS
19253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19256 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19257 case "$wine_cv_64bit_compare_swap" in
19258 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19259 "none needed") ;;
19260 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19261 esac
19263 ac_debug_format_seen=""
19264 for ac_flag in $CFLAGS; do
19265 case $ac_flag in
19266 -gdwarf*) ac_debug_format_seen=yes ;;
19267 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19268 esac
19269 done
19270 if test "x$ac_debug_format_seen" = xdefault
19271 then
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19273 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19274 if test ${ac_cv_cflags__gdwarf_4+y}
19275 then :
19276 printf %s "(cached) " >&6
19277 else $as_nop
19278 ac_wine_try_cflags_saved=$CFLAGS
19279 CFLAGS="$CFLAGS -gdwarf-4"
19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19283 _ACEOF
19284 if ac_fn_c_try_link "$LINENO"
19285 then :
19286 ac_cv_cflags__gdwarf_4=yes
19287 else $as_nop
19288 ac_cv_cflags__gdwarf_4=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19291 conftest$ac_exeext conftest.$ac_ext
19292 CFLAGS=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19295 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19296 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19297 then :
19298 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19302 MSVCRTFLAGS=""
19304 case $host_os in
19305 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19306 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19307 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19308 then :
19309 printf %s "(cached) " >&6
19310 else $as_nop
19311 ac_wine_try_cflags_saved=$CFLAGS
19312 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19315 int main(int argc, char **argv) { return 0; }
19316 _ACEOF
19317 if ac_fn_c_try_link "$LINENO"
19318 then :
19319 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19320 else $as_nop
19321 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19324 conftest$ac_exeext conftest.$ac_ext
19325 CFLAGS=$ac_wine_try_cflags_saved
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19328 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19329 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19330 then :
19331 DELAYLOADFLAG="-Wl,-delayload,"
19333 fi ;;
19334 *) MSVCRTFLAGS="-D_WIN32"
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19336 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19337 if test ${ac_cv_cflags__fno_builtin+y}
19338 then :
19339 printf %s "(cached) " >&6
19340 else $as_nop
19341 ac_wine_try_cflags_saved=$CFLAGS
19342 CFLAGS="$CFLAGS -fno-builtin"
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19346 _ACEOF
19347 if ac_fn_c_try_link "$LINENO"
19348 then :
19349 ac_cv_cflags__fno_builtin=yes
19350 else $as_nop
19351 ac_cv_cflags__fno_builtin=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19354 conftest$ac_exeext conftest.$ac_ext
19355 CFLAGS=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19358 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19359 if test "x$ac_cv_cflags__fno_builtin" = xyes
19360 then :
19361 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19364 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19365 if test ${ac_cv_cflags__fshort_wchar+y}
19366 then :
19367 printf %s "(cached) " >&6
19368 else $as_nop
19369 ac_wine_try_cflags_saved=$CFLAGS
19370 CFLAGS="$CFLAGS -fshort-wchar"
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19374 _ACEOF
19375 if ac_fn_c_try_link "$LINENO"
19376 then :
19377 ac_cv_cflags__fshort_wchar=yes
19378 else $as_nop
19379 ac_cv_cflags__fshort_wchar=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19382 conftest$ac_exeext conftest.$ac_ext
19383 CFLAGS=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19386 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19387 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19388 then :
19389 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19392 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19393 if test ${ac_cv_cflags__Wno_format+y}
19394 then :
19395 printf %s "(cached) " >&6
19396 else $as_nop
19397 ac_wine_try_cflags_saved=$CFLAGS
19398 CFLAGS="$CFLAGS -Wno-format"
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 int main(int argc, char **argv) { return 0; }
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"
19404 then :
19405 ac_cv_cflags__Wno_format=yes
19406 else $as_nop
19407 ac_cv_cflags__Wno_format=no
19409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19410 conftest$ac_exeext conftest.$ac_ext
19411 CFLAGS=$ac_wine_try_cflags_saved
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19414 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19415 if test "x$ac_cv_cflags__Wno_format" = xyes
19416 then :
19417 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19418 fi ;;
19419 esac
19421 case $host_cpu in
19422 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19423 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19424 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19425 then :
19426 printf %s "(cached) " >&6
19427 else $as_nop
19428 ac_wine_try_cflags_saved=$CFLAGS
19429 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 int main(int argc, char **argv) { return 0; }
19433 _ACEOF
19434 if ac_fn_c_try_link "$LINENO"
19435 then :
19436 ac_cv_cflags__fno_omit_frame_pointer=yes
19437 else $as_nop
19438 ac_cv_cflags__fno_omit_frame_pointer=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19441 conftest$ac_exeext conftest.$ac_ext
19442 CFLAGS=$ac_wine_try_cflags_saved
19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19445 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19446 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19447 then :
19448 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19449 fi ;;
19450 *x86_64*)
19451 case $host_os in
19452 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19453 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19454 if test ${ac_cv_cflags__Wno_format+y}
19455 then :
19456 printf %s "(cached) " >&6
19457 else $as_nop
19458 ac_wine_try_cflags_saved=$CFLAGS
19459 CFLAGS="$CFLAGS -Wno-format"
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"
19465 then :
19466 ac_cv_cflags__Wno_format=yes
19467 else $as_nop
19468 ac_cv_cflags__Wno_format=no
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 CFLAGS=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19476 if test "x$ac_cv_cflags__Wno_format" = xyes
19477 then :
19478 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19479 fi ;;
19480 *) if test -z "$PE_ARCHS"
19481 then
19482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19483 printf %s "checking for working -mabi=ms... " >&6; }
19484 if test ${ac_cv_mabi_ms+y}
19485 then :
19486 printf %s "(cached) " >&6
19487 else $as_nop
19488 CFLAGS="$CFLAGS -mabi=ms"
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #include <stdarg.h>
19492 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19494 main (void)
19498 return 0;
19500 _ACEOF
19501 if ac_fn_c_try_compile "$LINENO"
19502 then :
19503 ac_cv_mabi_ms=yes
19504 else $as_nop
19505 ac_cv_mabi_ms=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19508 CFLAGS=$saved_CFLAGS
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19511 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19512 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
19514 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19515 esac ;;
19516 arm*)
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19518 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19519 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19520 then :
19521 printf %s "(cached) " >&6
19522 else $as_nop
19523 ac_wine_try_cflags_saved=$CFLAGS
19524 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"
19530 then :
19531 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19532 else $as_nop
19533 ac_cv_cflags__Wincompatible_function_pointer_types=no
19535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19536 conftest$ac_exeext conftest.$ac_ext
19537 CFLAGS=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19541 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19542 then :
19543 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19544 fi ;;
19545 esac
19547 CFLAGS=$saved_CFLAGS
19549 if test "x$enable_werror" = "xyes"
19550 then
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19552 printf %s "checking whether the compiler supports -Werror... " >&6; }
19553 if test ${ac_cv_cflags__Werror+y}
19554 then :
19555 printf %s "(cached) " >&6
19556 else $as_nop
19557 ac_wine_try_cflags_saved=$CFLAGS
19558 CFLAGS="$CFLAGS -Werror"
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 int main(int argc, char **argv) { return 0; }
19562 _ACEOF
19563 if ac_fn_c_try_link "$LINENO"
19564 then :
19565 ac_cv_cflags__Werror=yes
19566 else $as_nop
19567 ac_cv_cflags__Werror=no
19569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19570 conftest$ac_exeext conftest.$ac_ext
19571 CFLAGS=$ac_wine_try_cflags_saved
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19574 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19575 if test "x$ac_cv_cflags__Werror" = xyes
19576 then :
19577 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19580 if test "x$enable_build_id" = "xyes"
19581 then
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19583 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19584 if test ${ac_cv_cflags__Wl___build_id+y}
19585 then :
19586 printf %s "(cached) " >&6
19587 else $as_nop
19588 ac_wine_try_cflags_saved=$CFLAGS
19589 CFLAGS="$CFLAGS -Wl,--build-id"
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 int main(int argc, char **argv) { return 0; }
19593 _ACEOF
19594 if ac_fn_c_try_link "$LINENO"
19595 then :
19596 ac_cv_cflags__Wl___build_id=yes
19597 else $as_nop
19598 ac_cv_cflags__Wl___build_id=no
19600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19601 conftest$ac_exeext conftest.$ac_ext
19602 CFLAGS=$ac_wine_try_cflags_saved
19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19605 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19606 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19607 then :
19608 CFLAGS="$CFLAGS -Wl,--build-id"
19609 LDFLAGS="$LDFLAGS -Wl,--build-id"
19615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19616 printf %s "checking for the need to disable Fortify... " >&6; }
19617 if test ${ac_cv_c_fortify_enabled+y}
19618 then :
19619 printf %s "(cached) " >&6
19620 else $as_nop
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 #include <string.h>
19625 main (void)
19627 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19628 #error Fortify enabled
19629 #endif
19631 return 0;
19633 _ACEOF
19634 if ac_fn_c_try_compile "$LINENO"
19635 then :
19636 ac_cv_c_fortify_enabled=no
19637 else $as_nop
19638 ac_cv_c_fortify_enabled=yes
19640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19643 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19644 if test "$ac_cv_c_fortify_enabled" = yes
19645 then
19646 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19651 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19652 if test ${ac_cv_c_cfi_support+y}
19653 then :
19654 printf %s "(cached) " >&6
19655 else $as_nop
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19660 main (void)
19664 return 0;
19666 _ACEOF
19667 if ac_fn_c_try_compile "$LINENO"
19668 then :
19669 ac_cv_c_cfi_support="yes"
19670 else $as_nop
19671 ac_cv_c_cfi_support="no"
19673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19676 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19677 if test "$ac_cv_c_cfi_support" = "yes"
19678 then
19679 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19680 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19681 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19682 elif test $HOST_ARCH = x86_64
19683 then
19684 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19688 case "$HOST_ARCH,$PE_ARCHS" in
19689 x86_64,*i386*) wine_binary="wine" ;;
19690 x86_64,*) wine_binary="wine64" ;;
19691 *) wine_binary="wine" ;;
19692 esac
19693 WINELOADER_PROGRAMS="$wine_binary"
19696 case $host_os in
19697 linux*)
19698 case $host_cpu in
19699 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19700 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19701 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19703 esac
19705 darwin*|macosx*)
19706 if test "$wine_can_build_preloader" = "yes"
19707 then
19708 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19709 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19712 esac
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19716 printf %s "checking for library containing dlopen... " >&6; }
19717 if test ${ac_cv_search_dlopen+y}
19718 then :
19719 printf %s "(cached) " >&6
19720 else $as_nop
19721 ac_func_search_save_LIBS=$LIBS
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19728 char dlopen ();
19730 main (void)
19732 return dlopen ();
19734 return 0;
19736 _ACEOF
19737 for ac_lib in '' dl
19739 if test -z "$ac_lib"; then
19740 ac_res="none required"
19741 else
19742 ac_res=-l$ac_lib
19743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19745 if ac_fn_c_try_link "$LINENO"
19746 then :
19747 ac_cv_search_dlopen=$ac_res
19749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19750 conftest$ac_exeext
19751 if test ${ac_cv_search_dlopen+y}
19752 then :
19753 break
19755 done
19756 if test ${ac_cv_search_dlopen+y}
19757 then :
19759 else $as_nop
19760 ac_cv_search_dlopen=no
19762 rm conftest.$ac_ext
19763 LIBS=$ac_func_search_save_LIBS
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19766 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19767 ac_res=$ac_cv_search_dlopen
19768 if test "$ac_res" != no
19769 then :
19770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19776 printf %s "checking for library containing gethostbyname... " >&6; }
19777 if test ${ac_cv_search_gethostbyname+y}
19778 then :
19779 printf %s "(cached) " >&6
19780 else $as_nop
19781 ac_func_search_save_LIBS=$LIBS
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 /* Override any GCC internal prototype to avoid an error.
19786 Use char because int might match the return type of a GCC
19787 builtin and then its argument prototype would still apply. */
19788 char gethostbyname ();
19790 main (void)
19792 return gethostbyname ();
19794 return 0;
19796 _ACEOF
19797 for ac_lib in '' nsl
19799 if test -z "$ac_lib"; then
19800 ac_res="none required"
19801 else
19802 ac_res=-l$ac_lib
19803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19805 if ac_fn_c_try_link "$LINENO"
19806 then :
19807 ac_cv_search_gethostbyname=$ac_res
19809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19810 conftest$ac_exeext
19811 if test ${ac_cv_search_gethostbyname+y}
19812 then :
19813 break
19815 done
19816 if test ${ac_cv_search_gethostbyname+y}
19817 then :
19819 else $as_nop
19820 ac_cv_search_gethostbyname=no
19822 rm conftest.$ac_ext
19823 LIBS=$ac_func_search_save_LIBS
19825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19826 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19827 ac_res=$ac_cv_search_gethostbyname
19828 if test "$ac_res" != no
19829 then :
19830 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19836 printf %s "checking for library containing connect... " >&6; }
19837 if test ${ac_cv_search_connect+y}
19838 then :
19839 printf %s "(cached) " >&6
19840 else $as_nop
19841 ac_func_search_save_LIBS=$LIBS
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19845 /* Override any GCC internal prototype to avoid an error.
19846 Use char because int might match the return type of a GCC
19847 builtin and then its argument prototype would still apply. */
19848 char connect ();
19850 main (void)
19852 return connect ();
19854 return 0;
19856 _ACEOF
19857 for ac_lib in '' socket
19859 if test -z "$ac_lib"; then
19860 ac_res="none required"
19861 else
19862 ac_res=-l$ac_lib
19863 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19865 if ac_fn_c_try_link "$LINENO"
19866 then :
19867 ac_cv_search_connect=$ac_res
19869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19870 conftest$ac_exeext
19871 if test ${ac_cv_search_connect+y}
19872 then :
19873 break
19875 done
19876 if test ${ac_cv_search_connect+y}
19877 then :
19879 else $as_nop
19880 ac_cv_search_connect=no
19882 rm conftest.$ac_ext
19883 LIBS=$ac_func_search_save_LIBS
19885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19886 printf "%s\n" "$ac_cv_search_connect" >&6; }
19887 ac_res=$ac_cv_search_connect
19888 if test "$ac_res" != no
19889 then :
19890 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19896 printf %s "checking for library containing inet_aton... " >&6; }
19897 if test ${ac_cv_search_inet_aton+y}
19898 then :
19899 printf %s "(cached) " >&6
19900 else $as_nop
19901 ac_func_search_save_LIBS=$LIBS
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19905 /* Override any GCC internal prototype to avoid an error.
19906 Use char because int might match the return type of a GCC
19907 builtin and then its argument prototype would still apply. */
19908 char inet_aton ();
19910 main (void)
19912 return inet_aton ();
19914 return 0;
19916 _ACEOF
19917 for ac_lib in '' resolv
19919 if test -z "$ac_lib"; then
19920 ac_res="none required"
19921 else
19922 ac_res=-l$ac_lib
19923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19925 if ac_fn_c_try_link "$LINENO"
19926 then :
19927 ac_cv_search_inet_aton=$ac_res
19929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19930 conftest$ac_exeext
19931 if test ${ac_cv_search_inet_aton+y}
19932 then :
19933 break
19935 done
19936 if test ${ac_cv_search_inet_aton+y}
19937 then :
19939 else $as_nop
19940 ac_cv_search_inet_aton=no
19942 rm conftest.$ac_ext
19943 LIBS=$ac_func_search_save_LIBS
19945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19946 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19947 ac_res=$ac_cv_search_inet_aton
19948 if test "$ac_res" != no
19949 then :
19950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19955 ac_save_CFLAGS="$CFLAGS"
19956 CFLAGS="$CFLAGS $BUILTINFLAG"
19957 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19958 if test "x$ac_cv_func_dladdr1" = xyes
19959 then :
19960 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19963 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19964 if test "x$ac_cv_func_dlinfo" = xyes
19965 then :
19966 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19969 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19970 if test "x$ac_cv_func_epoll_create" = xyes
19971 then :
19972 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19975 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19976 if test "x$ac_cv_func_fstatfs" = xyes
19977 then :
19978 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19981 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19982 if test "x$ac_cv_func_futimens" = xyes
19983 then :
19984 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19987 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19988 if test "x$ac_cv_func_futimes" = xyes
19989 then :
19990 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19993 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19994 if test "x$ac_cv_func_futimesat" = xyes
19995 then :
19996 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19999 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20000 if test "x$ac_cv_func_getaddrinfo" = xyes
20001 then :
20002 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20005 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20006 if test "x$ac_cv_func_getattrlist" = xyes
20007 then :
20008 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20011 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20012 if test "x$ac_cv_func_getauxval" = xyes
20013 then :
20014 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20017 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20018 if test "x$ac_cv_func_getifaddrs" = xyes
20019 then :
20020 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20023 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20024 if test "x$ac_cv_func_getrandom" = xyes
20025 then :
20026 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20029 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20030 if test "x$ac_cv_func_kqueue" = xyes
20031 then :
20032 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20035 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20036 if test "x$ac_cv_func_mach_continuous_time" = xyes
20037 then :
20038 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20041 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20042 if test "x$ac_cv_func_pipe2" = xyes
20043 then :
20044 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20047 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20048 if test "x$ac_cv_func_port_create" = xyes
20049 then :
20050 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20053 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20054 if test "x$ac_cv_func_posix_fadvise" = xyes
20055 then :
20056 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20059 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20060 if test "x$ac_cv_func_posix_fallocate" = xyes
20061 then :
20062 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20065 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20066 if test "x$ac_cv_func_prctl" = xyes
20067 then :
20068 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20071 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20072 if test "x$ac_cv_func_proc_pidinfo" = xyes
20073 then :
20074 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20077 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20078 if test "x$ac_cv_func_sched_yield" = xyes
20079 then :
20080 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20083 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20084 if test "x$ac_cv_func_setproctitle" = xyes
20085 then :
20086 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20089 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20090 if test "x$ac_cv_func_setprogname" = xyes
20091 then :
20092 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20095 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20096 if test "x$ac_cv_func_sigprocmask" = xyes
20097 then :
20098 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20101 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20102 if test "x$ac_cv_func_sysinfo" = xyes
20103 then :
20104 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20107 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20108 if test "x$ac_cv_func_tcdrain" = xyes
20109 then :
20110 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20113 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20114 if test "x$ac_cv_func_thr_kill2" = xyes
20115 then :
20116 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20120 CFLAGS="$ac_save_CFLAGS"
20122 case $host_os in
20123 darwin*|macosx*) ;;
20124 *) ac_save_LIBS=$LIBS
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20126 printf %s "checking for library containing clock_gettime... " >&6; }
20127 if test ${ac_cv_search_clock_gettime+y}
20128 then :
20129 printf %s "(cached) " >&6
20130 else $as_nop
20131 ac_func_search_save_LIBS=$LIBS
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20135 /* Override any GCC internal prototype to avoid an error.
20136 Use char because int might match the return type of a GCC
20137 builtin and then its argument prototype would still apply. */
20138 char clock_gettime ();
20140 main (void)
20142 return clock_gettime ();
20144 return 0;
20146 _ACEOF
20147 for ac_lib in '' rt
20149 if test -z "$ac_lib"; then
20150 ac_res="none required"
20151 else
20152 ac_res=-l$ac_lib
20153 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20155 if ac_fn_c_try_link "$LINENO"
20156 then :
20157 ac_cv_search_clock_gettime=$ac_res
20159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20160 conftest$ac_exeext
20161 if test ${ac_cv_search_clock_gettime+y}
20162 then :
20163 break
20165 done
20166 if test ${ac_cv_search_clock_gettime+y}
20167 then :
20169 else $as_nop
20170 ac_cv_search_clock_gettime=no
20172 rm conftest.$ac_ext
20173 LIBS=$ac_func_search_save_LIBS
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20176 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20177 ac_res=$ac_cv_search_clock_gettime
20178 if test "$ac_res" != no
20179 then :
20180 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20182 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20184 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20188 LIBS=$ac_save_LIBS
20190 esac
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20193 printf %s "checking for sched_setaffinity... " >&6; }
20194 if test ${wine_cv_have_sched_setaffinity+y}
20195 then :
20196 printf %s "(cached) " >&6
20197 else $as_nop
20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h. */
20200 #include <sched.h>
20202 main (void)
20204 sched_setaffinity(0, 0, 0);
20206 return 0;
20208 _ACEOF
20209 if ac_fn_c_try_link "$LINENO"
20210 then :
20211 wine_cv_have_sched_setaffinity=yes
20212 else $as_nop
20213 wine_cv_have_sched_setaffinity=no
20215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20216 conftest$ac_exeext conftest.$ac_ext
20218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20219 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20220 if test "$wine_cv_have_sched_setaffinity" = "yes"
20221 then
20223 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20229 printf %s "checking for inline... " >&6; }
20230 if test ${ac_cv_c_inline+y}
20231 then :
20232 printf %s "(cached) " >&6
20233 else $as_nop
20234 ac_cv_c_inline=no
20235 for ac_kw in inline __inline__ __inline; do
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20238 #ifndef __cplusplus
20239 typedef int foo_t;
20240 static $ac_kw foo_t static_foo (void) {return 0; }
20241 $ac_kw foo_t foo (void) {return 0; }
20242 #endif
20244 _ACEOF
20245 if ac_fn_c_try_compile "$LINENO"
20246 then :
20247 ac_cv_c_inline=$ac_kw
20249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20250 test "$ac_cv_c_inline" != no && break
20251 done
20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20255 printf "%s\n" "$ac_cv_c_inline" >&6; }
20257 case $ac_cv_c_inline in
20258 inline | yes) ;;
20260 case $ac_cv_c_inline in
20261 no) ac_val=;;
20262 *) ac_val=$ac_cv_c_inline;;
20263 esac
20264 cat >>confdefs.h <<_ACEOF
20265 #ifndef __cplusplus
20266 #define inline $ac_val
20267 #endif
20268 _ACEOF
20270 esac
20272 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20274 if test "x$ac_cv_type_request_sense" = xyes
20275 then :
20277 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20283 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20284 #include <sys/socket.h>
20285 #ifdef HAVE_SYS_SOCKETVAR_H
20286 #include <sys/socketvar.h>
20287 #endif
20288 #ifdef HAVE_NET_ROUTE_H
20289 #include <net/route.h>
20290 #endif
20291 #ifdef HAVE_NETINET_IN_H
20292 #include <netinet/in.h>
20293 #endif
20294 #ifdef HAVE_NETINET_IN_SYSTM_H
20295 #include <netinet/in_systm.h>
20296 #endif
20297 #ifdef HAVE_NETINET_IP_H
20298 #include <netinet/ip.h>
20299 #endif
20300 #ifdef HAVE_NETINET_IN_PCB_H
20301 #include <netinet/in_pcb.h>
20302 #endif
20304 if test "x$ac_cv_type_struct_xinpgen" = xyes
20305 then :
20307 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20314 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20315 if test ${wine_cv_linux_gethostbyname_r_6+y}
20316 then :
20317 printf %s "(cached) " >&6
20318 else $as_nop
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20321 #include <netdb.h>
20323 main (void)
20326 char *name=0;
20327 struct hostent he;
20328 struct hostent *result;
20329 char *buf=0;
20330 int bufsize=0;
20331 int errnr;
20332 char *addr=0;
20333 int addrlen=0;
20334 int addrtype=0;
20335 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20336 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20339 return 0;
20341 _ACEOF
20342 if ac_fn_c_try_link "$LINENO"
20343 then :
20344 wine_cv_linux_gethostbyname_r_6=yes
20345 else $as_nop
20346 wine_cv_linux_gethostbyname_r_6=no
20349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20350 conftest$ac_exeext conftest.$ac_ext
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20354 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20355 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20356 then
20358 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20362 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20363 #include <sys/socket.h>
20364 #ifdef HAVE_SYS_UN_H
20365 # include <sys/un.h>
20366 #endif
20368 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20369 then :
20371 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20375 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20376 #include <sys/socket.h>
20377 #ifdef HAVE_SYS_UN_H
20378 # include <sys/un.h>
20379 #endif
20381 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20382 then :
20384 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20390 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20391 #ifdef HAVE_SCSI_SG_H
20392 #include <scsi/sg.h>
20393 #endif
20395 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20396 then :
20398 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20402 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>
20403 #ifdef HAVE_SCSI_SG_H
20404 #include <scsi/sg.h>
20405 #endif
20407 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20408 then :
20410 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20416 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20418 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20427 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20428 #ifdef HAVE_SYS_MTIO_H
20429 #include <sys/mtio.h>
20430 #endif
20432 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20440 #ifdef HAVE_SYS_MTIO_H
20441 #include <sys/mtio.h>
20442 #endif
20444 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20452 #ifdef HAVE_SYS_MTIO_H
20453 #include <sys/mtio.h>
20454 #endif
20456 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20465 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20481 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20489 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20497 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20498 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20505 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20506 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20507 then :
20509 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20513 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20514 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20515 then :
20517 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20521 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20522 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20523 then :
20525 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20529 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20530 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20537 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20538 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20539 then :
20541 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20545 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20546 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20547 then :
20549 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20555 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>
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20558 #endif
20560 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20561 then :
20563 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20569 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
20570 #include <resolv.h>
20571 #endif
20573 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20582 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20583 #include <netinet/in.h>
20584 #endif
20586 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20587 then :
20589 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20595 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20596 #ifdef HAVE_SYS_SOCKETVAR_H
20597 #include <sys/socketvar.h>
20598 #endif
20599 #ifdef HAVE_NETINET_IN_H
20600 #include <netinet/in.h>
20601 #endif
20602 #ifdef HAVE_NETINET_IP_VAR_H
20603 #include <netinet/ip_var.h>
20604 #endif
20606 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20607 then :
20609 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20615 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
20616 #include <netinet/ip_var.h>
20617 #endif
20619 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20620 then :
20622 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20628 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20629 #ifdef HAVE_SYS_SOCKETVAR_H
20630 #include <sys/socketvar.h>
20631 #endif
20632 #ifdef HAVE_NETINET_IN_H
20633 #include <netinet/in.h>
20634 #endif
20635 #ifdef HAVE_NETINET6_IP6_VAR_H
20636 #include <netinet6/ip6_var.h>
20637 #endif
20639 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20640 then :
20642 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20648 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20649 #ifdef HAVE_SYS_SOCKETVAR_H
20650 #include <sys/socketvar.h>
20651 #endif
20652 #ifdef HAVE_NETINET_IN_H
20653 #include <netinet/in.h>
20654 #endif
20655 #ifdef HAVE_NETINET_IP_H
20656 #include <netinet/ip.h>
20657 #endif
20658 #ifdef HAVE_NETINET_IP_ICMP_H
20659 #include <netinet/ip_icmp.h>
20660 #endif
20661 #ifdef HAVE_NETINET_ICMP_VAR_H
20662 #include <netinet/icmp_var.h>
20663 #endif
20665 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20674 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20675 #ifdef HAVE_SYS_SOCKETVAR_H
20676 #include <sys/socketvar.h>
20677 #endif
20678 #ifdef HAVE_NETINET_IN_H
20679 #include <netinet/in.h>
20680 #endif
20681 #ifdef HAVE_NETINET_ICMP6_H
20682 #include <netinet/icmp6.h>
20683 #endif
20685 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20686 then :
20688 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20695 #ifdef HAVE_SYS_SOCKETVAR_H
20696 #include <sys/socketvar.h>
20697 #endif
20698 #ifdef HAVE_NETINET_IN_H
20699 #include <netinet/in.h>
20700 #endif
20701 #ifdef HAVE_NETINET_TCP_H
20702 #include <netinet/tcp.h>
20703 #endif
20704 #ifdef HAVE_NETINET_TCP_VAR_H
20705 #include <netinet/tcp_var.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20717 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
20718 #include <netinet/tcp_var.h>
20719 #endif
20721 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20722 then :
20724 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20730 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20731 #ifdef HAVE_NETINET_IN_H
20732 #include <netinet/in.h>
20733 #endif
20734 #ifdef HAVE_NETINET_IP_VAR_H
20735 #include <netinet/ip_var.h>
20736 #endif
20737 #ifdef HAVE_NETINET_UDP_H
20738 #include <netinet/udp.h>
20739 #endif
20740 #ifdef HAVE_NETINET_UDP_VAR_H
20741 #include <netinet/udp_var.h>
20742 #endif
20744 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20745 then :
20747 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20753 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20754 #ifdef HAVE_NET_IF_H
20755 # include <net/if.h>
20756 #endif
20758 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20759 then :
20761 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20767 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20768 # include <sys/sysinfo.h>
20769 #endif
20771 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20772 then :
20774 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20778 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20779 # include <sys/sysinfo.h>
20780 #endif
20782 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20783 then :
20785 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20791 LIBS="$ac_save_LIBS"
20793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20794 printf %s "checking for __builtin_popcount... " >&6; }
20795 if test ${ac_cv_have___builtin_popcount+y}
20796 then :
20797 printf %s "(cached) " >&6
20798 else $as_nop
20799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20803 main (void)
20805 return __builtin_popcount(1)
20807 return 0;
20809 _ACEOF
20810 if ac_fn_c_try_link "$LINENO"
20811 then :
20812 ac_cv_have___builtin_popcount="yes"
20813 else $as_nop
20814 ac_cv_have___builtin_popcount="no"
20816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20817 conftest$ac_exeext conftest.$ac_ext
20819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20820 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20821 if test "$ac_cv_have___builtin_popcount" = "yes"
20822 then
20824 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20829 printf %s "checking for __clear_cache... " >&6; }
20830 if test ${ac_cv_have___clear_cache+y}
20831 then :
20832 printf %s "(cached) " >&6
20833 else $as_nop
20834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20838 main (void)
20840 __clear_cache((void*)0, (void*)0); return 0;
20842 return 0;
20844 _ACEOF
20845 if ac_fn_c_try_link "$LINENO"
20846 then :
20847 ac_cv_have___clear_cache="yes"
20848 else $as_nop
20849 ac_cv_have___clear_cache="no"
20851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20852 conftest$ac_exeext conftest.$ac_ext
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20855 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20856 if test "$ac_cv_have___clear_cache" = "yes"
20857 then
20859 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20864 case $host_cpu in
20865 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20866 printf %s "checking whether we need to define __i386__... " >&6; }
20867 if test ${ac_cv_cpp_def___i386__+y}
20868 then :
20869 printf %s "(cached) " >&6
20870 else $as_nop
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20873 #ifndef __i386__
20875 #endif
20876 _ACEOF
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev/null 2>&1
20879 then :
20880 ac_cv_cpp_def___i386__=yes
20881 else $as_nop
20882 ac_cv_cpp_def___i386__=no
20884 rm -rf conftest*
20887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20888 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20889 if test "x$ac_cv_cpp_def___i386__" = xyes
20890 then :
20891 CFLAGS="$CFLAGS -D__i386__"
20892 LINTFLAGS="$LINTFLAGS -D__i386__"
20893 fi ;;
20894 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20895 printf %s "checking whether we need to define __x86_64__... " >&6; }
20896 if test ${ac_cv_cpp_def___x86_64__+y}
20897 then :
20898 printf %s "(cached) " >&6
20899 else $as_nop
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902 #ifndef __x86_64__
20904 #endif
20905 _ACEOF
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev/null 2>&1
20908 then :
20909 ac_cv_cpp_def___x86_64__=yes
20910 else $as_nop
20911 ac_cv_cpp_def___x86_64__=no
20913 rm -rf conftest*
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20918 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20919 then :
20920 CFLAGS="$CFLAGS -D__x86_64__"
20921 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20922 fi ;;
20923 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20924 printf %s "checking whether we need to define __sparc64__... " >&6; }
20925 if test ${ac_cv_cpp_def___sparc64__+y}
20926 then :
20927 printf %s "(cached) " >&6
20928 else $as_nop
20929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #ifndef __sparc64__
20933 #endif
20934 _ACEOF
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev/null 2>&1
20937 then :
20938 ac_cv_cpp_def___sparc64__=yes
20939 else $as_nop
20940 ac_cv_cpp_def___sparc64__=no
20942 rm -rf conftest*
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20947 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20948 then :
20949 CFLAGS="$CFLAGS -D__sparc64__"
20950 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20951 fi ;;
20952 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20953 printf %s "checking whether we need to define __sparc__... " >&6; }
20954 if test ${ac_cv_cpp_def___sparc__+y}
20955 then :
20956 printf %s "(cached) " >&6
20957 else $as_nop
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20960 #ifndef __sparc__
20962 #endif
20963 _ACEOF
20964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20965 $EGREP "yes" >/dev/null 2>&1
20966 then :
20967 ac_cv_cpp_def___sparc__=yes
20968 else $as_nop
20969 ac_cv_cpp_def___sparc__=no
20971 rm -rf conftest*
20974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20975 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20976 if test "x$ac_cv_cpp_def___sparc__" = xyes
20977 then :
20978 CFLAGS="$CFLAGS -D__sparc__"
20979 LINTFLAGS="$LINTFLAGS -D__sparc__"
20980 fi ;;
20981 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20982 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20983 if test ${ac_cv_cpp_def___powerpc64__+y}
20984 then :
20985 printf %s "(cached) " >&6
20986 else $as_nop
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #ifndef __powerpc64__
20991 #endif
20992 _ACEOF
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev/null 2>&1
20995 then :
20996 ac_cv_cpp_def___powerpc64__=yes
20997 else $as_nop
20998 ac_cv_cpp_def___powerpc64__=no
21000 rm -rf conftest*
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21004 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21005 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21006 then :
21007 CFLAGS="$CFLAGS -D__powerpc64__"
21008 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21009 fi ;;
21010 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21011 printf %s "checking whether we need to define __powerpc__... " >&6; }
21012 if test ${ac_cv_cpp_def___powerpc__+y}
21013 then :
21014 printf %s "(cached) " >&6
21015 else $as_nop
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #ifndef __powerpc__
21020 #endif
21021 _ACEOF
21022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21023 $EGREP "yes" >/dev/null 2>&1
21024 then :
21025 ac_cv_cpp_def___powerpc__=yes
21026 else $as_nop
21027 ac_cv_cpp_def___powerpc__=no
21029 rm -rf conftest*
21032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21033 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21034 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21035 then :
21036 CFLAGS="$CFLAGS -D__powerpc__"
21037 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21038 fi ;;
21039 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21040 printf %s "checking whether we need to define __aarch64__... " >&6; }
21041 if test ${ac_cv_cpp_def___aarch64__+y}
21042 then :
21043 printf %s "(cached) " >&6
21044 else $as_nop
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047 #ifndef __aarch64__
21049 #endif
21050 _ACEOF
21051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21052 $EGREP "yes" >/dev/null 2>&1
21053 then :
21054 ac_cv_cpp_def___aarch64__=yes
21055 else $as_nop
21056 ac_cv_cpp_def___aarch64__=no
21058 rm -rf conftest*
21061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21062 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21063 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21064 then :
21065 CFLAGS="$CFLAGS -D__aarch64__"
21066 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21067 fi ;;
21068 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21069 printf %s "checking whether we need to define __arm__... " >&6; }
21070 if test ${ac_cv_cpp_def___arm__+y}
21071 then :
21072 printf %s "(cached) " >&6
21073 else $as_nop
21074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21075 /* end confdefs.h. */
21076 #ifndef __arm__
21078 #endif
21079 _ACEOF
21080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21081 $EGREP "yes" >/dev/null 2>&1
21082 then :
21083 ac_cv_cpp_def___arm__=yes
21084 else $as_nop
21085 ac_cv_cpp_def___arm__=no
21087 rm -rf conftest*
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21091 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21092 if test "x$ac_cv_cpp_def___arm__" = xyes
21093 then :
21094 CFLAGS="$CFLAGS -D__arm__"
21095 LINTFLAGS="$LINTFLAGS -D__arm__"
21096 fi ;;
21097 esac
21099 case $host_vendor in
21100 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21101 printf %s "checking whether we need to define __sun__... " >&6; }
21102 if test ${ac_cv_cpp_def___sun__+y}
21103 then :
21104 printf %s "(cached) " >&6
21105 else $as_nop
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #ifndef __sun__
21110 #endif
21111 _ACEOF
21112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21113 $EGREP "yes" >/dev/null 2>&1
21114 then :
21115 ac_cv_cpp_def___sun__=yes
21116 else $as_nop
21117 ac_cv_cpp_def___sun__=no
21119 rm -rf conftest*
21122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21123 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21124 if test "x$ac_cv_cpp_def___sun__" = xyes
21125 then :
21126 CFLAGS="$CFLAGS -D__sun__"
21127 LINTFLAGS="$LINTFLAGS -D__sun__"
21128 fi ;;
21129 esac
21135 ac_config_commands="$ac_config_commands include/stamp-h"
21137 printf %s "creating Makefile rules..." >&6
21139 makedep_flags=""
21140 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21142 wine_srcdir=
21143 test "$srcdir" = . || wine_srcdir="$srcdir/"
21145 ac_config_links="$ac_config_links wine:tools/winewrapper"
21146 wine_fn_config_symlink wine
21147 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21148 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21149 wine_fn_config_symlink wine64
21152 wine_fn_config_makefile dlls/acledit enable_acledit
21153 wine_fn_config_makefile dlls/aclui enable_aclui
21154 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21155 wine_fn_config_makefile dlls/activeds enable_activeds
21156 wine_fn_config_makefile dlls/activeds/tests enable_tests
21157 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21158 wine_fn_config_makefile dlls/adsldp enable_adsldp
21159 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21160 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21161 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21162 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21163 wine_fn_config_makefile dlls/advpack enable_advpack
21164 wine_fn_config_makefile dlls/advpack/tests enable_tests
21165 wine_fn_config_makefile dlls/amsi enable_amsi
21166 wine_fn_config_makefile dlls/amstream enable_amstream
21167 wine_fn_config_makefile dlls/amstream/tests enable_tests
21168 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21169 wine_fn_config_makefile dlls/apphelp enable_apphelp
21170 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21171 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21172 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21173 wine_fn_config_makefile dlls/atl enable_atl
21174 wine_fn_config_makefile dlls/atl/tests enable_tests
21175 wine_fn_config_makefile dlls/atl100 enable_atl100
21176 wine_fn_config_makefile dlls/atl100/tests enable_tests
21177 wine_fn_config_makefile dlls/atl110 enable_atl110
21178 wine_fn_config_makefile dlls/atl110/tests enable_tests
21179 wine_fn_config_makefile dlls/atl80 enable_atl80
21180 wine_fn_config_makefile dlls/atl80/tests enable_tests
21181 wine_fn_config_makefile dlls/atl90 enable_atl90
21182 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21183 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21184 wine_fn_config_makefile dlls/atmlib enable_atmlib
21185 wine_fn_config_makefile dlls/authz enable_authz
21186 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21187 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21188 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21189 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21190 wine_fn_config_makefile dlls/avrt enable_avrt
21191 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21192 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21193 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21194 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21195 wine_fn_config_makefile dlls/browseui enable_browseui
21196 wine_fn_config_makefile dlls/browseui/tests enable_tests
21197 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21198 wine_fn_config_makefile dlls/cabinet enable_cabinet
21199 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21200 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21201 wine_fn_config_makefile dlls/cards enable_cards
21202 wine_fn_config_makefile dlls/cdosys enable_cdosys
21203 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21204 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21205 wine_fn_config_makefile dlls/clusapi enable_clusapi
21206 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21207 wine_fn_config_makefile dlls/combase enable_combase
21208 wine_fn_config_makefile dlls/combase/tests enable_tests
21209 wine_fn_config_makefile dlls/comcat enable_comcat
21210 wine_fn_config_makefile dlls/comcat/tests enable_tests
21211 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21212 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21213 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21214 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21215 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21216 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21217 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21218 wine_fn_config_makefile dlls/compstui enable_compstui
21219 wine_fn_config_makefile dlls/compstui/tests enable_tests
21220 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21221 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21222 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21223 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21224 wine_fn_config_makefile dlls/connect enable_connect
21225 wine_fn_config_makefile dlls/credui enable_credui
21226 wine_fn_config_makefile dlls/credui/tests enable_tests
21227 wine_fn_config_makefile dlls/crtdll enable_crtdll
21228 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21229 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21230 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21231 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21232 wine_fn_config_makefile dlls/cryptext enable_cryptext
21233 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21234 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21235 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21236 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21237 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21238 wine_fn_config_makefile dlls/cryptui enable_cryptui
21239 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21240 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21241 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21242 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21243 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21244 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21245 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21246 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21247 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21248 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21249 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21250 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21251 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21252 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21253 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21254 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21255 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21256 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21257 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21258 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21259 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21260 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21261 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21262 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21263 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21264 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21265 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21266 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21267 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21268 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21269 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21270 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21271 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21272 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21273 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21274 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21275 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21276 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21277 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21278 wine_fn_config_makefile dlls/d3dim enable_d3dim
21279 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21280 wine_fn_config_makefile dlls/d3drm enable_d3drm
21281 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21282 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21283 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21284 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21285 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21286 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21287 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21288 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21289 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21290 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21291 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21292 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21293 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21294 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21295 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21296 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21297 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21298 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21299 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21300 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21301 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21302 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21303 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21304 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21305 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21306 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21307 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21308 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21309 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21310 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21311 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21312 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21313 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21314 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21315 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21316 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21317 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21318 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21319 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21320 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21321 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21322 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21323 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21324 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21325 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21326 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21327 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21328 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21329 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21330 wine_fn_config_makefile dlls/davclnt enable_davclnt
21331 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21332 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21333 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21334 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21335 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21336 wine_fn_config_makefile dlls/dcomp enable_dcomp
21337 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21338 wine_fn_config_makefile dlls/ddraw enable_ddraw
21339 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21340 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21341 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21342 wine_fn_config_makefile dlls/devenum enable_devenum
21343 wine_fn_config_makefile dlls/devenum/tests enable_tests
21344 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21345 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21346 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21347 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21348 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21349 wine_fn_config_makefile dlls/difxapi enable_difxapi
21350 wine_fn_config_makefile dlls/dinput enable_dinput
21351 wine_fn_config_makefile dlls/dinput/tests enable_tests
21352 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21353 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21354 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21355 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21356 wine_fn_config_makefile dlls/dispex enable_dispex
21357 wine_fn_config_makefile dlls/dispex/tests enable_tests
21358 wine_fn_config_makefile dlls/display.drv16 enable_win16
21359 wine_fn_config_makefile dlls/dmband enable_dmband
21360 wine_fn_config_makefile dlls/dmband/tests enable_tests
21361 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21362 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21363 wine_fn_config_makefile dlls/dmime enable_dmime
21364 wine_fn_config_makefile dlls/dmime/tests enable_tests
21365 wine_fn_config_makefile dlls/dmloader enable_dmloader
21366 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21367 wine_fn_config_makefile dlls/dmscript enable_dmscript
21368 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21369 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21370 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21371 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21372 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21373 wine_fn_config_makefile dlls/dmusic enable_dmusic
21374 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21375 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21376 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21377 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21378 wine_fn_config_makefile dlls/dplay enable_dplay
21379 wine_fn_config_makefile dlls/dplayx enable_dplayx
21380 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21381 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21382 wine_fn_config_makefile dlls/dpnet enable_dpnet
21383 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21384 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21385 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21386 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21387 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21388 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21389 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21390 wine_fn_config_makefile dlls/drmclien enable_drmclien
21391 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21392 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21393 wine_fn_config_makefile dlls/dsound enable_dsound
21394 wine_fn_config_makefile dlls/dsound/tests enable_tests
21395 wine_fn_config_makefile dlls/dsquery enable_dsquery
21396 wine_fn_config_makefile dlls/dssenh enable_dssenh
21397 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21398 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21399 wine_fn_config_makefile dlls/dswave enable_dswave
21400 wine_fn_config_makefile dlls/dswave/tests enable_tests
21401 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21402 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21403 wine_fn_config_makefile dlls/dwrite enable_dwrite
21404 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21405 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21406 wine_fn_config_makefile dlls/dxcore enable_dxcore
21407 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21408 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21409 wine_fn_config_makefile dlls/dxgi enable_dxgi
21410 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21411 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21412 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21413 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21414 wine_fn_config_makefile dlls/esent enable_esent
21415 wine_fn_config_makefile dlls/evr enable_evr
21416 wine_fn_config_makefile dlls/evr/tests enable_tests
21417 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21418 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21419 wine_fn_config_makefile dlls/faultrep enable_faultrep
21420 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21421 wine_fn_config_makefile dlls/feclient enable_feclient
21422 wine_fn_config_makefile dlls/fltlib enable_fltlib
21423 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21424 wine_fn_config_makefile dlls/fntcache enable_fntcache
21425 wine_fn_config_makefile dlls/fontsub enable_fontsub
21426 wine_fn_config_makefile dlls/fusion enable_fusion
21427 wine_fn_config_makefile dlls/fusion/tests enable_tests
21428 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21429 wine_fn_config_makefile dlls/gameux enable_gameux
21430 wine_fn_config_makefile dlls/gameux/tests enable_tests
21431 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21432 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21433 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21434 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21435 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21436 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21437 wine_fn_config_makefile dlls/geolocation enable_geolocation
21438 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21439 wine_fn_config_makefile dlls/glu32 enable_glu32
21440 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21441 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21442 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21443 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21444 wine_fn_config_makefile dlls/hal enable_hal
21445 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21446 wine_fn_config_makefile dlls/hid enable_hid
21447 wine_fn_config_makefile dlls/hid/tests enable_tests
21448 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21449 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21450 wine_fn_config_makefile dlls/hlink enable_hlink
21451 wine_fn_config_makefile dlls/hlink/tests enable_tests
21452 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21453 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21454 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21455 wine_fn_config_makefile dlls/http.sys enable_http_sys
21456 wine_fn_config_makefile dlls/httpapi enable_httpapi
21457 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21458 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21459 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21460 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21461 wine_fn_config_makefile dlls/iccvid enable_iccvid
21462 wine_fn_config_makefile dlls/icmp enable_icmp
21463 wine_fn_config_makefile dlls/ieframe enable_ieframe
21464 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21465 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21466 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21467 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21468 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21469 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21470 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21471 wine_fn_config_makefile dlls/imm32 enable_imm32
21472 wine_fn_config_makefile dlls/imm32/tests enable_tests
21473 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21474 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21475 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21476 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21477 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21478 wine_fn_config_makefile dlls/infosoft enable_infosoft
21479 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21480 wine_fn_config_makefile dlls/initpki enable_initpki
21481 wine_fn_config_makefile dlls/inkobj enable_inkobj
21482 wine_fn_config_makefile dlls/inseng enable_inseng
21483 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21484 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21485 wine_fn_config_makefile dlls/iprop enable_iprop
21486 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21487 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21488 wine_fn_config_makefile dlls/itircl enable_itircl
21489 wine_fn_config_makefile dlls/itss enable_itss
21490 wine_fn_config_makefile dlls/itss/tests enable_tests
21491 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21492 wine_fn_config_makefile dlls/jscript enable_jscript
21493 wine_fn_config_makefile dlls/jscript/tests enable_tests
21494 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21495 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21496 wine_fn_config_makefile dlls/kerberos enable_kerberos
21497 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21498 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21499 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21500 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21501 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21502 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21503 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21504 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21505 wine_fn_config_makefile dlls/ksuser enable_ksuser
21506 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21507 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21508 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21509 wine_fn_config_makefile dlls/loadperf enable_loadperf
21510 wine_fn_config_makefile dlls/localspl enable_localspl
21511 wine_fn_config_makefile dlls/localspl/tests enable_tests
21512 wine_fn_config_makefile dlls/localui enable_localui
21513 wine_fn_config_makefile dlls/localui/tests enable_tests
21514 wine_fn_config_makefile dlls/lz32 enable_lz32
21515 wine_fn_config_makefile dlls/lz32/tests enable_tests
21516 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21517 wine_fn_config_makefile dlls/magnification enable_magnification
21518 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21519 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21520 wine_fn_config_makefile dlls/mapistub enable_mapistub
21521 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21522 wine_fn_config_makefile dlls/mcicda enable_mcicda
21523 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21524 wine_fn_config_makefile dlls/mciseq enable_mciseq
21525 wine_fn_config_makefile dlls/mciwave enable_mciwave
21526 wine_fn_config_makefile dlls/mf enable_mf
21527 wine_fn_config_makefile dlls/mf/tests enable_tests
21528 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21529 wine_fn_config_makefile dlls/mferror enable_mferror
21530 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21531 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21532 wine_fn_config_makefile dlls/mfplat enable_mfplat
21533 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21534 wine_fn_config_makefile dlls/mfplay enable_mfplay
21535 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21536 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21537 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21538 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21539 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21540 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21541 wine_fn_config_makefile dlls/midimap enable_midimap
21542 wine_fn_config_makefile dlls/mlang enable_mlang
21543 wine_fn_config_makefile dlls/mlang/tests enable_tests
21544 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21545 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21546 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21547 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21548 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21549 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21550 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21551 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21552 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21553 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21554 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21555 wine_fn_config_makefile dlls/mpr enable_mpr
21556 wine_fn_config_makefile dlls/mpr/tests enable_tests
21557 wine_fn_config_makefile dlls/mprapi enable_mprapi
21558 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21559 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21560 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21561 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21562 wine_fn_config_makefile dlls/msado15 enable_msado15
21563 wine_fn_config_makefile dlls/msado15/tests enable_tests
21564 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21565 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21566 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21567 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21568 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21569 wine_fn_config_makefile dlls/mscms enable_mscms
21570 wine_fn_config_makefile dlls/mscms/tests enable_tests
21571 wine_fn_config_makefile dlls/mscoree enable_mscoree
21572 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21573 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21574 wine_fn_config_makefile dlls/msctf enable_msctf
21575 wine_fn_config_makefile dlls/msctf/tests enable_tests
21576 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21577 wine_fn_config_makefile dlls/msctfp enable_msctfp
21578 wine_fn_config_makefile dlls/msdaps enable_msdaps
21579 wine_fn_config_makefile dlls/msdasql enable_msdasql
21580 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21581 wine_fn_config_makefile dlls/msdelta enable_msdelta
21582 wine_fn_config_makefile dlls/msdmo enable_msdmo
21583 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21584 wine_fn_config_makefile dlls/msdrm enable_msdrm
21585 wine_fn_config_makefile dlls/msftedit enable_msftedit
21586 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21587 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21588 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21589 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21590 wine_fn_config_makefile dlls/mshtml enable_mshtml
21591 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21592 wine_fn_config_makefile dlls/msi enable_msi
21593 wine_fn_config_makefile dlls/msi/tests enable_tests
21594 wine_fn_config_makefile dlls/msident enable_msident
21595 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21596 wine_fn_config_makefile dlls/msimsg enable_msimsg
21597 wine_fn_config_makefile dlls/msimtf enable_msimtf
21598 wine_fn_config_makefile dlls/msisip enable_msisip
21599 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21600 wine_fn_config_makefile dlls/msls31 enable_msls31
21601 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21602 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21603 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21604 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21605 wine_fn_config_makefile dlls/msports enable_msports
21606 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21607 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21608 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21609 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21610 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21611 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21612 wine_fn_config_makefile dlls/mstask enable_mstask
21613 wine_fn_config_makefile dlls/mstask/tests enable_tests
21614 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21615 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21616 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21617 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21618 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21619 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21620 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21621 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21622 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21623 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21624 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21625 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21626 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21627 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21628 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21629 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21630 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21631 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21632 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21633 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21634 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21635 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21636 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21637 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21638 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21639 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21640 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21641 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21642 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21643 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21644 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21646 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21648 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21649 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21650 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21651 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21652 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21653 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21654 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21655 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21656 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21657 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21658 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21659 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21660 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21661 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21662 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21663 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21664 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21665 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21666 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21667 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21668 wine_fn_config_makefile dlls/mswsock enable_mswsock
21669 wine_fn_config_makefile dlls/msxml enable_msxml
21670 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21671 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21672 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21673 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21674 wine_fn_config_makefile dlls/msxml4/tests enable_tests
21675 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21676 wine_fn_config_makefile dlls/msxml6/tests enable_tests
21677 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21678 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21679 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21680 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21681 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21682 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21683 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21684 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21685 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21686 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21687 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21688 wine_fn_config_makefile dlls/netprofm enable_netprofm
21689 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21690 wine_fn_config_makefile dlls/netutils enable_netutils
21691 wine_fn_config_makefile dlls/newdev enable_newdev
21692 wine_fn_config_makefile dlls/ninput enable_ninput
21693 wine_fn_config_makefile dlls/ninput/tests enable_tests
21694 wine_fn_config_makefile dlls/normaliz enable_normaliz
21695 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21696 wine_fn_config_makefile dlls/npptools enable_npptools
21697 wine_fn_config_makefile dlls/nsi enable_nsi
21698 wine_fn_config_makefile dlls/nsi/tests enable_tests
21699 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21700 wine_fn_config_makefile dlls/ntdll enable_ntdll
21701 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21702 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21703 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21704 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21705 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21706 wine_fn_config_makefile dlls/ntprint enable_ntprint
21707 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21708 wine_fn_config_makefile dlls/objsel enable_objsel
21709 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21710 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21711 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21712 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21713 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21714 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21715 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21716 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21717 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21718 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21719 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21720 wine_fn_config_makefile dlls/ole32 enable_ole32
21721 wine_fn_config_makefile dlls/ole32/tests enable_tests
21722 wine_fn_config_makefile dlls/oleacc enable_oleacc
21723 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21724 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21725 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21726 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21727 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21728 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21729 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21730 wine_fn_config_makefile dlls/oledlg enable_oledlg
21731 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21732 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21733 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21734 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21735 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21736 wine_fn_config_makefile dlls/opcservices enable_opcservices
21737 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21738 wine_fn_config_makefile dlls/opencl enable_opencl
21739 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21740 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21741 wine_fn_config_makefile dlls/packager enable_packager
21742 wine_fn_config_makefile dlls/packager/tests enable_tests
21743 wine_fn_config_makefile dlls/pdh enable_pdh
21744 wine_fn_config_makefile dlls/pdh/tests enable_tests
21745 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21746 wine_fn_config_makefile dlls/pidgen enable_pidgen
21747 wine_fn_config_makefile dlls/powrprof enable_powrprof
21748 wine_fn_config_makefile dlls/printui enable_printui
21749 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21750 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21751 wine_fn_config_makefile dlls/propsys enable_propsys
21752 wine_fn_config_makefile dlls/propsys/tests enable_tests
21753 wine_fn_config_makefile dlls/psapi enable_psapi
21754 wine_fn_config_makefile dlls/psapi/tests enable_tests
21755 wine_fn_config_makefile dlls/pstorec enable_pstorec
21756 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21757 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21758 wine_fn_config_makefile dlls/qasf enable_qasf
21759 wine_fn_config_makefile dlls/qasf/tests enable_tests
21760 wine_fn_config_makefile dlls/qcap enable_qcap
21761 wine_fn_config_makefile dlls/qcap/tests enable_tests
21762 wine_fn_config_makefile dlls/qdvd enable_qdvd
21763 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21764 wine_fn_config_makefile dlls/qedit enable_qedit
21765 wine_fn_config_makefile dlls/qedit/tests enable_tests
21766 wine_fn_config_makefile dlls/qmgr enable_qmgr
21767 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21768 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21769 wine_fn_config_makefile dlls/quartz enable_quartz
21770 wine_fn_config_makefile dlls/quartz/tests enable_tests
21771 wine_fn_config_makefile dlls/query enable_query
21772 wine_fn_config_makefile dlls/qwave enable_qwave
21773 wine_fn_config_makefile dlls/qwave/tests enable_tests
21774 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21775 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21776 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21777 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21778 wine_fn_config_makefile dlls/regapi enable_regapi
21779 wine_fn_config_makefile dlls/resutils enable_resutils
21780 wine_fn_config_makefile dlls/riched20 enable_riched20
21781 wine_fn_config_makefile dlls/riched20/tests enable_tests
21782 wine_fn_config_makefile dlls/riched32 enable_riched32
21783 wine_fn_config_makefile dlls/riched32/tests enable_tests
21784 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21785 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21786 wine_fn_config_makefile dlls/rsabase enable_rsabase
21787 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21788 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21789 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21790 wine_fn_config_makefile dlls/rtutils enable_rtutils
21791 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21792 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21793 wine_fn_config_makefile dlls/samlib enable_samlib
21794 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21795 wine_fn_config_makefile dlls/sapi enable_sapi
21796 wine_fn_config_makefile dlls/sapi/tests enable_tests
21797 wine_fn_config_makefile dlls/sas enable_sas
21798 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21799 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21800 wine_fn_config_makefile dlls/sccbase enable_sccbase
21801 wine_fn_config_makefile dlls/schannel enable_schannel
21802 wine_fn_config_makefile dlls/schannel/tests enable_tests
21803 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21804 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21805 wine_fn_config_makefile dlls/scrobj enable_scrobj
21806 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21807 wine_fn_config_makefile dlls/scrrun enable_scrrun
21808 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21809 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21810 wine_fn_config_makefile dlls/sechost enable_sechost
21811 wine_fn_config_makefile dlls/secur32 enable_secur32
21812 wine_fn_config_makefile dlls/secur32/tests enable_tests
21813 wine_fn_config_makefile dlls/security enable_security
21814 wine_fn_config_makefile dlls/sensapi enable_sensapi
21815 wine_fn_config_makefile dlls/serialui enable_serialui
21816 wine_fn_config_makefile dlls/serialui/tests enable_tests
21817 wine_fn_config_makefile dlls/setupapi enable_setupapi
21818 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21819 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21820 wine_fn_config_makefile dlls/sfc enable_sfc
21821 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21822 wine_fn_config_makefile dlls/shcore enable_shcore
21823 wine_fn_config_makefile dlls/shcore/tests enable_tests
21824 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21825 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21826 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21827 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21828 wine_fn_config_makefile dlls/shell32 enable_shell32
21829 wine_fn_config_makefile dlls/shell32/tests enable_tests
21830 wine_fn_config_makefile dlls/shfolder enable_shfolder
21831 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21832 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21833 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21834 wine_fn_config_makefile dlls/slc enable_slc
21835 wine_fn_config_makefile dlls/slc/tests enable_tests
21836 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21837 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21838 wine_fn_config_makefile dlls/softpub enable_softpub
21839 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21840 wine_fn_config_makefile dlls/spoolss enable_spoolss
21841 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21842 wine_fn_config_makefile dlls/sppc enable_sppc
21843 wine_fn_config_makefile dlls/srclient enable_srclient
21844 wine_fn_config_makefile dlls/srvcli enable_srvcli
21845 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
21846 wine_fn_config_makefile dlls/sspicli enable_sspicli
21847 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21848 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21849 wine_fn_config_makefile dlls/sti enable_sti
21850 wine_fn_config_makefile dlls/sti/tests enable_tests
21851 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21852 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21853 wine_fn_config_makefile dlls/strmdll enable_strmdll
21854 wine_fn_config_makefile dlls/svrapi enable_svrapi
21855 wine_fn_config_makefile dlls/sxs enable_sxs
21856 wine_fn_config_makefile dlls/sxs/tests enable_tests
21857 wine_fn_config_makefile dlls/system.drv16 enable_win16
21858 wine_fn_config_makefile dlls/t2embed enable_t2embed
21859 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21860 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21861 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21862 wine_fn_config_makefile dlls/taskschd enable_taskschd
21863 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21864 wine_fn_config_makefile dlls/tbs enable_tbs
21865 wine_fn_config_makefile dlls/tdh enable_tdh
21866 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21867 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21868 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21869 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21870 wine_fn_config_makefile dlls/traffic enable_traffic
21871 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21872 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21873 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21874 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21875 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21876 wine_fn_config_makefile dlls/tzres enable_tzres
21877 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21878 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21879 wine_fn_config_makefile dlls/uianimation enable_uianimation
21880 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21881 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21882 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21883 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21884 wine_fn_config_makefile dlls/unicows enable_unicows
21885 wine_fn_config_makefile dlls/updspapi enable_updspapi
21886 wine_fn_config_makefile dlls/url enable_url
21887 wine_fn_config_makefile dlls/urlmon enable_urlmon
21888 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21889 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21890 wine_fn_config_makefile dlls/user.exe16 enable_win16
21891 wine_fn_config_makefile dlls/user32 enable_user32
21892 wine_fn_config_makefile dlls/user32/tests enable_tests
21893 wine_fn_config_makefile dlls/userenv enable_userenv
21894 wine_fn_config_makefile dlls/userenv/tests enable_tests
21895 wine_fn_config_makefile dlls/usp10 enable_usp10
21896 wine_fn_config_makefile dlls/usp10/tests enable_tests
21897 wine_fn_config_makefile dlls/utildll enable_utildll
21898 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21899 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21900 wine_fn_config_makefile dlls/vbscript enable_vbscript
21901 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21902 wine_fn_config_makefile dlls/vcomp enable_vcomp
21903 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21904 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21905 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21906 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21907 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21908 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21909 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21910 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21911 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21912 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21913 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21914 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21915 wine_fn_config_makefile dlls/version enable_version
21916 wine_fn_config_makefile dlls/version/tests enable_tests
21917 wine_fn_config_makefile dlls/vga enable_vga
21918 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21919 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21920 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21921 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21922 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21923 wine_fn_config_makefile dlls/vssapi enable_vssapi
21924 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21925 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21926 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21927 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21928 wine_fn_config_makefile dlls/w32skrnl enable_win16
21929 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21930 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21931 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21932 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21933 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21934 wine_fn_config_makefile dlls/wdscore enable_wdscore
21935 wine_fn_config_makefile dlls/webservices enable_webservices
21936 wine_fn_config_makefile dlls/webservices/tests enable_tests
21937 wine_fn_config_makefile dlls/websocket enable_websocket
21938 wine_fn_config_makefile dlls/wer enable_wer
21939 wine_fn_config_makefile dlls/wer/tests enable_tests
21940 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21941 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21942 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21943 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21944 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21945 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21946 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21947 wine_fn_config_makefile dlls/win32u enable_win32u
21948 wine_fn_config_makefile dlls/win32u/tests enable_tests
21949 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21950 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21951 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21952 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
21953 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
21954 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21955 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21956 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21957 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21958 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21959 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21960 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21961 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21962 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21963 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21964 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21965 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21966 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21967 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21968 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
21969 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
21970 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21971 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21972 wine_fn_config_makefile dlls/windows.media enable_windows_media
21973 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21974 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21975 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21977 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21978 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21979 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
21980 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
21981 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
21982 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
21983 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21984 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21985 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21986 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21987 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21988 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21989 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21990 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21991 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21992 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21993 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21994 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21995 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21996 wine_fn_config_makefile dlls/wined3d enable_wined3d
21997 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21998 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21999 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22000 wine_fn_config_makefile dlls/winemapi enable_winemapi
22001 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22002 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22003 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22004 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22005 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22006 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22007 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22008 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22009 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22010 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22011 wine_fn_config_makefile dlls/wing32 enable_wing32
22012 wine_fn_config_makefile dlls/winhttp enable_winhttp
22013 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22014 wine_fn_config_makefile dlls/wininet enable_wininet
22015 wine_fn_config_makefile dlls/wininet/tests enable_tests
22016 wine_fn_config_makefile dlls/winmm enable_winmm
22017 wine_fn_config_makefile dlls/winmm/tests enable_tests
22018 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22019 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22020 wine_fn_config_makefile dlls/winprint enable_winprint
22021 wine_fn_config_makefile dlls/winscard enable_winscard
22022 wine_fn_config_makefile dlls/winscard/tests enable_tests
22023 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22024 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22025 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22026 wine_fn_config_makefile dlls/winsta enable_winsta
22027 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22028 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22029 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22030 wine_fn_config_makefile dlls/wintrust enable_wintrust
22031 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22032 wine_fn_config_makefile dlls/wintypes enable_wintypes
22033 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22034 wine_fn_config_makefile dlls/winusb enable_winusb
22035 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22036 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22037 wine_fn_config_makefile dlls/wlanui enable_wlanui
22038 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22039 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22040 wine_fn_config_makefile dlls/wldp enable_wldp
22041 wine_fn_config_makefile dlls/wmasf enable_wmasf
22042 wine_fn_config_makefile dlls/wmi enable_wmi
22043 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22044 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22045 wine_fn_config_makefile dlls/wmp enable_wmp
22046 wine_fn_config_makefile dlls/wmp/tests enable_tests
22047 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22048 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22049 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22050 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22051 wine_fn_config_makefile dlls/wofutil enable_wofutil
22052 wine_fn_config_makefile dlls/wow32 enable_win16
22053 wine_fn_config_makefile dlls/wow64 enable_wow64
22054 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22055 wine_fn_config_makefile dlls/wow64win enable_wow64win
22056 wine_fn_config_makefile dlls/wpc enable_wpc
22057 wine_fn_config_makefile dlls/wpc/tests enable_tests
22058 wine_fn_config_makefile dlls/wpcap enable_wpcap
22059 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22060 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22061 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22062 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22063 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22064 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22065 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22066 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22067 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22068 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22069 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22070 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22071 wine_fn_config_makefile dlls/wuapi enable_wuapi
22072 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22073 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22074 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22075 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22076 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22077 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22078 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22079 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22080 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22081 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22082 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22083 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22084 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22085 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22086 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22087 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22088 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22089 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22090 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22091 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22092 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22093 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22094 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22095 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22096 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22097 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22098 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22099 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22100 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22101 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22102 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22103 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22104 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22105 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22106 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22107 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22108 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22109 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22110 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22111 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22112 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22113 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22114 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22115 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22116 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22117 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22118 wine_fn_config_makefile dlls/xmllite enable_xmllite
22119 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22120 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22121 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22122 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22123 wine_fn_config_makefile fonts enable_fonts
22124 wine_fn_config_makefile include enable_include
22125 wine_fn_config_makefile libs/adsiid enable_adsiid
22126 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22127 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22128 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22129 wine_fn_config_makefile libs/dxguid enable_dxguid
22130 wine_fn_config_makefile libs/faudio enable_faudio
22131 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22132 wine_fn_config_makefile libs/gsm enable_gsm
22133 wine_fn_config_makefile libs/jpeg enable_jpeg
22134 wine_fn_config_makefile libs/jxr enable_jxr
22135 wine_fn_config_makefile libs/lcms2 enable_lcms2
22136 wine_fn_config_makefile libs/ldap enable_ldap
22137 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22138 wine_fn_config_makefile libs/mpg123 enable_mpg123
22139 wine_fn_config_makefile libs/musl enable_musl
22140 wine_fn_config_makefile libs/png enable_png
22141 wine_fn_config_makefile libs/strmbase enable_strmbase
22142 wine_fn_config_makefile libs/strmiids enable_strmiids
22143 wine_fn_config_makefile libs/tiff enable_tiff
22144 wine_fn_config_makefile libs/uuid enable_uuid
22145 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22146 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22147 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22148 wine_fn_config_makefile libs/xml2 enable_xml2
22149 wine_fn_config_makefile libs/xslt enable_xslt
22150 wine_fn_config_makefile libs/zlib enable_zlib
22151 wine_fn_config_makefile libs/zydis enable_zydis
22152 wine_fn_config_makefile loader enable_loader
22153 wine_fn_config_makefile nls enable_nls
22154 wine_fn_config_makefile po enable_po
22155 wine_fn_config_makefile programs/arp enable_arp
22156 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22157 wine_fn_config_makefile programs/attrib enable_attrib
22158 wine_fn_config_makefile programs/cabarc enable_cabarc
22159 wine_fn_config_makefile programs/cacls enable_cacls
22160 wine_fn_config_makefile programs/certutil enable_certutil
22161 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22162 wine_fn_config_makefile programs/clock enable_clock
22163 wine_fn_config_makefile programs/cmd enable_cmd
22164 wine_fn_config_makefile programs/cmd/tests enable_tests
22165 wine_fn_config_makefile programs/conhost enable_conhost
22166 wine_fn_config_makefile programs/conhost/tests enable_tests
22167 wine_fn_config_makefile programs/control enable_control
22168 wine_fn_config_makefile programs/cscript enable_cscript
22169 wine_fn_config_makefile programs/dism enable_dism
22170 wine_fn_config_makefile programs/dllhost enable_dllhost
22171 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22172 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22173 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22174 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22175 wine_fn_config_makefile programs/eject enable_eject
22176 wine_fn_config_makefile programs/expand enable_expand
22177 wine_fn_config_makefile programs/explorer enable_explorer
22178 wine_fn_config_makefile programs/explorer/tests enable_tests
22179 wine_fn_config_makefile programs/extrac32 enable_extrac32
22180 wine_fn_config_makefile programs/fc enable_fc
22181 wine_fn_config_makefile programs/find enable_find
22182 wine_fn_config_makefile programs/find/tests enable_tests
22183 wine_fn_config_makefile programs/findstr enable_findstr
22184 wine_fn_config_makefile programs/findstr/tests enable_tests
22185 wine_fn_config_makefile programs/fsutil enable_fsutil
22186 wine_fn_config_makefile programs/fsutil/tests enable_tests
22187 wine_fn_config_makefile programs/hh enable_hh
22188 wine_fn_config_makefile programs/hostname enable_hostname
22189 wine_fn_config_makefile programs/icacls enable_icacls
22190 wine_fn_config_makefile programs/icinfo enable_icinfo
22191 wine_fn_config_makefile programs/iexplore enable_iexplore
22192 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22193 wine_fn_config_makefile programs/klist enable_klist
22194 wine_fn_config_makefile programs/lodctr enable_lodctr
22195 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22196 wine_fn_config_makefile programs/mshta enable_mshta
22197 wine_fn_config_makefile programs/msidb enable_msidb
22198 wine_fn_config_makefile programs/msiexec enable_msiexec
22199 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22200 wine_fn_config_makefile programs/net enable_net
22201 wine_fn_config_makefile programs/netsh enable_netsh
22202 wine_fn_config_makefile programs/netstat enable_netstat
22203 wine_fn_config_makefile programs/ngen enable_ngen
22204 wine_fn_config_makefile programs/notepad enable_notepad
22205 wine_fn_config_makefile programs/oleview enable_oleview
22206 wine_fn_config_makefile programs/ping enable_ping
22207 wine_fn_config_makefile programs/plugplay enable_plugplay
22208 wine_fn_config_makefile programs/pnputil enable_pnputil
22209 wine_fn_config_makefile programs/powershell enable_powershell
22210 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22211 wine_fn_config_makefile programs/progman enable_progman
22212 wine_fn_config_makefile programs/reg enable_reg
22213 wine_fn_config_makefile programs/reg/tests enable_tests
22214 wine_fn_config_makefile programs/regasm enable_regasm
22215 wine_fn_config_makefile programs/regedit enable_regedit
22216 wine_fn_config_makefile programs/regedit/tests enable_tests
22217 wine_fn_config_makefile programs/regini enable_regini
22218 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22219 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22220 wine_fn_config_makefile programs/robocopy enable_robocopy
22221 wine_fn_config_makefile programs/rpcss enable_rpcss
22222 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22223 wine_fn_config_makefile programs/rundll32 enable_rundll32
22224 wine_fn_config_makefile programs/sc enable_sc
22225 wine_fn_config_makefile programs/sc/tests enable_tests
22226 wine_fn_config_makefile programs/schtasks enable_schtasks
22227 wine_fn_config_makefile programs/schtasks/tests enable_tests
22228 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22229 wine_fn_config_makefile programs/secedit enable_secedit
22230 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22231 wine_fn_config_makefile programs/services enable_services
22232 wine_fn_config_makefile programs/services/tests enable_tests
22233 wine_fn_config_makefile programs/setx enable_setx
22234 wine_fn_config_makefile programs/shutdown enable_shutdown
22235 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22236 wine_fn_config_makefile programs/start enable_start
22237 wine_fn_config_makefile programs/subst enable_subst
22238 wine_fn_config_makefile programs/svchost enable_svchost
22239 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22240 wine_fn_config_makefile programs/taskkill enable_taskkill
22241 wine_fn_config_makefile programs/tasklist enable_tasklist
22242 wine_fn_config_makefile programs/tasklist/tests enable_tests
22243 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22244 wine_fn_config_makefile programs/termsv enable_termsv
22245 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22246 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22247 wine_fn_config_makefile programs/view enable_view
22248 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22249 wine_fn_config_makefile programs/where enable_where
22250 wine_fn_config_makefile programs/whoami enable_whoami
22251 wine_fn_config_makefile programs/wineboot enable_wineboot
22252 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22253 wine_fn_config_makefile programs/winecfg enable_winecfg
22254 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22255 wine_fn_config_makefile programs/winedbg enable_winedbg
22256 wine_fn_config_makefile programs/winedevice enable_winedevice
22257 wine_fn_config_makefile programs/winefile enable_winefile
22258 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22259 wine_fn_config_makefile programs/winemine enable_winemine
22260 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22261 wine_fn_config_makefile programs/winepath enable_winepath
22262 wine_fn_config_makefile programs/winetest enable_winetest
22263 wine_fn_config_makefile programs/winevdm enable_win16
22264 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22265 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22266 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22267 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22268 wine_fn_config_makefile programs/winver enable_winver
22269 wine_fn_config_makefile programs/wmic enable_wmic
22270 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22271 wine_fn_config_makefile programs/wordpad enable_wordpad
22272 wine_fn_config_makefile programs/write enable_write
22273 wine_fn_config_makefile programs/wscript enable_wscript
22274 wine_fn_config_makefile programs/wscript/tests enable_tests
22275 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22276 wine_fn_config_makefile programs/wusa enable_wusa
22277 wine_fn_config_makefile programs/xcopy enable_xcopy
22278 wine_fn_config_makefile programs/xcopy/tests enable_tests
22279 wine_fn_config_makefile server enable_server
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22286 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22287 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22288 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22291 as_fn_append CONFIGURE_TARGETS " TAGS"
22292 as_fn_append CONFIGURE_TARGETS " tags"
22293 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22294 as_fn_append CONFIGURE_TARGETS " config.log"
22295 as_fn_append CONFIGURE_TARGETS " config.status"
22296 as_fn_append CONFIGURE_TARGETS " include/config.h"
22297 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22298 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22300 if test "x$enable_tools" != xno
22301 then
22302 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22303 ac_config_commands="$ac_config_commands tools/makedep"
22307 ac_config_commands="$ac_config_commands Makefile"
22311 SHELL=/bin/sh
22314 as_fn_append wine_rules "
22315 all: wine
22316 @echo \"Wine build complete.\"
22317 .INIT: Makefile
22318 .MAKEFILEDEPS:
22319 all: Makefile
22320 Makefile: config.status \$(MAKEDEP)
22321 @./config.status Makefile
22322 depend: \$(MAKEDEP)
22323 \$(MAKEDEP)$makedep_flags"
22326 as_fn_append wine_rules "
22327 config.status: ${wine_srcdir}configure
22328 @./config.status --recheck
22329 include/config.h: include/stamp-h
22330 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22331 @./config.status include/config.h include/stamp-h"
22333 if test "x$enable_maintainer_mode" = xyes
22334 then
22335 as_fn_append wine_rules "
22336 configure: configure.ac aclocal.m4
22337 autoconf --warnings=all
22338 include/config.h.in: include/stamp-h.in
22339 include/stamp-h.in: configure.ac aclocal.m4
22340 autoheader --warnings=all
22341 @echo timestamp > \$@"
22344 if test "x$enable_tools" != xno
22345 then
22346 as_fn_append wine_rules "
22347 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22348 @./config.status tools/makedep
22349 Makefile: tools/makedep$ac_exeext"
22350 else
22351 as_fn_append wine_rules "
22352 \$(MAKEDEP):
22353 @echo \"You need to run make in $toolsdir first\" && false"
22357 if test -n "$with_wine64"
22358 then
22359 case "$with_wine64" in
22360 /*) reldir="" ;;
22361 *) reldir="../" ;;
22362 esac
22363 rm -f fonts server 2>/dev/null
22364 as_fn_append wine_rules "
22365 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22366 loader/wine64 loader/wine64-preloader:
22367 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22368 $with_wine64/loader/wine:
22369 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22370 $with_wine64/loader/wine-preloader:
22371 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22372 clean::
22373 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22374 else
22375 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22376 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22377 fonts \
22378 loader/wine.inf \
22379 nls \
22380 programs/msidb/msidb \
22381 programs/msiexec/msiexec \
22382 programs/notepad/notepad \
22383 programs/regedit/regedit \
22384 programs/regsvr32/regsvr32 \
22385 programs/wineboot/wineboot \
22386 programs/winecfg/winecfg \
22387 programs/wineconsole/wineconsole \
22388 programs/winedbg/winedbg \
22389 programs/winefile/winefile \
22390 programs/winemine/winemine \
22391 programs/winepath/winepath \
22392 server/wineserver"
22394 case $host_os in
22395 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22396 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22397 esac
22401 as_fn_append wine_rules "
22402 distclean:: clean
22403 rm -rf autom4te.cache
22404 maintainer-clean::
22405 rm -f configure include/config.h.in"
22408 as_fn_append wine_rules "
22409 dlls/ntdll/unix/version.c: dummy
22410 @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)
22411 programs/winetest/build.rc: dummy
22412 @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)
22413 programs/winetest/build.nfo:
22414 @-\$(CC) -v 2>\$@
22415 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
22416 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22417 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22420 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22422 as_fn_append wine_rules "
22423 TAGS etags:
22424 rm -f TAGS
22425 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22426 tags ctags:
22427 rm -f tags
22428 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22429 dummy:
22430 .PHONY: depend dummy install-manpages"
22432 printf "%s\n" " done" >&6
22433 cat >confcache <<\_ACEOF
22434 # This file is a shell script that caches the results of configure
22435 # tests run on this system so they can be shared between configure
22436 # scripts and configure runs, see configure's option --config-cache.
22437 # It is not useful on other systems. If it contains results you don't
22438 # want to keep, you may remove or edit it.
22440 # config.status only pays attention to the cache file if you give it
22441 # the --recheck option to rerun configure.
22443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22445 # following values.
22447 _ACEOF
22449 # The following way of writing the cache mishandles newlines in values,
22450 # but we know of no workaround that is simple, portable, and efficient.
22451 # So, we kill variables containing newlines.
22452 # Ultrix sh set writes to stderr and can't be redirected directly,
22453 # and sets the high bit in the cache file unless we assign to the vars.
22455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22456 eval ac_val=\$$ac_var
22457 case $ac_val in #(
22458 *${as_nl}*)
22459 case $ac_var in #(
22460 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22461 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22462 esac
22463 case $ac_var in #(
22464 _ | IFS | as_nl) ;; #(
22465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22466 *) { eval $ac_var=; unset $ac_var;} ;;
22467 esac ;;
22468 esac
22469 done
22471 (set) 2>&1 |
22472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22473 *${as_nl}ac_space=\ *)
22474 # `set' does not quote correctly, so add quotes: double-quote
22475 # substitution turns \\\\ into \\, and sed turns \\ into \.
22476 sed -n \
22477 "s/'/'\\\\''/g;
22478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22479 ;; #(
22481 # `set' quotes correctly as required by POSIX, so do not add quotes.
22482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22484 esac |
22485 sort
22487 sed '
22488 /^ac_cv_env_/b end
22489 t clear
22490 :clear
22491 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22492 t end
22493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22494 :end' >>confcache
22495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22496 if test -w "$cache_file"; then
22497 if test "x$cache_file" != "x/dev/null"; then
22498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22499 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22500 if test ! -f "$cache_file" || test -h "$cache_file"; then
22501 cat confcache >"$cache_file"
22502 else
22503 case $cache_file in #(
22504 */* | ?:*)
22505 mv -f confcache "$cache_file"$$ &&
22506 mv -f "$cache_file"$$ "$cache_file" ;; #(
22508 mv -f confcache "$cache_file" ;;
22509 esac
22512 else
22513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22514 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22517 rm -f confcache
22519 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22520 # Let make expand exec_prefix.
22521 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22523 DEFS=-DHAVE_CONFIG_H
22525 ac_libobjs=
22526 ac_ltlibobjs=
22528 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22529 # 1. Remove the extension, and $U if already installed.
22530 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22531 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22533 # will be set to the directory where LIBOBJS objects are built.
22534 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22535 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22536 done
22537 LIBOBJS=$ac_libobjs
22539 LTLIBOBJS=$ac_ltlibobjs
22543 : "${CONFIG_STATUS=./config.status}"
22544 ac_write_fail=0
22545 ac_clean_files_save=$ac_clean_files
22546 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22548 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22549 as_write_fail=0
22550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22551 #! $SHELL
22552 # Generated by $as_me.
22553 # Run this file to recreate the current configuration.
22554 # Compiler output produced by configure, useful for debugging
22555 # configure, is in config.log if it exists.
22557 debug=false
22558 ac_cs_recheck=false
22559 ac_cs_silent=false
22561 SHELL=\${CONFIG_SHELL-$SHELL}
22562 export SHELL
22563 _ASEOF
22564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22565 ## -------------------- ##
22566 ## M4sh Initialization. ##
22567 ## -------------------- ##
22569 # Be more Bourne compatible
22570 DUALCASE=1; export DUALCASE # for MKS sh
22571 as_nop=:
22572 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22573 then :
22574 emulate sh
22575 NULLCMD=:
22576 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22577 # is contrary to our usage. Disable this feature.
22578 alias -g '${1+"$@"}'='"$@"'
22579 setopt NO_GLOB_SUBST
22580 else $as_nop
22581 case `(set -o) 2>/dev/null` in #(
22582 *posix*) :
22583 set -o posix ;; #(
22584 *) :
22586 esac
22591 # Reset variables that may have inherited troublesome values from
22592 # the environment.
22594 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22595 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22596 # side effect of setting IFS to empty, thus disabling word splitting.)
22597 # Quoting is to prevent editors from complaining about space-tab.
22598 as_nl='
22600 export as_nl
22601 IFS=" "" $as_nl"
22603 PS1='$ '
22604 PS2='> '
22605 PS4='+ '
22607 # Ensure predictable behavior from utilities with locale-dependent output.
22608 LC_ALL=C
22609 export LC_ALL
22610 LANGUAGE=C
22611 export LANGUAGE
22613 # We cannot yet rely on "unset" to work, but we need these variables
22614 # to be unset--not just set to an empty or harmless value--now, to
22615 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22616 # also avoids known problems related to "unset" and subshell syntax
22617 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22618 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22619 do eval test \${$as_var+y} \
22620 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22621 done
22623 # Ensure that fds 0, 1, and 2 are open.
22624 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22625 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22626 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22628 # The user is always right.
22629 if ${PATH_SEPARATOR+false} :; then
22630 PATH_SEPARATOR=:
22631 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22632 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22633 PATH_SEPARATOR=';'
22638 # Find who we are. Look in the path if we contain no directory separator.
22639 as_myself=
22640 case $0 in #((
22641 *[\\/]* ) as_myself=$0 ;;
22642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22643 for as_dir in $PATH
22645 IFS=$as_save_IFS
22646 case $as_dir in #(((
22647 '') as_dir=./ ;;
22648 */) ;;
22649 *) as_dir=$as_dir/ ;;
22650 esac
22651 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22652 done
22653 IFS=$as_save_IFS
22656 esac
22657 # We did not find ourselves, most probably we were run as `sh COMMAND'
22658 # in which case we are not to be found in the path.
22659 if test "x$as_myself" = x; then
22660 as_myself=$0
22662 if test ! -f "$as_myself"; then
22663 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22664 exit 1
22669 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22670 # ----------------------------------------
22671 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22672 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22673 # script with STATUS, using 1 if that was 0.
22674 as_fn_error ()
22676 as_status=$1; test $as_status -eq 0 && as_status=1
22677 if test "$4"; then
22678 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22681 printf "%s\n" "$as_me: error: $2" >&2
22682 as_fn_exit $as_status
22683 } # as_fn_error
22687 # as_fn_set_status STATUS
22688 # -----------------------
22689 # Set $? to STATUS, without forking.
22690 as_fn_set_status ()
22692 return $1
22693 } # as_fn_set_status
22695 # as_fn_exit STATUS
22696 # -----------------
22697 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22698 as_fn_exit ()
22700 set +e
22701 as_fn_set_status $1
22702 exit $1
22703 } # as_fn_exit
22705 # as_fn_unset VAR
22706 # ---------------
22707 # Portably unset VAR.
22708 as_fn_unset ()
22710 { eval $1=; unset $1;}
22712 as_unset=as_fn_unset
22714 # as_fn_append VAR VALUE
22715 # ----------------------
22716 # Append the text in VALUE to the end of the definition contained in VAR. Take
22717 # advantage of any shell optimizations that allow amortized linear growth over
22718 # repeated appends, instead of the typical quadratic growth present in naive
22719 # implementations.
22720 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22721 then :
22722 eval 'as_fn_append ()
22724 eval $1+=\$2
22726 else $as_nop
22727 as_fn_append ()
22729 eval $1=\$$1\$2
22731 fi # as_fn_append
22733 # as_fn_arith ARG...
22734 # ------------------
22735 # Perform arithmetic evaluation on the ARGs, and store the result in the
22736 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22737 # must be portable across $(()) and expr.
22738 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22739 then :
22740 eval 'as_fn_arith ()
22742 as_val=$(( $* ))
22744 else $as_nop
22745 as_fn_arith ()
22747 as_val=`expr "$@" || test $? -eq 1`
22749 fi # as_fn_arith
22752 if expr a : '\(a\)' >/dev/null 2>&1 &&
22753 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22754 as_expr=expr
22755 else
22756 as_expr=false
22759 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22760 as_basename=basename
22761 else
22762 as_basename=false
22765 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22766 as_dirname=dirname
22767 else
22768 as_dirname=false
22771 as_me=`$as_basename -- "$0" ||
22772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22773 X"$0" : 'X\(//\)$' \| \
22774 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22775 printf "%s\n" X/"$0" |
22776 sed '/^.*\/\([^/][^/]*\)\/*$/{
22777 s//\1/
22780 /^X\/\(\/\/\)$/{
22781 s//\1/
22784 /^X\/\(\/\).*/{
22785 s//\1/
22788 s/.*/./; q'`
22790 # Avoid depending upon Character Ranges.
22791 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22792 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22793 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22794 as_cr_digits='0123456789'
22795 as_cr_alnum=$as_cr_Letters$as_cr_digits
22798 # Determine whether it's possible to make 'echo' print without a newline.
22799 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22800 # for compatibility with existing Makefiles.
22801 ECHO_C= ECHO_N= ECHO_T=
22802 case `echo -n x` in #(((((
22803 -n*)
22804 case `echo 'xy\c'` in
22805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22806 xy) ECHO_C='\c';;
22807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22808 ECHO_T=' ';;
22809 esac;;
22811 ECHO_N='-n';;
22812 esac
22814 # For backward compatibility with old third-party macros, we provide
22815 # the shell variables $as_echo and $as_echo_n. New code should use
22816 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22817 as_echo='printf %s\n'
22818 as_echo_n='printf %s'
22820 rm -f conf$$ conf$$.exe conf$$.file
22821 if test -d conf$$.dir; then
22822 rm -f conf$$.dir/conf$$.file
22823 else
22824 rm -f conf$$.dir
22825 mkdir conf$$.dir 2>/dev/null
22827 if (echo >conf$$.file) 2>/dev/null; then
22828 if ln -s conf$$.file conf$$ 2>/dev/null; then
22829 as_ln_s='ln -s'
22830 # ... but there are two gotchas:
22831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22833 # In both cases, we have to default to `cp -pR'.
22834 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22835 as_ln_s='cp -pR'
22836 elif ln conf$$.file conf$$ 2>/dev/null; then
22837 as_ln_s=ln
22838 else
22839 as_ln_s='cp -pR'
22841 else
22842 as_ln_s='cp -pR'
22844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22845 rmdir conf$$.dir 2>/dev/null
22848 # as_fn_mkdir_p
22849 # -------------
22850 # Create "$as_dir" as a directory, including parents if necessary.
22851 as_fn_mkdir_p ()
22854 case $as_dir in #(
22855 -*) as_dir=./$as_dir;;
22856 esac
22857 test -d "$as_dir" || eval $as_mkdir_p || {
22858 as_dirs=
22859 while :; do
22860 case $as_dir in #(
22861 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22862 *) as_qdir=$as_dir;;
22863 esac
22864 as_dirs="'$as_qdir' $as_dirs"
22865 as_dir=`$as_dirname -- "$as_dir" ||
22866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22867 X"$as_dir" : 'X\(//\)[^/]' \| \
22868 X"$as_dir" : 'X\(//\)$' \| \
22869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22870 printf "%s\n" X"$as_dir" |
22871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22872 s//\1/
22875 /^X\(\/\/\)[^/].*/{
22876 s//\1/
22879 /^X\(\/\/\)$/{
22880 s//\1/
22883 /^X\(\/\).*/{
22884 s//\1/
22887 s/.*/./; q'`
22888 test -d "$as_dir" && break
22889 done
22890 test -z "$as_dirs" || eval "mkdir $as_dirs"
22891 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22894 } # as_fn_mkdir_p
22895 if mkdir -p . 2>/dev/null; then
22896 as_mkdir_p='mkdir -p "$as_dir"'
22897 else
22898 test -d ./-p && rmdir ./-p
22899 as_mkdir_p=false
22903 # as_fn_executable_p FILE
22904 # -----------------------
22905 # Test if FILE is an executable regular file.
22906 as_fn_executable_p ()
22908 test -f "$1" && test -x "$1"
22909 } # as_fn_executable_p
22910 as_test_x='test -x'
22911 as_executable_p=as_fn_executable_p
22913 # Sed expression to map a string onto a valid CPP name.
22914 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22916 # Sed expression to map a string onto a valid variable name.
22917 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22920 exec 6>&1
22921 ## ----------------------------------- ##
22922 ## Main body of $CONFIG_STATUS script. ##
22923 ## ----------------------------------- ##
22924 _ASEOF
22925 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22928 # Save the log message, to keep $0 and so on meaningful, and to
22929 # report actual input values of CONFIG_FILES etc. instead of their
22930 # values after options handling.
22931 ac_log="
22932 This file was extended by Wine $as_me 8.19, which was
22933 generated by GNU Autoconf 2.71. Invocation command line was
22935 CONFIG_FILES = $CONFIG_FILES
22936 CONFIG_HEADERS = $CONFIG_HEADERS
22937 CONFIG_LINKS = $CONFIG_LINKS
22938 CONFIG_COMMANDS = $CONFIG_COMMANDS
22939 $ $0 $@
22941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22944 _ACEOF
22947 case $ac_config_headers in *"
22948 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22949 esac
22952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22953 # Files that config.status was made for.
22954 config_headers="$ac_config_headers"
22955 config_links="$ac_config_links"
22956 config_commands="$ac_config_commands"
22958 _ACEOF
22960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22961 ac_cs_usage="\
22962 \`$as_me' instantiates files and other configuration actions
22963 from templates according to the current configuration. Unless the files
22964 and actions are specified as TAGs, all are instantiated by default.
22966 Usage: $0 [OPTION]... [TAG]...
22968 -h, --help print this help, then exit
22969 -V, --version print version number and configuration settings, then exit
22970 --config print configuration, then exit
22971 -q, --quiet, --silent
22972 do not print progress messages
22973 -d, --debug don't remove temporary files
22974 --recheck update $as_me by reconfiguring in the same conditions
22975 --header=FILE[:TEMPLATE]
22976 instantiate the configuration header FILE
22978 Configuration headers:
22979 $config_headers
22981 Configuration links:
22982 $config_links
22984 Configuration commands:
22985 $config_commands
22987 Report bugs to <wine-devel@winehq.org>.
22988 Wine home page: <https://www.winehq.org>."
22990 _ACEOF
22991 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22992 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22994 ac_cs_config='$ac_cs_config_escaped'
22995 ac_cs_version="\\
22996 Wine config.status 8.19
22997 configured by $0, generated by GNU Autoconf 2.71,
22998 with options \\"\$ac_cs_config\\"
23000 Copyright (C) 2021 Free Software Foundation, Inc.
23001 This config.status script is free software; the Free Software Foundation
23002 gives unlimited permission to copy, distribute and modify it."
23004 ac_pwd='$ac_pwd'
23005 srcdir='$srcdir'
23006 test -n "\$AWK" || AWK=awk
23007 _ACEOF
23009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23010 # The default lists apply if the user does not specify any file.
23011 ac_need_defaults=:
23012 while test $# != 0
23014 case $1 in
23015 --*=?*)
23016 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23017 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23018 ac_shift=:
23020 --*=)
23021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23022 ac_optarg=
23023 ac_shift=:
23026 ac_option=$1
23027 ac_optarg=$2
23028 ac_shift=shift
23030 esac
23032 case $ac_option in
23033 # Handling of the options.
23034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23035 ac_cs_recheck=: ;;
23036 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23037 printf "%s\n" "$ac_cs_version"; exit ;;
23038 --config | --confi | --conf | --con | --co | --c )
23039 printf "%s\n" "$ac_cs_config"; exit ;;
23040 --debug | --debu | --deb | --de | --d | -d )
23041 debug=: ;;
23042 --header | --heade | --head | --hea )
23043 $ac_shift
23044 case $ac_optarg in
23045 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23046 esac
23047 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23048 ac_need_defaults=false;;
23049 --he | --h)
23050 # Conflict between --help and --header
23051 as_fn_error $? "ambiguous option: \`$1'
23052 Try \`$0 --help' for more information.";;
23053 --help | --hel | -h )
23054 printf "%s\n" "$ac_cs_usage"; exit ;;
23055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23056 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23057 ac_cs_silent=: ;;
23059 # This is an error.
23060 -*) as_fn_error $? "unrecognized option: \`$1'
23061 Try \`$0 --help' for more information." ;;
23063 *) as_fn_append ac_config_targets " $1"
23064 ac_need_defaults=false ;;
23066 esac
23067 shift
23068 done
23070 ac_configure_extra_args=
23072 if $ac_cs_silent; then
23073 exec 6>/dev/null
23074 ac_configure_extra_args="$ac_configure_extra_args --silent"
23077 _ACEOF
23078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23079 if \$ac_cs_recheck; then
23080 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23081 shift
23082 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23083 CONFIG_SHELL='$SHELL'
23084 export CONFIG_SHELL
23085 exec "\$@"
23088 _ACEOF
23089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23090 exec 5>>config.log
23092 echo
23093 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23094 ## Running $as_me. ##
23095 _ASBOX
23096 printf "%s\n" "$ac_log"
23097 } >&5
23099 _ACEOF
23100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23102 # INIT-COMMANDS
23104 wine_fn_output_makedep ()
23106 as_dir=tools; as_fn_mkdir_p
23107 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23109 wine_fn_output_makefile ()
23111 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23112 # This Makefile understands the following targets:
23114 # all (default): build wine
23115 # clean: remove all intermediate files
23116 # distclean: also remove all files created by configure
23117 # test: run tests
23118 # testclean: clean test results to force running all tests again
23119 # install-lib: install libraries needed to run applications
23120 # install-dev: install development environment
23121 # install: install everything
23122 # uninstall: uninstall everything
23123 # ctags: create a tags file for vim and others.
23124 # etags: create a TAGS file for Emacs.
23126 SHELL = $SHELL
23127 PATH_SEPARATOR = $PATH_SEPARATOR
23128 PACKAGE_NAME = $PACKAGE_NAME
23129 PACKAGE_TARNAME = $PACKAGE_TARNAME
23130 PACKAGE_VERSION = $PACKAGE_VERSION
23131 PACKAGE_STRING = $PACKAGE_STRING
23132 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23133 PACKAGE_URL = $PACKAGE_URL
23134 exec_prefix = $exec_prefix
23135 prefix = $prefix
23136 program_transform_name = $program_transform_name
23137 bindir = $bindir
23138 sbindir = $sbindir
23139 libexecdir = $libexecdir
23140 datarootdir = $datarootdir
23141 datadir = $datadir
23142 sysconfdir = $sysconfdir
23143 sharedstatedir = $sharedstatedir
23144 localstatedir = $localstatedir
23145 runstatedir = $runstatedir
23146 includedir = $includedir
23147 oldincludedir = $oldincludedir
23148 docdir = $docdir
23149 infodir = $infodir
23150 htmldir = $htmldir
23151 dvidir = $dvidir
23152 pdfdir = $pdfdir
23153 psdir = $psdir
23154 libdir = $libdir
23155 localedir = $localedir
23156 mandir = $mandir
23157 DEFS = $DEFS
23158 ECHO_C = $ECHO_C
23159 ECHO_N = $ECHO_N
23160 ECHO_T = $ECHO_T
23161 LIBS = $LIBS
23162 build_alias = $build_alias
23163 host_alias = $host_alias
23164 target_alias = $target_alias
23165 system_dllpath = $system_dllpath
23166 build = $build
23167 build_cpu = $build_cpu
23168 build_vendor = $build_vendor
23169 build_os = $build_os
23170 host = $host
23171 host_cpu = $host_cpu
23172 host_vendor = $host_vendor
23173 host_os = $host_os
23174 dlldir = $dlldir
23175 fontdir = $fontdir
23176 nlsdir = $nlsdir
23177 srcdir = $srcdir
23178 SET_MAKE = $SET_MAKE
23179 CC = $CC
23180 CFLAGS = $CFLAGS
23181 LDFLAGS = $LDFLAGS
23182 CPPFLAGS = $CPPFLAGS
23183 ac_ct_CC = $ac_ct_CC
23184 EXEEXT = $EXEEXT
23185 OBJEXT = $OBJEXT
23186 CXX = $CXX
23187 CXXFLAGS = $CXXFLAGS
23188 ac_ct_CXX = $ac_ct_CXX
23189 CPPBIN = $CPPBIN
23190 LD = $LD
23191 TARGETFLAGS = $TARGETFLAGS
23192 toolsext = $toolsext
23193 HOST_ARCH = $HOST_ARCH
23194 aarch64_CC = $aarch64_CC
23195 aarch64_CFLAGS = $aarch64_CFLAGS
23196 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23197 aarch64_LDFLAGS = $aarch64_LDFLAGS
23198 aarch64_DEBUG = $aarch64_DEBUG
23199 aarch64_TARGET = $aarch64_TARGET
23200 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23201 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23202 arm_CC = $arm_CC
23203 arm_CFLAGS = $arm_CFLAGS
23204 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23205 arm_LDFLAGS = $arm_LDFLAGS
23206 arm_DEBUG = $arm_DEBUG
23207 arm_TARGET = $arm_TARGET
23208 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23209 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23210 i386_CC = $i386_CC
23211 i386_CFLAGS = $i386_CFLAGS
23212 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23213 i386_LDFLAGS = $i386_LDFLAGS
23214 i386_DEBUG = $i386_DEBUG
23215 i386_TARGET = $i386_TARGET
23216 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23217 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23218 x86_64_CC = $x86_64_CC
23219 x86_64_CFLAGS = $x86_64_CFLAGS
23220 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23221 x86_64_LDFLAGS = $x86_64_LDFLAGS
23222 x86_64_DEBUG = $x86_64_DEBUG
23223 x86_64_TARGET = $x86_64_TARGET
23224 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23225 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23226 toolsdir = $toolsdir
23227 MAKEDEP = $MAKEDEP
23228 RUNTESTFLAGS = $RUNTESTFLAGS
23229 SED_CMD = $SED_CMD
23230 FLEX = $FLEX
23231 BISON = $BISON
23232 AR = $AR
23233 ac_ct_AR = $ac_ct_AR
23234 STRIP = $STRIP
23235 RANLIB = $RANLIB
23236 LN_S = $LN_S
23237 GREP = $GREP
23238 EGREP = $EGREP
23239 LDCONFIG = $LDCONFIG
23240 MSGFMT = $MSGFMT
23241 PKG_CONFIG = $PKG_CONFIG
23242 FONTFORGE = $FONTFORGE
23243 RSVG = $RSVG
23244 CONVERT = $CONVERT
23245 ICOTOOL = $ICOTOOL
23246 I386_LIBS = $I386_LIBS
23247 OPENGL_LIBS = $OPENGL_LIBS
23248 DLLFLAGS = $DLLFLAGS
23249 LDDLLFLAGS = $LDDLLFLAGS
23250 LDEXECFLAGS = $LDEXECFLAGS
23251 EXTRACFLAGS = $EXTRACFLAGS
23252 UNIXDLLFLAGS = $UNIXDLLFLAGS
23253 UNIXLDFLAGS = $UNIXLDFLAGS
23254 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23255 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23256 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23257 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23258 DLLEXT = $DLLEXT
23259 LDD = $LDD
23260 OTOOL = $OTOOL
23261 READELF = $READELF
23262 SUBDIRS = $SUBDIRS
23263 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23264 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23265 CARBON_LIBS = $CARBON_LIBS
23266 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23267 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23268 IOKIT_LIBS = $IOKIT_LIBS
23269 METAL_LIBS = $METAL_LIBS
23270 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23271 CORESERVICES_LIBS = $CORESERVICES_LIBS
23272 APPKIT_LIBS = $APPKIT_LIBS
23273 SECURITY_LIBS = $SECURITY_LIBS
23274 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23275 COREAUDIO_LIBS = $COREAUDIO_LIBS
23276 OPENCL_LIBS = $OPENCL_LIBS
23277 OBJC = $OBJC
23278 OBJCFLAGS = $OBJCFLAGS
23279 ac_ct_OBJC = $ac_ct_OBJC
23280 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23281 PE_ARCHS = $PE_ARCHS
23282 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23283 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23284 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23285 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23286 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23287 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23288 GSM_PE_LIBS = $GSM_PE_LIBS
23289 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23290 JPEG_PE_LIBS = $JPEG_PE_LIBS
23291 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23292 JXR_PE_LIBS = $JXR_PE_LIBS
23293 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23294 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23295 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23296 LDAP_PE_LIBS = $LDAP_PE_LIBS
23297 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23298 MPG123_PE_LIBS = $MPG123_PE_LIBS
23299 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23300 MUSL_PE_LIBS = $MUSL_PE_LIBS
23301 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23302 PNG_PE_LIBS = $PNG_PE_LIBS
23303 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23304 TIFF_PE_LIBS = $TIFF_PE_LIBS
23305 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23306 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23307 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23308 XML2_PE_LIBS = $XML2_PE_LIBS
23309 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23310 XSLT_PE_LIBS = $XSLT_PE_LIBS
23311 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23312 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23313 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23314 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23315 PTHREAD_LIBS = $PTHREAD_LIBS
23316 XMKMF = $XMKMF
23317 CPP = $CPP
23318 X_CFLAGS = $X_CFLAGS
23319 X_PRE_LIBS = $X_PRE_LIBS
23320 X_LIBS = $X_LIBS
23321 X_EXTRA_LIBS = $X_EXTRA_LIBS
23322 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23323 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23324 WAYLAND_SCANNER = $WAYLAND_SCANNER
23325 PCAP_LIBS = $PCAP_LIBS
23326 PCSCLITE_LIBS = $PCSCLITE_LIBS
23327 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23328 INOTIFY_LIBS = $INOTIFY_LIBS
23329 DBUS_CFLAGS = $DBUS_CFLAGS
23330 DBUS_LIBS = $DBUS_LIBS
23331 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23332 GNUTLS_LIBS = $GNUTLS_LIBS
23333 SANE_CFLAGS = $SANE_CFLAGS
23334 SANE_LIBS = $SANE_LIBS
23335 USB_CFLAGS = $USB_CFLAGS
23336 USB_LIBS = $USB_LIBS
23337 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23338 GPHOTO2_LIBS = $GPHOTO2_LIBS
23339 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23340 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23341 RESOLV_LIBS = $RESOLV_LIBS
23342 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23343 FREETYPE_LIBS = $FREETYPE_LIBS
23344 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23345 PULSE_CFLAGS = $PULSE_CFLAGS
23346 PULSE_LIBS = $PULSE_LIBS
23347 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23348 GSTREAMER_LIBS = $GSTREAMER_LIBS
23349 ALSA_LIBS = $ALSA_LIBS
23350 OSS4_CFLAGS = $OSS4_CFLAGS
23351 OSS4_LIBS = $OSS4_LIBS
23352 UDEV_CFLAGS = $UDEV_CFLAGS
23353 UDEV_LIBS = $UDEV_LIBS
23354 UNWIND_CFLAGS = $UNWIND_CFLAGS
23355 UNWIND_LIBS = $UNWIND_LIBS
23356 SDL2_CFLAGS = $SDL2_CFLAGS
23357 SDL2_LIBS = $SDL2_LIBS
23358 CAPI20_CFLAGS = $CAPI20_CFLAGS
23359 CAPI20_LIBS = $CAPI20_LIBS
23360 CUPS_CFLAGS = $CUPS_CFLAGS
23361 CUPS_LIBS = $CUPS_LIBS
23362 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23363 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23364 KRB5_CFLAGS = $KRB5_CFLAGS
23365 KRB5_LIBS = $KRB5_LIBS
23366 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23367 GSSAPI_LIBS = $GSSAPI_LIBS
23368 PROCSTAT_LIBS = $PROCSTAT_LIBS
23369 NETAPI_CFLAGS = $NETAPI_CFLAGS
23370 NETAPI_LIBS = $NETAPI_LIBS
23371 MSVCRTFLAGS = $MSVCRTFLAGS
23372 DELAYLOADFLAG = $DELAYLOADFLAG
23373 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23374 RT_LIBS = $RT_LIBS
23375 TAGSFLAGS = $TAGSFLAGS
23376 LIBOBJS = $LIBOBJS
23377 LTLIBOBJS = $LTLIBOBJS
23378 $SET_MAKE
23379 $wine_rules
23380 _WINE_EOF
23381 as_fn_error $? "could not create Makefile" "$LINENO" 5
23384 _ACEOF
23386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23388 # Handling of arguments.
23389 for ac_config_target in $ac_config_targets
23391 case $ac_config_target in
23392 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23393 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23394 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23395 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23396 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23397 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23400 esac
23401 done
23404 # If the user did not use the arguments to specify the items to instantiate,
23405 # then the envvar interface is used. Set only those that are not.
23406 # We use the long form for the default assignment because of an extremely
23407 # bizarre bug on SunOS 4.1.3.
23408 if $ac_need_defaults; then
23409 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23410 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23411 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23414 # Have a temporary directory for convenience. Make it in the build tree
23415 # simply because there is no reason against having it here, and in addition,
23416 # creating and moving files from /tmp can sometimes cause problems.
23417 # Hook for its removal unless debugging.
23418 # Note that there is a small window in which the directory will not be cleaned:
23419 # after its creation but before its name has been assigned to `$tmp'.
23420 $debug ||
23422 tmp= ac_tmp=
23423 trap 'exit_status=$?
23424 : "${ac_tmp:=$tmp}"
23425 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23427 trap 'as_fn_exit 1' 1 2 13 15
23429 # Create a (secure) tmp directory for tmp files.
23432 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23433 test -d "$tmp"
23434 } ||
23436 tmp=./conf$$-$RANDOM
23437 (umask 077 && mkdir "$tmp")
23438 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23439 ac_tmp=$tmp
23441 # Set up the scripts for CONFIG_HEADERS section.
23442 # No need to generate them if there are no CONFIG_HEADERS.
23443 # This happens for instance with `./config.status Makefile'.
23444 if test -n "$CONFIG_HEADERS"; then
23445 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23446 BEGIN {
23447 _ACEOF
23449 # Transform confdefs.h into an awk script `defines.awk', embedded as
23450 # here-document in config.status, that substitutes the proper values into
23451 # config.h.in to produce config.h.
23453 # Create a delimiter string that does not exist in confdefs.h, to ease
23454 # handling of long lines.
23455 ac_delim='%!_!# '
23456 for ac_last_try in false false :; do
23457 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23458 if test -z "$ac_tt"; then
23459 break
23460 elif $ac_last_try; then
23461 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23462 else
23463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23465 done
23467 # For the awk script, D is an array of macro values keyed by name,
23468 # likewise P contains macro parameters if any. Preserve backslash
23469 # newline sequences.
23471 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23472 sed -n '
23473 s/.\{148\}/&'"$ac_delim"'/g
23474 t rset
23475 :rset
23476 s/^[ ]*#[ ]*define[ ][ ]*/ /
23477 t def
23479 :def
23480 s/\\$//
23481 t bsnl
23482 s/["\\]/\\&/g
23483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23484 D["\1"]=" \3"/p
23485 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23487 :bsnl
23488 s/["\\]/\\&/g
23489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23490 D["\1"]=" \3\\\\\\n"\\/p
23491 t cont
23492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23493 t cont
23495 :cont
23497 s/.\{148\}/&'"$ac_delim"'/g
23498 t clear
23499 :clear
23500 s/\\$//
23501 t bsnlc
23502 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23504 :bsnlc
23505 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23506 b cont
23507 ' <confdefs.h | sed '
23508 s/'"$ac_delim"'/"\\\
23509 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23512 for (key in D) D_is_set[key] = 1
23513 FS = "\a"
23515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23516 line = \$ 0
23517 split(line, arg, " ")
23518 if (arg[1] == "#") {
23519 defundef = arg[2]
23520 mac1 = arg[3]
23521 } else {
23522 defundef = substr(arg[1], 2)
23523 mac1 = arg[2]
23525 split(mac1, mac2, "(") #)
23526 macro = mac2[1]
23527 prefix = substr(line, 1, index(line, defundef) - 1)
23528 if (D_is_set[macro]) {
23529 # Preserve the white space surrounding the "#".
23530 print prefix "define", macro P[macro] D[macro]
23531 next
23532 } else {
23533 # Replace #undef with comments. This is necessary, for example,
23534 # in the case of _POSIX_SOURCE, which is predefined and required
23535 # on some systems where configure will not decide to define it.
23536 if (defundef == "undef") {
23537 print "/*", prefix defundef, macro, "*/"
23538 next
23542 { print }
23543 _ACAWK
23544 _ACEOF
23545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23546 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23547 fi # test -n "$CONFIG_HEADERS"
23550 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23551 shift
23552 for ac_tag
23554 case $ac_tag in
23555 :[FHLC]) ac_mode=$ac_tag; continue;;
23556 esac
23557 case $ac_mode$ac_tag in
23558 :[FHL]*:*);;
23559 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23560 :[FH]-) ac_tag=-:-;;
23561 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23562 esac
23563 ac_save_IFS=$IFS
23564 IFS=:
23565 set x $ac_tag
23566 IFS=$ac_save_IFS
23567 shift
23568 ac_file=$1
23569 shift
23571 case $ac_mode in
23572 :L) ac_source=$1;;
23573 :[FH])
23574 ac_file_inputs=
23575 for ac_f
23577 case $ac_f in
23578 -) ac_f="$ac_tmp/stdin";;
23579 *) # Look for the file first in the build tree, then in the source tree
23580 # (if the path is not absolute). The absolute path cannot be DOS-style,
23581 # because $ac_f cannot contain `:'.
23582 test -f "$ac_f" ||
23583 case $ac_f in
23584 [\\/$]*) false;;
23585 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23586 esac ||
23587 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23588 esac
23589 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23590 as_fn_append ac_file_inputs " '$ac_f'"
23591 done
23593 # Let's still pretend it is `configure' which instantiates (i.e., don't
23594 # use $as_me), people would be surprised to read:
23595 # /* config.h. Generated by config.status. */
23596 configure_input='Generated from '`
23597 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23598 `' by configure.'
23599 if test x"$ac_file" != x-; then
23600 configure_input="$ac_file. $configure_input"
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23602 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23604 # Neutralize special characters interpreted by sed in replacement strings.
23605 case $configure_input in #(
23606 *\&* | *\|* | *\\* )
23607 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23608 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23609 *) ac_sed_conf_input=$configure_input;;
23610 esac
23612 case $ac_tag in
23613 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23615 esac
23617 esac
23619 ac_dir=`$as_dirname -- "$ac_file" ||
23620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23621 X"$ac_file" : 'X\(//\)[^/]' \| \
23622 X"$ac_file" : 'X\(//\)$' \| \
23623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23624 printf "%s\n" X"$ac_file" |
23625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23626 s//\1/
23629 /^X\(\/\/\)[^/].*/{
23630 s//\1/
23633 /^X\(\/\/\)$/{
23634 s//\1/
23637 /^X\(\/\).*/{
23638 s//\1/
23641 s/.*/./; q'`
23642 as_dir="$ac_dir"; as_fn_mkdir_p
23643 ac_builddir=.
23645 case "$ac_dir" in
23646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23648 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23649 # A ".." for each directory in $ac_dir_suffix.
23650 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23651 case $ac_top_builddir_sub in
23652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23654 esac ;;
23655 esac
23656 ac_abs_top_builddir=$ac_pwd
23657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23658 # for backward compatibility:
23659 ac_top_builddir=$ac_top_build_prefix
23661 case $srcdir in
23662 .) # We are building in place.
23663 ac_srcdir=.
23664 ac_top_srcdir=$ac_top_builddir_sub
23665 ac_abs_top_srcdir=$ac_pwd ;;
23666 [\\/]* | ?:[\\/]* ) # Absolute name.
23667 ac_srcdir=$srcdir$ac_dir_suffix;
23668 ac_top_srcdir=$srcdir
23669 ac_abs_top_srcdir=$srcdir ;;
23670 *) # Relative name.
23671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23672 ac_top_srcdir=$ac_top_build_prefix$srcdir
23673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23674 esac
23675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23678 case $ac_mode in
23682 # CONFIG_HEADER
23684 if test x"$ac_file" != x-; then
23686 printf "%s\n" "/* $configure_input */" >&1 \
23687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23688 } >"$ac_tmp/config.h" \
23689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23690 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23692 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23693 else
23694 rm -f "$ac_file"
23695 mv "$ac_tmp/config.h" "$ac_file" \
23696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23698 else
23699 printf "%s\n" "/* $configure_input */" >&1 \
23700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23701 || as_fn_error $? "could not create -" "$LINENO" 5
23706 # CONFIG_LINK
23709 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23711 else
23712 # Prefer the file from the source tree if names are identical.
23713 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23714 ac_source=$srcdir/$ac_source
23717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23718 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23720 if test ! -r "$ac_source"; then
23721 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23723 rm -f "$ac_file"
23725 # Try a relative symlink, then a hard link, then a copy.
23726 case $ac_source in
23727 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23728 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23729 esac
23730 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23731 ln "$ac_source" "$ac_file" 2>/dev/null ||
23732 cp -p "$ac_source" "$ac_file" ||
23733 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23736 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23737 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23739 esac
23742 case $ac_file$ac_mode in
23743 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23744 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23745 "Makefile":C) wine_fn_output_makefile Makefile ;;
23747 esac
23748 done # for ac_tag
23751 as_fn_exit 0
23752 _ACEOF
23753 ac_clean_files=$ac_clean_files_save
23755 test $ac_write_fail = 0 ||
23756 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23759 # configure is writing to config.log, and then calls config.status.
23760 # config.status does its own redirection, appending to config.log.
23761 # Unfortunately, on DOS this fails, as config.log is still kept open
23762 # by configure, so config.status won't be able to write to it; its
23763 # output is simply discarded. So we exec the FD to /dev/null,
23764 # effectively closing config.log, so it can be properly (re)opened and
23765 # appended to by config.status. When coming back to configure, we
23766 # need to make the FD available again.
23767 if test "$no_create" != yes; then
23768 ac_cs_success=:
23769 ac_config_status_args=
23770 test "$silent" = yes &&
23771 ac_config_status_args="$ac_config_status_args --quiet"
23772 exec 5>/dev/null
23773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23774 exec 5>>config.log
23775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23776 # would make configure fail if this is the last instruction.
23777 $ac_cs_success || as_fn_exit 1
23779 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23781 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23785 if test "$no_create" = "yes"
23786 then
23787 exit 0
23790 ac_save_IFS="$IFS"
23791 if test "x$wine_notices" != x; then
23792 echo >&6
23793 IFS="|"
23794 for msg in $wine_notices; do
23795 IFS="$ac_save_IFS"
23796 if ${msg:+false} :
23797 then :
23799 else $as_nop
23800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23801 printf "%s\n" "$as_me: $msg" >&6;}
23803 done
23805 IFS="|"
23806 for msg in $wine_warnings; do
23807 IFS="$ac_save_IFS"
23808 if ${msg:+false} :
23809 then :
23811 else $as_nop
23812 echo >&2
23813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23814 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23816 done
23817 IFS="$ac_save_IFS"
23819 printf "%s\n" "
23820 $as_me: Finished. Do '${ac_make}' to compile Wine.
23821 " >&6