winedump: Fix printing of code ranges in hybrid modules.
[wine.git] / configure
blobd9853deb0c7162ce0d5c911344fcb52cf43162f1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.6.
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.6'
615 PACKAGE_STRING='Wine 8.6'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 WINEPRELOADER_LDFLAGS
770 WINELOADER_LDFLAGS
771 TOP_INSTALL_DEV
772 TOP_INSTALL_LIB
773 UNIXLDFLAGS
774 UNIXDLLFLAGS
775 EXTRACFLAGS
776 LDEXECFLAGS
777 LDDLLFLAGS
778 DLLFLAGS
779 OPENGL_LIBS
780 I386_LIBS
781 ICOTOOL
782 CONVERT
783 RSVG
784 FONTFORGE
785 PKG_CONFIG
786 MSGFMT
787 LDCONFIG
788 EGREP
789 GREP
790 LN_S
791 RANLIB
792 STRIP
793 ac_ct_AR
795 BISON
796 FLEX
797 SED_CMD
798 RUNTESTFLAGS
799 MAKEDEP
800 toolsdir
801 x86_64_DISABLED_SUBDIRS
802 x86_64_DELAYLOADFLAG
803 x86_64_TARGET
804 x86_64_DEBUG
805 x86_64_LDFLAGS
806 x86_64_EXTRACFLAGS
807 x86_64_CFLAGS
808 x86_64_CC
809 i386_DISABLED_SUBDIRS
810 i386_DELAYLOADFLAG
811 i386_TARGET
812 i386_DEBUG
813 i386_LDFLAGS
814 i386_EXTRACFLAGS
815 i386_CFLAGS
816 i386_CC
817 arm_DISABLED_SUBDIRS
818 arm_DELAYLOADFLAG
819 arm_TARGET
820 arm_DEBUG
821 arm_LDFLAGS
822 arm_EXTRACFLAGS
823 arm_CFLAGS
824 arm_CC
825 aarch64_DISABLED_SUBDIRS
826 aarch64_DELAYLOADFLAG
827 aarch64_TARGET
828 aarch64_DEBUG
829 aarch64_LDFLAGS
830 aarch64_EXTRACFLAGS
831 aarch64_CFLAGS
832 aarch64_CC
833 HOST_ARCH
834 toolsext
835 TARGETFLAGS
837 CPPBIN
838 ac_ct_CXX
839 CXXFLAGS
841 OBJEXT
842 EXEEXT
843 ac_ct_CC
844 CPPFLAGS
845 LDFLAGS
846 CFLAGS
848 SET_MAKE
849 srcdir
850 nlsdir
851 fontdir
852 dlldir
853 host_os
854 host_vendor
855 host_cpu
856 host
857 build_os
858 build_vendor
859 build_cpu
860 build
861 system_dllpath
862 target_alias
863 host_alias
864 build_alias
865 LIBS
866 ECHO_T
867 ECHO_N
868 ECHO_C
869 DEFS
870 mandir
871 localedir
872 libdir
873 psdir
874 pdfdir
875 dvidir
876 htmldir
877 infodir
878 docdir
879 oldincludedir
880 includedir
881 runstatedir
882 localstatedir
883 sharedstatedir
884 sysconfdir
885 datadir
886 datarootdir
887 libexecdir
888 sbindir
889 bindir
890 program_transform_name
891 prefix
892 exec_prefix
893 PACKAGE_URL
894 PACKAGE_BUGREPORT
895 PACKAGE_STRING
896 PACKAGE_VERSION
897 PACKAGE_TARNAME
898 PACKAGE_NAME
899 PATH_SEPARATOR
900 SHELL'
901 ac_subst_files=''
902 ac_user_opts='
903 enable_option_checking
904 enable_archs
905 enable_win16
906 enable_win64
907 enable_tests
908 enable_build_id
909 enable_maintainer_mode
910 enable_silent_rules
911 enable_werror
912 with_alsa
913 with_capi
914 with_coreaudio
915 with_cups
916 with_dbus
917 with_float_abi
918 with_fontconfig
919 with_freetype
920 with_gettext
921 with_gettextpo
922 with_gphoto
923 with_gnutls
924 with_gssapi
925 with_gstreamer
926 with_inotify
927 with_krb5
928 with_mingw
929 with_netapi
930 with_opencl
931 with_opengl
932 with_osmesa
933 with_oss
934 with_pcap
935 with_pcsclite
936 with_pthread
937 with_pulse
938 with_sane
939 with_sdl
940 with_udev
941 with_unwind
942 with_usb
943 with_v4l2
944 with_vulkan
945 with_wayland
946 with_xcomposite
947 with_xcursor
948 with_xfixes
949 with_xinerama
950 with_xinput
951 with_xinput2
952 with_xrandr
953 with_xrender
954 with_xshape
955 with_xshm
956 with_xxf86vm
957 with_system_dllpath
958 with_wine_tools
959 with_wine64
960 enable_largefile
961 with_x
962 enable_acledit
963 enable_aclui
964 enable_activeds_tlb
965 enable_activeds
966 enable_actxprxy
967 enable_adsldp
968 enable_adsldpc
969 enable_advapi32
970 enable_advpack
971 enable_amsi
972 enable_amstream
973 enable_apisetschema
974 enable_apphelp
975 enable_appwiz_cpl
976 enable_atl
977 enable_atl100
978 enable_atl110
979 enable_atl80
980 enable_atl90
981 enable_atlthunk
982 enable_atmlib
983 enable_authz
984 enable_avicap32
985 enable_avifil32
986 enable_avrt
987 enable_bcrypt
988 enable_bluetoothapis
989 enable_browseui
990 enable_bthprops_cpl
991 enable_cabinet
992 enable_capi2032
993 enable_cards
994 enable_cdosys
995 enable_cfgmgr32
996 enable_clusapi
997 enable_cng_sys
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_concrt140
1005 enable_connect
1006 enable_credui
1007 enable_crtdll
1008 enable_crypt32
1009 enable_cryptdlg
1010 enable_cryptdll
1011 enable_cryptext
1012 enable_cryptnet
1013 enable_cryptowinrt
1014 enable_cryptsp
1015 enable_cryptui
1016 enable_ctapi32
1017 enable_ctl3d32
1018 enable_d2d1
1019 enable_d3d10
1020 enable_d3d10_1
1021 enable_d3d10core
1022 enable_d3d11
1023 enable_d3d12
1024 enable_d3d12core
1025 enable_d3d8
1026 enable_d3d8thk
1027 enable_d3d9
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1041 enable_d3dim
1042 enable_d3dim700
1043 enable_d3drm
1044 enable_d3dx10_33
1045 enable_d3dx10_34
1046 enable_d3dx10_35
1047 enable_d3dx10_36
1048 enable_d3dx10_37
1049 enable_d3dx10_38
1050 enable_d3dx10_39
1051 enable_d3dx10_40
1052 enable_d3dx10_41
1053 enable_d3dx10_42
1054 enable_d3dx10_43
1055 enable_d3dx11_42
1056 enable_d3dx11_43
1057 enable_d3dx9_24
1058 enable_d3dx9_25
1059 enable_d3dx9_26
1060 enable_d3dx9_27
1061 enable_d3dx9_28
1062 enable_d3dx9_29
1063 enable_d3dx9_30
1064 enable_d3dx9_31
1065 enable_d3dx9_32
1066 enable_d3dx9_33
1067 enable_d3dx9_34
1068 enable_d3dx9_35
1069 enable_d3dx9_36
1070 enable_d3dx9_37
1071 enable_d3dx9_38
1072 enable_d3dx9_39
1073 enable_d3dx9_40
1074 enable_d3dx9_41
1075 enable_d3dx9_42
1076 enable_d3dx9_43
1077 enable_d3dxof
1078 enable_davclnt
1079 enable_dbgeng
1080 enable_dbghelp
1081 enable_dciman32
1082 enable_dcomp
1083 enable_ddraw
1084 enable_ddrawex
1085 enable_devenum
1086 enable_dhcpcsvc
1087 enable_dhcpcsvc6
1088 enable_dhtmled_ocx
1089 enable_diasymreader
1090 enable_difxapi
1091 enable_dinput
1092 enable_dinput8
1093 enable_directmanipulation
1094 enable_dispex
1095 enable_dmband
1096 enable_dmcompos
1097 enable_dmime
1098 enable_dmloader
1099 enable_dmscript
1100 enable_dmstyle
1101 enable_dmsynth
1102 enable_dmusic
1103 enable_dmusic32
1104 enable_dnsapi
1105 enable_dplay
1106 enable_dplayx
1107 enable_dpnaddr
1108 enable_dpnet
1109 enable_dpnhpast
1110 enable_dpnhupnp
1111 enable_dpnlobby
1112 enable_dpvoice
1113 enable_dpwsockx
1114 enable_drmclien
1115 enable_dsdmo
1116 enable_dsound
1117 enable_dsquery
1118 enable_dssenh
1119 enable_dsuiext
1120 enable_dswave
1121 enable_dwmapi
1122 enable_dwrite
1123 enable_dx8vb
1124 enable_dxdiagn
1125 enable_dxgi
1126 enable_dxtrans
1127 enable_dxva2
1128 enable_esent
1129 enable_evr
1130 enable_explorerframe
1131 enable_faultrep
1132 enable_feclient
1133 enable_fltlib
1134 enable_fltmgr_sys
1135 enable_fntcache
1136 enable_fontsub
1137 enable_fusion
1138 enable_fwpuclnt
1139 enable_gameux
1140 enable_gamingtcui
1141 enable_gdi32
1142 enable_gdiplus
1143 enable_glu32
1144 enable_gphoto2_ds
1145 enable_gpkcsp
1146 enable_graphicscapture
1147 enable_hal
1148 enable_hhctrl_ocx
1149 enable_hid
1150 enable_hidclass_sys
1151 enable_hidparse_sys
1152 enable_hlink
1153 enable_hnetcfg
1154 enable_http_sys
1155 enable_httpapi
1156 enable_ia2comproxy
1157 enable_iccvid
1158 enable_icmp
1159 enable_ieframe
1160 enable_ieproxy
1161 enable_imaadp32_acm
1162 enable_imagehlp
1163 enable_imm32
1164 enable_inetcomm
1165 enable_inetcpl_cpl
1166 enable_inetmib1
1167 enable_infosoft
1168 enable_initpki
1169 enable_inkobj
1170 enable_inseng
1171 enable_iphlpapi
1172 enable_iprop
1173 enable_ir50_32
1174 enable_irprops_cpl
1175 enable_itircl
1176 enable_itss
1177 enable_joy_cpl
1178 enable_jscript
1179 enable_jsproxy
1180 enable_kerberos
1181 enable_kernel32
1182 enable_kernelbase
1183 enable_ksecdd_sys
1184 enable_ksproxy_ax
1185 enable_ksuser
1186 enable_ktmw32
1187 enable_l3codeca_acm
1188 enable_light_msstyles
1189 enable_loadperf
1190 enable_localspl
1191 enable_localui
1192 enable_lz32
1193 enable_mapi32
1194 enable_mapistub
1195 enable_mciavi32
1196 enable_mcicda
1197 enable_mciqtz32
1198 enable_mciseq
1199 enable_mciwave
1200 enable_mf
1201 enable_mf3216
1202 enable_mferror
1203 enable_mfmediaengine
1204 enable_mfplat
1205 enable_mfplay
1206 enable_mfreadwrite
1207 enable_mfsrcsnk
1208 enable_mgmtapi
1209 enable_midimap
1210 enable_mlang
1211 enable_mmcndmgr
1212 enable_mmdevapi
1213 enable_mountmgr_sys
1214 enable_mp3dmod
1215 enable_mpr
1216 enable_mprapi
1217 enable_msacm32_drv
1218 enable_msacm32
1219 enable_msado15
1220 enable_msadp32_acm
1221 enable_msasn1
1222 enable_msauddecmft
1223 enable_mscat32
1224 enable_mscms
1225 enable_mscoree
1226 enable_mscorwks
1227 enable_msctf
1228 enable_msctfmonitor
1229 enable_msctfp
1230 enable_msdaps
1231 enable_msdasql
1232 enable_msdelta
1233 enable_msdmo
1234 enable_msdrm
1235 enable_msftedit
1236 enable_msg711_acm
1237 enable_msgsm32_acm
1238 enable_mshtml_tlb
1239 enable_mshtml
1240 enable_msi
1241 enable_msident
1242 enable_msimg32
1243 enable_msimsg
1244 enable_msimtf
1245 enable_msisip
1246 enable_msisys_ocx
1247 enable_msls31
1248 enable_msmpeg2vdec
1249 enable_msnet32
1250 enable_mspatcha
1251 enable_msports
1252 enable_msrle32
1253 enable_msscript_ocx
1254 enable_mssign32
1255 enable_mssip32
1256 enable_mstask
1257 enable_msv1_0
1258 enable_msvcirt
1259 enable_msvcm80
1260 enable_msvcm90
1261 enable_msvcp100
1262 enable_msvcp110
1263 enable_msvcp120
1264 enable_msvcp120_app
1265 enable_msvcp140
1266 enable_msvcp140_1
1267 enable_msvcp140_2
1268 enable_msvcp140_atomic_wait
1269 enable_msvcp60
1270 enable_msvcp70
1271 enable_msvcp71
1272 enable_msvcp80
1273 enable_msvcp90
1274 enable_msvcp_win
1275 enable_msvcr100
1276 enable_msvcr110
1277 enable_msvcr120
1278 enable_msvcr120_app
1279 enable_msvcr70
1280 enable_msvcr71
1281 enable_msvcr80
1282 enable_msvcr90
1283 enable_msvcrt
1284 enable_msvcrt20
1285 enable_msvcrt40
1286 enable_msvcrtd
1287 enable_msvfw32
1288 enable_msvidc32
1289 enable_mswsock
1290 enable_msxml
1291 enable_msxml2
1292 enable_msxml3
1293 enable_msxml4
1294 enable_msxml6
1295 enable_mtxdm
1296 enable_ncrypt
1297 enable_nddeapi
1298 enable_ndis_sys
1299 enable_netapi32
1300 enable_netcfgx
1301 enable_netio_sys
1302 enable_netprofm
1303 enable_netutils
1304 enable_newdev
1305 enable_ninput
1306 enable_normaliz
1307 enable_npmshtml
1308 enable_npptools
1309 enable_nsi
1310 enable_nsiproxy_sys
1311 enable_ntdll
1312 enable_ntdsapi
1313 enable_ntoskrnl_exe
1314 enable_ntprint
1315 enable_objsel
1316 enable_odbc32
1317 enable_odbcbcp
1318 enable_odbccp32
1319 enable_odbccu32
1320 enable_ole32
1321 enable_oleacc
1322 enable_oleaut32
1323 enable_olecli32
1324 enable_oledb32
1325 enable_oledlg
1326 enable_olepro32
1327 enable_olesvr32
1328 enable_olethk32
1329 enable_opcservices
1330 enable_opencl
1331 enable_opengl32
1332 enable_packager
1333 enable_pdh
1334 enable_photometadatahandler
1335 enable_pidgen
1336 enable_powrprof
1337 enable_printui
1338 enable_prntvpt
1339 enable_propsys
1340 enable_psapi
1341 enable_pstorec
1342 enable_pwrshplugin
1343 enable_qasf
1344 enable_qcap
1345 enable_qdvd
1346 enable_qedit
1347 enable_qmgr
1348 enable_qmgrprxy
1349 enable_quartz
1350 enable_query
1351 enable_qwave
1352 enable_rasapi32
1353 enable_rasdlg
1354 enable_regapi
1355 enable_resutils
1356 enable_riched20
1357 enable_riched32
1358 enable_rpcrt4
1359 enable_rsabase
1360 enable_rsaenh
1361 enable_rstrtmgr
1362 enable_rtutils
1363 enable_rtworkq
1364 enable_samlib
1365 enable_sane_ds
1366 enable_sapi
1367 enable_sas
1368 enable_scarddlg
1369 enable_scardsvr
1370 enable_sccbase
1371 enable_schannel
1372 enable_schedsvc
1373 enable_scrobj
1374 enable_scrrun
1375 enable_scsiport_sys
1376 enable_sechost
1377 enable_secur32
1378 enable_security
1379 enable_sensapi
1380 enable_serialui
1381 enable_setupapi
1382 enable_sfc
1383 enable_sfc_os
1384 enable_shcore
1385 enable_shdoclc
1386 enable_shdocvw
1387 enable_shell32
1388 enable_shfolder
1389 enable_shlwapi
1390 enable_slbcsp
1391 enable_slc
1392 enable_snmpapi
1393 enable_softpub
1394 enable_spoolss
1395 enable_sppc
1396 enable_srclient
1397 enable_srvcli
1398 enable_sspicli
1399 enable_stdole2_tlb
1400 enable_stdole32_tlb
1401 enable_sti
1402 enable_strmdll
1403 enable_svrapi
1404 enable_sxs
1405 enable_t2embed
1406 enable_tapi32
1407 enable_taskschd
1408 enable_tbs
1409 enable_tdh
1410 enable_tdi_sys
1411 enable_threadpoolwinrt
1412 enable_traffic
1413 enable_twain_32
1414 enable_twinapi_appcore
1415 enable_tzres
1416 enable_ucrtbase
1417 enable_uianimation
1418 enable_uiautomationcore
1419 enable_uiribbon
1420 enable_unicows
1421 enable_updspapi
1422 enable_url
1423 enable_urlmon
1424 enable_usbd_sys
1425 enable_user32
1426 enable_userenv
1427 enable_usp10
1428 enable_utildll
1429 enable_uxtheme
1430 enable_vbscript
1431 enable_vcomp
1432 enable_vcomp100
1433 enable_vcomp110
1434 enable_vcomp120
1435 enable_vcomp140
1436 enable_vcomp90
1437 enable_vcruntime140
1438 enable_vcruntime140_1
1439 enable_vdmdbg
1440 enable_version
1441 enable_vga
1442 enable_virtdisk
1443 enable_vssapi
1444 enable_vulkan_1
1445 enable_wbemdisp
1446 enable_wbemprox
1447 enable_wdscore
1448 enable_webservices
1449 enable_websocket
1450 enable_wer
1451 enable_wevtapi
1452 enable_wevtsvc
1453 enable_wiaservc
1454 enable_wimgapi
1455 enable_win32u
1456 enable_windows_devices_enumeration
1457 enable_windows_gaming_input
1458 enable_windows_gaming_ui_gamebar
1459 enable_windows_globalization
1460 enable_windows_media_devices
1461 enable_windows_media_speech
1462 enable_windows_media
1463 enable_windows_networking
1464 enable_windows_perception_stub
1465 enable_windows_system_profile_systemmanufacturers
1466 enable_windows_ui
1467 enable_windowscodecs
1468 enable_windowscodecsext
1469 enable_winealsa_drv
1470 enable_wineandroid_drv
1471 enable_winebus_sys
1472 enable_winecoreaudio_drv
1473 enable_winecrt0
1474 enable_wined3d
1475 enable_winegstreamer
1476 enable_winehid_sys
1477 enable_winemac_drv
1478 enable_winemapi
1479 enable_wineoss_drv
1480 enable_wineps_drv
1481 enable_winepulse_drv
1482 enable_wineusb_sys
1483 enable_winevulkan
1484 enable_winewayland_drv
1485 enable_winex11_drv
1486 enable_winexinput_sys
1487 enable_wing32
1488 enable_winhttp
1489 enable_wininet
1490 enable_winmm
1491 enable_winnls32
1492 enable_winprint
1493 enable_winscard
1494 enable_winspool_drv
1495 enable_winsta
1496 enable_wintab32
1497 enable_wintrust
1498 enable_wintypes
1499 enable_winusb
1500 enable_wlanapi
1501 enable_wlanui
1502 enable_wldap32
1503 enable_wmasf
1504 enable_wmi
1505 enable_wmiutils
1506 enable_wmp
1507 enable_wmphoto
1508 enable_wmvcore
1509 enable_wnaspi32
1510 enable_wofutil
1511 enable_wow64
1512 enable_wow64cpu
1513 enable_wow64win
1514 enable_wpc
1515 enable_wpcap
1516 enable_ws2_32
1517 enable_wsdapi
1518 enable_wshom_ocx
1519 enable_wsnmp32
1520 enable_wsock32
1521 enable_wtsapi32
1522 enable_wuapi
1523 enable_wuaueng
1524 enable_x3daudio1_0
1525 enable_x3daudio1_1
1526 enable_x3daudio1_2
1527 enable_x3daudio1_3
1528 enable_x3daudio1_4
1529 enable_x3daudio1_5
1530 enable_x3daudio1_6
1531 enable_x3daudio1_7
1532 enable_xactengine2_0
1533 enable_xactengine2_4
1534 enable_xactengine2_7
1535 enable_xactengine2_9
1536 enable_xactengine3_0
1537 enable_xactengine3_1
1538 enable_xactengine3_2
1539 enable_xactengine3_3
1540 enable_xactengine3_4
1541 enable_xactengine3_5
1542 enable_xactengine3_6
1543 enable_xactengine3_7
1544 enable_xapofx1_1
1545 enable_xapofx1_2
1546 enable_xapofx1_3
1547 enable_xapofx1_4
1548 enable_xapofx1_5
1549 enable_xaudio2_0
1550 enable_xaudio2_1
1551 enable_xaudio2_2
1552 enable_xaudio2_3
1553 enable_xaudio2_4
1554 enable_xaudio2_5
1555 enable_xaudio2_6
1556 enable_xaudio2_7
1557 enable_xaudio2_8
1558 enable_xaudio2_9
1559 enable_xinput1_1
1560 enable_xinput1_2
1561 enable_xinput1_3
1562 enable_xinput1_4
1563 enable_xinput9_1_0
1564 enable_xinputuap
1565 enable_xmllite
1566 enable_xolehlp
1567 enable_xpsprint
1568 enable_xpssvcs
1569 enable_fonts
1570 enable_include
1571 enable_adsiid
1572 enable_dmoguids
1573 enable_dxerr8
1574 enable_dxerr9
1575 enable_dxguid
1576 enable_faudio
1577 enable_gsm
1578 enable_jpeg
1579 enable_jxr
1580 enable_lcms2
1581 enable_ldap
1582 enable_mfuuid
1583 enable_mpg123
1584 enable_musl
1585 enable_png
1586 enable_strmbase
1587 enable_strmiids
1588 enable_tiff
1589 enable_uuid
1590 enable_vkd3d
1591 enable_wbemuuid
1592 enable_wmcodecdspuuid
1593 enable_xml2
1594 enable_xslt
1595 enable_zlib
1596 enable_zydis
1597 enable_loader
1598 enable_nls
1599 enable_po
1600 enable_arp
1601 enable_aspnet_regiis
1602 enable_attrib
1603 enable_cabarc
1604 enable_cacls
1605 enable_certutil
1606 enable_chcp_com
1607 enable_clock
1608 enable_cmd
1609 enable_conhost
1610 enable_control
1611 enable_cscript
1612 enable_dism
1613 enable_dllhost
1614 enable_dplaysvr
1615 enable_dpnsvr
1616 enable_dpvsetup
1617 enable_dxdiag
1618 enable_eject
1619 enable_expand
1620 enable_explorer
1621 enable_extrac32
1622 enable_fc
1623 enable_find
1624 enable_findstr
1625 enable_fsutil
1626 enable_hh
1627 enable_hostname
1628 enable_icacls
1629 enable_icinfo
1630 enable_iexplore
1631 enable_ipconfig
1632 enable_lodctr
1633 enable_mofcomp
1634 enable_mshta
1635 enable_msidb
1636 enable_msiexec
1637 enable_msinfo32
1638 enable_net
1639 enable_netsh
1640 enable_netstat
1641 enable_ngen
1642 enable_notepad
1643 enable_oleview
1644 enable_ping
1645 enable_plugplay
1646 enable_powershell
1647 enable_presentationfontcache
1648 enable_progman
1649 enable_reg
1650 enable_regasm
1651 enable_regedit
1652 enable_regini
1653 enable_regsvcs
1654 enable_regsvr32
1655 enable_robocopy
1656 enable_rpcss
1657 enable_rundll32
1658 enable_sc
1659 enable_schtasks
1660 enable_sdbinst
1661 enable_secedit
1662 enable_servicemodelreg
1663 enable_services
1664 enable_setx
1665 enable_shutdown
1666 enable_spoolsv
1667 enable_start
1668 enable_subst
1669 enable_svchost
1670 enable_systeminfo
1671 enable_taskkill
1672 enable_tasklist
1673 enable_taskmgr
1674 enable_termsv
1675 enable_uninstaller
1676 enable_unlodctr
1677 enable_view
1678 enable_wevtutil
1679 enable_where
1680 enable_whoami
1681 enable_wineboot
1682 enable_winebrowser
1683 enable_winecfg
1684 enable_wineconsole
1685 enable_winedbg
1686 enable_winedevice
1687 enable_winefile
1688 enable_winemenubuilder
1689 enable_winemine
1690 enable_winemsibuilder
1691 enable_winepath
1692 enable_winetest
1693 enable_winhlp32
1694 enable_winmgmt
1695 enable_winver
1696 enable_wmic
1697 enable_wmplayer
1698 enable_wordpad
1699 enable_write
1700 enable_wscript
1701 enable_wuauserv
1702 enable_wusa
1703 enable_xcopy
1704 enable_server
1705 enable_tools
1706 enable_sfnt2fon
1707 enable_widl
1708 enable_winebuild
1709 enable_winedump
1710 enable_winegcc
1711 enable_winemaker
1712 enable_wmc
1713 enable_wrc
1715 ac_precious_vars='build_alias
1716 host_alias
1717 target_alias
1719 CFLAGS
1720 LDFLAGS
1721 LIBS
1722 CPPFLAGS
1724 CXXFLAGS
1726 OBJC
1727 OBJCFLAGS
1728 FAUDIO_PE_CFLAGS
1729 FAUDIO_PE_LIBS
1730 GSM_PE_CFLAGS
1731 GSM_PE_LIBS
1732 JPEG_PE_CFLAGS
1733 JPEG_PE_LIBS
1734 JXR_PE_CFLAGS
1735 JXR_PE_LIBS
1736 LCMS2_PE_CFLAGS
1737 LCMS2_PE_LIBS
1738 LDAP_PE_CFLAGS
1739 LDAP_PE_LIBS
1740 MPG123_PE_CFLAGS
1741 MPG123_PE_LIBS
1742 MUSL_PE_CFLAGS
1743 MUSL_PE_LIBS
1744 PNG_PE_CFLAGS
1745 PNG_PE_LIBS
1746 TIFF_PE_CFLAGS
1747 TIFF_PE_LIBS
1748 VKD3D_PE_CFLAGS
1749 VKD3D_PE_LIBS
1750 XML2_PE_CFLAGS
1751 XML2_PE_LIBS
1752 XSLT_PE_CFLAGS
1753 XSLT_PE_LIBS
1754 ZLIB_PE_CFLAGS
1755 ZLIB_PE_LIBS
1756 ZYDIS_PE_CFLAGS
1757 ZYDIS_PE_LIBS
1758 XMKMF
1760 WAYLAND_CLIENT_CFLAGS
1761 WAYLAND_CLIENT_LIBS
1762 INOTIFY_CFLAGS
1763 INOTIFY_LIBS
1764 DBUS_CFLAGS
1765 DBUS_LIBS
1766 GNUTLS_CFLAGS
1767 GNUTLS_LIBS
1768 SANE_CFLAGS
1769 SANE_LIBS
1770 USB_CFLAGS
1771 USB_LIBS
1772 GPHOTO2_CFLAGS
1773 GPHOTO2_LIBS
1774 GPHOTO2_PORT_CFLAGS
1775 GPHOTO2_PORT_LIBS
1776 FREETYPE_CFLAGS
1777 FREETYPE_LIBS
1778 PULSE_CFLAGS
1779 PULSE_LIBS
1780 GSTREAMER_CFLAGS
1781 GSTREAMER_LIBS
1782 UDEV_CFLAGS
1783 UDEV_LIBS
1784 UNWIND_CFLAGS
1785 UNWIND_LIBS
1786 SDL2_CFLAGS
1787 SDL2_LIBS
1788 CAPI20_CFLAGS
1789 CAPI20_LIBS
1790 CUPS_CFLAGS
1791 CUPS_LIBS
1792 FONTCONFIG_CFLAGS
1793 FONTCONFIG_LIBS
1794 KRB5_CFLAGS
1795 KRB5_LIBS
1796 GSSAPI_CFLAGS
1797 GSSAPI_LIBS
1798 NETAPI_CFLAGS
1799 NETAPI_LIBS'
1802 # Initialize some variables set by options.
1803 ac_init_help=
1804 ac_init_version=false
1805 ac_unrecognized_opts=
1806 ac_unrecognized_sep=
1807 # The variables have the same names as the options, with
1808 # dashes changed to underlines.
1809 cache_file=/dev/null
1810 exec_prefix=NONE
1811 no_create=
1812 no_recursion=
1813 prefix=NONE
1814 program_prefix=NONE
1815 program_suffix=NONE
1816 program_transform_name=s,x,x,
1817 silent=
1818 site=
1819 srcdir=
1820 verbose=
1821 x_includes=NONE
1822 x_libraries=NONE
1824 # Installation directory options.
1825 # These are left unexpanded so users can "make install exec_prefix=/foo"
1826 # and all the variables that are supposed to be based on exec_prefix
1827 # by default will actually change.
1828 # Use braces instead of parens because sh, perl, etc. also accept them.
1829 # (The list follows the same order as the GNU Coding Standards.)
1830 bindir='${exec_prefix}/bin'
1831 sbindir='${exec_prefix}/sbin'
1832 libexecdir='${exec_prefix}/libexec'
1833 datarootdir='${prefix}/share'
1834 datadir='${datarootdir}'
1835 sysconfdir='${prefix}/etc'
1836 sharedstatedir='${prefix}/com'
1837 localstatedir='${prefix}/var'
1838 runstatedir='${localstatedir}/run'
1839 includedir='${prefix}/include'
1840 oldincludedir='/usr/include'
1841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1842 infodir='${datarootdir}/info'
1843 htmldir='${docdir}'
1844 dvidir='${docdir}'
1845 pdfdir='${docdir}'
1846 psdir='${docdir}'
1847 libdir='${exec_prefix}/lib'
1848 localedir='${datarootdir}/locale'
1849 mandir='${datarootdir}/man'
1851 ac_prev=
1852 ac_dashdash=
1853 for ac_option
1855 # If the previous option needs an argument, assign it.
1856 if test -n "$ac_prev"; then
1857 eval $ac_prev=\$ac_option
1858 ac_prev=
1859 continue
1862 case $ac_option in
1863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1864 *=) ac_optarg= ;;
1865 *) ac_optarg=yes ;;
1866 esac
1868 case $ac_dashdash$ac_option in
1870 ac_dashdash=yes ;;
1872 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1873 ac_prev=bindir ;;
1874 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1875 bindir=$ac_optarg ;;
1877 -build | --build | --buil | --bui | --bu)
1878 ac_prev=build_alias ;;
1879 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1880 build_alias=$ac_optarg ;;
1882 -cache-file | --cache-file | --cache-fil | --cache-fi \
1883 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1884 ac_prev=cache_file ;;
1885 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1886 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1887 cache_file=$ac_optarg ;;
1889 --config-cache | -C)
1890 cache_file=config.cache ;;
1892 -datadir | --datadir | --datadi | --datad)
1893 ac_prev=datadir ;;
1894 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1895 datadir=$ac_optarg ;;
1897 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1898 | --dataroo | --dataro | --datar)
1899 ac_prev=datarootdir ;;
1900 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1901 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1902 datarootdir=$ac_optarg ;;
1904 -disable-* | --disable-*)
1905 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1906 # Reject names that are not valid shell variable names.
1907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1908 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1909 ac_useropt_orig=$ac_useropt
1910 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1911 case $ac_user_opts in
1913 "enable_$ac_useropt"
1914 "*) ;;
1915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1916 ac_unrecognized_sep=', ';;
1917 esac
1918 eval enable_$ac_useropt=no ;;
1920 -docdir | --docdir | --docdi | --doc | --do)
1921 ac_prev=docdir ;;
1922 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1923 docdir=$ac_optarg ;;
1925 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1926 ac_prev=dvidir ;;
1927 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1928 dvidir=$ac_optarg ;;
1930 -enable-* | --enable-*)
1931 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1942 ac_unrecognized_sep=', ';;
1943 esac
1944 eval enable_$ac_useropt=\$ac_optarg ;;
1946 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1947 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1948 | --exec | --exe | --ex)
1949 ac_prev=exec_prefix ;;
1950 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1951 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1952 | --exec=* | --exe=* | --ex=*)
1953 exec_prefix=$ac_optarg ;;
1955 -gas | --gas | --ga | --g)
1956 # Obsolete; use --with-gas.
1957 with_gas=yes ;;
1959 -help | --help | --hel | --he | -h)
1960 ac_init_help=long ;;
1961 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1962 ac_init_help=recursive ;;
1963 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1964 ac_init_help=short ;;
1966 -host | --host | --hos | --ho)
1967 ac_prev=host_alias ;;
1968 -host=* | --host=* | --hos=* | --ho=*)
1969 host_alias=$ac_optarg ;;
1971 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1972 ac_prev=htmldir ;;
1973 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1974 | --ht=*)
1975 htmldir=$ac_optarg ;;
1977 -includedir | --includedir | --includedi | --included | --include \
1978 | --includ | --inclu | --incl | --inc)
1979 ac_prev=includedir ;;
1980 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1981 | --includ=* | --inclu=* | --incl=* | --inc=*)
1982 includedir=$ac_optarg ;;
1984 -infodir | --infodir | --infodi | --infod | --info | --inf)
1985 ac_prev=infodir ;;
1986 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1987 infodir=$ac_optarg ;;
1989 -libdir | --libdir | --libdi | --libd)
1990 ac_prev=libdir ;;
1991 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1992 libdir=$ac_optarg ;;
1994 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1995 | --libexe | --libex | --libe)
1996 ac_prev=libexecdir ;;
1997 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1998 | --libexe=* | --libex=* | --libe=*)
1999 libexecdir=$ac_optarg ;;
2001 -localedir | --localedir | --localedi | --localed | --locale)
2002 ac_prev=localedir ;;
2003 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2004 localedir=$ac_optarg ;;
2006 -localstatedir | --localstatedir | --localstatedi | --localstated \
2007 | --localstate | --localstat | --localsta | --localst | --locals)
2008 ac_prev=localstatedir ;;
2009 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2010 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2011 localstatedir=$ac_optarg ;;
2013 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2014 ac_prev=mandir ;;
2015 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2016 mandir=$ac_optarg ;;
2018 -nfp | --nfp | --nf)
2019 # Obsolete; use --without-fp.
2020 with_fp=no ;;
2022 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2023 | --no-cr | --no-c | -n)
2024 no_create=yes ;;
2026 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2027 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2028 no_recursion=yes ;;
2030 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2031 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2032 | --oldin | --oldi | --old | --ol | --o)
2033 ac_prev=oldincludedir ;;
2034 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2035 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2036 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2037 oldincludedir=$ac_optarg ;;
2039 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2040 ac_prev=prefix ;;
2041 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2042 prefix=$ac_optarg ;;
2044 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2045 | --program-pre | --program-pr | --program-p)
2046 ac_prev=program_prefix ;;
2047 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2048 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2049 program_prefix=$ac_optarg ;;
2051 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2052 | --program-suf | --program-su | --program-s)
2053 ac_prev=program_suffix ;;
2054 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2055 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2056 program_suffix=$ac_optarg ;;
2058 -program-transform-name | --program-transform-name \
2059 | --program-transform-nam | --program-transform-na \
2060 | --program-transform-n | --program-transform- \
2061 | --program-transform | --program-transfor \
2062 | --program-transfo | --program-transf \
2063 | --program-trans | --program-tran \
2064 | --progr-tra | --program-tr | --program-t)
2065 ac_prev=program_transform_name ;;
2066 -program-transform-name=* | --program-transform-name=* \
2067 | --program-transform-nam=* | --program-transform-na=* \
2068 | --program-transform-n=* | --program-transform-=* \
2069 | --program-transform=* | --program-transfor=* \
2070 | --program-transfo=* | --program-transf=* \
2071 | --program-trans=* | --program-tran=* \
2072 | --progr-tra=* | --program-tr=* | --program-t=*)
2073 program_transform_name=$ac_optarg ;;
2075 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2076 ac_prev=pdfdir ;;
2077 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2078 pdfdir=$ac_optarg ;;
2080 -psdir | --psdir | --psdi | --psd | --ps)
2081 ac_prev=psdir ;;
2082 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2083 psdir=$ac_optarg ;;
2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086 | -silent | --silent | --silen | --sile | --sil)
2087 silent=yes ;;
2089 -runstatedir | --runstatedir | --runstatedi | --runstated \
2090 | --runstate | --runstat | --runsta | --runst | --runs \
2091 | --run | --ru | --r)
2092 ac_prev=runstatedir ;;
2093 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2094 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2095 | --run=* | --ru=* | --r=*)
2096 runstatedir=$ac_optarg ;;
2098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2099 ac_prev=sbindir ;;
2100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2101 | --sbi=* | --sb=*)
2102 sbindir=$ac_optarg ;;
2104 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2106 | --sharedst | --shareds | --shared | --share | --shar \
2107 | --sha | --sh)
2108 ac_prev=sharedstatedir ;;
2109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2112 | --sha=* | --sh=*)
2113 sharedstatedir=$ac_optarg ;;
2115 -site | --site | --sit)
2116 ac_prev=site ;;
2117 -site=* | --site=* | --sit=*)
2118 site=$ac_optarg ;;
2120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2121 ac_prev=srcdir ;;
2122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2123 srcdir=$ac_optarg ;;
2125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2126 | --syscon | --sysco | --sysc | --sys | --sy)
2127 ac_prev=sysconfdir ;;
2128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2130 sysconfdir=$ac_optarg ;;
2132 -target | --target | --targe | --targ | --tar | --ta | --t)
2133 ac_prev=target_alias ;;
2134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2135 target_alias=$ac_optarg ;;
2137 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2138 verbose=yes ;;
2140 -version | --version | --versio | --versi | --vers | -V)
2141 ac_init_version=: ;;
2143 -with-* | --with-*)
2144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2145 # Reject names that are not valid shell variable names.
2146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2147 as_fn_error $? "invalid package name: \`$ac_useropt'"
2148 ac_useropt_orig=$ac_useropt
2149 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2150 case $ac_user_opts in
2152 "with_$ac_useropt"
2153 "*) ;;
2154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2155 ac_unrecognized_sep=', ';;
2156 esac
2157 eval with_$ac_useropt=\$ac_optarg ;;
2159 -without-* | --without-*)
2160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2161 # Reject names that are not valid shell variable names.
2162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2163 as_fn_error $? "invalid package name: \`$ac_useropt'"
2164 ac_useropt_orig=$ac_useropt
2165 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2166 case $ac_user_opts in
2168 "with_$ac_useropt"
2169 "*) ;;
2170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2171 ac_unrecognized_sep=', ';;
2172 esac
2173 eval with_$ac_useropt=no ;;
2175 --x)
2176 # Obsolete; use --with-x.
2177 with_x=yes ;;
2179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2180 | --x-incl | --x-inc | --x-in | --x-i)
2181 ac_prev=x_includes ;;
2182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2184 x_includes=$ac_optarg ;;
2186 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2188 ac_prev=x_libraries ;;
2189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2191 x_libraries=$ac_optarg ;;
2193 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2194 Try \`$0 --help' for more information"
2197 *=*)
2198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2199 # Reject names that are not valid shell variable names.
2200 case $ac_envvar in #(
2201 '' | [0-9]* | *[!_$as_cr_alnum]* )
2202 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2203 esac
2204 eval $ac_envvar=\$ac_optarg
2205 export $ac_envvar ;;
2208 # FIXME: should be removed in autoconf 3.0.
2209 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2211 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2215 esac
2216 done
2218 if test -n "$ac_prev"; then
2219 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2220 as_fn_error $? "missing argument to $ac_option"
2223 if test -n "$ac_unrecognized_opts"; then
2224 case $enable_option_checking in
2225 no) ;;
2226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2227 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2228 esac
2231 # Check all directory arguments for consistency.
2232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2233 datadir sysconfdir sharedstatedir localstatedir includedir \
2234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2235 libdir localedir mandir runstatedir
2237 eval ac_val=\$$ac_var
2238 # Remove trailing slashes.
2239 case $ac_val in
2240 */ )
2241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2242 eval $ac_var=\$ac_val;;
2243 esac
2244 # Be sure to have absolute directory names.
2245 case $ac_val in
2246 [\\/$]* | ?:[\\/]* ) continue;;
2247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2248 esac
2249 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2250 done
2252 # There might be people who depend on the old broken behavior: `$host'
2253 # used to hold the argument of --host etc.
2254 # FIXME: To remove some day.
2255 build=$build_alias
2256 host=$host_alias
2257 target=$target_alias
2259 # FIXME: To remove some day.
2260 if test "x$host_alias" != x; then
2261 if test "x$build_alias" = x; then
2262 cross_compiling=maybe
2263 elif test "x$build_alias" != "x$host_alias"; then
2264 cross_compiling=yes
2268 ac_tool_prefix=
2269 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2271 test "$silent" = yes && exec 6>/dev/null
2274 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2275 ac_ls_di=`ls -di .` &&
2276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2277 as_fn_error $? "working directory cannot be determined"
2278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2279 as_fn_error $? "pwd does not report name of working directory"
2282 # Find the source files, if location was not specified.
2283 if test -z "$srcdir"; then
2284 ac_srcdir_defaulted=yes
2285 # Try the directory containing this script, then the parent directory.
2286 ac_confdir=`$as_dirname -- "$as_myself" ||
2287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2288 X"$as_myself" : 'X\(//\)[^/]' \| \
2289 X"$as_myself" : 'X\(//\)$' \| \
2290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2291 printf "%s\n" X"$as_myself" |
2292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2293 s//\1/
2296 /^X\(\/\/\)[^/].*/{
2297 s//\1/
2300 /^X\(\/\/\)$/{
2301 s//\1/
2304 /^X\(\/\).*/{
2305 s//\1/
2308 s/.*/./; q'`
2309 srcdir=$ac_confdir
2310 if test ! -r "$srcdir/$ac_unique_file"; then
2311 srcdir=..
2313 else
2314 ac_srcdir_defaulted=no
2316 if test ! -r "$srcdir/$ac_unique_file"; then
2317 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2318 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2320 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2321 ac_abs_confdir=`(
2322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2323 pwd)`
2324 # When building in place, set srcdir=.
2325 if test "$ac_abs_confdir" = "$ac_pwd"; then
2326 srcdir=.
2328 # Remove unnecessary trailing slashes from srcdir.
2329 # Double slashes in file names in object file debugging info
2330 # mess up M-x gdb in Emacs.
2331 case $srcdir in
2332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2333 esac
2334 for ac_var in $ac_precious_vars; do
2335 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2336 eval ac_env_${ac_var}_value=\$${ac_var}
2337 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2338 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2339 done
2342 # Report the --help message.
2344 if test "$ac_init_help" = "long"; then
2345 # Omit some internal or obsolete options to make the list less imposing.
2346 # This message is too long to be a string in the A/UX 3.1 sh.
2347 cat <<_ACEOF
2348 \`configure' configures Wine 8.6 to adapt to many kinds of systems.
2350 Usage: $0 [OPTION]... [VAR=VALUE]...
2352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2353 VAR=VALUE. See below for descriptions of some of the useful variables.
2355 Defaults for the options are specified in brackets.
2357 Configuration:
2358 -h, --help display this help and exit
2359 --help=short display options specific to this package
2360 --help=recursive display the short help of all the included packages
2361 -V, --version display version information and exit
2362 -q, --quiet, --silent do not print \`checking ...' messages
2363 --cache-file=FILE cache test results in FILE [disabled]
2364 -C, --config-cache alias for \`--cache-file=config.cache'
2365 -n, --no-create do not create output files
2366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2368 Installation directories:
2369 --prefix=PREFIX install architecture-independent files in PREFIX
2370 [$ac_default_prefix]
2371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2372 [PREFIX]
2374 By default, \`make install' will install all the files in
2375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2377 for instance \`--prefix=\$HOME'.
2379 For better control, use the options below.
2381 Fine tuning of the installation directories:
2382 --bindir=DIR user executables [EPREFIX/bin]
2383 --sbindir=DIR system admin executables [EPREFIX/sbin]
2384 --libexecdir=DIR program executables [EPREFIX/libexec]
2385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2388 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2389 --libdir=DIR object code libraries [EPREFIX/lib]
2390 --includedir=DIR C header files [PREFIX/include]
2391 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2394 --infodir=DIR info documentation [DATAROOTDIR/info]
2395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2396 --mandir=DIR man documentation [DATAROOTDIR/man]
2397 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2398 --htmldir=DIR html documentation [DOCDIR]
2399 --dvidir=DIR dvi documentation [DOCDIR]
2400 --pdfdir=DIR pdf documentation [DOCDIR]
2401 --psdir=DIR ps documentation [DOCDIR]
2402 _ACEOF
2404 cat <<\_ACEOF
2406 X features:
2407 --x-includes=DIR X include files are in DIR
2408 --x-libraries=DIR X library files are in DIR
2410 System types:
2411 --build=BUILD configure for building on BUILD [guessed]
2412 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2413 _ACEOF
2416 if test -n "$ac_init_help"; then
2417 case $ac_init_help in
2418 short | recursive ) echo "Configuration of Wine 8.6:";;
2419 esac
2420 cat <<\_ACEOF
2422 Optional Features:
2423 --disable-option-checking ignore unrecognized --enable/--with options
2424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2426 --enable-archs={i386,x86_64,arm,aarch64}
2427 enable multiple architectures for PE compilation
2428 --disable-win16 do not include Win16 support
2429 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2430 binaries)
2431 --disable-tests do not build the regression tests
2432 --enable-build-id include .buildid section in output objects
2433 --enable-maintainer-mode
2434 enable maintainer-specific build rules
2435 --enable-silent-rules use silent build rules (override: "make V=1")
2436 --enable-werror treat compilation warnings as errors
2437 --disable-largefile omit support for large files
2439 Optional Packages:
2440 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2441 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2442 --without-alsa do not use the Alsa sound support
2443 --without-capi do not use CAPI (ISDN support)
2444 --without-coreaudio do not use the CoreAudio sound support
2445 --without-cups do not use CUPS
2446 --without-dbus do not use DBus (dynamic device support)
2447 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2448 --without-fontconfig do not use fontconfig
2449 --without-freetype do not use the FreeType library
2450 --without-gettext do not use gettext
2451 --with-gettextpo use the GetTextPO library to rebuild po files
2452 --without-gphoto do not use gphoto (Digital Camera support)
2453 --without-gnutls do not use GnuTLS (schannel support)
2454 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2455 --without-gstreamer do not use GStreamer (codecs support)
2456 --without-inotify do not use inotify (filesystem change notifications)
2457 --without-krb5 do not use krb5 (Kerberos)
2458 --without-mingw do not use the MinGW cross-compiler
2459 --without-netapi do not use the Samba NetAPI library
2460 --without-opencl do not use OpenCL
2461 --without-opengl do not use OpenGL
2462 --without-osmesa do not use the OSMesa library
2463 --without-oss do not use the OSS sound support
2464 --without-pcap do not use the Packet Capture library
2465 --without-pcsclite do not use PCSC lite
2466 --without-pthread do not use the pthread library
2467 --without-pulse do not use PulseAudio sound support
2468 --without-sane do not use SANE (scanner support)
2469 --without-sdl do not use SDL
2470 --without-udev do not use udev (plug and play support)
2471 --without-unwind do not use the libunwind library (exception
2472 handling)
2473 --without-usb do not use the libusb library
2474 --without-v4l2 do not use v4l2 (video capture)
2475 --without-vulkan do not use Vulkan
2476 --without-wayland do not build the Wayland driver
2477 --without-xcomposite do not use the Xcomposite extension
2478 --without-xcursor do not use the Xcursor extension
2479 --without-xfixes do not use Xfixes for clipboard change notifications
2480 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2481 --without-xinput do not use the Xinput extension
2482 --without-xinput2 do not use the Xinput 2 extension
2483 --without-xrandr do not use Xrandr (multi-monitor support)
2484 --without-xrender do not use the Xrender extension
2485 --without-xshape do not use the Xshape extension
2486 --without-xshm do not use XShm (shared memory extension)
2487 --without-xxf86vm do not use XFree video mode extension
2488 --with-system-dllpath=PATH
2489 load external PE dependencies from colon-separated
2490 path PATH
2491 --with-wine-tools=DIR use Wine tools from directory DIR
2492 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2493 --with-x use the X Window System
2495 Some influential environment variables:
2496 CC C compiler command
2497 CFLAGS C compiler flags
2498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2499 nonstandard directory <lib dir>
2500 LIBS libraries to pass to the linker, e.g. -l<library>
2501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2502 you have headers in a nonstandard directory <include dir>
2503 CXX C++ compiler command
2504 CXXFLAGS C++ compiler flags
2505 OBJC Objective C compiler command
2506 OBJCFLAGS Objective C compiler flags
2507 FAUDIO_PE_CFLAGS
2508 C compiler flags for the PE faudio, overriding the bundled
2509 version
2510 FAUDIO_PE_LIBS
2511 Linker flags for the PE faudio, overriding the bundled version
2512 GSM_PE_CFLAGS
2513 C compiler flags for the PE gsm, overriding the bundled version
2514 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2515 JPEG_PE_CFLAGS
2516 C compiler flags for the PE jpeg, overriding the bundled version
2517 JPEG_PE_LIBS
2518 Linker flags for the PE jpeg, overriding the bundled version
2519 JXR_PE_CFLAGS
2520 C compiler flags for the PE jxr, overriding the bundled version
2521 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2522 LCMS2_PE_CFLAGS
2523 C compiler flags for the PE lcms2, overriding the bundled
2524 version
2525 LCMS2_PE_LIBS
2526 Linker flags for the PE lcms2, overriding the bundled version
2527 LDAP_PE_CFLAGS
2528 C compiler flags for the PE ldap, overriding the bundled version
2529 LDAP_PE_LIBS
2530 Linker flags for the PE ldap, overriding the bundled version
2531 MPG123_PE_CFLAGS
2532 C compiler flags for the PE mpg123, overriding the bundled
2533 version
2534 MPG123_PE_LIBS
2535 Linker flags for the PE mpg123, overriding the bundled version
2536 MUSL_PE_CFLAGS
2537 C compiler flags for the PE musl, overriding the bundled version
2538 MUSL_PE_LIBS
2539 Linker flags for the PE musl, overriding the bundled version
2540 PNG_PE_CFLAGS
2541 C compiler flags for the PE png, overriding the bundled version
2542 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2543 TIFF_PE_CFLAGS
2544 C compiler flags for the PE tiff, overriding the bundled version
2545 TIFF_PE_LIBS
2546 Linker flags for the PE tiff, overriding the bundled version
2547 VKD3D_PE_CFLAGS
2548 C compiler flags for the PE vkd3d, overriding the bundled
2549 version
2550 VKD3D_PE_LIBS
2551 Linker flags for the PE vkd3d, overriding the bundled version
2552 XML2_PE_CFLAGS
2553 C compiler flags for the PE xml2, overriding the bundled version
2554 XML2_PE_LIBS
2555 Linker flags for the PE xml2, overriding the bundled version
2556 XSLT_PE_CFLAGS
2557 C compiler flags for the PE xslt, overriding the bundled version
2558 XSLT_PE_LIBS
2559 Linker flags for the PE xslt, overriding the bundled version
2560 ZLIB_PE_CFLAGS
2561 C compiler flags for the PE zlib, overriding the bundled version
2562 ZLIB_PE_LIBS
2563 Linker flags for the PE zlib, overriding the bundled version
2564 ZYDIS_PE_CFLAGS
2565 C compiler flags for the PE zydis, overriding the bundled
2566 version
2567 ZYDIS_PE_LIBS
2568 Linker flags for the PE zydis, overriding the bundled version
2569 XMKMF Path to xmkmf, Makefile generator for X Window System
2570 CPP C preprocessor
2571 WAYLAND_CLIENT_CFLAGS
2572 C compiler flags for wayland-client, overriding pkg-config
2573 WAYLAND_CLIENT_LIBS
2574 Linker flags for wayland-client, overriding pkg-config
2575 INOTIFY_CFLAGS
2576 C compiler flags for libinotify, overriding pkg-config
2577 INOTIFY_LIBS
2578 Linker flags for libinotify, overriding pkg-config
2579 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2580 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2581 GNUTLS_CFLAGS
2582 C compiler flags for gnutls, overriding pkg-config
2583 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2584 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2585 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2586 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2587 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2588 GPHOTO2_CFLAGS
2589 C compiler flags for libgphoto2, overriding pkg-config
2590 GPHOTO2_LIBS
2591 Linker flags for libgphoto2, overriding pkg-config
2592 GPHOTO2_PORT_CFLAGS
2593 C compiler flags for libgphoto2_port, overriding pkg-config
2594 GPHOTO2_PORT_LIBS
2595 Linker flags for libgphoto2_port, overriding pkg-config
2596 FREETYPE_CFLAGS
2597 C compiler flags for freetype2, overriding pkg-config
2598 FREETYPE_LIBS
2599 Linker flags for freetype2, overriding pkg-config
2600 PULSE_CFLAGS
2601 C compiler flags for libpulse, overriding pkg-config
2602 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2603 GSTREAMER_CFLAGS
2604 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2605 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2606 GSTREAMER_LIBS
2607 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2608 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2609 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2610 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2611 UNWIND_CFLAGS
2612 C compiler flags for libunwind, overriding pkg-config
2613 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2614 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2615 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2616 CAPI20_CFLAGS
2617 C compiler flags for capi20, overriding pkg-config
2618 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2619 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2620 CUPS_LIBS Linker flags for cups, overriding pkg-config
2621 FONTCONFIG_CFLAGS
2622 C compiler flags for fontconfig, overriding pkg-config
2623 FONTCONFIG_LIBS
2624 Linker flags for fontconfig, overriding pkg-config
2625 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2626 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2627 GSSAPI_CFLAGS
2628 C compiler flags for krb5-gssapi, overriding pkg-config
2629 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2630 NETAPI_CFLAGS
2631 C compiler flags for netapi, overriding pkg-config
2632 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2634 Use these variables to override the choices made by `configure' or to help
2635 it to find libraries and programs with nonstandard names/locations.
2637 Report bugs to <wine-devel@winehq.org>.
2638 Wine home page: <https://www.winehq.org>.
2639 _ACEOF
2640 ac_status=$?
2643 if test "$ac_init_help" = "recursive"; then
2644 # If there are subdirs, report their specific --help.
2645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2646 test -d "$ac_dir" ||
2647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2648 continue
2649 ac_builddir=.
2651 case "$ac_dir" in
2652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2654 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2655 # A ".." for each directory in $ac_dir_suffix.
2656 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2657 case $ac_top_builddir_sub in
2658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2660 esac ;;
2661 esac
2662 ac_abs_top_builddir=$ac_pwd
2663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2664 # for backward compatibility:
2665 ac_top_builddir=$ac_top_build_prefix
2667 case $srcdir in
2668 .) # We are building in place.
2669 ac_srcdir=.
2670 ac_top_srcdir=$ac_top_builddir_sub
2671 ac_abs_top_srcdir=$ac_pwd ;;
2672 [\\/]* | ?:[\\/]* ) # Absolute name.
2673 ac_srcdir=$srcdir$ac_dir_suffix;
2674 ac_top_srcdir=$srcdir
2675 ac_abs_top_srcdir=$srcdir ;;
2676 *) # Relative name.
2677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2678 ac_top_srcdir=$ac_top_build_prefix$srcdir
2679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2680 esac
2681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2683 cd "$ac_dir" || { ac_status=$?; continue; }
2684 # Check for configure.gnu first; this name is used for a wrapper for
2685 # Metaconfig's "Configure" on case-insensitive file systems.
2686 if test -f "$ac_srcdir/configure.gnu"; then
2687 echo &&
2688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2689 elif test -f "$ac_srcdir/configure"; then
2690 echo &&
2691 $SHELL "$ac_srcdir/configure" --help=recursive
2692 else
2693 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2694 fi || ac_status=$?
2695 cd "$ac_pwd" || { ac_status=$?; break; }
2696 done
2699 test -n "$ac_init_help" && exit $ac_status
2700 if $ac_init_version; then
2701 cat <<\_ACEOF
2702 Wine configure 8.6
2703 generated by GNU Autoconf 2.71
2705 Copyright (C) 2021 Free Software Foundation, Inc.
2706 This configure script is free software; the Free Software Foundation
2707 gives unlimited permission to copy, distribute and modify it.
2708 _ACEOF
2709 exit
2712 ## ------------------------ ##
2713 ## Autoconf initialization. ##
2714 ## ------------------------ ##
2716 # ac_fn_c_try_compile LINENO
2717 # --------------------------
2718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_compile ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 rm -f conftest.$ac_objext conftest.beam
2723 if { { ac_try="$ac_compile"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 printf "%s\n" "$ac_try_echo"; } >&5
2730 (eval "$ac_compile") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.$ac_objext
2742 then :
2743 ac_retval=0
2744 else $as_nop
2745 printf "%s\n" "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 ac_retval=1
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 as_fn_set_status $ac_retval
2753 } # ac_fn_c_try_compile
2755 # ac_fn_cxx_try_compile LINENO
2756 # ----------------------------
2757 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2758 ac_fn_cxx_try_compile ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 rm -f conftest.$ac_objext conftest.beam
2762 if { { ac_try="$ac_compile"
2763 case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766 esac
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 printf "%s\n" "$ac_try_echo"; } >&5
2769 (eval "$ac_compile") 2>conftest.err
2770 ac_status=$?
2771 if test -s conftest.err; then
2772 grep -v '^ *+' conftest.err >conftest.er1
2773 cat conftest.er1 >&5
2774 mv -f conftest.er1 conftest.err
2776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && {
2778 test -z "$ac_cxx_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest.$ac_objext
2781 then :
2782 ac_retval=0
2783 else $as_nop
2784 printf "%s\n" "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2787 ac_retval=1
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 as_fn_set_status $ac_retval
2792 } # ac_fn_cxx_try_compile
2794 # ac_fn_c_try_link LINENO
2795 # -----------------------
2796 # Try to link conftest.$ac_ext, and return whether this succeeded.
2797 ac_fn_c_try_link ()
2799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2800 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2801 if { { ac_try="$ac_link"
2802 case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2805 esac
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 printf "%s\n" "$ac_try_echo"; } >&5
2808 (eval "$ac_link") 2>conftest.err
2809 ac_status=$?
2810 if test -s conftest.err; then
2811 grep -v '^ *+' conftest.err >conftest.er1
2812 cat conftest.er1 >&5
2813 mv -f conftest.er1 conftest.err
2815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; } && {
2817 test -z "$ac_c_werror_flag" ||
2818 test ! -s conftest.err
2819 } && test -s conftest$ac_exeext && {
2820 test "$cross_compiling" = yes ||
2821 test -x conftest$ac_exeext
2823 then :
2824 ac_retval=0
2825 else $as_nop
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_retval=1
2831 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2832 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2833 # interfere with the next link command; also delete a directory that is
2834 # left behind by Apple's compiler. We do this before executing the actions.
2835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2837 as_fn_set_status $ac_retval
2839 } # ac_fn_c_try_link
2841 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2842 # -------------------------------------------------------
2843 # Tests whether HEADER exists and can be compiled using the include files in
2844 # INCLUDES, setting the cache variable VAR accordingly.
2845 ac_fn_c_check_header_compile ()
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2849 printf %s "checking for $2... " >&6; }
2850 if eval test \${$3+y}
2851 then :
2852 printf %s "(cached) " >&6
2853 else $as_nop
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2857 #include <$2>
2858 _ACEOF
2859 if ac_fn_c_try_compile "$LINENO"
2860 then :
2861 eval "$3=yes"
2862 else $as_nop
2863 eval "$3=no"
2865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2867 eval ac_res=\$$3
2868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 printf "%s\n" "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_header_compile
2874 # ac_fn_objc_try_compile LINENO
2875 # -----------------------------
2876 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2877 ac_fn_objc_try_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 rm -f conftest.$ac_objext conftest.beam
2881 if { { ac_try="$ac_compile"
2882 case "(($ac_try" in
2883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2885 esac
2886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2887 printf "%s\n" "$ac_try_echo"; } >&5
2888 (eval "$ac_compile") 2>conftest.err
2889 ac_status=$?
2890 if test -s conftest.err; then
2891 grep -v '^ *+' conftest.err >conftest.er1
2892 cat conftest.er1 >&5
2893 mv -f conftest.er1 conftest.err
2895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; } && {
2897 test -z "$ac_objc_werror_flag" ||
2898 test ! -s conftest.err
2899 } && test -s conftest.$ac_objext
2900 then :
2901 ac_retval=0
2902 else $as_nop
2903 printf "%s\n" "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_retval=1
2908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 as_fn_set_status $ac_retval
2911 } # ac_fn_objc_try_compile
2913 # ac_fn_c_check_func LINENO FUNC VAR
2914 # ----------------------------------
2915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2916 ac_fn_c_check_func ()
2918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2920 printf %s "checking for $2... " >&6; }
2921 if eval test \${$3+y}
2922 then :
2923 printf %s "(cached) " >&6
2924 else $as_nop
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2929 #define $2 innocuous_$2
2931 /* System header to define __stub macros and hopefully few prototypes,
2932 which can conflict with char $2 (); below. */
2934 #include <limits.h>
2935 #undef $2
2937 /* Override any GCC internal prototype to avoid an error.
2938 Use char because int might match the return type of a GCC
2939 builtin and then its argument prototype would still apply. */
2940 #ifdef __cplusplus
2941 extern "C"
2942 #endif
2943 char $2 ();
2944 /* The GNU C library defines this for functions which it implements
2945 to always fail with ENOSYS. Some functions are actually named
2946 something starting with __ and the normal name is an alias. */
2947 #if defined __stub_$2 || defined __stub___$2
2948 choke me
2949 #endif
2952 main (void)
2954 return $2 ();
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_link "$LINENO"
2960 then :
2961 eval "$3=yes"
2962 else $as_nop
2963 eval "$3=no"
2965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2966 conftest$ac_exeext conftest.$ac_ext
2968 eval ac_res=\$$3
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2970 printf "%s\n" "$ac_res" >&6; }
2971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2973 } # ac_fn_c_check_func
2975 # ac_fn_c_try_cpp LINENO
2976 # ----------------------
2977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2978 ac_fn_c_try_cpp ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 if { { ac_try="$ac_cpp conftest.$ac_ext"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 printf "%s\n" "$ac_try_echo"; } >&5
2988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2989 ac_status=$?
2990 if test -s conftest.err; then
2991 grep -v '^ *+' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2993 mv -f conftest.er1 conftest.err
2995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; } > conftest.i && {
2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2998 test ! -s conftest.err
3000 then :
3001 ac_retval=0
3002 else $as_nop
3003 printf "%s\n" "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 ac_retval=1
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3011 } # ac_fn_c_try_cpp
3013 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3014 # ----------------------------------------------------
3015 # Tries to find if the field MEMBER exists in type AGGR, after including
3016 # INCLUDES, setting cache variable VAR accordingly.
3017 ac_fn_c_check_member ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3021 printf %s "checking for $2.$3... " >&6; }
3022 if eval test \${$4+y}
3023 then :
3024 printf %s "(cached) " >&6
3025 else $as_nop
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main (void)
3032 static $2 ac_aggr;
3033 if (ac_aggr.$3)
3034 return 0;
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"
3040 then :
3041 eval "$4=yes"
3042 else $as_nop
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main (void)
3049 static $2 ac_aggr;
3050 if (sizeof ac_aggr.$3)
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"
3057 then :
3058 eval "$4=yes"
3059 else $as_nop
3060 eval "$4=no"
3062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3066 eval ac_res=\$$4
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3068 printf "%s\n" "$ac_res" >&6; }
3069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3071 } # ac_fn_c_check_member
3073 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3074 # -------------------------------------------
3075 # Tests whether TYPE exists after having included INCLUDES, setting cache
3076 # variable VAR accordingly.
3077 ac_fn_c_check_type ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3081 printf %s "checking for $2... " >&6; }
3082 if eval test \${$3+y}
3083 then :
3084 printf %s "(cached) " >&6
3085 else $as_nop
3086 eval "$3=no"
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main (void)
3093 if (sizeof ($2))
3094 return 0;
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"
3100 then :
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3105 main (void)
3107 if (sizeof (($2)))
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"
3114 then :
3116 else $as_nop
3117 eval "$3=yes"
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 eval ac_res=\$$3
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 printf "%s\n" "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_type
3129 ac_configure_args_raw=
3130 for ac_arg
3132 case $ac_arg in
3133 *\'*)
3134 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3135 esac
3136 as_fn_append ac_configure_args_raw " '$ac_arg'"
3137 done
3139 case $ac_configure_args_raw in
3140 *$as_nl*)
3141 ac_safe_unquote= ;;
3143 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3144 ac_unsafe_a="$ac_unsafe_z#~"
3145 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3146 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3147 esac
3149 cat >config.log <<_ACEOF
3150 This file contains any messages produced by compilers while
3151 running configure, to aid debugging if configure makes a mistake.
3153 It was created by Wine $as_me 8.6, which was
3154 generated by GNU Autoconf 2.71. Invocation command line was
3156 $ $0$ac_configure_args_raw
3158 _ACEOF
3159 exec 5>>config.log
3161 cat <<_ASUNAME
3162 ## --------- ##
3163 ## Platform. ##
3164 ## --------- ##
3166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3178 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3183 _ASUNAME
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3188 IFS=$as_save_IFS
3189 case $as_dir in #(((
3190 '') as_dir=./ ;;
3191 */) ;;
3192 *) as_dir=$as_dir/ ;;
3193 esac
3194 printf "%s\n" "PATH: $as_dir"
3195 done
3196 IFS=$as_save_IFS
3198 } >&5
3200 cat >&5 <<_ACEOF
3203 ## ----------- ##
3204 ## Core tests. ##
3205 ## ----------- ##
3207 _ACEOF
3210 # Keep a trace of the command line.
3211 # Strip out --no-create and --no-recursion so they do not pile up.
3212 # Strip out --silent because we don't want to record it for future runs.
3213 # Also quote any args containing shell meta-characters.
3214 # Make two passes to allow for proper duplicate-argument suppression.
3215 ac_configure_args=
3216 ac_configure_args0=
3217 ac_configure_args1=
3218 ac_must_keep_next=false
3219 for ac_pass in 1 2
3221 for ac_arg
3223 case $ac_arg in
3224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3226 | -silent | --silent | --silen | --sile | --sil)
3227 continue ;;
3228 *\'*)
3229 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3230 esac
3231 case $ac_pass in
3232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3234 as_fn_append ac_configure_args1 " '$ac_arg'"
3235 if test $ac_must_keep_next = true; then
3236 ac_must_keep_next=false # Got value, back to normal.
3237 else
3238 case $ac_arg in
3239 *=* | --config-cache | -C | -disable-* | --disable-* \
3240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3242 | -with-* | --with-* | -without-* | --without-* | --x)
3243 case "$ac_configure_args0 " in
3244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3245 esac
3247 -* ) ac_must_keep_next=true ;;
3248 esac
3250 as_fn_append ac_configure_args " '$ac_arg'"
3252 esac
3253 done
3254 done
3255 { ac_configure_args0=; unset ac_configure_args0;}
3256 { ac_configure_args1=; unset ac_configure_args1;}
3258 # When interrupted or exit'd, cleanup temporary files, and complete
3259 # config.log. We remove comments because anyway the quotes in there
3260 # would cause problems or look ugly.
3261 # WARNING: Use '\'' to represent an apostrophe within the trap.
3262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3263 trap 'exit_status=$?
3264 # Sanitize IFS.
3265 IFS=" "" $as_nl"
3266 # Save into config.log some information that might help in debugging.
3268 echo
3270 printf "%s\n" "## ---------------- ##
3271 ## Cache variables. ##
3272 ## ---------------- ##"
3273 echo
3274 # The following way of writing the cache mishandles newlines in values,
3276 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3277 eval ac_val=\$$ac_var
3278 case $ac_val in #(
3279 *${as_nl}*)
3280 case $ac_var in #(
3281 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3282 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3283 esac
3284 case $ac_var in #(
3285 _ | IFS | as_nl) ;; #(
3286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3287 *) { eval $ac_var=; unset $ac_var;} ;;
3288 esac ;;
3289 esac
3290 done
3291 (set) 2>&1 |
3292 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3293 *${as_nl}ac_space=\ *)
3294 sed -n \
3295 "s/'\''/'\''\\\\'\'''\''/g;
3296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3297 ;; #(
3299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3301 esac |
3302 sort
3304 echo
3306 printf "%s\n" "## ----------------- ##
3307 ## Output variables. ##
3308 ## ----------------- ##"
3309 echo
3310 for ac_var in $ac_subst_vars
3312 eval ac_val=\$$ac_var
3313 case $ac_val in
3314 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3315 esac
3316 printf "%s\n" "$ac_var='\''$ac_val'\''"
3317 done | sort
3318 echo
3320 if test -n "$ac_subst_files"; then
3321 printf "%s\n" "## ------------------- ##
3322 ## File substitutions. ##
3323 ## ------------------- ##"
3324 echo
3325 for ac_var in $ac_subst_files
3327 eval ac_val=\$$ac_var
3328 case $ac_val in
3329 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3330 esac
3331 printf "%s\n" "$ac_var='\''$ac_val'\''"
3332 done | sort
3333 echo
3336 if test -s confdefs.h; then
3337 printf "%s\n" "## ----------- ##
3338 ## confdefs.h. ##
3339 ## ----------- ##"
3340 echo
3341 cat confdefs.h
3342 echo
3344 test "$ac_signal" != 0 &&
3345 printf "%s\n" "$as_me: caught signal $ac_signal"
3346 printf "%s\n" "$as_me: exit $exit_status"
3347 } >&5
3348 rm -f core *.core core.conftest.* &&
3349 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3350 exit $exit_status
3352 for ac_signal in 1 2 13 15; do
3353 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3354 done
3355 ac_signal=0
3357 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3358 rm -f -r conftest* confdefs.h
3360 printf "%s\n" "/* confdefs.h */" > confdefs.h
3362 # Predefined preprocessor variables.
3364 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3366 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3377 # Let the site file select an alternate cache file if it wants to.
3378 # Prefer an explicitly selected file to automatically selected ones.
3379 if test -n "$CONFIG_SITE"; then
3380 ac_site_files="$CONFIG_SITE"
3381 elif test "x$prefix" != xNONE; then
3382 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3383 else
3384 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3387 for ac_site_file in $ac_site_files
3389 case $ac_site_file in #(
3390 */*) :
3391 ;; #(
3392 *) :
3393 ac_site_file=./$ac_site_file ;;
3394 esac
3395 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3397 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3398 sed 's/^/| /' "$ac_site_file" >&5
3399 . "$ac_site_file" \
3400 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $? "failed to load site script $ac_site_file
3403 See \`config.log' for more details" "$LINENO" 5; }
3405 done
3407 if test -r "$cache_file"; then
3408 # Some versions of bash will fail to source /dev/null (special files
3409 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3410 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3412 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3413 case $cache_file in
3414 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3415 *) . "./$cache_file";;
3416 esac
3418 else
3419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3420 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3421 >$cache_file
3424 # Test code for whether the C compiler supports C89 (global declarations)
3425 ac_c_conftest_c89_globals='
3426 /* Does the compiler advertise C89 conformance?
3427 Do not test the value of __STDC__, because some compilers set it to 0
3428 while being otherwise adequately conformant. */
3429 #if !defined __STDC__
3430 # error "Compiler does not advertise C89 conformance"
3431 #endif
3433 #include <stddef.h>
3434 #include <stdarg.h>
3435 struct stat;
3436 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3437 struct buf { int x; };
3438 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3439 static char *e (p, i)
3440 char **p;
3441 int i;
3443 return p[i];
3445 static char *f (char * (*g) (char **, int), char **p, ...)
3447 char *s;
3448 va_list v;
3449 va_start (v,p);
3450 s = g (p, va_arg (v,int));
3451 va_end (v);
3452 return s;
3455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3456 function prototypes and stuff, but not \xHH hex character constants.
3457 These do not provoke an error unfortunately, instead are silently treated
3458 as an "x". The following induces an error, until -std is added to get
3459 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3460 array size at least. It is necessary to write \x00 == 0 to get something
3461 that is true only with -std. */
3462 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3465 inside strings and character constants. */
3466 #define FOO(x) '\''x'\''
3467 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3469 int test (int i, double x);
3470 struct s1 {int (*f) (int a);};
3471 struct s2 {int (*f) (double a);};
3472 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3473 int, int);'
3475 # Test code for whether the C compiler supports C89 (body of main).
3476 ac_c_conftest_c89_main='
3477 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3480 # Test code for whether the C compiler supports C99 (global declarations)
3481 ac_c_conftest_c99_globals='
3482 // Does the compiler advertise C99 conformance?
3483 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3484 # error "Compiler does not advertise C99 conformance"
3485 #endif
3487 #include <stdbool.h>
3488 extern int puts (const char *);
3489 extern int printf (const char *, ...);
3490 extern int dprintf (int, const char *, ...);
3491 extern void *malloc (size_t);
3493 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3494 // dprintf is used instead of fprintf to avoid needing to declare
3495 // FILE and stderr.
3496 #define debug(...) dprintf (2, __VA_ARGS__)
3497 #define showlist(...) puts (#__VA_ARGS__)
3498 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3499 static void
3500 test_varargs_macros (void)
3502 int x = 1234;
3503 int y = 5678;
3504 debug ("Flag");
3505 debug ("X = %d\n", x);
3506 showlist (The first, second, and third items.);
3507 report (x>y, "x is %d but y is %d", x, y);
3510 // Check long long types.
3511 #define BIG64 18446744073709551615ull
3512 #define BIG32 4294967295ul
3513 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3514 #if !BIG_OK
3515 #error "your preprocessor is broken"
3516 #endif
3517 #if BIG_OK
3518 #else
3519 #error "your preprocessor is broken"
3520 #endif
3521 static long long int bignum = -9223372036854775807LL;
3522 static unsigned long long int ubignum = BIG64;
3524 struct incomplete_array
3526 int datasize;
3527 double data[];
3530 struct named_init {
3531 int number;
3532 const wchar_t *name;
3533 double average;
3536 typedef const char *ccp;
3538 static inline int
3539 test_restrict (ccp restrict text)
3541 // See if C++-style comments work.
3542 // Iterate through items via the restricted pointer.
3543 // Also check for declarations in for loops.
3544 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3545 continue;
3546 return 0;
3549 // Check varargs and va_copy.
3550 static bool
3551 test_varargs (const char *format, ...)
3553 va_list args;
3554 va_start (args, format);
3555 va_list args_copy;
3556 va_copy (args_copy, args);
3558 const char *str = "";
3559 int number = 0;
3560 float fnumber = 0;
3562 while (*format)
3564 switch (*format++)
3566 case '\''s'\'': // string
3567 str = va_arg (args_copy, const char *);
3568 break;
3569 case '\''d'\'': // int
3570 number = va_arg (args_copy, int);
3571 break;
3572 case '\''f'\'': // float
3573 fnumber = va_arg (args_copy, double);
3574 break;
3575 default:
3576 break;
3579 va_end (args_copy);
3580 va_end (args);
3582 return *str && number && fnumber;
3586 # Test code for whether the C compiler supports C99 (body of main).
3587 ac_c_conftest_c99_main='
3588 // Check bool.
3589 _Bool success = false;
3590 success |= (argc != 0);
3592 // Check restrict.
3593 if (test_restrict ("String literal") == 0)
3594 success = true;
3595 char *restrict newvar = "Another string";
3597 // Check varargs.
3598 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3599 test_varargs_macros ();
3601 // Check flexible array members.
3602 struct incomplete_array *ia =
3603 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3604 ia->datasize = 10;
3605 for (int i = 0; i < ia->datasize; ++i)
3606 ia->data[i] = i * 1.234;
3608 // Check named initializers.
3609 struct named_init ni = {
3610 .number = 34,
3611 .name = L"Test wide string",
3612 .average = 543.34343,
3615 ni.number = 58;
3617 int dynamic_array[ni.number];
3618 dynamic_array[0] = argv[0][0];
3619 dynamic_array[ni.number - 1] = 543;
3621 // work around unused variable warnings
3622 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3623 || dynamic_array[ni.number - 1] != 543);
3626 # Test code for whether the C compiler supports C11 (global declarations)
3627 ac_c_conftest_c11_globals='
3628 // Does the compiler advertise C11 conformance?
3629 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3630 # error "Compiler does not advertise C11 conformance"
3631 #endif
3633 // Check _Alignas.
3634 char _Alignas (double) aligned_as_double;
3635 char _Alignas (0) no_special_alignment;
3636 extern char aligned_as_int;
3637 char _Alignas (0) _Alignas (int) aligned_as_int;
3639 // Check _Alignof.
3640 enum
3642 int_alignment = _Alignof (int),
3643 int_array_alignment = _Alignof (int[100]),
3644 char_alignment = _Alignof (char)
3646 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3648 // Check _Noreturn.
3649 int _Noreturn does_not_return (void) { for (;;) continue; }
3651 // Check _Static_assert.
3652 struct test_static_assert
3654 int x;
3655 _Static_assert (sizeof (int) <= sizeof (long int),
3656 "_Static_assert does not work in struct");
3657 long int y;
3660 // Check UTF-8 literals.
3661 #define u8 syntax error!
3662 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3664 // Check duplicate typedefs.
3665 typedef long *long_ptr;
3666 typedef long int *long_ptr;
3667 typedef long_ptr long_ptr;
3669 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3670 struct anonymous
3672 union {
3673 struct { int i; int j; };
3674 struct { int k; long int l; } w;
3676 int m;
3677 } v1;
3680 # Test code for whether the C compiler supports C11 (body of main).
3681 ac_c_conftest_c11_main='
3682 _Static_assert ((offsetof (struct anonymous, i)
3683 == offsetof (struct anonymous, w.k)),
3684 "Anonymous union alignment botch");
3685 v1.i = 2;
3686 v1.w.k = 5;
3687 ok |= v1.i != 5;
3690 # Test code for whether the C compiler supports C11 (complete).
3691 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3692 ${ac_c_conftest_c99_globals}
3693 ${ac_c_conftest_c11_globals}
3696 main (int argc, char **argv)
3698 int ok = 0;
3699 ${ac_c_conftest_c89_main}
3700 ${ac_c_conftest_c99_main}
3701 ${ac_c_conftest_c11_main}
3702 return ok;
3706 # Test code for whether the C compiler supports C99 (complete).
3707 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3708 ${ac_c_conftest_c99_globals}
3711 main (int argc, char **argv)
3713 int ok = 0;
3714 ${ac_c_conftest_c89_main}
3715 ${ac_c_conftest_c99_main}
3716 return ok;
3720 # Test code for whether the C compiler supports C89 (complete).
3721 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3724 main (int argc, char **argv)
3726 int ok = 0;
3727 ${ac_c_conftest_c89_main}
3728 return ok;
3732 # Test code for whether the C++ compiler supports C++98 (global declarations)
3733 ac_cxx_conftest_cxx98_globals='
3734 // Does the compiler advertise C++98 conformance?
3735 #if !defined __cplusplus || __cplusplus < 199711L
3736 # error "Compiler does not advertise C++98 conformance"
3737 #endif
3739 // These inclusions are to reject old compilers that
3740 // lack the unsuffixed header files.
3741 #include <cstdlib>
3742 #include <exception>
3744 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3745 extern void assert (int);
3746 namespace std {
3747 extern int strcmp (const char *, const char *);
3750 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3751 using std::exception;
3752 using std::strcmp;
3754 namespace {
3756 void test_exception_syntax()
3758 try {
3759 throw "test";
3760 } catch (const char *s) {
3761 // Extra parentheses suppress a warning when building autoconf itself,
3762 // due to lint rules shared with more typical C programs.
3763 assert (!(strcmp) (s, "test"));
3767 template <typename T> struct test_template
3769 T const val;
3770 explicit test_template(T t) : val(t) {}
3771 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3774 } // anonymous namespace
3777 # Test code for whether the C++ compiler supports C++98 (body of main)
3778 ac_cxx_conftest_cxx98_main='
3779 assert (argc);
3780 assert (! argv[0]);
3782 test_exception_syntax ();
3783 test_template<double> tt (2.0);
3784 assert (tt.add (4) == 6.0);
3785 assert (true && !false);
3789 # Test code for whether the C++ compiler supports C++11 (global declarations)
3790 ac_cxx_conftest_cxx11_globals='
3791 // Does the compiler advertise C++ 2011 conformance?
3792 #if !defined __cplusplus || __cplusplus < 201103L
3793 # error "Compiler does not advertise C++11 conformance"
3794 #endif
3796 namespace cxx11test
3798 constexpr int get_val() { return 20; }
3800 struct testinit
3802 int i;
3803 double d;
3806 class delegate
3808 public:
3809 delegate(int n) : n(n) {}
3810 delegate(): delegate(2354) {}
3812 virtual int getval() { return this->n; };
3813 protected:
3814 int n;
3817 class overridden : public delegate
3819 public:
3820 overridden(int n): delegate(n) {}
3821 virtual int getval() override final { return this->n * 2; }
3824 class nocopy
3826 public:
3827 nocopy(int i): i(i) {}
3828 nocopy() = default;
3829 nocopy(const nocopy&) = delete;
3830 nocopy & operator=(const nocopy&) = delete;
3831 private:
3832 int i;
3835 // for testing lambda expressions
3836 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3838 return f(v);
3841 // for testing variadic templates and trailing return types
3842 template <typename V> auto sum(V first) -> V
3844 return first;
3846 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3848 return first + sum(rest...);
3853 # Test code for whether the C++ compiler supports C++11 (body of main)
3854 ac_cxx_conftest_cxx11_main='
3856 // Test auto and decltype
3857 auto a1 = 6538;
3858 auto a2 = 48573953.4;
3859 auto a3 = "String literal";
3861 int total = 0;
3862 for (auto i = a3; *i; ++i) { total += *i; }
3864 decltype(a2) a4 = 34895.034;
3867 // Test constexpr
3868 short sa[cxx11test::get_val()] = { 0 };
3871 // Test initializer lists
3872 cxx11test::testinit il = { 4323, 435234.23544 };
3875 // Test range-based for
3876 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3877 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3878 for (auto &x : array) { x += 23; }
3881 // Test lambda expressions
3882 using cxx11test::eval;
3883 assert (eval ([](int x) { return x*2; }, 21) == 42);
3884 double d = 2.0;
3885 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3886 assert (d == 5.0);
3887 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3888 assert (d == 5.0);
3891 // Test use of variadic templates
3892 using cxx11test::sum;
3893 auto a = sum(1);
3894 auto b = sum(1, 2);
3895 auto c = sum(1.0, 2.0, 3.0);
3898 // Test constructor delegation
3899 cxx11test::delegate d1;
3900 cxx11test::delegate d2();
3901 cxx11test::delegate d3(45);
3904 // Test override and final
3905 cxx11test::overridden o1(55464);
3908 // Test nullptr
3909 char *c = nullptr;
3912 // Test template brackets
3913 test_template<::test_template<int>> v(test_template<int>(12));
3916 // Unicode literals
3917 char const *utf8 = u8"UTF-8 string \u2500";
3918 char16_t const *utf16 = u"UTF-8 string \u2500";
3919 char32_t const *utf32 = U"UTF-32 string \u2500";
3923 # Test code for whether the C compiler supports C++11 (complete).
3924 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3925 ${ac_cxx_conftest_cxx11_globals}
3928 main (int argc, char **argv)
3930 int ok = 0;
3931 ${ac_cxx_conftest_cxx98_main}
3932 ${ac_cxx_conftest_cxx11_main}
3933 return ok;
3937 # Test code for whether the C compiler supports C++98 (complete).
3938 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3940 main (int argc, char **argv)
3942 int ok = 0;
3943 ${ac_cxx_conftest_cxx98_main}
3944 return ok;
3948 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3949 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3950 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3951 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3952 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3953 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3954 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3955 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3956 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3958 # Auxiliary files required by this configure script.
3959 ac_aux_files="config.guess config.sub"
3961 # Locations in which to look for auxiliary files.
3962 ac_aux_dir_candidates="${srcdir}/tools"
3964 # Search for a directory containing all of the required auxiliary files,
3965 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3966 # If we don't find one directory that contains all the files we need,
3967 # we report the set of missing files from the *first* directory in
3968 # $ac_aux_dir_candidates and give up.
3969 ac_missing_aux_files=""
3970 ac_first_candidate=:
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 as_found=false
3974 for as_dir in $ac_aux_dir_candidates
3976 IFS=$as_save_IFS
3977 case $as_dir in #(((
3978 '') as_dir=./ ;;
3979 */) ;;
3980 *) as_dir=$as_dir/ ;;
3981 esac
3982 as_found=:
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3985 ac_aux_dir_found=yes
3986 ac_install_sh=
3987 for ac_aux in $ac_aux_files
3989 # As a special case, if "install-sh" is required, that requirement
3990 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3991 # and $ac_install_sh is set appropriately for whichever one is found.
3992 if test x"$ac_aux" = x"install-sh"
3993 then
3994 if test -f "${as_dir}install-sh"; then
3995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3996 ac_install_sh="${as_dir}install-sh -c"
3997 elif test -f "${as_dir}install.sh"; then
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3999 ac_install_sh="${as_dir}install.sh -c"
4000 elif test -f "${as_dir}shtool"; then
4001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4002 ac_install_sh="${as_dir}shtool install -c"
4003 else
4004 ac_aux_dir_found=no
4005 if $ac_first_candidate; then
4006 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4007 else
4008 break
4011 else
4012 if test -f "${as_dir}${ac_aux}"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4014 else
4015 ac_aux_dir_found=no
4016 if $ac_first_candidate; then
4017 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4018 else
4019 break
4023 done
4024 if test "$ac_aux_dir_found" = yes; then
4025 ac_aux_dir="$as_dir"
4026 break
4028 ac_first_candidate=false
4030 as_found=false
4031 done
4032 IFS=$as_save_IFS
4033 if $as_found
4034 then :
4036 else $as_nop
4037 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4041 # These three variables are undocumented and unsupported,
4042 # and are intended to be withdrawn in a future Autoconf release.
4043 # They can cause serious problems if a builder's source tree is in a directory
4044 # whose full name contains unusual characters.
4045 if test -f "${ac_aux_dir}config.guess"; then
4046 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4048 if test -f "${ac_aux_dir}config.sub"; then
4049 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4051 if test -f "$ac_aux_dir/configure"; then
4052 ac_configure="$SHELL ${ac_aux_dir}configure"
4055 # Check that the precious variables saved in the cache have kept the same
4056 # value.
4057 ac_cache_corrupted=false
4058 for ac_var in $ac_precious_vars; do
4059 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4060 eval ac_new_set=\$ac_env_${ac_var}_set
4061 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4062 eval ac_new_val=\$ac_env_${ac_var}_value
4063 case $ac_old_set,$ac_new_set in
4064 set,)
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4066 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4067 ac_cache_corrupted=: ;;
4068 ,set)
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4071 ac_cache_corrupted=: ;;
4072 ,);;
4074 if test "x$ac_old_val" != "x$ac_new_val"; then
4075 # differences in whitespace do not lead to failure.
4076 ac_old_val_w=`echo x $ac_old_val`
4077 ac_new_val_w=`echo x $ac_new_val`
4078 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4080 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4081 ac_cache_corrupted=:
4082 else
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4084 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4085 eval $ac_var=\$ac_old_val
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4088 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4090 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4091 fi;;
4092 esac
4093 # Pass precious variables to config.status.
4094 if test "$ac_new_set" = set; then
4095 case $ac_new_val in
4096 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4097 *) ac_arg=$ac_var=$ac_new_val ;;
4098 esac
4099 case " $ac_configure_args " in
4100 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4101 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4102 esac
4104 done
4105 if $ac_cache_corrupted; then
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4109 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4110 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4111 and start over" "$LINENO" 5
4113 ## -------------------- ##
4114 ## Main body of script. ##
4115 ## -------------------- ##
4117 ac_ext=c
4118 ac_cpp='$CPP $CPPFLAGS'
4119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 ac_config_headers="$ac_config_headers include/config.h"
4129 libwine_version="1.0"
4132 # Check whether --enable-archs was given.
4133 if test ${enable_archs+y}
4134 then :
4135 enableval=$enable_archs;
4138 # Check whether --enable-win16 was given.
4139 if test ${enable_win16+y}
4140 then :
4141 enableval=$enable_win16;
4144 # Check whether --enable-win64 was given.
4145 if test ${enable_win64+y}
4146 then :
4147 enableval=$enable_win64;
4150 # Check whether --enable-tests was given.
4151 if test ${enable_tests+y}
4152 then :
4153 enableval=$enable_tests;
4156 # Check whether --enable-build-id was given.
4157 if test ${enable_build_id+y}
4158 then :
4159 enableval=$enable_build_id;
4162 # Check whether --enable-maintainer-mode was given.
4163 if test ${enable_maintainer_mode+y}
4164 then :
4165 enableval=$enable_maintainer_mode;
4168 # Check whether --enable-silent-rules was given.
4169 if test ${enable_silent_rules+y}
4170 then :
4171 enableval=$enable_silent_rules;
4174 # Check whether --enable-werror was given.
4175 if test ${enable_werror+y}
4176 then :
4177 enableval=$enable_werror;
4182 # Check whether --with-alsa was given.
4183 if test ${with_alsa+y}
4184 then :
4185 withval=$with_alsa;
4189 # Check whether --with-capi was given.
4190 if test ${with_capi+y}
4191 then :
4192 withval=$with_capi;
4196 # Check whether --with-coreaudio was given.
4197 if test ${with_coreaudio+y}
4198 then :
4199 withval=$with_coreaudio;
4203 # Check whether --with-cups was given.
4204 if test ${with_cups+y}
4205 then :
4206 withval=$with_cups;
4210 # Check whether --with-dbus was given.
4211 if test ${with_dbus+y}
4212 then :
4213 withval=$with_dbus;
4217 # Check whether --with-float-abi was given.
4218 if test ${with_float_abi+y}
4219 then :
4220 withval=$with_float_abi;
4224 # Check whether --with-fontconfig was given.
4225 if test ${with_fontconfig+y}
4226 then :
4227 withval=$with_fontconfig;
4231 # Check whether --with-freetype was given.
4232 if test ${with_freetype+y}
4233 then :
4234 withval=$with_freetype;
4238 # Check whether --with-gettext was given.
4239 if test ${with_gettext+y}
4240 then :
4241 withval=$with_gettext;
4245 # Check whether --with-gettextpo was given.
4246 if test ${with_gettextpo+y}
4247 then :
4248 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4252 # Check whether --with-gphoto was given.
4253 if test ${with_gphoto+y}
4254 then :
4255 withval=$with_gphoto;
4259 # Check whether --with-gnutls was given.
4260 if test ${with_gnutls+y}
4261 then :
4262 withval=$with_gnutls;
4266 # Check whether --with-gssapi was given.
4267 if test ${with_gssapi+y}
4268 then :
4269 withval=$with_gssapi;
4273 # Check whether --with-gstreamer was given.
4274 if test ${with_gstreamer+y}
4275 then :
4276 withval=$with_gstreamer;
4280 # Check whether --with-inotify was given.
4281 if test ${with_inotify+y}
4282 then :
4283 withval=$with_inotify;
4287 # Check whether --with-krb5 was given.
4288 if test ${with_krb5+y}
4289 then :
4290 withval=$with_krb5;
4294 # Check whether --with-mingw was given.
4295 if test ${with_mingw+y}
4296 then :
4297 withval=$with_mingw;
4301 # Check whether --with-netapi was given.
4302 if test ${with_netapi+y}
4303 then :
4304 withval=$with_netapi;
4308 # Check whether --with-opencl was given.
4309 if test ${with_opencl+y}
4310 then :
4311 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4315 # Check whether --with-opengl was given.
4316 if test ${with_opengl+y}
4317 then :
4318 withval=$with_opengl;
4322 # Check whether --with-osmesa was given.
4323 if test ${with_osmesa+y}
4324 then :
4325 withval=$with_osmesa;
4329 # Check whether --with-oss was given.
4330 if test ${with_oss+y}
4331 then :
4332 withval=$with_oss;
4336 # Check whether --with-pcap was given.
4337 if test ${with_pcap+y}
4338 then :
4339 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4343 # Check whether --with-pcsclite was given.
4344 if test ${with_pcsclite+y}
4345 then :
4346 withval=$with_pcsclite;
4350 # Check whether --with-pthread was given.
4351 if test ${with_pthread+y}
4352 then :
4353 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4357 # Check whether --with-pulse was given.
4358 if test ${with_pulse+y}
4359 then :
4360 withval=$with_pulse;
4364 # Check whether --with-sane was given.
4365 if test ${with_sane+y}
4366 then :
4367 withval=$with_sane;
4371 # Check whether --with-sdl was given.
4372 if test ${with_sdl+y}
4373 then :
4374 withval=$with_sdl;
4378 # Check whether --with-udev was given.
4379 if test ${with_udev+y}
4380 then :
4381 withval=$with_udev;
4385 # Check whether --with-unwind was given.
4386 if test ${with_unwind+y}
4387 then :
4388 withval=$with_unwind;
4392 # Check whether --with-usb was given.
4393 if test ${with_usb+y}
4394 then :
4395 withval=$with_usb;
4399 # Check whether --with-v4l2 was given.
4400 if test ${with_v4l2+y}
4401 then :
4402 withval=$with_v4l2;
4406 # Check whether --with-vulkan was given.
4407 if test ${with_vulkan+y}
4408 then :
4409 withval=$with_vulkan;
4413 # Check whether --with-wayland was given.
4414 if test ${with_wayland+y}
4415 then :
4416 withval=$with_wayland;
4420 # Check whether --with-xcomposite was given.
4421 if test ${with_xcomposite+y}
4422 then :
4423 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4427 # Check whether --with-xcursor was given.
4428 if test ${with_xcursor+y}
4429 then :
4430 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4434 # Check whether --with-xfixes was given.
4435 if test ${with_xfixes+y}
4436 then :
4437 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4441 # Check whether --with-xinerama was given.
4442 if test ${with_xinerama+y}
4443 then :
4444 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4448 # Check whether --with-xinput was given.
4449 if test ${with_xinput+y}
4450 then :
4451 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4455 # Check whether --with-xinput2 was given.
4456 if test ${with_xinput2+y}
4457 then :
4458 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4462 # Check whether --with-xrandr was given.
4463 if test ${with_xrandr+y}
4464 then :
4465 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4469 # Check whether --with-xrender was given.
4470 if test ${with_xrender+y}
4471 then :
4472 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4476 # Check whether --with-xshape was given.
4477 if test ${with_xshape+y}
4478 then :
4479 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4483 # Check whether --with-xshm was given.
4484 if test ${with_xshm+y}
4485 then :
4486 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4490 # Check whether --with-xxf86vm was given.
4491 if test ${with_xxf86vm+y}
4492 then :
4493 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
4498 # Check whether --with-system-dllpath was given.
4499 if test ${with_system_dllpath+y}
4500 then :
4501 withval=$with_system_dllpath; system_dllpath=$withval
4506 # Check whether --with-wine-tools was given.
4507 if test ${with_wine_tools+y}
4508 then :
4509 withval=$with_wine_tools;
4513 # Check whether --with-wine64 was given.
4514 if test ${with_wine64+y}
4515 then :
4516 withval=$with_wine64;
4523 # Make sure we can run config.sub.
4524 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4525 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4528 printf %s "checking build system type... " >&6; }
4529 if test ${ac_cv_build+y}
4530 then :
4531 printf %s "(cached) " >&6
4532 else $as_nop
4533 ac_build_alias=$build_alias
4534 test "x$ac_build_alias" = x &&
4535 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4536 test "x$ac_build_alias" = x &&
4537 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4538 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4539 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4543 printf "%s\n" "$ac_cv_build" >&6; }
4544 case $ac_cv_build in
4545 *-*-*) ;;
4546 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4547 esac
4548 build=$ac_cv_build
4549 ac_save_IFS=$IFS; IFS='-'
4550 set x $ac_cv_build
4551 shift
4552 build_cpu=$1
4553 build_vendor=$2
4554 shift; shift
4555 # Remember, the first character of IFS is used to create $*,
4556 # except with old shells:
4557 build_os=$*
4558 IFS=$ac_save_IFS
4559 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4563 printf %s "checking host system type... " >&6; }
4564 if test ${ac_cv_host+y}
4565 then :
4566 printf %s "(cached) " >&6
4567 else $as_nop
4568 if test "x$host_alias" = x; then
4569 ac_cv_host=$ac_cv_build
4570 else
4571 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4572 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4577 printf "%s\n" "$ac_cv_host" >&6; }
4578 case $ac_cv_host in
4579 *-*-*) ;;
4580 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4581 esac
4582 host=$ac_cv_host
4583 ac_save_IFS=$IFS; IFS='-'
4584 set x $ac_cv_host
4585 shift
4586 host_cpu=$1
4587 host_vendor=$2
4588 shift; shift
4589 # Remember, the first character of IFS is used to create $*,
4590 # except with old shells:
4591 host_os=$*
4592 IFS=$ac_save_IFS
4593 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4597 dlldir=\${libdir}/wine
4599 fontdir=\${datadir}/wine/fonts
4601 nlsdir=\${datadir}/wine/nls
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4607 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4608 set x ${MAKE-make}
4609 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4610 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else $as_nop
4614 cat >conftest.make <<\_ACEOF
4615 SHELL = /bin/sh
4616 all:
4617 @echo '@@@%%%=$(MAKE)=@@@%%%'
4618 _ACEOF
4619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4621 *@@@%%%=?*=@@@%%%*)
4622 eval ac_cv_prog_make_${ac_make}_set=yes;;
4624 eval ac_cv_prog_make_${ac_make}_set=no;;
4625 esac
4626 rm -f conftest.make
4628 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4630 printf "%s\n" "yes" >&6; }
4631 SET_MAKE=
4632 else
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 printf "%s\n" "no" >&6; }
4635 SET_MAKE="MAKE=${MAKE-make}"
4647 ac_ext=c
4648 ac_cpp='$CPP $CPPFLAGS'
4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4654 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 printf %s "checking for $ac_word... " >&6; }
4657 if test ${ac_cv_prog_CC+y}
4658 then :
4659 printf %s "(cached) " >&6
4660 else $as_nop
4661 if test -n "$CC"; then
4662 ac_cv_prog_CC="$CC" # Let the user override the test.
4663 else
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH
4667 IFS=$as_save_IFS
4668 case $as_dir in #(((
4669 '') as_dir=./ ;;
4670 */) ;;
4671 *) as_dir=$as_dir/ ;;
4672 esac
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 CC=$ac_cv_prog_CC
4686 if test -n "$CC"; then
4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4688 printf "%s\n" "$CC" >&6; }
4689 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4696 if test -z "$ac_cv_prog_CC"; then
4697 ac_ct_CC=$CC
4698 # Extract the first word of "gcc", so it can be a program name with args.
4699 set dummy gcc; ac_word=$2
4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 printf %s "checking for $ac_word... " >&6; }
4702 if test ${ac_cv_prog_ac_ct_CC+y}
4703 then :
4704 printf %s "(cached) " >&6
4705 else $as_nop
4706 if test -n "$ac_ct_CC"; then
4707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4708 else
4709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 for as_dir in $PATH
4712 IFS=$as_save_IFS
4713 case $as_dir in #(((
4714 '') as_dir=./ ;;
4715 */) ;;
4716 *) as_dir=$as_dir/ ;;
4717 esac
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_CC="gcc"
4721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4722 break 2
4724 done
4725 done
4726 IFS=$as_save_IFS
4730 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4731 if test -n "$ac_ct_CC"; then
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4733 printf "%s\n" "$ac_ct_CC" >&6; }
4734 else
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 printf "%s\n" "no" >&6; }
4739 if test "x$ac_ct_CC" = x; then
4740 CC=""
4741 else
4742 case $cross_compiling:$ac_tool_warned in
4743 yes:)
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746 ac_tool_warned=yes ;;
4747 esac
4748 CC=$ac_ct_CC
4750 else
4751 CC="$ac_cv_prog_CC"
4754 if test -z "$CC"; then
4755 if test -n "$ac_tool_prefix"; then
4756 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4757 set dummy ${ac_tool_prefix}cc; ac_word=$2
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 printf %s "checking for $ac_word... " >&6; }
4760 if test ${ac_cv_prog_CC+y}
4761 then :
4762 printf %s "(cached) " >&6
4763 else $as_nop
4764 if test -n "$CC"; then
4765 ac_cv_prog_CC="$CC" # Let the user override the test.
4766 else
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4770 IFS=$as_save_IFS
4771 case $as_dir in #(((
4772 '') as_dir=./ ;;
4773 */) ;;
4774 *) as_dir=$as_dir/ ;;
4775 esac
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_CC="${ac_tool_prefix}cc"
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4788 CC=$ac_cv_prog_CC
4789 if test -n "$CC"; then
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4791 printf "%s\n" "$CC" >&6; }
4792 else
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 printf "%s\n" "no" >&6; }
4800 if test -z "$CC"; then
4801 # Extract the first word of "cc", so it can be a program name with args.
4802 set dummy cc; ac_word=$2
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 printf %s "checking for $ac_word... " >&6; }
4805 if test ${ac_cv_prog_CC+y}
4806 then :
4807 printf %s "(cached) " >&6
4808 else $as_nop
4809 if test -n "$CC"; then
4810 ac_cv_prog_CC="$CC" # Let the user override the test.
4811 else
4812 ac_prog_rejected=no
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH
4816 IFS=$as_save_IFS
4817 case $as_dir in #(((
4818 '') as_dir=./ ;;
4819 */) ;;
4820 *) as_dir=$as_dir/ ;;
4821 esac
4822 for ac_exec_ext in '' $ac_executable_extensions; do
4823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4824 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4825 ac_prog_rejected=yes
4826 continue
4828 ac_cv_prog_CC="cc"
4829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4830 break 2
4832 done
4833 done
4834 IFS=$as_save_IFS
4836 if test $ac_prog_rejected = yes; then
4837 # We found a bogon in the path, so make sure we never use it.
4838 set dummy $ac_cv_prog_CC
4839 shift
4840 if test $# != 0; then
4841 # We chose a different compiler from the bogus one.
4842 # However, it has the same basename, so the bogon will be chosen
4843 # first if we set CC to just the basename; use the full file name.
4844 shift
4845 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4850 CC=$ac_cv_prog_CC
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4854 else
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4861 if test -z "$CC"; then
4862 if test -n "$ac_tool_prefix"; then
4863 for ac_prog in cl.exe
4865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$CC"; then
4874 ac_cv_prog_CC="$CC" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4879 IFS=$as_save_IFS
4880 case $as_dir in #(((
4881 '') as_dir=./ ;;
4882 */) ;;
4883 *) as_dir=$as_dir/ ;;
4884 esac
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 CC=$ac_cv_prog_CC
4898 if test -n "$CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4900 printf "%s\n" "$CC" >&6; }
4901 else
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$CC" && break
4908 done
4910 if test -z "$CC"; then
4911 ac_ct_CC=$CC
4912 for ac_prog in cl.exe
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy $ac_prog; ac_word=$2
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 printf %s "checking for $ac_word... " >&6; }
4918 if test ${ac_cv_prog_ac_ct_CC+y}
4919 then :
4920 printf %s "(cached) " >&6
4921 else $as_nop
4922 if test -n "$ac_ct_CC"; then
4923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 case $as_dir in #(((
4930 '') as_dir=./ ;;
4931 */) ;;
4932 *) as_dir=$as_dir/ ;;
4933 esac
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_ac_ct_CC="$ac_prog"
4937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4938 break 2
4940 done
4941 done
4942 IFS=$as_save_IFS
4946 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4947 if test -n "$ac_ct_CC"; then
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4949 printf "%s\n" "$ac_ct_CC" >&6; }
4950 else
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 printf "%s\n" "no" >&6; }
4956 test -n "$ac_ct_CC" && break
4957 done
4959 if test "x$ac_ct_CC" = x; then
4960 CC=""
4961 else
4962 case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968 CC=$ac_ct_CC
4973 if test -z "$CC"; then
4974 if test -n "$ac_tool_prefix"; then
4975 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}clang; ac_word=$2
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 printf %s "checking for $ac_word... " >&6; }
4979 if test ${ac_cv_prog_CC+y}
4980 then :
4981 printf %s "(cached) " >&6
4982 else $as_nop
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC="$CC" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 case $as_dir in #(((
4991 '') as_dir=./ ;;
4992 */) ;;
4993 *) as_dir=$as_dir/ ;;
4994 esac
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_CC="${ac_tool_prefix}clang"
4998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4999 break 2
5001 done
5002 done
5003 IFS=$as_save_IFS
5007 CC=$ac_cv_prog_CC
5008 if test -n "$CC"; then
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5010 printf "%s\n" "$CC" >&6; }
5011 else
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 printf "%s\n" "no" >&6; }
5018 if test -z "$ac_cv_prog_CC"; then
5019 ac_ct_CC=$CC
5020 # Extract the first word of "clang", so it can be a program name with args.
5021 set dummy clang; ac_word=$2
5022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 printf %s "checking for $ac_word... " >&6; }
5024 if test ${ac_cv_prog_ac_ct_CC+y}
5025 then :
5026 printf %s "(cached) " >&6
5027 else $as_nop
5028 if test -n "$ac_ct_CC"; then
5029 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5034 IFS=$as_save_IFS
5035 case $as_dir in #(((
5036 '') as_dir=./ ;;
5037 */) ;;
5038 *) as_dir=$as_dir/ ;;
5039 esac
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_ac_ct_CC="clang"
5043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5053 if test -n "$ac_ct_CC"; then
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5055 printf "%s\n" "$ac_ct_CC" >&6; }
5056 else
5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 printf "%s\n" "no" >&6; }
5061 if test "x$ac_ct_CC" = x; then
5062 CC=""
5063 else
5064 case $cross_compiling:$ac_tool_warned in
5065 yes:)
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5069 esac
5070 CC=$ac_ct_CC
5072 else
5073 CC="$ac_cv_prog_CC"
5079 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5080 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5081 as_fn_error $? "no acceptable C compiler found in \$PATH
5082 See \`config.log' for more details" "$LINENO" 5; }
5084 # Provide some information about the compiler.
5085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5086 set X $ac_compile
5087 ac_compiler=$2
5088 for ac_option in --version -v -V -qversion -version; do
5089 { { ac_try="$ac_compiler $ac_option >&5"
5090 case "(($ac_try" in
5091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5092 *) ac_try_echo=$ac_try;;
5093 esac
5094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5095 printf "%s\n" "$ac_try_echo"; } >&5
5096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5097 ac_status=$?
5098 if test -s conftest.err; then
5099 sed '10a\
5100 ... rest of stderr output deleted ...
5101 10q' conftest.err >conftest.er1
5102 cat conftest.er1 >&5
5104 rm -f conftest.er1 conftest.err
5105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; }
5107 done
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5113 main (void)
5117 return 0;
5119 _ACEOF
5120 ac_clean_files_save=$ac_clean_files
5121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5122 # Try to create an executable without -o first, disregard a.out.
5123 # It will help us diagnose broken compilers, and finding out an intuition
5124 # of exeext.
5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5126 printf %s "checking whether the C compiler works... " >&6; }
5127 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5129 # The possible output files:
5130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5132 ac_rmfiles=
5133 for ac_file in $ac_files
5135 case $ac_file in
5136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5138 esac
5139 done
5140 rm -f $ac_rmfiles
5142 if { { ac_try="$ac_link_default"
5143 case "(($ac_try" in
5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145 *) ac_try_echo=$ac_try;;
5146 esac
5147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5148 printf "%s\n" "$ac_try_echo"; } >&5
5149 (eval "$ac_link_default") 2>&5
5150 ac_status=$?
5151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; }
5153 then :
5154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5155 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5157 # so that the user can short-circuit this test for compilers unknown to
5158 # Autoconf.
5159 for ac_file in $ac_files ''
5161 test -f "$ac_file" || continue
5162 case $ac_file in
5163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5165 [ab].out )
5166 # We found the default executable, but exeext='' is most
5167 # certainly right.
5168 break;;
5169 *.* )
5170 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5171 then :; else
5172 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5174 # We set ac_cv_exeext here because the later test for it is not
5175 # safe: cross compilers may not add the suffix if given an `-o'
5176 # argument, so we may need to know it at that point already.
5177 # Even if this section looks crufty: it has the advantage of
5178 # actually working.
5179 break;;
5181 break;;
5182 esac
5183 done
5184 test "$ac_cv_exeext" = no && ac_cv_exeext=
5186 else $as_nop
5187 ac_file=''
5189 if test -z "$ac_file"
5190 then :
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 printf "%s\n" "no" >&6; }
5193 printf "%s\n" "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.$ac_ext >&5
5196 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5197 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5198 as_fn_error 77 "C compiler cannot create executables
5199 See \`config.log' for more details" "$LINENO" 5; }
5200 else $as_nop
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 printf "%s\n" "yes" >&6; }
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5205 printf %s "checking for C compiler default output file name... " >&6; }
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5207 printf "%s\n" "$ac_file" >&6; }
5208 ac_exeext=$ac_cv_exeext
5210 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5211 ac_clean_files=$ac_clean_files_save
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5213 printf %s "checking for suffix of executables... " >&6; }
5214 if { { ac_try="$ac_link"
5215 case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5218 esac
5219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5220 printf "%s\n" "$ac_try_echo"; } >&5
5221 (eval "$ac_link") 2>&5
5222 ac_status=$?
5223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5224 test $ac_status = 0; }
5225 then :
5226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5228 # work properly (i.e., refer to `conftest.exe'), while it won't with
5229 # `rm'.
5230 for ac_file in conftest.exe conftest conftest.*; do
5231 test -f "$ac_file" || continue
5232 case $ac_file in
5233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5235 break;;
5236 * ) break;;
5237 esac
5238 done
5239 else $as_nop
5240 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5241 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5242 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5243 See \`config.log' for more details" "$LINENO" 5; }
5245 rm -f conftest conftest$ac_cv_exeext
5246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5247 printf "%s\n" "$ac_cv_exeext" >&6; }
5249 rm -f conftest.$ac_ext
5250 EXEEXT=$ac_cv_exeext
5251 ac_exeext=$EXEEXT
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5254 #include <stdio.h>
5256 main (void)
5258 FILE *f = fopen ("conftest.out", "w");
5259 return ferror (f) || fclose (f) != 0;
5262 return 0;
5264 _ACEOF
5265 ac_clean_files="$ac_clean_files conftest.out"
5266 # Check that the compiler produces executables we can run. If not, either
5267 # the compiler is broken, or we cross compile.
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5269 printf %s "checking whether we are cross compiling... " >&6; }
5270 if test "$cross_compiling" != yes; then
5271 { { ac_try="$ac_link"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5279 ac_status=$?
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 if { ac_try='./conftest$ac_cv_exeext'
5283 { { case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_try") 2>&5
5290 ac_status=$?
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }; }; then
5293 cross_compiling=no
5294 else
5295 if test "$cross_compiling" = maybe; then
5296 cross_compiling=yes
5297 else
5298 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5299 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5300 as_fn_error 77 "cannot run C compiled programs.
5301 If you meant to cross compile, use \`--host'.
5302 See \`config.log' for more details" "$LINENO" 5; }
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5307 printf "%s\n" "$cross_compiling" >&6; }
5309 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5310 ac_clean_files=$ac_clean_files_save
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5312 printf %s "checking for suffix of object files... " >&6; }
5313 if test ${ac_cv_objext+y}
5314 then :
5315 printf %s "(cached) " >&6
5316 else $as_nop
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main (void)
5325 return 0;
5327 _ACEOF
5328 rm -f conftest.o conftest.obj
5329 if { { ac_try="$ac_compile"
5330 case "(($ac_try" in
5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5333 esac
5334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5335 printf "%s\n" "$ac_try_echo"; } >&5
5336 (eval "$ac_compile") 2>&5
5337 ac_status=$?
5338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339 test $ac_status = 0; }
5340 then :
5341 for ac_file in conftest.o conftest.obj conftest.*; do
5342 test -f "$ac_file" || continue;
5343 case $ac_file in
5344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5345 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5346 break;;
5347 esac
5348 done
5349 else $as_nop
5350 printf "%s\n" "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5354 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5355 as_fn_error $? "cannot compute suffix of object files: cannot compile
5356 See \`config.log' for more details" "$LINENO" 5; }
5358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5361 printf "%s\n" "$ac_cv_objext" >&6; }
5362 OBJEXT=$ac_cv_objext
5363 ac_objext=$OBJEXT
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5365 printf %s "checking whether the compiler supports GNU C... " >&6; }
5366 if test ${ac_cv_c_compiler_gnu+y}
5367 then :
5368 printf %s "(cached) " >&6
5369 else $as_nop
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5374 main (void)
5376 #ifndef __GNUC__
5377 choke me
5378 #endif
5381 return 0;
5383 _ACEOF
5384 if ac_fn_c_try_compile "$LINENO"
5385 then :
5386 ac_compiler_gnu=yes
5387 else $as_nop
5388 ac_compiler_gnu=no
5390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5395 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5398 if test $ac_compiler_gnu = yes; then
5399 GCC=yes
5400 else
5401 GCC=
5403 ac_test_CFLAGS=${CFLAGS+y}
5404 ac_save_CFLAGS=$CFLAGS
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5406 printf %s "checking whether $CC accepts -g... " >&6; }
5407 if test ${ac_cv_prog_cc_g+y}
5408 then :
5409 printf %s "(cached) " >&6
5410 else $as_nop
5411 ac_save_c_werror_flag=$ac_c_werror_flag
5412 ac_c_werror_flag=yes
5413 ac_cv_prog_cc_g=no
5414 CFLAGS="-g"
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5419 main (void)
5423 return 0;
5425 _ACEOF
5426 if ac_fn_c_try_compile "$LINENO"
5427 then :
5428 ac_cv_prog_cc_g=yes
5429 else $as_nop
5430 CFLAGS=""
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5435 main (void)
5439 return 0;
5441 _ACEOF
5442 if ac_fn_c_try_compile "$LINENO"
5443 then :
5445 else $as_nop
5446 ac_c_werror_flag=$ac_save_c_werror_flag
5447 CFLAGS="-g"
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5452 main (void)
5456 return 0;
5458 _ACEOF
5459 if ac_fn_c_try_compile "$LINENO"
5460 then :
5461 ac_cv_prog_cc_g=yes
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5468 ac_c_werror_flag=$ac_save_c_werror_flag
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5471 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5472 if test $ac_test_CFLAGS; then
5473 CFLAGS=$ac_save_CFLAGS
5474 elif test $ac_cv_prog_cc_g = yes; then
5475 if test "$GCC" = yes; then
5476 CFLAGS="-g -O2"
5477 else
5478 CFLAGS="-g"
5480 else
5481 if test "$GCC" = yes; then
5482 CFLAGS="-O2"
5483 else
5484 CFLAGS=
5487 ac_prog_cc_stdc=no
5488 if test x$ac_prog_cc_stdc = xno
5489 then :
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5491 printf %s "checking for $CC option to enable C11 features... " >&6; }
5492 if test ${ac_cv_prog_cc_c11+y}
5493 then :
5494 printf %s "(cached) " >&6
5495 else $as_nop
5496 ac_cv_prog_cc_c11=no
5497 ac_save_CC=$CC
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 $ac_c_conftest_c11_program
5501 _ACEOF
5502 for ac_arg in '' -std=gnu11
5504 CC="$ac_save_CC $ac_arg"
5505 if ac_fn_c_try_compile "$LINENO"
5506 then :
5507 ac_cv_prog_cc_c11=$ac_arg
5509 rm -f core conftest.err conftest.$ac_objext conftest.beam
5510 test "x$ac_cv_prog_cc_c11" != "xno" && break
5511 done
5512 rm -f conftest.$ac_ext
5513 CC=$ac_save_CC
5516 if test "x$ac_cv_prog_cc_c11" = xno
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5519 printf "%s\n" "unsupported" >&6; }
5520 else $as_nop
5521 if test "x$ac_cv_prog_cc_c11" = x
5522 then :
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5524 printf "%s\n" "none needed" >&6; }
5525 else $as_nop
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5527 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5528 CC="$CC $ac_cv_prog_cc_c11"
5530 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5531 ac_prog_cc_stdc=c11
5534 if test x$ac_prog_cc_stdc = xno
5535 then :
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5537 printf %s "checking for $CC option to enable C99 features... " >&6; }
5538 if test ${ac_cv_prog_cc_c99+y}
5539 then :
5540 printf %s "(cached) " >&6
5541 else $as_nop
5542 ac_cv_prog_cc_c99=no
5543 ac_save_CC=$CC
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 $ac_c_conftest_c99_program
5547 _ACEOF
5548 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5550 CC="$ac_save_CC $ac_arg"
5551 if ac_fn_c_try_compile "$LINENO"
5552 then :
5553 ac_cv_prog_cc_c99=$ac_arg
5555 rm -f core conftest.err conftest.$ac_objext conftest.beam
5556 test "x$ac_cv_prog_cc_c99" != "xno" && break
5557 done
5558 rm -f conftest.$ac_ext
5559 CC=$ac_save_CC
5562 if test "x$ac_cv_prog_cc_c99" = xno
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5565 printf "%s\n" "unsupported" >&6; }
5566 else $as_nop
5567 if test "x$ac_cv_prog_cc_c99" = x
5568 then :
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5570 printf "%s\n" "none needed" >&6; }
5571 else $as_nop
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5573 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5574 CC="$CC $ac_cv_prog_cc_c99"
5576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5577 ac_prog_cc_stdc=c99
5580 if test x$ac_prog_cc_stdc = xno
5581 then :
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5583 printf %s "checking for $CC option to enable C89 features... " >&6; }
5584 if test ${ac_cv_prog_cc_c89+y}
5585 then :
5586 printf %s "(cached) " >&6
5587 else $as_nop
5588 ac_cv_prog_cc_c89=no
5589 ac_save_CC=$CC
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 $ac_c_conftest_c89_program
5593 _ACEOF
5594 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5596 CC="$ac_save_CC $ac_arg"
5597 if ac_fn_c_try_compile "$LINENO"
5598 then :
5599 ac_cv_prog_cc_c89=$ac_arg
5601 rm -f core conftest.err conftest.$ac_objext conftest.beam
5602 test "x$ac_cv_prog_cc_c89" != "xno" && break
5603 done
5604 rm -f conftest.$ac_ext
5605 CC=$ac_save_CC
5608 if test "x$ac_cv_prog_cc_c89" = xno
5609 then :
5610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5611 printf "%s\n" "unsupported" >&6; }
5612 else $as_nop
5613 if test "x$ac_cv_prog_cc_c89" = x
5614 then :
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5616 printf "%s\n" "none needed" >&6; }
5617 else $as_nop
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5619 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5620 CC="$CC $ac_cv_prog_cc_c89"
5622 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5623 ac_prog_cc_stdc=c89
5627 ac_ext=c
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5639 ac_ext=cpp
5640 ac_cpp='$CXXCPP $CPPFLAGS'
5641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5644 if test -z "$CXX"; then
5645 if test -n "$CCC"; then
5646 CXX=$CCC
5647 else
5648 if test -n "$ac_tool_prefix"; then
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_CXX+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 if test -n "$CXX"; then
5660 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 case $as_dir in #(((
5667 '') as_dir=./ ;;
5668 */) ;;
5669 *) as_dir=$as_dir/ ;;
5670 esac
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 CXX=$ac_cv_prog_CXX
5684 if test -n "$CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5686 printf "%s\n" "$CXX" >&6; }
5687 else
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$CXX" && break
5694 done
5696 if test -z "$CXX"; then
5697 ac_ct_CXX=$CXX
5698 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy $ac_prog; ac_word=$2
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 printf %s "checking for $ac_word... " >&6; }
5704 if test ${ac_cv_prog_ac_ct_CXX+y}
5705 then :
5706 printf %s "(cached) " >&6
5707 else $as_nop
5708 if test -n "$ac_ct_CXX"; then
5709 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5714 IFS=$as_save_IFS
5715 case $as_dir in #(((
5716 '') as_dir=./ ;;
5717 */) ;;
5718 *) as_dir=$as_dir/ ;;
5719 esac
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_CXX="$ac_prog"
5723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5732 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5733 if test -n "$ac_ct_CXX"; then
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5735 printf "%s\n" "$ac_ct_CXX" >&6; }
5736 else
5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 printf "%s\n" "no" >&6; }
5742 test -n "$ac_ct_CXX" && break
5743 done
5745 if test "x$ac_ct_CXX" = x; then
5746 CXX="g++"
5747 else
5748 case $cross_compiling:$ac_tool_warned in
5749 yes:)
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5753 esac
5754 CXX=$ac_ct_CXX
5760 # Provide some information about the compiler.
5761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5762 set X $ac_compile
5763 ac_compiler=$2
5764 for ac_option in --version -v -V -qversion; do
5765 { { ac_try="$ac_compiler $ac_option >&5"
5766 case "(($ac_try" in
5767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5768 *) ac_try_echo=$ac_try;;
5769 esac
5770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5771 printf "%s\n" "$ac_try_echo"; } >&5
5772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5773 ac_status=$?
5774 if test -s conftest.err; then
5775 sed '10a\
5776 ... rest of stderr output deleted ...
5777 10q' conftest.err >conftest.er1
5778 cat conftest.er1 >&5
5780 rm -f conftest.er1 conftest.err
5781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5782 test $ac_status = 0; }
5783 done
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5786 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5787 if test ${ac_cv_cxx_compiler_gnu+y}
5788 then :
5789 printf %s "(cached) " >&6
5790 else $as_nop
5791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5795 main (void)
5797 #ifndef __GNUC__
5798 choke me
5799 #endif
5802 return 0;
5804 _ACEOF
5805 if ac_fn_cxx_try_compile "$LINENO"
5806 then :
5807 ac_compiler_gnu=yes
5808 else $as_nop
5809 ac_compiler_gnu=no
5811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5812 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5816 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5819 if test $ac_compiler_gnu = yes; then
5820 GXX=yes
5821 else
5822 GXX=
5824 ac_test_CXXFLAGS=${CXXFLAGS+y}
5825 ac_save_CXXFLAGS=$CXXFLAGS
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5827 printf %s "checking whether $CXX accepts -g... " >&6; }
5828 if test ${ac_cv_prog_cxx_g+y}
5829 then :
5830 printf %s "(cached) " >&6
5831 else $as_nop
5832 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5833 ac_cxx_werror_flag=yes
5834 ac_cv_prog_cxx_g=no
5835 CXXFLAGS="-g"
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5840 main (void)
5844 return 0;
5846 _ACEOF
5847 if ac_fn_cxx_try_compile "$LINENO"
5848 then :
5849 ac_cv_prog_cxx_g=yes
5850 else $as_nop
5851 CXXFLAGS=""
5852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5856 main (void)
5860 return 0;
5862 _ACEOF
5863 if ac_fn_cxx_try_compile "$LINENO"
5864 then :
5866 else $as_nop
5867 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5868 CXXFLAGS="-g"
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5873 main (void)
5877 return 0;
5879 _ACEOF
5880 if ac_fn_cxx_try_compile "$LINENO"
5881 then :
5882 ac_cv_prog_cxx_g=yes
5884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5889 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5892 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5893 if test $ac_test_CXXFLAGS; then
5894 CXXFLAGS=$ac_save_CXXFLAGS
5895 elif test $ac_cv_prog_cxx_g = yes; then
5896 if test "$GXX" = yes; then
5897 CXXFLAGS="-g -O2"
5898 else
5899 CXXFLAGS="-g"
5901 else
5902 if test "$GXX" = yes; then
5903 CXXFLAGS="-O2"
5904 else
5905 CXXFLAGS=
5908 ac_prog_cxx_stdcxx=no
5909 if test x$ac_prog_cxx_stdcxx = xno
5910 then :
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5912 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5913 if test ${ac_cv_prog_cxx_cxx11+y}
5914 then :
5915 printf %s "(cached) " >&6
5916 else $as_nop
5917 ac_cv_prog_cxx_cxx11=no
5918 ac_save_CXX=$CXX
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 $ac_cxx_conftest_cxx11_program
5922 _ACEOF
5923 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5925 CXX="$ac_save_CXX $ac_arg"
5926 if ac_fn_cxx_try_compile "$LINENO"
5927 then :
5928 ac_cv_prog_cxx_cxx11=$ac_arg
5930 rm -f core conftest.err conftest.$ac_objext conftest.beam
5931 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5932 done
5933 rm -f conftest.$ac_ext
5934 CXX=$ac_save_CXX
5937 if test "x$ac_cv_prog_cxx_cxx11" = xno
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5940 printf "%s\n" "unsupported" >&6; }
5941 else $as_nop
5942 if test "x$ac_cv_prog_cxx_cxx11" = x
5943 then :
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5945 printf "%s\n" "none needed" >&6; }
5946 else $as_nop
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5948 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5949 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5951 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5952 ac_prog_cxx_stdcxx=cxx11
5955 if test x$ac_prog_cxx_stdcxx = xno
5956 then :
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5958 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5959 if test ${ac_cv_prog_cxx_cxx98+y}
5960 then :
5961 printf %s "(cached) " >&6
5962 else $as_nop
5963 ac_cv_prog_cxx_cxx98=no
5964 ac_save_CXX=$CXX
5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 $ac_cxx_conftest_cxx98_program
5968 _ACEOF
5969 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5971 CXX="$ac_save_CXX $ac_arg"
5972 if ac_fn_cxx_try_compile "$LINENO"
5973 then :
5974 ac_cv_prog_cxx_cxx98=$ac_arg
5976 rm -f core conftest.err conftest.$ac_objext conftest.beam
5977 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5978 done
5979 rm -f conftest.$ac_ext
5980 CXX=$ac_save_CXX
5983 if test "x$ac_cv_prog_cxx_cxx98" = xno
5984 then :
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5986 printf "%s\n" "unsupported" >&6; }
5987 else $as_nop
5988 if test "x$ac_cv_prog_cxx_cxx98" = x
5989 then :
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5991 printf "%s\n" "none needed" >&6; }
5992 else $as_nop
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5994 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5995 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5997 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5998 ac_prog_cxx_stdcxx=cxx98
6002 ac_ext=c
6003 ac_cpp='$CPP $CPPFLAGS'
6004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6010 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 printf %s "checking for $ac_word... " >&6; }
6013 if test ${ac_cv_prog_CPPBIN+y}
6014 then :
6015 printf %s "(cached) " >&6
6016 else $as_nop
6017 if test -n "$CPPBIN"; then
6018 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 case $as_dir in #(((
6025 '') as_dir=./ ;;
6026 */) ;;
6027 *) as_dir=$as_dir/ ;;
6028 esac
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 CPPBIN=$ac_cv_prog_CPPBIN
6042 if test -n "$CPPBIN"; then
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6044 printf "%s\n" "$CPPBIN" >&6; }
6045 else
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 printf "%s\n" "no" >&6; }
6052 if test -z "$ac_cv_prog_CPPBIN"; then
6053 ac_ct_CPPBIN=$CPPBIN
6054 # Extract the first word of "cpp", so it can be a program name with args.
6055 set dummy cpp; ac_word=$2
6056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 printf %s "checking for $ac_word... " >&6; }
6058 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6059 then :
6060 printf %s "(cached) " >&6
6061 else $as_nop
6062 if test -n "$ac_ct_CPPBIN"; then
6063 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 case $as_dir in #(((
6070 '') as_dir=./ ;;
6071 */) ;;
6072 *) as_dir=$as_dir/ ;;
6073 esac
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_ac_ct_CPPBIN="cpp"
6077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6087 if test -n "$ac_ct_CPPBIN"; then
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6089 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6090 else
6091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 printf "%s\n" "no" >&6; }
6095 if test "x$ac_ct_CPPBIN" = x; then
6096 CPPBIN="cpp"
6097 else
6098 case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104 CPPBIN=$ac_ct_CPPBIN
6106 else
6107 CPPBIN="$ac_cv_prog_CPPBIN"
6111 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6115 set dummy ${ac_tool_prefix}ld; ac_word=$2
6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 printf %s "checking for $ac_word... " >&6; }
6118 if test ${ac_cv_prog_LD+y}
6119 then :
6120 printf %s "(cached) " >&6
6121 else $as_nop
6122 if test -n "$LD"; then
6123 ac_cv_prog_LD="$LD" # Let the user override the test.
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 case $as_dir in #(((
6130 '') as_dir=./ ;;
6131 */) ;;
6132 *) as_dir=$as_dir/ ;;
6133 esac
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_LD="${ac_tool_prefix}ld"
6137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6146 LD=$ac_cv_prog_LD
6147 if test -n "$LD"; then
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6149 printf "%s\n" "$LD" >&6; }
6150 else
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 printf "%s\n" "no" >&6; }
6157 if test -z "$ac_cv_prog_LD"; then
6158 ac_ct_LD=$LD
6159 # Extract the first word of "ld", so it can be a program name with args.
6160 set dummy ld; ac_word=$2
6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 printf %s "checking for $ac_word... " >&6; }
6163 if test ${ac_cv_prog_ac_ct_LD+y}
6164 then :
6165 printf %s "(cached) " >&6
6166 else $as_nop
6167 if test -n "$ac_ct_LD"; then
6168 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 case $as_dir in #(((
6175 '') as_dir=./ ;;
6176 */) ;;
6177 *) as_dir=$as_dir/ ;;
6178 esac
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_ac_ct_LD="ld"
6182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6192 if test -n "$ac_ct_LD"; then
6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6194 printf "%s\n" "$ac_ct_LD" >&6; }
6195 else
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 printf "%s\n" "no" >&6; }
6200 if test "x$ac_ct_LD" = x; then
6201 LD=""
6202 else
6203 case $cross_compiling:$ac_tool_warned in
6204 yes:)
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6207 ac_tool_warned=yes ;;
6208 esac
6209 LD=$ac_ct_LD
6211 else
6212 LD="$ac_cv_prog_LD"
6216 case $host in
6217 *-darwin*)
6218 with_fontconfig=${with_fontconfig:-no}
6220 *-mingw32*|*-cygwin*)
6221 enable_win16=${enable_win16:-no}
6222 with_mingw=${with_mingw:-no}
6224 esac
6227 case $host in
6228 x86_64*|amd64*)
6229 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6230 then
6231 CC="$CC -m32"
6232 CXX="$CXX -m32"
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6235 printf %s "checking whether $CC works... " >&6; }
6236 if test ${wine_cv_cc_m32+y}
6237 then :
6238 printf %s "(cached) " >&6
6239 else $as_nop
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6244 main (void)
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_link "$LINENO"
6252 then :
6253 wine_cv_cc_m32=yes
6254 else $as_nop
6255 wine_cv_cc_m32=no
6257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6258 conftest$ac_exeext conftest.$ac_ext
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6261 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6262 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
6263 host_cpu="i386"
6264 notice_platform="32-bit "
6265 TARGETFLAGS="$TARGETFLAGS -m32"
6266 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6267 export PKG_CONFIG_LIBDIR
6268 with_unwind=${with_unwind:-no}
6269 else
6270 if test "x${GCC}" = "xyes"
6271 then
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6273 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6274 if test ${wine_cv_builtin_ms_va_list+y}
6275 then :
6276 printf %s "(cached) " >&6
6277 else $as_nop
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <stdarg.h>
6282 main (void)
6284 void func(__builtin_ms_va_list *args);
6286 return 0;
6288 _ACEOF
6289 if ac_fn_c_try_compile "$LINENO"
6290 then :
6291 wine_cv_builtin_ms_va_list=yes
6292 else $as_nop
6293 wine_cv_builtin_ms_va_list=no
6295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6298 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6299 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6301 CC="$CC -m64"
6302 CXX="$CXX -m64"
6303 host_cpu="x86_64"
6304 notice_platform="64-bit "
6305 TARGETFLAGS="$TARGETFLAGS -m64"
6308 arm*)
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6310 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6311 if test ${wine_cv_thumb2+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6319 main (void)
6321 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_link "$LINENO"
6327 then :
6328 wine_cv_thumb2=yes
6329 else $as_nop
6330 wine_cv_thumb2=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6333 conftest$ac_exeext conftest.$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6336 printf "%s\n" "$wine_cv_thumb2" >&6; }
6337 if test x"$wine_cv_thumb2" = xyes
6338 then
6339 CFLAGS="$CFLAGS -mthumb"
6340 TARGETFLAGS="$TARGETFLAGS -mthumb"
6341 else
6342 CFLAGS="$CFLAGS -marm"
6343 TARGETFLAGS="$TARGETFLAGS -marm"
6345 case $with_float_abi in
6346 soft|softfp|hard)
6347 float_abi=$with_float_abi ;;
6349 case $host_os in
6350 *eabihf)
6351 float_abi=hard ;;
6353 float_abi=softfp
6354 saved_CFLAGS=$CFLAGS
6355 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6357 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6358 if test ${wine_cv_float_abi+y}
6359 then :
6360 printf %s "(cached) " >&6
6361 else $as_nop
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6366 main (void)
6368 asm("vmrs r2,fpscr");
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_link "$LINENO"
6374 then :
6375 wine_cv_float_abi=yes
6376 else $as_nop
6377 wine_cv_float_abi=no
6379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6380 conftest$ac_exeext conftest.$ac_ext
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6383 printf "%s\n" "$wine_cv_float_abi" >&6; }
6384 if test $wine_cv_float_abi = no
6385 then
6386 float_abi=soft
6387 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6389 CFLAGS=$saved_CFLAGS
6390 esac
6392 esac
6393 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6394 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6396 i[3456789]86*)
6397 with_unwind=${with_unwind:-no}
6399 esac
6401 enable_win16=${enable_win16:-i386}
6402 enable_win64=${enable_win64:-no}
6403 enable_wow64=${enable_wow64:-aarch64,x86_64}
6404 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6405 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6407 enable_winetest=${enable_winetest:-$enable_tests}
6409 if test "x$enable_win64" = "xyes"
6410 then
6411 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6412 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6415 case $build_os in
6416 cygwin*|mingw32*) toolsext=".exe"
6418 *) toolsext=""
6420 esac
6422 HOST_ARCH=unknown
6423 case "$host_cpu" in
6424 aarch64*) HOST_ARCH=aarch64 ;;
6425 arm*) HOST_ARCH=arm ;;
6426 i[3456789]86*) HOST_ARCH=i386 ;;
6427 x86_64) HOST_ARCH=x86_64 ;;
6428 esac
6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6432 printf %s "checking for the directory containing the Wine tools... " >&6; }
6433 if test ${wine_cv_toolsdir+y}
6434 then :
6435 printf %s "(cached) " >&6
6436 else $as_nop
6437 wine_cv_toolsdir="$with_wine_tools"
6438 if test -z "$with_wine_tools"; then
6439 if test "$cross_compiling" = "yes"; then
6440 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6441 elif test -n "$with_wine64"; then
6442 wine_cv_toolsdir="$with_wine64"
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6447 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6448 if test -z "$wine_cv_toolsdir"; then
6449 wine_makedep=tools/makedep$toolsext
6450 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6451 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6452 enable_tools=${enable_tools:-no}
6453 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6454 else
6455 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6457 toolsdir=$wine_cv_toolsdir
6459 MAKEDEP=$wine_makedep
6461 RUNTESTFLAGS="-q -P wine"
6463 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'"
6466 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6467 then
6468 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6471 for ac_prog in flex
6473 # Extract the first word of "$ac_prog", so it can be a program name with args.
6474 set dummy $ac_prog; ac_word=$2
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 printf %s "checking for $ac_word... " >&6; }
6477 if test ${ac_cv_prog_FLEX+y}
6478 then :
6479 printf %s "(cached) " >&6
6480 else $as_nop
6481 if test -n "$FLEX"; then
6482 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6483 else
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 for as_dir in $PATH
6487 IFS=$as_save_IFS
6488 case $as_dir in #(((
6489 '') as_dir=./ ;;
6490 */) ;;
6491 *) as_dir=$as_dir/ ;;
6492 esac
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_FLEX="$ac_prog"
6496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6497 break 2
6499 done
6500 done
6501 IFS=$as_save_IFS
6505 FLEX=$ac_cv_prog_FLEX
6506 if test -n "$FLEX"; then
6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6508 printf "%s\n" "$FLEX" >&6; }
6509 else
6510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 printf "%s\n" "no" >&6; }
6515 test -n "$FLEX" && break
6516 done
6517 test -n "$FLEX" || FLEX="none"
6519 if test "$FLEX" = "none"
6520 then
6521 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6524 printf %s "checking whether flex is recent enough... " >&6; }
6525 if test ${wine_cv_recent_flex+y}
6526 then :
6527 printf %s "(cached) " >&6
6528 else $as_nop
6529 cat >conftest.l <<EOF
6530 %top{
6531 #include "prediluvian.h"
6535 if $FLEX -t conftest.l >/dev/null 2>&5
6536 then
6537 wine_cv_recent_flex=yes
6538 else
6539 wine_cv_recent_flex=no
6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6543 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6544 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
6546 for ac_prog in bison
6548 # Extract the first word of "$ac_prog", so it can be a program name with args.
6549 set dummy $ac_prog; ac_word=$2
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 printf %s "checking for $ac_word... " >&6; }
6552 if test ${ac_cv_prog_BISON+y}
6553 then :
6554 printf %s "(cached) " >&6
6555 else $as_nop
6556 if test -n "$BISON"; then
6557 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6558 else
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 for as_dir in $PATH
6562 IFS=$as_save_IFS
6563 case $as_dir in #(((
6564 '') as_dir=./ ;;
6565 */) ;;
6566 *) as_dir=$as_dir/ ;;
6567 esac
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_BISON="$ac_prog"
6571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 BISON=$ac_cv_prog_BISON
6581 if test -n "$BISON"; then
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6583 printf "%s\n" "$BISON" >&6; }
6584 else
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 printf "%s\n" "no" >&6; }
6590 test -n "$BISON" && break
6591 done
6592 test -n "$BISON" || BISON="none"
6594 if test "$BISON" = "none"
6595 then
6596 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6599 printf %s "checking whether bison is recent enough... " >&6; }
6600 if test ${wine_cv_recent_bison+y}
6601 then :
6602 printf %s "(cached) " >&6
6603 else $as_nop
6604 cat >conftest.y <<EOF
6605 %define parse.error verbose
6607 empty: ;
6609 if $BISON conftest.y >/dev/null 2>&5
6610 then
6611 wine_cv_recent_bison=yes
6612 else
6613 wine_cv_recent_bison=no
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6617 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6618 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
6620 if test -n "$ac_tool_prefix"; then
6621 for ac_prog in ar gar
6623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s "checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_AR+y}
6628 then :
6629 printf %s "(cached) " >&6
6630 else $as_nop
6631 if test -n "$AR"; then
6632 ac_cv_prog_AR="$AR" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 case $as_dir in #(((
6639 '') as_dir=./ ;;
6640 */) ;;
6641 *) as_dir=$as_dir/ ;;
6642 esac
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 AR=$ac_cv_prog_AR
6656 if test -n "$AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6658 printf "%s\n" "$AR" >&6; }
6659 else
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$AR" && break
6666 done
6668 if test -z "$AR"; then
6669 ac_ct_AR=$AR
6670 for ac_prog in ar gar
6672 # Extract the first word of "$ac_prog", so it can be a program name with args.
6673 set dummy $ac_prog; ac_word=$2
6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 printf %s "checking for $ac_word... " >&6; }
6676 if test ${ac_cv_prog_ac_ct_AR+y}
6677 then :
6678 printf %s "(cached) " >&6
6679 else $as_nop
6680 if test -n "$ac_ct_AR"; then
6681 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6686 IFS=$as_save_IFS
6687 case $as_dir in #(((
6688 '') as_dir=./ ;;
6689 */) ;;
6690 *) as_dir=$as_dir/ ;;
6691 esac
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_ac_ct_AR="$ac_prog"
6695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6696 break 2
6698 done
6699 done
6700 IFS=$as_save_IFS
6704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6705 if test -n "$ac_ct_AR"; then
6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6707 printf "%s\n" "$ac_ct_AR" >&6; }
6708 else
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 printf "%s\n" "no" >&6; }
6714 test -n "$ac_ct_AR" && break
6715 done
6717 if test "x$ac_ct_AR" = x; then
6718 AR="ar"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 AR=$ac_ct_AR
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}strip; ac_word=$2
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 printf %s "checking for $ac_word... " >&6; }
6735 if test ${ac_cv_prog_STRIP+y}
6736 then :
6737 printf %s "(cached) " >&6
6738 else $as_nop
6739 if test -n "$STRIP"; then
6740 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6741 else
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 for as_dir in $PATH
6745 IFS=$as_save_IFS
6746 case $as_dir in #(((
6747 '') as_dir=./ ;;
6748 */) ;;
6749 *) as_dir=$as_dir/ ;;
6750 esac
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6755 break 2
6757 done
6758 done
6759 IFS=$as_save_IFS
6763 STRIP=$ac_cv_prog_STRIP
6764 if test -n "$STRIP"; then
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6766 printf "%s\n" "$STRIP" >&6; }
6767 else
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 printf "%s\n" "no" >&6; }
6774 if test -z "$ac_cv_prog_STRIP"; then
6775 ac_ct_STRIP=$STRIP
6776 # Extract the first word of "strip", so it can be a program name with args.
6777 set dummy strip; ac_word=$2
6778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 printf %s "checking for $ac_word... " >&6; }
6780 if test ${ac_cv_prog_ac_ct_STRIP+y}
6781 then :
6782 printf %s "(cached) " >&6
6783 else $as_nop
6784 if test -n "$ac_ct_STRIP"; then
6785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6786 else
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 for as_dir in $PATH
6790 IFS=$as_save_IFS
6791 case $as_dir in #(((
6792 '') as_dir=./ ;;
6793 */) ;;
6794 *) as_dir=$as_dir/ ;;
6795 esac
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_ac_ct_STRIP="strip"
6799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6800 break 2
6802 done
6803 done
6804 IFS=$as_save_IFS
6808 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6809 if test -n "$ac_ct_STRIP"; then
6810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6811 printf "%s\n" "$ac_ct_STRIP" >&6; }
6812 else
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 printf "%s\n" "no" >&6; }
6817 if test "x$ac_ct_STRIP" = x; then
6818 STRIP="strip"
6819 else
6820 case $cross_compiling:$ac_tool_warned in
6821 yes:)
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6824 ac_tool_warned=yes ;;
6825 esac
6826 STRIP=$ac_ct_STRIP
6828 else
6829 STRIP="$ac_cv_prog_STRIP"
6832 if test -n "$ac_tool_prefix"; then
6833 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6834 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 printf %s "checking for $ac_word... " >&6; }
6837 if test ${ac_cv_prog_RANLIB+y}
6838 then :
6839 printf %s "(cached) " >&6
6840 else $as_nop
6841 if test -n "$RANLIB"; then
6842 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6843 else
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 for as_dir in $PATH
6847 IFS=$as_save_IFS
6848 case $as_dir in #(((
6849 '') as_dir=./ ;;
6850 */) ;;
6851 *) as_dir=$as_dir/ ;;
6852 esac
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6857 break 2
6859 done
6860 done
6861 IFS=$as_save_IFS
6865 RANLIB=$ac_cv_prog_RANLIB
6866 if test -n "$RANLIB"; then
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6868 printf "%s\n" "$RANLIB" >&6; }
6869 else
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 printf "%s\n" "no" >&6; }
6876 if test -z "$ac_cv_prog_RANLIB"; then
6877 ac_ct_RANLIB=$RANLIB
6878 # Extract the first word of "ranlib", so it can be a program name with args.
6879 set dummy ranlib; ac_word=$2
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 printf %s "checking for $ac_word... " >&6; }
6882 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6883 then :
6884 printf %s "(cached) " >&6
6885 else $as_nop
6886 if test -n "$ac_ct_RANLIB"; then
6887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6888 else
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 for as_dir in $PATH
6892 IFS=$as_save_IFS
6893 case $as_dir in #(((
6894 '') as_dir=./ ;;
6895 */) ;;
6896 *) as_dir=$as_dir/ ;;
6897 esac
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_ac_ct_RANLIB="ranlib"
6901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6902 break 2
6904 done
6905 done
6906 IFS=$as_save_IFS
6910 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6911 if test -n "$ac_ct_RANLIB"; then
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6913 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6914 else
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 printf "%s\n" "no" >&6; }
6919 if test "x$ac_ct_RANLIB" = x; then
6920 RANLIB=":"
6921 else
6922 case $cross_compiling:$ac_tool_warned in
6923 yes:)
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926 ac_tool_warned=yes ;;
6927 esac
6928 RANLIB=$ac_ct_RANLIB
6930 else
6931 RANLIB="$ac_cv_prog_RANLIB"
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6935 printf %s "checking whether ln -s works... " >&6; }
6936 LN_S=$as_ln_s
6937 if test "$LN_S" = "ln -s"; then
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6939 printf "%s\n" "yes" >&6; }
6940 else
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6942 printf "%s\n" "no, using $LN_S" >&6; }
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6946 printf %s "checking for grep that handles long lines and -e... " >&6; }
6947 if test ${ac_cv_path_GREP+y}
6948 then :
6949 printf %s "(cached) " >&6
6950 else $as_nop
6951 if test -z "$GREP"; then
6952 ac_path_GREP_found=false
6953 # Loop through the user's path and test for each of PROGNAME-LIST
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6957 IFS=$as_save_IFS
6958 case $as_dir in #(((
6959 '') as_dir=./ ;;
6960 */) ;;
6961 *) as_dir=$as_dir/ ;;
6962 esac
6963 for ac_prog in grep ggrep
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6967 as_fn_executable_p "$ac_path_GREP" || continue
6968 # Check for GNU ac_path_GREP and select it if it is found.
6969 # Check for GNU $ac_path_GREP
6970 case `"$ac_path_GREP" --version 2>&1` in
6971 *GNU*)
6972 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6974 ac_count=0
6975 printf %s 0123456789 >"conftest.in"
6976 while :
6978 cat "conftest.in" "conftest.in" >"conftest.tmp"
6979 mv "conftest.tmp" "conftest.in"
6980 cp "conftest.in" "conftest.nl"
6981 printf "%s\n" 'GREP' >> "conftest.nl"
6982 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6984 as_fn_arith $ac_count + 1 && ac_count=$as_val
6985 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6986 # Best one so far, save it but keep looking for a better one
6987 ac_cv_path_GREP="$ac_path_GREP"
6988 ac_path_GREP_max=$ac_count
6990 # 10*(2^10) chars as input seems more than enough
6991 test $ac_count -gt 10 && break
6992 done
6993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6994 esac
6996 $ac_path_GREP_found && break 3
6997 done
6998 done
6999 done
7000 IFS=$as_save_IFS
7001 if test -z "$ac_cv_path_GREP"; then
7002 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7004 else
7005 ac_cv_path_GREP=$GREP
7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7010 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7011 GREP="$ac_cv_path_GREP"
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7015 printf %s "checking for egrep... " >&6; }
7016 if test ${ac_cv_path_EGREP+y}
7017 then :
7018 printf %s "(cached) " >&6
7019 else $as_nop
7020 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7021 then ac_cv_path_EGREP="$GREP -E"
7022 else
7023 if test -z "$EGREP"; then
7024 ac_path_EGREP_found=false
7025 # Loop through the user's path and test for each of PROGNAME-LIST
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7029 IFS=$as_save_IFS
7030 case $as_dir in #(((
7031 '') as_dir=./ ;;
7032 */) ;;
7033 *) as_dir=$as_dir/ ;;
7034 esac
7035 for ac_prog in egrep
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7039 as_fn_executable_p "$ac_path_EGREP" || continue
7040 # Check for GNU ac_path_EGREP and select it if it is found.
7041 # Check for GNU $ac_path_EGREP
7042 case `"$ac_path_EGREP" --version 2>&1` in
7043 *GNU*)
7044 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7046 ac_count=0
7047 printf %s 0123456789 >"conftest.in"
7048 while :
7050 cat "conftest.in" "conftest.in" >"conftest.tmp"
7051 mv "conftest.tmp" "conftest.in"
7052 cp "conftest.in" "conftest.nl"
7053 printf "%s\n" 'EGREP' >> "conftest.nl"
7054 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7055 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7056 as_fn_arith $ac_count + 1 && ac_count=$as_val
7057 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7058 # Best one so far, save it but keep looking for a better one
7059 ac_cv_path_EGREP="$ac_path_EGREP"
7060 ac_path_EGREP_max=$ac_count
7062 # 10*(2^10) chars as input seems more than enough
7063 test $ac_count -gt 10 && break
7064 done
7065 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7066 esac
7068 $ac_path_EGREP_found && break 3
7069 done
7070 done
7071 done
7072 IFS=$as_save_IFS
7073 if test -z "$ac_cv_path_EGREP"; then
7074 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7076 else
7077 ac_cv_path_EGREP=$EGREP
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7083 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7084 EGREP="$ac_cv_path_EGREP"
7087 # Extract the first word of "ldconfig", so it can be a program name with args.
7088 set dummy ldconfig; ac_word=$2
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 printf %s "checking for $ac_word... " >&6; }
7091 if test ${ac_cv_path_LDCONFIG+y}
7092 then :
7093 printf %s "(cached) " >&6
7094 else $as_nop
7095 case $LDCONFIG in
7096 [\\/]* | ?:[\\/]*)
7097 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 for as_dir in /sbin /usr/sbin $PATH
7103 IFS=$as_save_IFS
7104 case $as_dir in #(((
7105 '') as_dir=./ ;;
7106 */) ;;
7107 *) as_dir=$as_dir/ ;;
7108 esac
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 break 2
7115 done
7116 done
7117 IFS=$as_save_IFS
7119 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7121 esac
7123 LDCONFIG=$ac_cv_path_LDCONFIG
7124 if test -n "$LDCONFIG"; then
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7126 printf "%s\n" "$LDCONFIG" >&6; }
7127 else
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 printf "%s\n" "no" >&6; }
7133 for ac_prog in msgfmt
7135 # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy $ac_prog; ac_word=$2
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 printf %s "checking for $ac_word... " >&6; }
7139 if test ${ac_cv_prog_MSGFMT+y}
7140 then :
7141 printf %s "(cached) " >&6
7142 else $as_nop
7143 if test -n "$MSGFMT"; then
7144 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7145 else
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in $PATH
7149 IFS=$as_save_IFS
7150 case $as_dir in #(((
7151 '') as_dir=./ ;;
7152 */) ;;
7153 *) as_dir=$as_dir/ ;;
7154 esac
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_MSGFMT="$ac_prog"
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7159 break 2
7161 done
7162 done
7163 IFS=$as_save_IFS
7167 MSGFMT=$ac_cv_prog_MSGFMT
7168 if test -n "$MSGFMT"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7170 printf "%s\n" "$MSGFMT" >&6; }
7171 else
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 printf "%s\n" "no" >&6; }
7177 test -n "$MSGFMT" && break
7178 done
7179 test -n "$MSGFMT" || MSGFMT="false"
7181 if test ${ac_tool_prefix+y}
7182 then :
7183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s "checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7188 then :
7189 printf %s "(cached) " >&6
7190 else $as_nop
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 case $as_dir in #(((
7199 '') as_dir=./ ;;
7200 */) ;;
7201 *) as_dir=$as_dir/ ;;
7202 esac
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 if ${ac_cv_prog_PKG_CONFIG:+false} :
7227 then :
7228 if test "x$cross_compiling" = xyes
7229 then :
7231 else $as_nop
7232 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7233 # Extract the first word of "pkg-config", so it can be a program name with args.
7234 set dummy pkg-config; ac_word=$2
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 printf %s "checking for $ac_word... " >&6; }
7237 if test ${ac_cv_prog_PKG_CONFIG+y}
7238 then :
7239 printf %s "(cached) " >&6
7240 else $as_nop
7241 if test -n "$PKG_CONFIG"; then
7242 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7243 else
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 for as_dir in $PATH
7247 IFS=$as_save_IFS
7248 case $as_dir in #(((
7249 '') as_dir=./ ;;
7250 */) ;;
7251 *) as_dir=$as_dir/ ;;
7252 esac
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7255 ac_cv_prog_PKG_CONFIG="pkg-config"
7256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7257 break 2
7259 done
7260 done
7261 IFS=$as_save_IFS
7265 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7266 if test -n "$PKG_CONFIG"; then
7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7268 printf "%s\n" "$PKG_CONFIG" >&6; }
7269 else
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 printf "%s\n" "no" >&6; }
7276 else $as_nop
7277 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7280 if test "x$enable_maintainer_mode" != "xyes"
7281 then
7282 FONTFORGE=""
7283 RSVG=""
7284 CONVERT=""
7285 ICOTOOL=""
7286 else
7287 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7288 for ac_prog in fontforge
7290 # Extract the first word of "$ac_prog", so it can be a program name with args.
7291 set dummy $ac_prog; ac_word=$2
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7293 printf %s "checking for $ac_word... " >&6; }
7294 if test ${ac_cv_prog_FONTFORGE+y}
7295 then :
7296 printf %s "(cached) " >&6
7297 else $as_nop
7298 if test -n "$FONTFORGE"; then
7299 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7300 else
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 for as_dir in $PATH
7304 IFS=$as_save_IFS
7305 case $as_dir in #(((
7306 '') as_dir=./ ;;
7307 */) ;;
7308 *) as_dir=$as_dir/ ;;
7309 esac
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_FONTFORGE="$ac_prog"
7313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 FONTFORGE=$ac_cv_prog_FONTFORGE
7323 if test -n "$FONTFORGE"; then
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7325 printf "%s\n" "$FONTFORGE" >&6; }
7326 else
7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 printf "%s\n" "no" >&6; }
7332 test -n "$FONTFORGE" && break
7333 done
7334 test -n "$FONTFORGE" || FONTFORGE="false"
7336 for ac_prog in rsvg-convert rsvg
7338 # Extract the first word of "$ac_prog", so it can be a program name with args.
7339 set dummy $ac_prog; ac_word=$2
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 printf %s "checking for $ac_word... " >&6; }
7342 if test ${ac_cv_prog_RSVG+y}
7343 then :
7344 printf %s "(cached) " >&6
7345 else $as_nop
7346 if test -n "$RSVG"; then
7347 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 case $as_dir in #(((
7354 '') as_dir=./ ;;
7355 */) ;;
7356 *) as_dir=$as_dir/ ;;
7357 esac
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7360 ac_cv_prog_RSVG="$ac_prog"
7361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7370 RSVG=$ac_cv_prog_RSVG
7371 if test -n "$RSVG"; then
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7373 printf "%s\n" "$RSVG" >&6; }
7374 else
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 printf "%s\n" "no" >&6; }
7380 test -n "$RSVG" && break
7381 done
7382 test -n "$RSVG" || RSVG="false"
7384 for ac_prog in convert
7386 # Extract the first word of "$ac_prog", so it can be a program name with args.
7387 set dummy $ac_prog; ac_word=$2
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 printf %s "checking for $ac_word... " >&6; }
7390 if test ${ac_cv_prog_CONVERT+y}
7391 then :
7392 printf %s "(cached) " >&6
7393 else $as_nop
7394 if test -n "$CONVERT"; then
7395 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 case $as_dir in #(((
7402 '') as_dir=./ ;;
7403 */) ;;
7404 *) as_dir=$as_dir/ ;;
7405 esac
7406 for ac_exec_ext in '' $ac_executable_extensions; do
7407 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_CONVERT="$ac_prog"
7409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7410 break 2
7412 done
7413 done
7414 IFS=$as_save_IFS
7418 CONVERT=$ac_cv_prog_CONVERT
7419 if test -n "$CONVERT"; then
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7421 printf "%s\n" "$CONVERT" >&6; }
7422 else
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 printf "%s\n" "no" >&6; }
7428 test -n "$CONVERT" && break
7429 done
7430 test -n "$CONVERT" || CONVERT="false"
7432 for ac_prog in icotool
7434 # Extract the first word of "$ac_prog", so it can be a program name with args.
7435 set dummy $ac_prog; ac_word=$2
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 printf %s "checking for $ac_word... " >&6; }
7438 if test ${ac_cv_prog_ICOTOOL+y}
7439 then :
7440 printf %s "(cached) " >&6
7441 else $as_nop
7442 if test -n "$ICOTOOL"; then
7443 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7448 IFS=$as_save_IFS
7449 case $as_dir in #(((
7450 '') as_dir=./ ;;
7451 */) ;;
7452 *) as_dir=$as_dir/ ;;
7453 esac
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_ICOTOOL="$ac_prog"
7457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 ICOTOOL=$ac_cv_prog_ICOTOOL
7467 if test -n "$ICOTOOL"; then
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7469 printf "%s\n" "$ICOTOOL" >&6; }
7470 else
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 printf "%s\n" "no" >&6; }
7476 test -n "$ICOTOOL" && break
7477 done
7478 test -n "$ICOTOOL" || ICOTOOL="false"
7480 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7481 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7483 if test "$CONVERT" = false
7484 then
7485 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7488 printf %s "checking for recent enough imagemagick... " >&6; }
7489 convert_version=`convert --version | head -n1`
7490 if test "x$convert_version" != "x"
7491 then
7492 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7493 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7494 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7495 then
7496 CONVERT=false
7499 if test "$CONVERT" = false
7500 then
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7502 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7503 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7504 else
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7506 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7510 if test "$ICOTOOL" = false
7511 then
7512 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7513 else
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7515 printf %s "checking for recent enough icotool... " >&6; }
7516 icotool_version=`icotool --version | head -n1`
7517 if test "x$icotool_version" != "x"
7518 then
7519 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7520 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7521 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7522 then
7523 ICOTOOL=false
7524 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7527 if test "$ICOTOOL" = false
7528 then
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7530 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7531 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7532 else
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7534 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7538 with_gettext=yes
7539 with_gettextpo=yes
7541 enable_werror=yes
7544 test "x$with_gettext" != xno || MSGFMT=false
7545 if test "$MSGFMT" != "false"
7546 then
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7548 printf %s "checking whether msgfmt supports contexts... " >&6; }
7549 if test ${wine_cv_msgfmt_contexts+y}
7550 then :
7551 printf %s "(cached) " >&6
7552 else $as_nop
7553 cat >conftest.po <<EOF
7554 # comment
7555 msgctxt "ctxt"
7556 msgid "id"
7557 msgstr "str"
7559 if $MSGFMT -o /dev/null conftest.po 2>&5
7560 then
7561 wine_cv_msgfmt_contexts=yes
7562 else
7563 wine_cv_msgfmt_contexts=no
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7567 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7568 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7570 if test "$MSGFMT" = false
7571 then :
7572 case "x$with_gettext" in
7573 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7574 xno) ;;
7575 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7576 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7577 esac
7578 enable_po=${enable_po:-no}
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7583 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7584 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7585 then :
7586 printf %s "(cached) " >&6
7587 else $as_nop
7588 ac_check_lib_save_LIBS=$LIBS
7589 LIBS="-li386 $LIBS"
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7593 /* Override any GCC internal prototype to avoid an error.
7594 Use char because int might match the return type of a GCC
7595 builtin and then its argument prototype would still apply. */
7596 char i386_set_ldt ();
7598 main (void)
7600 return i386_set_ldt ();
7602 return 0;
7604 _ACEOF
7605 if ac_fn_c_try_link "$LINENO"
7606 then :
7607 ac_cv_lib_i386_i386_set_ldt=yes
7608 else $as_nop
7609 ac_cv_lib_i386_i386_set_ldt=no
7611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7612 conftest$ac_exeext conftest.$ac_ext
7613 LIBS=$ac_check_lib_save_LIBS
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7616 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7617 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7618 then :
7619 I386_LIBS="-li386"
7624 OPENGL_LIBS=""
7628 # Check whether --enable-largefile was given.
7629 if test ${enable_largefile+y}
7630 then :
7631 enableval=$enable_largefile;
7634 if test "$enable_largefile" != no; then
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7637 printf %s "checking for special C compiler options needed for large files... " >&6; }
7638 if test ${ac_cv_sys_largefile_CC+y}
7639 then :
7640 printf %s "(cached) " >&6
7641 else $as_nop
7642 ac_cv_sys_largefile_CC=no
7643 if test "$GCC" != yes; then
7644 ac_save_CC=$CC
7645 while :; do
7646 # IRIX 6.2 and later do not support large files by default,
7647 # so use the C compiler's -n32 option if that helps.
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7658 ? 1 : -1];
7660 main (void)
7664 return 0;
7666 _ACEOF
7667 if ac_fn_c_try_compile "$LINENO"
7668 then :
7669 break
7671 rm -f core conftest.err conftest.$ac_objext conftest.beam
7672 CC="$CC -n32"
7673 if ac_fn_c_try_compile "$LINENO"
7674 then :
7675 ac_cv_sys_largefile_CC=' -n32'; break
7677 rm -f core conftest.err conftest.$ac_objext conftest.beam
7678 break
7679 done
7680 CC=$ac_save_CC
7681 rm -f conftest.$ac_ext
7684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7685 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7686 if test "$ac_cv_sys_largefile_CC" != no; then
7687 CC=$CC$ac_cv_sys_largefile_CC
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7691 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7692 if test ${ac_cv_sys_file_offset_bits+y}
7693 then :
7694 printf %s "(cached) " >&6
7695 else $as_nop
7696 while :; do
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #include <sys/types.h>
7700 /* Check that off_t can represent 2**63 - 1 correctly.
7701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7702 since some C++ compilers masquerading as C compilers
7703 incorrectly reject 9223372036854775807. */
7704 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7706 && LARGE_OFF_T % 2147483647 == 1)
7707 ? 1 : -1];
7709 main (void)
7713 return 0;
7715 _ACEOF
7716 if ac_fn_c_try_compile "$LINENO"
7717 then :
7718 ac_cv_sys_file_offset_bits=no; break
7720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #define _FILE_OFFSET_BITS 64
7724 #include <sys/types.h>
7725 /* Check that off_t can represent 2**63 - 1 correctly.
7726 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7727 since some C++ compilers masquerading as C compilers
7728 incorrectly reject 9223372036854775807. */
7729 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7730 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7731 && LARGE_OFF_T % 2147483647 == 1)
7732 ? 1 : -1];
7734 main (void)
7738 return 0;
7740 _ACEOF
7741 if ac_fn_c_try_compile "$LINENO"
7742 then :
7743 ac_cv_sys_file_offset_bits=64; break
7745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7746 ac_cv_sys_file_offset_bits=unknown
7747 break
7748 done
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7751 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7752 case $ac_cv_sys_file_offset_bits in #(
7753 no | unknown) ;;
7755 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7757 esac
7758 rm -rf conftest*
7759 if test $ac_cv_sys_file_offset_bits = unknown; then
7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7761 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7762 if test ${ac_cv_sys_large_files+y}
7763 then :
7764 printf %s "(cached) " >&6
7765 else $as_nop
7766 while :; do
7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #include <sys/types.h>
7770 /* Check that off_t can represent 2**63 - 1 correctly.
7771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7772 since some C++ compilers masquerading as C compilers
7773 incorrectly reject 9223372036854775807. */
7774 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7776 && LARGE_OFF_T % 2147483647 == 1)
7777 ? 1 : -1];
7779 main (void)
7783 return 0;
7785 _ACEOF
7786 if ac_fn_c_try_compile "$LINENO"
7787 then :
7788 ac_cv_sys_large_files=no; break
7790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7793 #define _LARGE_FILES 1
7794 #include <sys/types.h>
7795 /* Check that off_t can represent 2**63 - 1 correctly.
7796 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7797 since some C++ compilers masquerading as C compilers
7798 incorrectly reject 9223372036854775807. */
7799 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7800 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7801 && LARGE_OFF_T % 2147483647 == 1)
7802 ? 1 : -1];
7804 main (void)
7808 return 0;
7810 _ACEOF
7811 if ac_fn_c_try_compile "$LINENO"
7812 then :
7813 ac_cv_sys_large_files=1; break
7815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7816 ac_cv_sys_large_files=unknown
7817 break
7818 done
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7821 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7822 case $ac_cv_sys_large_files in #(
7823 no | unknown) ;;
7825 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7827 esac
7828 rm -rf conftest*
7833 ac_header= ac_cache=
7834 for ac_item in $ac_header_c_list
7836 if test $ac_cache; then
7837 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7838 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7839 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7841 ac_header= ac_cache=
7842 elif test $ac_header; then
7843 ac_cache=$ac_item
7844 else
7845 ac_header=$ac_item
7847 done
7856 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7857 then :
7859 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CL_cl_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_EGL_egl_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_arpa_inet_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_asm_types_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_asm_user_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_elf_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_float_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_gettext_po_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_libproc_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_link_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_filter_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_input_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_major_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_param_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_serial_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_types_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_lwp_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_mach_mach_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_machine_cpu_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_mntent_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_netdb_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_netinet_in_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_port_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_pthread_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_pwd_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sched_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_scsi_sg_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_stdint_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_attr_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_auxv_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_cdio_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_epoll_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_event_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_extattr_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_filio_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_ipc_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_link_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_modem_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_mtio_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_param_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_prctl_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_queue_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_random_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_resource_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_shm_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_signal_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_sockio_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_strtio_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_syscall_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_times_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_uio_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_user_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_utsname_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_vnode_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_xattr_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_syscall_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_utime_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8339 then :
8341 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8345 if test $ac_cv_header_sys_mkdev_h = no; then
8346 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8348 then :
8350 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8356 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8357 if test ${ac_cv_header_stat_broken+y}
8358 then :
8359 printf %s "(cached) " >&6
8360 else $as_nop
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 #include <sys/types.h>
8364 #include <sys/stat.h>
8366 #if defined S_ISBLK && defined S_IFDIR
8367 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8368 #endif
8370 #if defined S_ISBLK && defined S_IFCHR
8371 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8372 #endif
8374 #if defined S_ISLNK && defined S_IFREG
8375 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8376 #endif
8378 #if defined S_ISSOCK && defined S_IFREG
8379 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8380 #endif
8382 _ACEOF
8383 if ac_fn_c_try_compile "$LINENO"
8384 then :
8385 ac_cv_header_stat_broken=no
8386 else $as_nop
8387 ac_cv_header_stat_broken=yes
8389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8392 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8393 if test $ac_cv_header_stat_broken = yes; then
8395 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8404 #endif
8406 if test "x$ac_cv_header_sys_conf_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_mount_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_statfs_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_user_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8444 #endif
8446 if test "x$ac_cv_header_sys_vfs_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8453 saved_sysctl_h_CFLAGS=$CFLAGS
8454 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8455 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8456 #ifdef HAVE_SYS_PARAM_H
8457 # include <sys/param.h>
8458 #endif
8460 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8461 then :
8462 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8466 CFLAGS=$saved_sysctl_h_CFLAGS
8468 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8469 #include <sys/socket.h>
8470 #ifdef HAVE_SYS_SOCKETVAR_H
8471 # include <sys/socketvar.h>
8472 #endif
8473 #ifdef HAVE_NET_ROUTE_H
8474 # include <net/route.h>
8475 #endif
8476 #ifdef HAVE_NETINET_IN_H
8477 # include <netinet/in.h>
8478 #endif
8479 #ifdef HAVE_NETINET_IN_SYSTM_H
8480 # include <netinet/in_systm.h>
8481 #endif
8482 #ifdef HAVE_NET_IF_H
8483 # include <net/if.h>
8484 #endif
8485 #ifdef HAVE_NETINET_IP_H
8486 # include <netinet/ip.h>
8487 #endif
8489 if test "x$ac_cv_header_netinet_ip_h" = xyes
8490 then :
8491 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8495 #include <sys/socket.h>
8496 #ifdef HAVE_SYS_SOCKETVAR_H
8497 # include <sys/socketvar.h>
8498 #endif
8499 #ifdef HAVE_NET_ROUTE_H
8500 # include <net/route.h>
8501 #endif
8502 #ifdef HAVE_NETINET_IN_H
8503 # include <netinet/in.h>
8504 #endif
8505 #ifdef HAVE_NETINET_IN_SYSTM_H
8506 # include <netinet/in_systm.h>
8507 #endif
8508 #ifdef HAVE_NET_IF_H
8509 # include <net/if.h>
8510 #endif
8511 #ifdef HAVE_NETINET_IP_H
8512 # include <netinet/ip.h>
8513 #endif
8515 if test "x$ac_cv_header_net_if_h" = xyes
8516 then :
8517 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8520 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8521 #include <sys/socket.h>
8522 #ifdef HAVE_SYS_SOCKETVAR_H
8523 # include <sys/socketvar.h>
8524 #endif
8525 #ifdef HAVE_NET_ROUTE_H
8526 # include <net/route.h>
8527 #endif
8528 #ifdef HAVE_NETINET_IN_H
8529 # include <netinet/in.h>
8530 #endif
8531 #ifdef HAVE_NETINET_IN_SYSTM_H
8532 # include <netinet/in_systm.h>
8533 #endif
8534 #ifdef HAVE_NET_IF_H
8535 # include <net/if.h>
8536 #endif
8537 #ifdef HAVE_NETINET_IP_H
8538 # include <netinet/ip.h>
8539 #endif
8541 if test "x$ac_cv_header_net_if_arp_h" = xyes
8542 then :
8543 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8546 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8547 #include <sys/socket.h>
8548 #ifdef HAVE_SYS_SOCKETVAR_H
8549 # include <sys/socketvar.h>
8550 #endif
8551 #ifdef HAVE_NET_ROUTE_H
8552 # include <net/route.h>
8553 #endif
8554 #ifdef HAVE_NETINET_IN_H
8555 # include <netinet/in.h>
8556 #endif
8557 #ifdef HAVE_NETINET_IN_SYSTM_H
8558 # include <netinet/in_systm.h>
8559 #endif
8560 #ifdef HAVE_NET_IF_H
8561 # include <net/if.h>
8562 #endif
8563 #ifdef HAVE_NETINET_IP_H
8564 # include <netinet/ip.h>
8565 #endif
8567 if test "x$ac_cv_header_net_if_dl_h" = xyes
8568 then :
8569 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8573 #include <sys/socket.h>
8574 #ifdef HAVE_SYS_SOCKETVAR_H
8575 # include <sys/socketvar.h>
8576 #endif
8577 #ifdef HAVE_NET_ROUTE_H
8578 # include <net/route.h>
8579 #endif
8580 #ifdef HAVE_NETINET_IN_H
8581 # include <netinet/in.h>
8582 #endif
8583 #ifdef HAVE_NETINET_IN_SYSTM_H
8584 # include <netinet/in_systm.h>
8585 #endif
8586 #ifdef HAVE_NET_IF_H
8587 # include <net/if.h>
8588 #endif
8589 #ifdef HAVE_NETINET_IP_H
8590 # include <netinet/ip.h>
8591 #endif
8593 if test "x$ac_cv_header_net_if_types_h" = xyes
8594 then :
8595 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8598 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8599 #include <sys/socket.h>
8600 #ifdef HAVE_SYS_SOCKETVAR_H
8601 # include <sys/socketvar.h>
8602 #endif
8603 #ifdef HAVE_NET_ROUTE_H
8604 # include <net/route.h>
8605 #endif
8606 #ifdef HAVE_NETINET_IN_H
8607 # include <netinet/in.h>
8608 #endif
8609 #ifdef HAVE_NETINET_IN_SYSTM_H
8610 # include <netinet/in_systm.h>
8611 #endif
8612 #ifdef HAVE_NET_IF_H
8613 # include <net/if.h>
8614 #endif
8615 #ifdef HAVE_NETINET_IP_H
8616 # include <netinet/ip.h>
8617 #endif
8619 if test "x$ac_cv_header_net_route_h" = xyes
8620 then :
8621 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8624 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8625 #include <sys/socket.h>
8626 #ifdef HAVE_SYS_SOCKETVAR_H
8627 # include <sys/socketvar.h>
8628 #endif
8629 #ifdef HAVE_NET_ROUTE_H
8630 # include <net/route.h>
8631 #endif
8632 #ifdef HAVE_NETINET_IN_H
8633 # include <netinet/in.h>
8634 #endif
8635 #ifdef HAVE_NETINET_IN_SYSTM_H
8636 # include <netinet/in_systm.h>
8637 #endif
8638 #ifdef HAVE_NET_IF_H
8639 # include <net/if.h>
8640 #endif
8641 #ifdef HAVE_NETINET_IP_H
8642 # include <netinet/ip.h>
8643 #endif
8645 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8646 then :
8647 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8651 #include <sys/socket.h>
8652 #ifdef HAVE_SYS_SOCKETVAR_H
8653 # include <sys/socketvar.h>
8654 #endif
8655 #ifdef HAVE_NET_ROUTE_H
8656 # include <net/route.h>
8657 #endif
8658 #ifdef HAVE_NETINET_IN_H
8659 # include <netinet/in.h>
8660 #endif
8661 #ifdef HAVE_NETINET_IN_SYSTM_H
8662 # include <netinet/in_systm.h>
8663 #endif
8664 #ifdef HAVE_NET_IF_H
8665 # include <net/if.h>
8666 #endif
8667 #ifdef HAVE_NETINET_IP_H
8668 # include <netinet/ip.h>
8669 #endif
8671 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8672 then :
8673 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8676 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8677 #include <sys/socket.h>
8678 #ifdef HAVE_SYS_SOCKETVAR_H
8679 # include <sys/socketvar.h>
8680 #endif
8681 #ifdef HAVE_NET_ROUTE_H
8682 # include <net/route.h>
8683 #endif
8684 #ifdef HAVE_NETINET_IN_H
8685 # include <netinet/in.h>
8686 #endif
8687 #ifdef HAVE_NETINET_IN_SYSTM_H
8688 # include <netinet/in_systm.h>
8689 #endif
8690 #ifdef HAVE_NET_IF_H
8691 # include <net/if.h>
8692 #endif
8693 #ifdef HAVE_NETINET_IP_H
8694 # include <netinet/ip.h>
8695 #endif
8697 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8698 then :
8699 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8702 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8703 #include <sys/socket.h>
8704 #ifdef HAVE_SYS_SOCKETVAR_H
8705 # include <sys/socketvar.h>
8706 #endif
8707 #ifdef HAVE_NET_ROUTE_H
8708 # include <net/route.h>
8709 #endif
8710 #ifdef HAVE_NETINET_IN_H
8711 # include <netinet/in.h>
8712 #endif
8713 #ifdef HAVE_NETINET_IN_SYSTM_H
8714 # include <netinet/in_systm.h>
8715 #endif
8716 #ifdef HAVE_NET_IF_H
8717 # include <net/if.h>
8718 #endif
8719 #ifdef HAVE_NETINET_IP_H
8720 # include <netinet/ip.h>
8721 #endif
8723 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8724 then :
8725 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8728 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8729 #include <sys/socket.h>
8730 #ifdef HAVE_SYS_SOCKETVAR_H
8731 # include <sys/socketvar.h>
8732 #endif
8733 #ifdef HAVE_NET_ROUTE_H
8734 # include <net/route.h>
8735 #endif
8736 #ifdef HAVE_NETINET_IN_H
8737 # include <netinet/in.h>
8738 #endif
8739 #ifdef HAVE_NETINET_IN_SYSTM_H
8740 # include <netinet/in_systm.h>
8741 #endif
8742 #ifdef HAVE_NET_IF_H
8743 # include <net/if.h>
8744 #endif
8745 #ifdef HAVE_NETINET_IP_H
8746 # include <netinet/ip.h>
8747 #endif
8749 if test "x$ac_cv_header_netinet_udp_h" = xyes
8750 then :
8751 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8754 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8755 #include <sys/socket.h>
8756 #ifdef HAVE_SYS_SOCKETVAR_H
8757 # include <sys/socketvar.h>
8758 #endif
8759 #ifdef HAVE_NET_ROUTE_H
8760 # include <net/route.h>
8761 #endif
8762 #ifdef HAVE_NETINET_IN_H
8763 # include <netinet/in.h>
8764 #endif
8765 #ifdef HAVE_NETINET_IN_SYSTM_H
8766 # include <netinet/in_systm.h>
8767 #endif
8768 #ifdef HAVE_NET_IF_H
8769 # include <net/if.h>
8770 #endif
8771 #ifdef HAVE_NETINET_IP_H
8772 # include <netinet/ip.h>
8773 #endif
8775 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8776 then :
8777 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8780 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8781 #include <sys/socket.h>
8782 #ifdef HAVE_SYS_SOCKETVAR_H
8783 # include <sys/socketvar.h>
8784 #endif
8785 #ifdef HAVE_NET_ROUTE_H
8786 # include <net/route.h>
8787 #endif
8788 #ifdef HAVE_NETINET_IN_H
8789 # include <netinet/in.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IN_SYSTM_H
8792 # include <netinet/in_systm.h>
8793 #endif
8794 #ifdef HAVE_NET_IF_H
8795 # include <net/if.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IP_H
8798 # include <netinet/ip.h>
8799 #endif
8801 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8802 then :
8803 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8806 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8807 #include <sys/socket.h>
8808 #ifdef HAVE_SYS_SOCKETVAR_H
8809 # include <sys/socketvar.h>
8810 #endif
8811 #ifdef HAVE_NET_ROUTE_H
8812 # include <net/route.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IN_H
8815 # include <netinet/in.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IN_SYSTM_H
8818 # include <netinet/in_systm.h>
8819 #endif
8820 #ifdef HAVE_NET_IF_H
8821 # include <net/if.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IP_H
8824 # include <netinet/ip.h>
8825 #endif
8827 if test "x$ac_cv_header_sys_un_h" = xyes
8828 then :
8829 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8834 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8835 #include <sys/socket.h>
8836 #ifdef HAVE_SYS_SOCKETVAR_H
8837 # include <sys/socketvar.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IN_H
8840 # include <netinet/in.h>
8841 #endif
8842 #ifdef HAVE_NETINET_IN_SYSTM_H
8843 # include <netinet/in_systm.h>
8844 #endif
8845 #ifdef HAVE_NETINET_IP_H
8846 # include <netinet/ip.h>
8847 #endif
8848 #ifdef HAVE_NETINET_IP_VAR_H
8849 # include <netinet/ip_var.h>
8850 #endif
8851 #ifdef HAVE_NETINET_IP_ICMP_H
8852 # include <netinet/ip_icmp.h>
8853 #endif
8854 #ifdef HAVE_NETINET_UDP_H
8855 # include <netinet/udp.h>
8856 #endif
8857 #ifdef HAVE_NETINET_TCP_H
8858 # include <netinet/tcp.h>
8859 #endif
8861 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8862 then :
8863 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8866 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8867 #include <sys/socket.h>
8868 #ifdef HAVE_SYS_SOCKETVAR_H
8869 # include <sys/socketvar.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IN_H
8872 # include <netinet/in.h>
8873 #endif
8874 #ifdef HAVE_NETINET_IN_SYSTM_H
8875 # include <netinet/in_systm.h>
8876 #endif
8877 #ifdef HAVE_NETINET_IP_H
8878 # include <netinet/ip.h>
8879 #endif
8880 #ifdef HAVE_NETINET_IP_VAR_H
8881 # include <netinet/ip_var.h>
8882 #endif
8883 #ifdef HAVE_NETINET_IP_ICMP_H
8884 # include <netinet/ip_icmp.h>
8885 #endif
8886 #ifdef HAVE_NETINET_UDP_H
8887 # include <netinet/udp.h>
8888 #endif
8889 #ifdef HAVE_NETINET_TCP_H
8890 # include <netinet/tcp.h>
8891 #endif
8893 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8894 then :
8895 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8898 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8899 #include <sys/socket.h>
8900 #ifdef HAVE_SYS_SOCKETVAR_H
8901 # include <sys/socketvar.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IN_H
8904 # include <netinet/in.h>
8905 #endif
8906 #ifdef HAVE_NETINET_IN_SYSTM_H
8907 # include <netinet/in_systm.h>
8908 #endif
8909 #ifdef HAVE_NETINET_IP_H
8910 # include <netinet/ip.h>
8911 #endif
8912 #ifdef HAVE_NETINET_IP_VAR_H
8913 # include <netinet/ip_var.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IP_ICMP_H
8916 # include <netinet/ip_icmp.h>
8917 #endif
8918 #ifdef HAVE_NETINET_UDP_H
8919 # include <netinet/udp.h>
8920 #endif
8921 #ifdef HAVE_NETINET_TCP_H
8922 # include <netinet/tcp.h>
8923 #endif
8925 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8926 then :
8927 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8931 #include <sys/socket.h>
8932 #ifdef HAVE_SYS_SOCKETVAR_H
8933 # include <sys/socketvar.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IN_H
8936 # include <netinet/in.h>
8937 #endif
8938 #ifdef HAVE_NETINET_IN_SYSTM_H
8939 # include <netinet/in_systm.h>
8940 #endif
8941 #ifdef HAVE_NETINET_IP_H
8942 # include <netinet/ip.h>
8943 #endif
8944 #ifdef HAVE_NETINET_IP_VAR_H
8945 # include <netinet/ip_var.h>
8946 #endif
8947 #ifdef HAVE_NETINET_IP_ICMP_H
8948 # include <netinet/ip_icmp.h>
8949 #endif
8950 #ifdef HAVE_NETINET_UDP_H
8951 # include <netinet/udp.h>
8952 #endif
8953 #ifdef HAVE_NETINET_TCP_H
8954 # include <netinet/tcp.h>
8955 #endif
8957 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8958 then :
8959 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8964 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8965 #include <sys/socket.h>
8966 #ifdef HAVE_ASM_TYPES_H
8967 # include <asm/types.h>
8968 #endif
8969 #ifdef HAVE_LINUX_TYPES_H
8970 # include <linux/types.h>
8971 #endif
8973 if test "x$ac_cv_header_linux_ipx_h" = xyes
8974 then :
8975 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8978 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8979 #include <sys/socket.h>
8980 #ifdef HAVE_ASM_TYPES_H
8981 # include <asm/types.h>
8982 #endif
8983 #ifdef HAVE_LINUX_TYPES_H
8984 # include <linux/types.h>
8985 #endif
8987 if test "x$ac_cv_header_linux_irda_h" = xyes
8988 then :
8989 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8993 #include <sys/socket.h>
8994 #ifdef HAVE_ASM_TYPES_H
8995 # include <asm/types.h>
8996 #endif
8997 #ifdef HAVE_LINUX_TYPES_H
8998 # include <linux/types.h>
8999 #endif
9001 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9002 then :
9003 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9009 #include <sys/socket.h>
9010 #ifdef HAVE_NETINET_IN_H
9011 # include <netinet/in.h>
9012 #endif
9013 #ifdef HAVE_ARPA_NAMESER_H
9014 # include <arpa/nameser.h>
9015 #endif
9017 if test "x$ac_cv_header_resolv_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9026 if test "x$ac_cv_header_ifaddrs_h" = xyes
9027 then :
9028 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9033 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9035 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9036 then :
9037 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9043 #ifdef HAVE_SYS_UCONTEXT_H
9044 #include <sys/ucontext.h>
9045 #endif
9047 if test "x$ac_cv_header_sys_thr_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9055 #include <pthread.h>
9056 #endif
9058 if test "x$ac_cv_header_pthread_np_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9066 #include <sys/types.h>
9067 #ifdef HAVE_ASM_TYPES_H
9068 #include <asm/types.h>
9069 #endif
9071 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9079 #include <sys/param.h>
9080 #endif
9081 #include <sys/socket.h>
9082 #ifdef HAVE_SYS_QUEUE_H
9083 #include <sys/queue.h>
9084 #endif
9086 if test "x$ac_cv_header_libprocstat_h" = xyes
9087 then :
9088 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9093 if test "x$ac_cv_header_sys_xattr_h" = xyes
9094 then
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9096 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9097 if test ${wine_cv_xattr_extra_args+y}
9098 then :
9099 printf %s "(cached) " >&6
9100 else $as_nop
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 #include <sys/xattr.h>
9105 main (void)
9107 getxattr("", "", "", 0, 0, 0);
9109 return 0;
9111 _ACEOF
9112 if ac_fn_c_try_compile "$LINENO"
9113 then :
9114 wine_cv_xattr_extra_args=yes
9115 else $as_nop
9116 wine_cv_xattr_extra_args=no
9118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9121 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9122 test $wine_cv_xattr_extra_args != yes ||
9123 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9128 DLLFLAGS=""
9130 LDDLLFLAGS=""
9132 LDEXECFLAGS=""
9134 EXTRACFLAGS=""
9136 UNIXDLLFLAGS="-fPIC"
9138 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9140 TOP_INSTALL_LIB=""
9142 TOP_INSTALL_DEV=""
9144 WINELOADER_LDFLAGS=""
9146 WINEPRELOADER_LDFLAGS=""
9148 LIBEXT="so"
9149 # Extract the first word of "ldd", so it can be a program name with args.
9150 set dummy ldd; ac_word=$2
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9152 printf %s "checking for $ac_word... " >&6; }
9153 if test ${ac_cv_path_LDD+y}
9154 then :
9155 printf %s "(cached) " >&6
9156 else $as_nop
9157 case $LDD in
9158 [\\/]* | ?:[\\/]*)
9159 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 as_dummy="/sbin:/usr/sbin:$PATH"
9164 for as_dir in $as_dummy
9166 IFS=$as_save_IFS
9167 case $as_dir in #(((
9168 '') as_dir=./ ;;
9169 */) ;;
9170 *) as_dir=$as_dir/ ;;
9171 esac
9172 for ac_exec_ext in '' $ac_executable_extensions; do
9173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9174 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9176 break 2
9178 done
9179 done
9180 IFS=$as_save_IFS
9182 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9184 esac
9186 LDD=$ac_cv_path_LDD
9187 if test -n "$LDD"; then
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9189 printf "%s\n" "$LDD" >&6; }
9190 else
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9192 printf "%s\n" "no" >&6; }
9196 if test -n "$ac_tool_prefix"; then
9197 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9198 set dummy ${ac_tool_prefix}otool; ac_word=$2
9199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200 printf %s "checking for $ac_word... " >&6; }
9201 if test ${ac_cv_prog_OTOOL+y}
9202 then :
9203 printf %s "(cached) " >&6
9204 else $as_nop
9205 if test -n "$OTOOL"; then
9206 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9207 else
9208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 for as_dir in $PATH
9211 IFS=$as_save_IFS
9212 case $as_dir in #(((
9213 '') as_dir=./ ;;
9214 */) ;;
9215 *) as_dir=$as_dir/ ;;
9216 esac
9217 for ac_exec_ext in '' $ac_executable_extensions; do
9218 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9219 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9221 break 2
9223 done
9224 done
9225 IFS=$as_save_IFS
9229 OTOOL=$ac_cv_prog_OTOOL
9230 if test -n "$OTOOL"; then
9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9232 printf "%s\n" "$OTOOL" >&6; }
9233 else
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 printf "%s\n" "no" >&6; }
9240 if test -z "$ac_cv_prog_OTOOL"; then
9241 ac_ct_OTOOL=$OTOOL
9242 # Extract the first word of "otool", so it can be a program name with args.
9243 set dummy otool; ac_word=$2
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9245 printf %s "checking for $ac_word... " >&6; }
9246 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9247 then :
9248 printf %s "(cached) " >&6
9249 else $as_nop
9250 if test -n "$ac_ct_OTOOL"; then
9251 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9252 else
9253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 for as_dir in $PATH
9256 IFS=$as_save_IFS
9257 case $as_dir in #(((
9258 '') as_dir=./ ;;
9259 */) ;;
9260 *) as_dir=$as_dir/ ;;
9261 esac
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9264 ac_cv_prog_ac_ct_OTOOL="otool"
9265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9266 break 2
9268 done
9269 done
9270 IFS=$as_save_IFS
9274 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9275 if test -n "$ac_ct_OTOOL"; then
9276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9277 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9278 else
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 printf "%s\n" "no" >&6; }
9283 if test "x$ac_ct_OTOOL" = x; then
9284 OTOOL="otool"
9285 else
9286 case $cross_compiling:$ac_tool_warned in
9287 yes:)
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9290 ac_tool_warned=yes ;;
9291 esac
9292 OTOOL=$ac_ct_OTOOL
9294 else
9295 OTOOL="$ac_cv_prog_OTOOL"
9298 if test -n "$ac_tool_prefix"; then
9299 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9300 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302 printf %s "checking for $ac_word... " >&6; }
9303 if test ${ac_cv_prog_READELF+y}
9304 then :
9305 printf %s "(cached) " >&6
9306 else $as_nop
9307 if test -n "$READELF"; then
9308 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9309 else
9310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9311 for as_dir in $PATH
9313 IFS=$as_save_IFS
9314 case $as_dir in #(((
9315 '') as_dir=./ ;;
9316 */) ;;
9317 *) as_dir=$as_dir/ ;;
9318 esac
9319 for ac_exec_ext in '' $ac_executable_extensions; do
9320 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9321 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9323 break 2
9325 done
9326 done
9327 IFS=$as_save_IFS
9331 READELF=$ac_cv_prog_READELF
9332 if test -n "$READELF"; then
9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9334 printf "%s\n" "$READELF" >&6; }
9335 else
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 printf "%s\n" "no" >&6; }
9342 if test -z "$ac_cv_prog_READELF"; then
9343 ac_ct_READELF=$READELF
9344 # Extract the first word of "readelf", so it can be a program name with args.
9345 set dummy readelf; ac_word=$2
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347 printf %s "checking for $ac_word... " >&6; }
9348 if test ${ac_cv_prog_ac_ct_READELF+y}
9349 then :
9350 printf %s "(cached) " >&6
9351 else $as_nop
9352 if test -n "$ac_ct_READELF"; then
9353 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9354 else
9355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9356 for as_dir in $PATH
9358 IFS=$as_save_IFS
9359 case $as_dir in #(((
9360 '') as_dir=./ ;;
9361 */) ;;
9362 *) as_dir=$as_dir/ ;;
9363 esac
9364 for ac_exec_ext in '' $ac_executable_extensions; do
9365 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9366 ac_cv_prog_ac_ct_READELF="readelf"
9367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9368 break 2
9370 done
9371 done
9372 IFS=$as_save_IFS
9376 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9377 if test -n "$ac_ct_READELF"; then
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9379 printf "%s\n" "$ac_ct_READELF" >&6; }
9380 else
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 printf "%s\n" "no" >&6; }
9385 if test "x$ac_ct_READELF" = x; then
9386 READELF="true"
9387 else
9388 case $cross_compiling:$ac_tool_warned in
9389 yes:)
9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9391 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9392 ac_tool_warned=yes ;;
9393 esac
9394 READELF=$ac_ct_READELF
9396 else
9397 READELF="$ac_cv_prog_READELF"
9400 wine_rules="all:"
9401 SUBDIRS=""
9403 DISABLED_SUBDIRS=""
9405 CONFIGURE_TARGETS=""
9408 wine_fn_config_makefile ()
9410 as_fn_append SUBDIRS " \\$as_nl $1"
9411 eval enable=\$$2
9412 case "$enable" in
9413 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9414 *aarch64*|*arm*|*i386*|*x86_64*)
9415 if test -n "$PE_ARCHS"
9416 then
9417 for i in $PE_ARCHS
9419 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9420 done
9421 else
9422 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9423 fi;;
9424 esac
9427 wine_fn_config_symlink ()
9429 ac_links=$@
9430 as_fn_append wine_rules "
9431 $ac_links:
9432 @./config.status \$@"
9433 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9436 case $host_os in
9437 cygwin*|mingw32*)
9438 LIBEXT="dll"
9439 EXTRACFLAGS="-D__WINE_PE_BUILD"
9440 case $host_cpu in
9441 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9442 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9443 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9444 then :
9445 printf %s "(cached) " >&6
9446 else $as_nop
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"
9454 then :
9455 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9456 else $as_nop
9457 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9464 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9465 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9466 then :
9467 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9468 fi ;;
9469 esac
9470 enable_loader=${enable_loader:-no}
9471 enable_server=${enable_server:-no}
9472 with_x=${with_x:-no}
9473 with_pthread=${with_pthread:-no}
9476 darwin*|macosx*)
9477 LIBEXT="dylib"
9478 DLLFLAGS="$DLLFLAGS -fPIC"
9479 LDDLLFLAGS="-fPIC"
9480 enable_winemac_drv=${enable_winemac_drv:-yes}
9481 CARBON_LIBS="-framework Carbon"
9483 COREFOUNDATION_LIBS="-framework CoreFoundation"
9485 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9487 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9489 METAL_LIBS="-framework Metal"
9491 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9493 CORESERVICES_LIBS="-framework CoreServices"
9495 APPKIT_LIBS="-framework AppKit"
9497 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9499 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9502 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9504 wine_can_build_preloader=yes
9505 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9507 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9508 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9509 then :
9510 printf %s "(cached) " >&6
9511 else $as_nop
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"
9519 then :
9520 ac_cv_cflags__Wl__no_new_main__e__main=yes
9521 else $as_nop
9522 ac_cv_cflags__Wl__no_new_main__e__main=no
9524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9529 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9530 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9531 then :
9532 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9534 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9535 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9536 then :
9537 printf %s "(cached) " >&6
9538 else $as_nop
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"
9546 then :
9547 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9548 else $as_nop
9549 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9556 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9557 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9558 then :
9559 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9560 else $as_nop
9561 wine_can_build_preloader=no
9563 else $as_nop
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9565 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9566 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9567 then :
9568 printf %s "(cached) " >&6
9569 else $as_nop
9570 ac_wine_try_cflags_saved=$CFLAGS
9571 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 int main(int argc, char **argv) { return 0; }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"
9577 then :
9578 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9579 else $as_nop
9580 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9583 conftest$ac_exeext conftest.$ac_ext
9584 CFLAGS=$ac_wine_try_cflags_saved
9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9587 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9588 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9589 then :
9590 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9591 else $as_nop
9592 wine_can_build_preloader=no
9595 if test "$wine_can_build_preloader" = "yes"
9596 then
9597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9598 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9599 if test ${ac_cv_cflags__Wl__no_pie+y}
9600 then :
9601 printf %s "(cached) " >&6
9602 else $as_nop
9603 ac_wine_try_cflags_saved=$CFLAGS
9604 CFLAGS="$CFLAGS -Wl,-no_pie"
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9607 int main(int argc, char **argv) { return 0; }
9608 _ACEOF
9609 if ac_fn_c_try_link "$LINENO"
9610 then :
9611 ac_cv_cflags__Wl__no_pie=yes
9612 else $as_nop
9613 ac_cv_cflags__Wl__no_pie=no
9615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9616 conftest$ac_exeext conftest.$ac_ext
9617 CFLAGS=$ac_wine_try_cflags_saved
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9620 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9621 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9622 then :
9623 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9625 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9626 else
9627 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9630 if test "x$with_coreaudio" != "xno";
9631 then
9632 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9634 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9636 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9637 then
9638 OPENCL_LIBS="-framework OpenCL"
9640 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9644 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9645 ac_ext=m
9646 ac_cpp='$OBJCPP $CPPFLAGS'
9647 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9648 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9649 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9651 ac_ext=m
9652 ac_cpp='$OBJCPP $CPPFLAGS'
9653 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9656 if test -n "$ac_tool_prefix"; then
9657 for ac_prog in gcc objcc objc cc CC clang
9659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 printf %s "checking for $ac_word... " >&6; }
9663 if test ${ac_cv_prog_OBJC+y}
9664 then :
9665 printf %s "(cached) " >&6
9666 else $as_nop
9667 if test -n "$OBJC"; then
9668 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9669 else
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9671 for as_dir in $PATH
9673 IFS=$as_save_IFS
9674 case $as_dir in #(((
9675 '') as_dir=./ ;;
9676 */) ;;
9677 *) as_dir=$as_dir/ ;;
9678 esac
9679 for ac_exec_ext in '' $ac_executable_extensions; do
9680 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9681 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9683 break 2
9685 done
9686 done
9687 IFS=$as_save_IFS
9691 OBJC=$ac_cv_prog_OBJC
9692 if test -n "$OBJC"; then
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9694 printf "%s\n" "$OBJC" >&6; }
9695 else
9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9697 printf "%s\n" "no" >&6; }
9701 test -n "$OBJC" && break
9702 done
9704 if test -z "$OBJC"; then
9705 ac_ct_OBJC=$OBJC
9706 for ac_prog in gcc objcc objc cc CC clang
9708 # Extract the first word of "$ac_prog", so it can be a program name with args.
9709 set dummy $ac_prog; ac_word=$2
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9711 printf %s "checking for $ac_word... " >&6; }
9712 if test ${ac_cv_prog_ac_ct_OBJC+y}
9713 then :
9714 printf %s "(cached) " >&6
9715 else $as_nop
9716 if test -n "$ac_ct_OBJC"; then
9717 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9718 else
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9720 for as_dir in $PATH
9722 IFS=$as_save_IFS
9723 case $as_dir in #(((
9724 '') as_dir=./ ;;
9725 */) ;;
9726 *) as_dir=$as_dir/ ;;
9727 esac
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9732 break 2
9734 done
9735 done
9736 IFS=$as_save_IFS
9740 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9741 if test -n "$ac_ct_OBJC"; then
9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9743 printf "%s\n" "$ac_ct_OBJC" >&6; }
9744 else
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9746 printf "%s\n" "no" >&6; }
9750 test -n "$ac_ct_OBJC" && break
9751 done
9753 if test "x$ac_ct_OBJC" = x; then
9754 OBJC="gcc"
9755 else
9756 case $cross_compiling:$ac_tool_warned in
9757 yes:)
9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9759 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9760 ac_tool_warned=yes ;;
9761 esac
9762 OBJC=$ac_ct_OBJC
9766 # Provide some information about the compiler.
9767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9768 set X $ac_compile
9769 ac_compiler=$2
9770 for ac_option in --version -v -V -qversion; do
9771 { { ac_try="$ac_compiler $ac_option >&5"
9772 case "(($ac_try" in
9773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9774 *) ac_try_echo=$ac_try;;
9775 esac
9776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9777 printf "%s\n" "$ac_try_echo"; } >&5
9778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9779 ac_status=$?
9780 if test -s conftest.err; then
9781 sed '10a\
9782 ... rest of stderr output deleted ...
9783 10q' conftest.err >conftest.er1
9784 cat conftest.er1 >&5
9786 rm -f conftest.er1 conftest.err
9787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9788 test $ac_status = 0; }
9789 done
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9792 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9793 if test ${ac_cv_objc_compiler_gnu+y}
9794 then :
9795 printf %s "(cached) " >&6
9796 else $as_nop
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9801 main (void)
9803 #ifndef __GNUC__
9804 choke me
9805 #endif
9808 return 0;
9810 _ACEOF
9811 if ac_fn_objc_try_compile "$LINENO"
9812 then :
9813 ac_compiler_gnu=yes
9814 else $as_nop
9815 ac_compiler_gnu=no
9817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9818 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9822 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9823 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9825 if test $ac_compiler_gnu = yes; then
9826 GOBJC=yes
9827 else
9828 GOBJC=
9830 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9831 ac_save_OBJCFLAGS=$OBJCFLAGS
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9833 printf %s "checking whether $OBJC accepts -g... " >&6; }
9834 if test ${ac_cv_prog_objc_g+y}
9835 then :
9836 printf %s "(cached) " >&6
9837 else $as_nop
9838 ac_save_objc_werror_flag=$ac_objc_werror_flag
9839 ac_objc_werror_flag=yes
9840 ac_cv_prog_objc_g=no
9841 OBJCFLAGS="-g"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9846 main (void)
9850 return 0;
9852 _ACEOF
9853 if ac_fn_objc_try_compile "$LINENO"
9854 then :
9855 ac_cv_prog_objc_g=yes
9856 else $as_nop
9857 OBJCFLAGS=""
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9862 main (void)
9866 return 0;
9868 _ACEOF
9869 if ac_fn_objc_try_compile "$LINENO"
9870 then :
9872 else $as_nop
9873 ac_objc_werror_flag=$ac_save_objc_werror_flag
9874 OBJCFLAGS="-g"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9879 main (void)
9883 return 0;
9885 _ACEOF
9886 if ac_fn_objc_try_compile "$LINENO"
9887 then :
9888 ac_cv_prog_objc_g=yes
9890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9895 ac_objc_werror_flag=$ac_save_objc_werror_flag
9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9898 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9899 if test $ac_test_OBJCFLAGS; then
9900 OBJCFLAGS=$ac_save_OBJCFLAGS
9901 elif test $ac_cv_prog_objc_g = yes; then
9902 if test "$GOBJC" = yes; then
9903 OBJCFLAGS="-g -O2"
9904 else
9905 OBJCFLAGS="-g"
9907 else
9908 if test "$GOBJC" = yes; then
9909 OBJCFLAGS="-O2"
9910 else
9911 OBJCFLAGS=
9914 ac_ext=m
9915 ac_cpp='$OBJCPP $CPPFLAGS'
9916 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9917 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9918 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 #include <Metal/Metal.h>
9925 main (void)
9927 id<MTLDevice> device; device.registryID;
9929 return 0;
9931 _ACEOF
9932 if ac_fn_objc_try_compile "$LINENO"
9933 then :
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9935 printf "%s\n" "yes" >&6; }
9937 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9939 else $as_nop
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9941 printf "%s\n" "no" >&6; }
9943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9944 ac_ext=c
9945 ac_cpp='$CPP $CPPFLAGS'
9946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9951 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9952 WINELOADER_DEPENDS="wine_info.plist"
9956 linux-android*)
9958 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9960 DLLFLAGS="$DLLFLAGS -fPIC"
9961 LDDLLFLAGS="-fPIC"
9962 LDEXECFLAGS="-Wl,-pie"
9963 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9965 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9966 if test ${ac_cv_cflags__Wl__z_defs+y}
9967 then :
9968 printf %s "(cached) " >&6
9969 else $as_nop
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 CFLAGS="$CFLAGS -Wl,-z,defs"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int main(int argc, char **argv) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"
9977 then :
9978 ac_cv_cflags__Wl__z_defs=yes
9979 else $as_nop
9980 ac_cv_cflags__Wl__z_defs=no
9982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9987 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9988 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9989 then :
9990 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9993 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9994 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9995 then :
9996 printf %s "(cached) " >&6
9997 else $as_nop
9998 ac_wine_try_cflags_saved=$CFLAGS
9999 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int main(int argc, char **argv) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"
10005 then :
10006 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10007 else $as_nop
10008 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10015 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10016 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10017 then :
10018 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10020 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10023 printf %s "checking for -lEGL... " >&6; }
10024 if test ${ac_cv_lib_soname_EGL+y}
10025 then :
10026 printf %s "(cached) " >&6
10027 else $as_nop
10028 ac_check_soname_save_LIBS=$LIBS
10029 LIBS="-lEGL $LIBS"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10036 char eglGetProcAddress ();
10038 main (void)
10040 return eglGetProcAddress ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"
10046 then :
10047 case "$LIBEXT" in
10048 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10049 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'` ;;
10050 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10051 if ${ac_cv_lib_soname_EGL:+false} :
10052 then :
10053 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10054 fi ;;
10055 esac
10056 else $as_nop
10057 ac_cv_lib_soname_EGL=
10059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_soname_save_LIBS
10063 if ${ac_cv_lib_soname_EGL:+false} :
10064 then :
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10066 printf "%s\n" "not found" >&6; }
10068 else $as_nop
10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10070 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10072 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10077 printf %s "checking for -lGLESv2... " >&6; }
10078 if test ${ac_cv_lib_soname_GLESv2+y}
10079 then :
10080 printf %s "(cached) " >&6
10081 else $as_nop
10082 ac_check_soname_save_LIBS=$LIBS
10083 LIBS="-lGLESv2 $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10090 char glFlush ();
10092 main (void)
10094 return glFlush ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"
10100 then :
10101 case "$LIBEXT" in
10102 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10103 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'` ;;
10104 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10105 if ${ac_cv_lib_soname_GLESv2:+false} :
10106 then :
10107 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10108 fi ;;
10109 esac
10110 else $as_nop
10111 ac_cv_lib_soname_GLESv2=
10113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_GLESv2:+false} :
10118 then :
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 printf "%s\n" "not found" >&6; }
10122 else $as_nop
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10124 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10126 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10131 if test "x$exec_prefix" = xNONE
10132 then
10133 case $host_cpu in
10134 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10135 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10136 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10137 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10138 esac
10144 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10146 test "$ac_cv_sys_file_offset_bits" = 64 &&
10147 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10149 case $host_cpu in
10150 *i[3456789]86*)
10151 DLLFLAGS="$DLLFLAGS -fno-PIC"
10152 LDDLLFLAGS="-fno-PIC"
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10154 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10155 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10156 then :
10157 printf %s "(cached) " >&6
10158 else $as_nop
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10163 int main(int argc, char **argv) { return 0; }
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"
10166 then :
10167 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10168 else $as_nop
10169 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10176 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10177 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10178 then :
10179 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10183 DLLFLAGS="$DLLFLAGS -fPIC"
10184 LDDLLFLAGS="-fPIC" ;;
10185 esac
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10188 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10189 if test ${ac_cv_cflags__Wl__z_defs+y}
10190 then :
10191 printf %s "(cached) " >&6
10192 else $as_nop
10193 ac_wine_try_cflags_saved=$CFLAGS
10194 CFLAGS="$CFLAGS -Wl,-z,defs"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10197 int main(int argc, char **argv) { return 0; }
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"
10200 then :
10201 ac_cv_cflags__Wl__z_defs=yes
10202 else $as_nop
10203 ac_cv_cflags__Wl__z_defs=no
10205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10206 conftest$ac_exeext conftest.$ac_ext
10207 CFLAGS=$ac_wine_try_cflags_saved
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10210 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10211 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10212 then :
10213 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10216 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10217 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10218 then :
10219 printf %s "(cached) " >&6
10220 else $as_nop
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 int main(int argc, char **argv) { return 0; }
10226 _ACEOF
10227 if ac_fn_c_try_link "$LINENO"
10228 then :
10229 ac_cv_cflags__Wl___export_dynamic=yes
10230 else $as_nop
10231 ac_cv_cflags__Wl___export_dynamic=no
10233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10238 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10239 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10240 then :
10241 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10243 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10245 case $host_cpu in
10246 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10248 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10249 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10250 then :
10251 printf %s "(cached) " >&6
10252 else $as_nop
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10262 else $as_nop
10263 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10271 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10272 then :
10273 case $host_os in
10274 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10275 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10276 esac
10277 else $as_nop
10278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10279 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10280 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10281 then :
10282 printf %s "(cached) " >&6
10283 else $as_nop
10284 ac_wine_try_cflags_saved=$CFLAGS
10285 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int main(int argc, char **argv) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"
10291 then :
10292 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10293 else $as_nop
10294 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10297 conftest$ac_exeext conftest.$ac_ext
10298 CFLAGS=$ac_wine_try_cflags_saved
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10301 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10302 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10303 then :
10304 case $host_os in
10305 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10306 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10307 esac
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10311 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10312 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10313 then :
10314 printf %s "(cached) " >&6
10315 else $as_nop
10316 ac_wine_try_cflags_saved=$CFLAGS
10317 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10320 int main(int argc, char **argv) { return 0; }
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"
10323 then :
10324 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10325 else $as_nop
10326 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10329 conftest$ac_exeext conftest.$ac_ext
10330 CFLAGS=$ac_wine_try_cflags_saved
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10333 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10334 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10335 then :
10336 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10339 esac
10341 esac
10343 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10344 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10345 enable_winemac_drv=${enable_winemac_drv:-no}
10347 PE_ARCHS=""
10349 cross_archs=
10350 if test ${enable_archs+y}
10351 then :
10352 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10353 ac_save_IFS=$IFS
10354 IFS=' ,'
10355 set x $enable_archs
10356 IFS=$ac_save_IFS
10357 shift
10358 for arch
10360 case $arch in
10361 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10362 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10363 esac
10364 done
10365 else $as_nop
10366 if test "x$with_mingw" != xno
10367 then
10368 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10369 case "x$with_mingw" in
10370 x|xyes) ;;
10371 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10372 esac
10376 for wine_arch in $cross_archs
10378 if eval \${${wine_arch}_CC:+false} :
10379 then :
10380 case $wine_arch in
10381 aarch64)
10382 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10384 # Extract the first word of "$ac_prog", so it can be a program name with args.
10385 set dummy $ac_prog; ac_word=$2
10386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10387 printf %s "checking for $ac_word... " >&6; }
10388 if test ${ac_cv_prog_aarch64_CC+y}
10389 then :
10390 printf %s "(cached) " >&6
10391 else $as_nop
10392 if test -n "$aarch64_CC"; then
10393 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10394 else
10395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10396 for as_dir in $PATH
10398 IFS=$as_save_IFS
10399 case $as_dir in #(((
10400 '') as_dir=./ ;;
10401 */) ;;
10402 *) as_dir=$as_dir/ ;;
10403 esac
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10406 ac_cv_prog_aarch64_CC="$ac_prog"
10407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10408 break 2
10410 done
10411 done
10412 IFS=$as_save_IFS
10416 aarch64_CC=$ac_cv_prog_aarch64_CC
10417 if test -n "$aarch64_CC"; then
10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10419 printf "%s\n" "$aarch64_CC" >&6; }
10420 else
10421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10422 printf "%s\n" "no" >&6; }
10426 test -n "$aarch64_CC" && break
10427 done
10428 test -n "$aarch64_CC" || aarch64_CC="false"
10431 arm)
10432 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10434 # Extract the first word of "$ac_prog", so it can be a program name with args.
10435 set dummy $ac_prog; ac_word=$2
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10437 printf %s "checking for $ac_word... " >&6; }
10438 if test ${ac_cv_prog_arm_CC+y}
10439 then :
10440 printf %s "(cached) " >&6
10441 else $as_nop
10442 if test -n "$arm_CC"; then
10443 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10444 else
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10448 IFS=$as_save_IFS
10449 case $as_dir in #(((
10450 '') as_dir=./ ;;
10451 */) ;;
10452 *) as_dir=$as_dir/ ;;
10453 esac
10454 for ac_exec_ext in '' $ac_executable_extensions; do
10455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10456 ac_cv_prog_arm_CC="$ac_prog"
10457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10458 break 2
10460 done
10461 done
10462 IFS=$as_save_IFS
10466 arm_CC=$ac_cv_prog_arm_CC
10467 if test -n "$arm_CC"; then
10468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10469 printf "%s\n" "$arm_CC" >&6; }
10470 else
10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10472 printf "%s\n" "no" >&6; }
10476 test -n "$arm_CC" && break
10477 done
10478 test -n "$arm_CC" || arm_CC="false"
10481 i386)
10482 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 "
10483 for ac_prog in $ac_prefix_list clang
10485 # Extract the first word of "$ac_prog", so it can be a program name with args.
10486 set dummy $ac_prog; ac_word=$2
10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10488 printf %s "checking for $ac_word... " >&6; }
10489 if test ${ac_cv_prog_i386_CC+y}
10490 then :
10491 printf %s "(cached) " >&6
10492 else $as_nop
10493 if test -n "$i386_CC"; then
10494 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10495 else
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10499 IFS=$as_save_IFS
10500 case $as_dir in #(((
10501 '') as_dir=./ ;;
10502 */) ;;
10503 *) as_dir=$as_dir/ ;;
10504 esac
10505 for ac_exec_ext in '' $ac_executable_extensions; do
10506 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10507 ac_cv_prog_i386_CC="$ac_prog"
10508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10509 break 2
10511 done
10512 done
10513 IFS=$as_save_IFS
10517 i386_CC=$ac_cv_prog_i386_CC
10518 if test -n "$i386_CC"; then
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10520 printf "%s\n" "$i386_CC" >&6; }
10521 else
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10523 printf "%s\n" "no" >&6; }
10527 test -n "$i386_CC" && break
10528 done
10529 test -n "$i386_CC" || i386_CC="false"
10532 x86_64)
10533 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10534 for ac_prog in $ac_prefix_list clang
10536 # Extract the first word of "$ac_prog", so it can be a program name with args.
10537 set dummy $ac_prog; ac_word=$2
10538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10539 printf %s "checking for $ac_word... " >&6; }
10540 if test ${ac_cv_prog_x86_64_CC+y}
10541 then :
10542 printf %s "(cached) " >&6
10543 else $as_nop
10544 if test -n "$x86_64_CC"; then
10545 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10546 else
10547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548 for as_dir in $PATH
10550 IFS=$as_save_IFS
10551 case $as_dir in #(((
10552 '') as_dir=./ ;;
10553 */) ;;
10554 *) as_dir=$as_dir/ ;;
10555 esac
10556 for ac_exec_ext in '' $ac_executable_extensions; do
10557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10558 ac_cv_prog_x86_64_CC="$ac_prog"
10559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10560 break 2
10562 done
10563 done
10564 IFS=$as_save_IFS
10568 x86_64_CC=$ac_cv_prog_x86_64_CC
10569 if test -n "$x86_64_CC"; then
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10571 printf "%s\n" "$x86_64_CC" >&6; }
10572 else
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10574 printf "%s\n" "no" >&6; }
10578 test -n "$x86_64_CC" && break
10579 done
10580 test -n "$x86_64_CC" || x86_64_CC="false"
10583 esac
10586 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10587 then :
10588 continue
10591 saved_CC=$CC
10592 saved_CFLAGS=$CFLAGS
10594 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10595 eval CC=\$${wine_arch}_CC
10596 eval ${wine_arch}_CFLAGS=\$CFLAGS
10597 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10598 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10600 target=""
10601 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10604 printf %s "checking whether $CC works... " >&6; }
10605 if eval test \${$as_wine_cv_crosscc+y}
10606 then :
10607 printf %s "(cached) " >&6
10608 else $as_nop
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10613 main (void)
10617 return 0;
10619 _ACEOF
10620 if ac_fn_c_try_compile "$LINENO"
10621 then :
10622 eval "$as_wine_cv_crosscc=yes"
10623 else $as_nop
10624 eval "$as_wine_cv_crosscc=no"
10626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10628 eval ac_res=\$$as_wine_cv_crosscc
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_wine_cv_crosscc"\" = x"yes"
10632 then :
10633 set x $CC
10634 shift
10635 while test $# -ge 1
10637 case "$1" in
10638 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10639 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10640 esac
10641 shift
10642 done
10644 llvm_target=$target
10645 if test -z "$llvm_target"
10646 then
10647 case $wine_arch in
10648 i386) llvm_target=i686-windows ;;
10649 arm) llvm_target=armv7-windows ;;
10650 *) llvm_target=$wine_arch-windows ;;
10651 esac
10653 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10654 case $llvm_target in
10655 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10656 esac
10657 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10659 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10660 if eval test \${$as_ac_var+y}
10661 then :
10662 printf %s "(cached) " >&6
10663 else $as_nop
10664 ac_wine_try_cflags_saved=$CFLAGS
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10667 ac_exeext=".exe"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 int __cdecl mainCRTStartup(void) { return 0; }
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"
10673 then :
10674 eval "$as_ac_var=yes"
10675 else $as_nop
10676 eval "$as_ac_var=no"
10678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 ac_exeext=$ac_wine_try_cflags_saved_exeext
10683 eval ac_res=\$$as_ac_var
10684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10685 printf "%s\n" "$ac_res" >&6; }
10686 if eval test \"x\$"$as_ac_var"\" = x"yes"
10687 then :
10688 target=$llvm_target
10689 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10690 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10691 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10692 fi }
10693 eval "${wine_arch}_TARGET=\$target"
10697 if test -z "$target"
10698 then
10699 CC=$saved_CC
10700 CFLAGS=$saved_CFLAGS
10701 continue
10703 as_fn_append PE_ARCHS " $wine_arch"
10705 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10708 printf %s "checking for $CC option to enable C99 features... " >&6; }
10709 if eval test \${$as_wine_cv_crosscc_c99+y}
10710 then :
10711 printf %s "(cached) " >&6
10712 else $as_nop
10713 eval "$as_wine_cv_crosscc_c99=no"
10714 for arg in '' '-std=gnu99'
10716 test -z "$arg" || CC="$CC $arg"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 $ac_c_conftest_c99_program
10720 _ACEOF
10721 if ac_fn_c_try_compile "$LINENO"
10722 then :
10723 eval "$as_wine_cv_crosscc_c99=\$arg"
10724 else $as_nop
10725 eval "$as_wine_cv_crosscc_c99=no"
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10728 eval CC=\$${wine_arch}_CC
10729 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10730 then :
10732 else $as_nop
10733 break
10735 done
10738 eval res=\$$as_wine_cv_crosscc_c99
10739 case "x$res" in
10740 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10741 printf "%s\n" "none needed" >&6; } ;;
10742 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10743 printf "%s\n" "unsupported" >&6; } ;;
10744 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10745 printf "%s\n" "$res" >&6; }
10746 as_fn_append ${wine_arch}_CC " $res" ;;
10747 esac
10750 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10752 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10753 if eval test \${$as_ac_var+y}
10754 then :
10755 printf %s "(cached) " >&6
10756 else $as_nop
10757 ac_wine_try_cflags_saved=$CFLAGS
10758 ac_wine_try_cflags_saved_exeext=$ac_exeext
10759 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10760 ac_exeext=".exe"
10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10763 int __cdecl mainCRTStartup(void) { return 0; }
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"
10766 then :
10767 eval "$as_ac_var=yes"
10768 else $as_nop
10769 eval "$as_ac_var=no"
10771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10772 conftest$ac_exeext conftest.$ac_ext
10773 CFLAGS=$ac_wine_try_cflags_saved
10774 ac_exeext=$ac_wine_try_cflags_saved_exeext
10776 eval ac_res=\$$as_ac_var
10777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10778 printf "%s\n" "$ac_res" >&6; }
10779 if eval test \"x\$"$as_ac_var"\" = x"yes"
10780 then :
10781 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10782 fi }
10783 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10785 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10786 if eval test \${$as_ac_var+y}
10787 then :
10788 printf %s "(cached) " >&6
10789 else $as_nop
10790 ac_wine_try_cflags_saved=$CFLAGS
10791 ac_wine_try_cflags_saved_exeext=$ac_exeext
10792 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10793 ac_exeext=".exe"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10796 int __cdecl mainCRTStartup(void) { return 0; }
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"
10799 then :
10800 eval "$as_ac_var=yes"
10801 else $as_nop
10802 eval "$as_ac_var=no"
10804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10805 conftest$ac_exeext conftest.$ac_ext
10806 CFLAGS=$ac_wine_try_cflags_saved
10807 ac_exeext=$ac_wine_try_cflags_saved_exeext
10809 eval ac_res=\$$as_ac_var
10810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10811 printf "%s\n" "$ac_res" >&6; }
10812 if eval test \"x\$"$as_ac_var"\" = x"yes"
10813 then :
10814 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10815 fi }
10816 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10818 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10819 if eval test \${$as_ac_var+y}
10820 then :
10821 printf %s "(cached) " >&6
10822 else $as_nop
10823 ac_wine_try_cflags_saved=$CFLAGS
10824 ac_wine_try_cflags_saved_exeext=$ac_exeext
10825 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10826 ac_exeext=".exe"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829 int __cdecl mainCRTStartup(void) { return 0; }
10830 _ACEOF
10831 if ac_fn_c_try_link "$LINENO"
10832 then :
10833 eval "$as_ac_var=yes"
10834 else $as_nop
10835 eval "$as_ac_var=no"
10837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10838 conftest$ac_exeext conftest.$ac_ext
10839 CFLAGS=$ac_wine_try_cflags_saved
10840 ac_exeext=$ac_wine_try_cflags_saved_exeext
10842 eval ac_res=\$$as_ac_var
10843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10844 printf "%s\n" "$ac_res" >&6; }
10845 if eval test \"x\$"$as_ac_var"\" = x"yes"
10846 then :
10847 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10848 fi }
10849 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10851 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10852 if eval test \${$as_ac_var+y}
10853 then :
10854 printf %s "(cached) " >&6
10855 else $as_nop
10856 ac_wine_try_cflags_saved=$CFLAGS
10857 ac_wine_try_cflags_saved_exeext=$ac_exeext
10858 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10859 ac_exeext=".exe"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 int __cdecl mainCRTStartup(void) { return 0; }
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"
10865 then :
10866 eval "$as_ac_var=yes"
10867 else $as_nop
10868 eval "$as_ac_var=no"
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 ac_exeext=$ac_wine_try_cflags_saved_exeext
10875 eval ac_res=\$$as_ac_var
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10877 printf "%s\n" "$ac_res" >&6; }
10878 if eval test \"x\$"$as_ac_var"\" = x"yes"
10879 then :
10880 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10881 fi }
10882 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10884 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10885 if eval test \${$as_ac_var+y}
10886 then :
10887 printf %s "(cached) " >&6
10888 else $as_nop
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10892 ac_exeext=".exe"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 int __cdecl mainCRTStartup(void) { return 0; }
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"
10898 then :
10899 eval "$as_ac_var=yes"
10900 else $as_nop
10901 eval "$as_ac_var=no"
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 eval ac_res=\$$as_ac_var
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10910 printf "%s\n" "$ac_res" >&6; }
10911 if eval test \"x\$"$as_ac_var"\" = x"yes"
10912 then :
10913 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10914 fi }
10915 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10917 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10918 if eval test \${$as_ac_var+y}
10919 then :
10920 printf %s "(cached) " >&6
10921 else $as_nop
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_exeext=$ac_exeext
10924 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10925 ac_exeext=".exe"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 int __cdecl mainCRTStartup(void) { return 0; }
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"
10931 then :
10932 eval "$as_ac_var=yes"
10933 else $as_nop
10934 eval "$as_ac_var=no"
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 eval ac_res=\$$as_ac_var
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10943 printf "%s\n" "$ac_res" >&6; }
10944 if eval test \"x\$"$as_ac_var"\" = x"yes"
10945 then :
10946 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10947 fi }
10948 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10950 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10951 if eval test \${$as_ac_var+y}
10952 then :
10953 printf %s "(cached) " >&6
10954 else $as_nop
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10958 ac_exeext=".exe"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 int __cdecl mainCRTStartup(void) { return 0; }
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"
10964 then :
10965 eval "$as_ac_var=yes"
10966 else $as_nop
10967 eval "$as_ac_var=no"
10969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10970 conftest$ac_exeext conftest.$ac_ext
10971 CFLAGS=$ac_wine_try_cflags_saved
10972 ac_exeext=$ac_wine_try_cflags_saved_exeext
10974 eval ac_res=\$$as_ac_var
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10976 printf "%s\n" "$ac_res" >&6; }
10977 if eval test \"x\$"$as_ac_var"\" = x"yes"
10978 then :
10979 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10980 fi }
10981 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10983 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10984 if eval test \${$as_ac_var+y}
10985 then :
10986 printf %s "(cached) " >&6
10987 else $as_nop
10988 ac_wine_try_cflags_saved=$CFLAGS
10989 ac_wine_try_cflags_saved_exeext=$ac_exeext
10990 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10991 ac_exeext=".exe"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10994 int __cdecl mainCRTStartup(void) { return 0; }
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"
10997 then :
10998 eval "$as_ac_var=yes"
10999 else $as_nop
11000 eval "$as_ac_var=no"
11002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11003 conftest$ac_exeext conftest.$ac_ext
11004 CFLAGS=$ac_wine_try_cflags_saved
11005 ac_exeext=$ac_wine_try_cflags_saved_exeext
11007 eval ac_res=\$$as_ac_var
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11009 printf "%s\n" "$ac_res" >&6; }
11010 if eval test \"x\$"$as_ac_var"\" = x"yes"
11011 then :
11012 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11013 fi }
11014 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11016 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11017 if eval test \${$as_ac_var+y}
11018 then :
11019 printf %s "(cached) " >&6
11020 else $as_nop
11021 ac_wine_try_cflags_saved=$CFLAGS
11022 ac_wine_try_cflags_saved_exeext=$ac_exeext
11023 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11024 ac_exeext=".exe"
11025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11027 int __cdecl mainCRTStartup(void) { return 0; }
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"
11030 then :
11031 eval "$as_ac_var=yes"
11032 else $as_nop
11033 eval "$as_ac_var=no"
11035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11036 conftest$ac_exeext conftest.$ac_ext
11037 CFLAGS=$ac_wine_try_cflags_saved
11038 ac_exeext=$ac_wine_try_cflags_saved_exeext
11040 eval ac_res=\$$as_ac_var
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11042 printf "%s\n" "$ac_res" >&6; }
11043 if eval test \"x\$"$as_ac_var"\" = x"yes"
11044 then :
11045 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11046 fi }
11047 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11049 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11050 if eval test \${$as_ac_var+y}
11051 then :
11052 printf %s "(cached) " >&6
11053 else $as_nop
11054 ac_wine_try_cflags_saved=$CFLAGS
11055 ac_wine_try_cflags_saved_exeext=$ac_exeext
11056 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11057 ac_exeext=".exe"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11060 int __cdecl mainCRTStartup(void) { return 0; }
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"
11063 then :
11064 eval "$as_ac_var=yes"
11065 else $as_nop
11066 eval "$as_ac_var=no"
11068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11069 conftest$ac_exeext conftest.$ac_ext
11070 CFLAGS=$ac_wine_try_cflags_saved
11071 ac_exeext=$ac_wine_try_cflags_saved_exeext
11073 eval ac_res=\$$as_ac_var
11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11075 printf "%s\n" "$ac_res" >&6; }
11076 if eval test \"x\$"$as_ac_var"\" = x"yes"
11077 then :
11078 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11079 fi }
11080 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11082 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11083 if eval test \${$as_ac_var+y}
11084 then :
11085 printf %s "(cached) " >&6
11086 else $as_nop
11087 ac_wine_try_cflags_saved=$CFLAGS
11088 ac_wine_try_cflags_saved_exeext=$ac_exeext
11089 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11090 ac_exeext=".exe"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 int __cdecl mainCRTStartup(void) { return 0; }
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"
11096 then :
11097 eval "$as_ac_var=yes"
11098 else $as_nop
11099 eval "$as_ac_var=no"
11101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11102 conftest$ac_exeext conftest.$ac_ext
11103 CFLAGS=$ac_wine_try_cflags_saved
11104 ac_exeext=$ac_wine_try_cflags_saved_exeext
11106 eval ac_res=\$$as_ac_var
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11108 printf "%s\n" "$ac_res" >&6; }
11109 if eval test \"x\$"$as_ac_var"\" = x"yes"
11110 then :
11111 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11112 fi }
11113 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11115 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11116 if eval test \${$as_ac_var+y}
11117 then :
11118 printf %s "(cached) " >&6
11119 else $as_nop
11120 ac_wine_try_cflags_saved=$CFLAGS
11121 ac_wine_try_cflags_saved_exeext=$ac_exeext
11122 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11123 ac_exeext=".exe"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11126 int __cdecl mainCRTStartup(void) { return 0; }
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"
11129 then :
11130 eval "$as_ac_var=yes"
11131 else $as_nop
11132 eval "$as_ac_var=no"
11134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11135 conftest$ac_exeext conftest.$ac_ext
11136 CFLAGS=$ac_wine_try_cflags_saved
11137 ac_exeext=$ac_wine_try_cflags_saved_exeext
11139 eval ac_res=\$$as_ac_var
11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11141 printf "%s\n" "$ac_res" >&6; }
11142 if eval test \"x\$"$as_ac_var"\" = x"yes"
11143 then :
11144 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11145 fi }
11146 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11148 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11149 if eval test \${$as_ac_var+y}
11150 then :
11151 printf %s "(cached) " >&6
11152 else $as_nop
11153 ac_wine_try_cflags_saved=$CFLAGS
11154 ac_wine_try_cflags_saved_exeext=$ac_exeext
11155 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11156 ac_exeext=".exe"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 int __cdecl mainCRTStartup(void) { return 0; }
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"
11162 then :
11163 eval "$as_ac_var=yes"
11164 else $as_nop
11165 eval "$as_ac_var=no"
11167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11168 conftest$ac_exeext conftest.$ac_ext
11169 CFLAGS=$ac_wine_try_cflags_saved
11170 ac_exeext=$ac_wine_try_cflags_saved_exeext
11172 eval ac_res=\$$as_ac_var
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11174 printf "%s\n" "$ac_res" >&6; }
11175 if eval test \"x\$"$as_ac_var"\" = x"yes"
11176 then :
11177 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11178 fi }
11179 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11181 printf %s "checking whether $CC supports -Wvla... " >&6; }
11182 if eval test \${$as_ac_var+y}
11183 then :
11184 printf %s "(cached) " >&6
11185 else $as_nop
11186 ac_wine_try_cflags_saved=$CFLAGS
11187 ac_wine_try_cflags_saved_exeext=$ac_exeext
11188 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11189 ac_exeext=".exe"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11192 int __cdecl mainCRTStartup(void) { return 0; }
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"
11195 then :
11196 eval "$as_ac_var=yes"
11197 else $as_nop
11198 eval "$as_ac_var=no"
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 ac_exeext=$ac_wine_try_cflags_saved_exeext
11205 eval ac_res=\$$as_ac_var
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11207 printf "%s\n" "$ac_res" >&6; }
11208 if eval test \"x\$"$as_ac_var"\" = x"yes"
11209 then :
11210 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11211 fi }
11212 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11214 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11215 if eval test \${$as_ac_var+y}
11216 then :
11217 printf %s "(cached) " >&6
11218 else $as_nop
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11222 ac_exeext=".exe"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225 int __cdecl mainCRTStartup(void) { return 0; }
11226 _ACEOF
11227 if ac_fn_c_try_link "$LINENO"
11228 then :
11229 eval "$as_ac_var=yes"
11230 else $as_nop
11231 eval "$as_ac_var=no"
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11234 conftest$ac_exeext conftest.$ac_ext
11235 CFLAGS=$ac_wine_try_cflags_saved
11236 ac_exeext=$ac_wine_try_cflags_saved_exeext
11238 eval ac_res=\$$as_ac_var
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11240 printf "%s\n" "$ac_res" >&6; }
11241 if eval test \"x\$"$as_ac_var"\" = x"yes"
11242 then :
11243 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11244 fi }
11245 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11247 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11248 if eval test \${$as_ac_var+y}
11249 then :
11250 printf %s "(cached) " >&6
11251 else $as_nop
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_exeext=$ac_exeext
11254 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11255 ac_exeext=".exe"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 int __cdecl mainCRTStartup(void) { return 0; }
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"
11261 then :
11262 eval "$as_ac_var=yes"
11263 else $as_nop
11264 eval "$as_ac_var=no"
11266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11267 conftest$ac_exeext conftest.$ac_ext
11268 CFLAGS=$ac_wine_try_cflags_saved
11269 ac_exeext=$ac_wine_try_cflags_saved_exeext
11271 eval ac_res=\$$as_ac_var
11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11273 printf "%s\n" "$ac_res" >&6; }
11274 if eval test \"x\$"$as_ac_var"\" = x"yes"
11275 then :
11276 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11277 fi }
11278 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11280 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11281 if eval test \${$as_ac_var+y}
11282 then :
11283 printf %s "(cached) " >&6
11284 else $as_nop
11285 ac_wine_try_cflags_saved=$CFLAGS
11286 ac_wine_try_cflags_saved_exeext=$ac_exeext
11287 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11288 ac_exeext=".exe"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11291 int __cdecl mainCRTStartup(void) { return 0; }
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"
11294 then :
11295 eval "$as_ac_var=yes"
11296 else $as_nop
11297 eval "$as_ac_var=no"
11299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11300 conftest$ac_exeext conftest.$ac_ext
11301 CFLAGS=$ac_wine_try_cflags_saved
11302 ac_exeext=$ac_wine_try_cflags_saved_exeext
11304 eval ac_res=\$$as_ac_var
11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11306 printf "%s\n" "$ac_res" >&6; }
11307 if eval test \"x\$"$as_ac_var"\" = x"yes"
11308 then :
11309 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11310 fi }
11311 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11313 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11314 if eval test \${$as_ac_var+y}
11315 then :
11316 printf %s "(cached) " >&6
11317 else $as_nop
11318 ac_wine_try_cflags_saved=$CFLAGS
11319 ac_wine_try_cflags_saved_exeext=$ac_exeext
11320 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11321 ac_exeext=".exe"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11324 int __cdecl mainCRTStartup(void) { return 0; }
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"
11327 then :
11328 eval "$as_ac_var=yes"
11329 else $as_nop
11330 eval "$as_ac_var=no"
11332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11333 conftest$ac_exeext conftest.$ac_ext
11334 CFLAGS=$ac_wine_try_cflags_saved
11335 ac_exeext=$ac_wine_try_cflags_saved_exeext
11337 eval ac_res=\$$as_ac_var
11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11339 printf "%s\n" "$ac_res" >&6; }
11340 if eval test \"x\$"$as_ac_var"\" = x"yes"
11341 then :
11342 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11343 fi }
11345 case $wine_arch in
11346 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11348 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11349 if eval test \${$as_ac_var+y}
11350 then :
11351 printf %s "(cached) " >&6
11352 else $as_nop
11353 ac_wine_try_cflags_saved=$CFLAGS
11354 ac_wine_try_cflags_saved_exeext=$ac_exeext
11355 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11356 ac_exeext=".exe"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11359 int __cdecl mainCRTStartup(void) { return 0; }
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"
11362 then :
11363 eval "$as_ac_var=yes"
11364 else $as_nop
11365 eval "$as_ac_var=no"
11367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11368 conftest$ac_exeext conftest.$ac_ext
11369 CFLAGS=$ac_wine_try_cflags_saved
11370 ac_exeext=$ac_wine_try_cflags_saved_exeext
11372 eval ac_res=\$$as_ac_var
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11374 printf "%s\n" "$ac_res" >&6; }
11375 if eval test \"x\$"$as_ac_var"\" = x"yes"
11376 then :
11377 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11378 fi }
11379 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11381 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11382 if eval test \${$as_ac_var+y}
11383 then :
11384 printf %s "(cached) " >&6
11385 else $as_nop
11386 ac_wine_try_cflags_saved=$CFLAGS
11387 ac_wine_try_cflags_saved_exeext=$ac_exeext
11388 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11389 ac_exeext=".exe"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 int __cdecl mainCRTStartup(void) { return 0; }
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"
11395 then :
11396 eval "$as_ac_var=yes"
11397 else $as_nop
11398 eval "$as_ac_var=no"
11400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11401 conftest$ac_exeext conftest.$ac_ext
11402 CFLAGS=$ac_wine_try_cflags_saved
11403 ac_exeext=$ac_wine_try_cflags_saved_exeext
11405 eval ac_res=\$$as_ac_var
11406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11407 printf "%s\n" "$ac_res" >&6; }
11408 if eval test \"x\$"$as_ac_var"\" = x"yes"
11409 then :
11410 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11411 fi } ;;
11412 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11414 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11415 if eval test \${$as_ac_var+y}
11416 then :
11417 printf %s "(cached) " >&6
11418 else $as_nop
11419 ac_wine_try_cflags_saved=$CFLAGS
11420 ac_wine_try_cflags_saved_exeext=$ac_exeext
11421 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11422 ac_exeext=".exe"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11425 int __cdecl mainCRTStartup(void) { return 0; }
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"
11428 then :
11429 eval "$as_ac_var=yes"
11430 else $as_nop
11431 eval "$as_ac_var=no"
11433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11434 conftest$ac_exeext conftest.$ac_ext
11435 CFLAGS=$ac_wine_try_cflags_saved
11436 ac_exeext=$ac_wine_try_cflags_saved_exeext
11438 eval ac_res=\$$as_ac_var
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11440 printf "%s\n" "$ac_res" >&6; }
11441 if eval test \"x\$"$as_ac_var"\" = x"yes"
11442 then :
11443 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11444 fi }
11445 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11447 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11448 if eval test \${$as_ac_var+y}
11449 then :
11450 printf %s "(cached) " >&6
11451 else $as_nop
11452 ac_wine_try_cflags_saved=$CFLAGS
11453 ac_wine_try_cflags_saved_exeext=$ac_exeext
11454 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11455 ac_exeext=".exe"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11458 int __cdecl mainCRTStartup(void) { return 0; }
11459 _ACEOF
11460 if ac_fn_c_try_link "$LINENO"
11461 then :
11462 eval "$as_ac_var=yes"
11463 else $as_nop
11464 eval "$as_ac_var=no"
11466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11467 conftest$ac_exeext conftest.$ac_ext
11468 CFLAGS=$ac_wine_try_cflags_saved
11469 ac_exeext=$ac_wine_try_cflags_saved_exeext
11471 eval ac_res=\$$as_ac_var
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11473 printf "%s\n" "$ac_res" >&6; }
11474 if eval test \"x\$"$as_ac_var"\" = x"yes"
11475 then :
11476 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11477 fi }
11478 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11480 printf %s "checking whether $CC supports -mcx16... " >&6; }
11481 if eval test \${$as_ac_var+y}
11482 then :
11483 printf %s "(cached) " >&6
11484 else $as_nop
11485 ac_wine_try_cflags_saved=$CFLAGS
11486 ac_wine_try_cflags_saved_exeext=$ac_exeext
11487 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11488 ac_exeext=".exe"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491 int __cdecl mainCRTStartup(void) { return 0; }
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"
11494 then :
11495 eval "$as_ac_var=yes"
11496 else $as_nop
11497 eval "$as_ac_var=no"
11499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11500 conftest$ac_exeext conftest.$ac_ext
11501 CFLAGS=$ac_wine_try_cflags_saved
11502 ac_exeext=$ac_wine_try_cflags_saved_exeext
11504 eval ac_res=\$$as_ac_var
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11506 printf "%s\n" "$ac_res" >&6; }
11507 if eval test \"x\$"$as_ac_var"\" = x"yes"
11508 then :
11509 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11510 fi } ;;
11511 esac
11513 wine_crossdebug=$CROSSDEBUG
11514 if test -z "$wine_crossdebug"
11515 then
11516 for ac_flag in $CFLAGS; do
11517 case $ac_flag in
11518 -gdwarf*) wine_crossdebug=dwarf ;;
11519 -gcodeview) wine_crossdebug=pdb ;;
11520 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11521 esac
11522 done
11525 ac_debug_format_seen=""
11526 for ac_flag in $CFLAGS; do
11527 case $ac_flag in
11528 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11529 esac
11530 done
11531 if test "x$ac_debug_format_seen" = x
11532 then
11533 case $wine_crossdebug in
11534 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11536 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11537 if eval test \${$as_ac_var+y}
11538 then :
11539 printf %s "(cached) " >&6
11540 else $as_nop
11541 ac_wine_try_cflags_saved=$CFLAGS
11542 ac_wine_try_cflags_saved_exeext=$ac_exeext
11543 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11544 ac_exeext=".exe"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11547 int __cdecl mainCRTStartup(void) { return 0; }
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"
11550 then :
11551 eval "$as_ac_var=yes"
11552 else $as_nop
11553 eval "$as_ac_var=no"
11555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11556 conftest$ac_exeext conftest.$ac_ext
11557 CFLAGS=$ac_wine_try_cflags_saved
11558 ac_exeext=$ac_wine_try_cflags_saved_exeext
11560 eval ac_res=\$$as_ac_var
11561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11562 printf "%s\n" "$ac_res" >&6; }
11563 if eval test \"x\$"$as_ac_var"\" = x"yes"
11564 then :
11565 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11566 fi } ;;
11567 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11569 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11570 if eval test \${$as_ac_var+y}
11571 then :
11572 printf %s "(cached) " >&6
11573 else $as_nop
11574 ac_wine_try_cflags_saved=$CFLAGS
11575 ac_wine_try_cflags_saved_exeext=$ac_exeext
11576 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11577 ac_exeext=".exe"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11580 int __cdecl mainCRTStartup(void) { return 0; }
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"
11583 then :
11584 eval "$as_ac_var=yes"
11585 else $as_nop
11586 eval "$as_ac_var=no"
11588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11589 conftest$ac_exeext conftest.$ac_ext
11590 CFLAGS=$ac_wine_try_cflags_saved
11591 ac_exeext=$ac_wine_try_cflags_saved_exeext
11593 eval ac_res=\$$as_ac_var
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11595 printf "%s\n" "$ac_res" >&6; }
11596 if eval test \"x\$"$as_ac_var"\" = x"yes"
11597 then :
11598 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11599 fi } ;;
11600 esac
11602 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11604 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11606 printf %s "checking whether $CC supports -Werror... " >&6; }
11607 if eval test \${$as_ac_var+y}
11608 then :
11609 printf %s "(cached) " >&6
11610 else $as_nop
11611 ac_wine_try_cflags_saved=$CFLAGS
11612 ac_wine_try_cflags_saved_exeext=$ac_exeext
11613 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11614 ac_exeext=".exe"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11617 int __cdecl mainCRTStartup(void) { return 0; }
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"
11620 then :
11621 eval "$as_ac_var=yes"
11622 else $as_nop
11623 eval "$as_ac_var=no"
11625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11626 conftest$ac_exeext conftest.$ac_ext
11627 CFLAGS=$ac_wine_try_cflags_saved
11628 ac_exeext=$ac_wine_try_cflags_saved_exeext
11630 eval ac_res=\$$as_ac_var
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11632 printf "%s\n" "$ac_res" >&6; }
11633 if eval test \"x\$"$as_ac_var"\" = x"yes"
11634 then :
11635 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11636 fi }
11637 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11639 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11640 if eval test \${$as_ac_var+y}
11641 then :
11642 printf %s "(cached) " >&6
11643 else $as_nop
11644 ac_wine_try_cflags_saved=$CFLAGS
11645 ac_wine_try_cflags_saved_exeext=$ac_exeext
11646 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11647 ac_exeext=".exe"
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11650 int __cdecl mainCRTStartup(void) { return 0; }
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"
11653 then :
11654 eval "$as_ac_var=yes"
11655 else $as_nop
11656 eval "$as_ac_var=no"
11658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11659 conftest$ac_exeext conftest.$ac_ext
11660 CFLAGS=$ac_wine_try_cflags_saved
11661 ac_exeext=$ac_wine_try_cflags_saved_exeext
11663 eval ac_res=\$$as_ac_var
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11665 printf "%s\n" "$ac_res" >&6; }
11666 if eval test \"x\$"$as_ac_var"\" = x"yes"
11667 then :
11668 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11669 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11670 fi }
11672 CC=$saved_CC
11673 CFLAGS=$saved_CFLAGS
11674 done
11676 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11677 then
11678 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11681 if test "x$PE_ARCHS" = "x"
11682 then :
11683 case "x$with_mingw" in
11684 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11685 xno) ;;
11686 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11687 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11688 esac
11693 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11694 then
11695 case "$host_cpu" in
11696 i[3456789]86*)
11697 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11699 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11700 esac
11701 for ac_prog in $ac_prefix_list
11703 # Extract the first word of "$ac_prog", so it can be a program name with args.
11704 set dummy $ac_prog; ac_word=$2
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11706 printf %s "checking for $ac_word... " >&6; }
11707 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11708 then :
11709 printf %s "(cached) " >&6
11710 else $as_nop
11711 if test -n "$MINGW_PKG_CONFIG"; then
11712 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11713 else
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11717 IFS=$as_save_IFS
11718 case $as_dir in #(((
11719 '') as_dir=./ ;;
11720 */) ;;
11721 *) as_dir=$as_dir/ ;;
11722 esac
11723 for ac_exec_ext in '' $ac_executable_extensions; do
11724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11725 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11727 break 2
11729 done
11730 done
11731 IFS=$as_save_IFS
11735 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11736 if test -n "$MINGW_PKG_CONFIG"; then
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11738 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11739 else
11740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 printf "%s\n" "no" >&6; }
11745 test -n "$MINGW_PKG_CONFIG" && break
11746 done
11747 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11749 if ${FAUDIO_PE_CFLAGS:+false} :
11750 then :
11751 if test ${MINGW_PKG_CONFIG+y}
11752 then :
11753 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11756 if ${FAUDIO_PE_LIBS:+false} :
11757 then :
11758 if test ${MINGW_PKG_CONFIG+y}
11759 then :
11760 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11763 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11764 ac_save_CPPFLAGS=$CPPFLAGS
11765 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11767 printf %s "checking for MinGW FAudio.h... " >&6; }
11768 if test ${ac_cv_mingw_header_FAudio_h+y}
11769 then :
11770 printf %s "(cached) " >&6
11771 else $as_nop
11772 ac_wine_check_headers_saved_cc=$CC
11773 ac_wine_check_headers_saved_exeext=$ac_exeext
11774 eval CC=\$${wine_arch}_CC
11775 ac_exeext=".exe"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 #include <FAudio.h>
11781 main (void)
11785 return 0;
11787 _ACEOF
11788 if ac_fn_c_try_compile "$LINENO"
11789 then :
11790 ac_cv_mingw_header_FAudio_h=yes
11791 else $as_nop
11792 ac_cv_mingw_header_FAudio_h=no
11794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11795 CC=$ac_wine_check_headers_saved_cc
11796 ac_exeext=$ac_wine_check_headers_saved_exeext
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11799 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11800 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11801 then :
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11803 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11804 if test ${ac_cv_mingw_lib_FAudio+y}
11805 then :
11806 printf %s "(cached) " >&6
11807 else $as_nop
11808 ac_wine_check_headers_saved_cc=$CC
11809 ac_wine_check_headers_saved_exeext=$ac_exeext
11810 ac_wine_check_headers_saved_libs=$LIBS
11811 eval CC=\$${wine_arch}_CC
11812 ac_exeext=".exe"
11813 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11820 char FAudio_CommitOperationSet ();
11822 main (void)
11824 return FAudio_CommitOperationSet ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"
11830 then :
11831 ac_cv_mingw_lib_FAudio=yes
11832 else $as_nop
11833 ac_cv_mingw_lib_FAudio=no
11835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11836 conftest$ac_exeext conftest.$ac_ext
11837 CC=$ac_wine_check_headers_saved_cc
11838 ac_exeext=$ac_wine_check_headers_saved_exeext
11839 LIBS=$ac_wine_check_headers_saved_libs
11841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11842 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11843 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11844 then :
11846 else $as_nop
11847 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11849 else $as_nop
11850 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11852 CPPFLAGS=$ac_save_CPPFLAGS
11854 if test "x$FAUDIO_PE_LIBS" = "x"
11855 then
11856 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11859 if ${JPEG_PE_CFLAGS:+false} :
11860 then :
11861 if test ${MINGW_PKG_CONFIG+y}
11862 then :
11863 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11866 if ${JPEG_PE_LIBS:+false} :
11867 then :
11868 if test ${MINGW_PKG_CONFIG+y}
11869 then :
11870 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11874 ac_save_CPPFLAGS=$CPPFLAGS
11875 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11877 printf %s "checking for MinGW jpeglib.h... " >&6; }
11878 if test ${ac_cv_mingw_header_jpeglib_h+y}
11879 then :
11880 printf %s "(cached) " >&6
11881 else $as_nop
11882 ac_wine_check_headers_saved_cc=$CC
11883 ac_wine_check_headers_saved_exeext=$ac_exeext
11884 eval CC=\$${wine_arch}_CC
11885 ac_exeext=".exe"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11888 #include <stddef.h>
11889 #include <stdio.h>
11890 #include <jpeglib.h>
11892 main (void)
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_compile "$LINENO"
11900 then :
11901 ac_cv_mingw_header_jpeglib_h=yes
11902 else $as_nop
11903 ac_cv_mingw_header_jpeglib_h=no
11905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11906 CC=$ac_wine_check_headers_saved_cc
11907 ac_exeext=$ac_wine_check_headers_saved_exeext
11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11910 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11911 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11912 then :
11913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11914 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11915 if test ${ac_cv_mingw_lib_jpeg+y}
11916 then :
11917 printf %s "(cached) " >&6
11918 else $as_nop
11919 ac_wine_check_headers_saved_cc=$CC
11920 ac_wine_check_headers_saved_exeext=$ac_exeext
11921 ac_wine_check_headers_saved_libs=$LIBS
11922 eval CC=\$${wine_arch}_CC
11923 ac_exeext=".exe"
11924 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 char jpeg_start_decompress ();
11933 main (void)
11935 return jpeg_start_decompress ();
11937 return 0;
11939 _ACEOF
11940 if ac_fn_c_try_link "$LINENO"
11941 then :
11942 ac_cv_mingw_lib_jpeg=yes
11943 else $as_nop
11944 ac_cv_mingw_lib_jpeg=no
11946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11947 conftest$ac_exeext conftest.$ac_ext
11948 CC=$ac_wine_check_headers_saved_cc
11949 ac_exeext=$ac_wine_check_headers_saved_exeext
11950 LIBS=$ac_wine_check_headers_saved_libs
11952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11953 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11954 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11955 then :
11957 else $as_nop
11958 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11960 else $as_nop
11961 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11963 CPPFLAGS=$ac_save_CPPFLAGS
11965 if test "x$JPEG_PE_LIBS" = "x"
11966 then
11967 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11970 if ${LCMS2_PE_CFLAGS:+false} :
11971 then :
11972 if test ${MINGW_PKG_CONFIG+y}
11973 then :
11974 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11977 if ${LCMS2_PE_LIBS:+false} :
11978 then :
11979 if test ${MINGW_PKG_CONFIG+y}
11980 then :
11981 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11984 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11985 ac_save_CPPFLAGS=$CPPFLAGS
11986 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11988 printf %s "checking for MinGW lcms2.h... " >&6; }
11989 if test ${ac_cv_mingw_header_lcms2_h+y}
11990 then :
11991 printf %s "(cached) " >&6
11992 else $as_nop
11993 ac_wine_check_headers_saved_cc=$CC
11994 ac_wine_check_headers_saved_exeext=$ac_exeext
11995 eval CC=\$${wine_arch}_CC
11996 ac_exeext=".exe"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 #include <lcms2.h>
12002 main (void)
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_compile "$LINENO"
12010 then :
12011 ac_cv_mingw_header_lcms2_h=yes
12012 else $as_nop
12013 ac_cv_mingw_header_lcms2_h=no
12015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12016 CC=$ac_wine_check_headers_saved_cc
12017 ac_exeext=$ac_wine_check_headers_saved_exeext
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12020 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12021 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12022 then :
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12024 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12025 if test ${ac_cv_mingw_lib_lcms2+y}
12026 then :
12027 printf %s "(cached) " >&6
12028 else $as_nop
12029 ac_wine_check_headers_saved_cc=$CC
12030 ac_wine_check_headers_saved_exeext=$ac_exeext
12031 ac_wine_check_headers_saved_libs=$LIBS
12032 eval CC=\$${wine_arch}_CC
12033 ac_exeext=".exe"
12034 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12041 char cmsOpenProfileFromFile ();
12043 main (void)
12045 return cmsOpenProfileFromFile ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"
12051 then :
12052 ac_cv_mingw_lib_lcms2=yes
12053 else $as_nop
12054 ac_cv_mingw_lib_lcms2=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12057 conftest$ac_exeext conftest.$ac_ext
12058 CC=$ac_wine_check_headers_saved_cc
12059 ac_exeext=$ac_wine_check_headers_saved_exeext
12060 LIBS=$ac_wine_check_headers_saved_libs
12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12063 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12064 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12065 then :
12067 else $as_nop
12068 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12070 else $as_nop
12071 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12073 CPPFLAGS=$ac_save_CPPFLAGS
12075 if test "x$LCMS2_PE_LIBS" = "x"
12076 then
12077 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12080 if ${MPG123_PE_CFLAGS:+false} :
12081 then :
12082 if test ${MINGW_PKG_CONFIG+y}
12083 then :
12084 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12087 if ${MPG123_PE_LIBS:+false} :
12088 then :
12089 if test ${MINGW_PKG_CONFIG+y}
12090 then :
12091 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12094 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12095 ac_save_CPPFLAGS=$CPPFLAGS
12096 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12098 printf %s "checking for MinGW mpg123.h... " >&6; }
12099 if test ${ac_cv_mingw_header_mpg123_h+y}
12100 then :
12101 printf %s "(cached) " >&6
12102 else $as_nop
12103 ac_wine_check_headers_saved_cc=$CC
12104 ac_wine_check_headers_saved_exeext=$ac_exeext
12105 eval CC=\$${wine_arch}_CC
12106 ac_exeext=".exe"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 #include <mpg123.h>
12112 main (void)
12116 return 0;
12118 _ACEOF
12119 if ac_fn_c_try_compile "$LINENO"
12120 then :
12121 ac_cv_mingw_header_mpg123_h=yes
12122 else $as_nop
12123 ac_cv_mingw_header_mpg123_h=no
12125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12126 CC=$ac_wine_check_headers_saved_cc
12127 ac_exeext=$ac_wine_check_headers_saved_exeext
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12130 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12131 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12132 then :
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12134 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12135 if test ${ac_cv_mingw_lib_mpg123+y}
12136 then :
12137 printf %s "(cached) " >&6
12138 else $as_nop
12139 ac_wine_check_headers_saved_cc=$CC
12140 ac_wine_check_headers_saved_exeext=$ac_exeext
12141 ac_wine_check_headers_saved_libs=$LIBS
12142 eval CC=\$${wine_arch}_CC
12143 ac_exeext=".exe"
12144 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 char mpg123_feed ();
12153 main (void)
12155 return mpg123_feed ();
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_link "$LINENO"
12161 then :
12162 ac_cv_mingw_lib_mpg123=yes
12163 else $as_nop
12164 ac_cv_mingw_lib_mpg123=no
12166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12167 conftest$ac_exeext conftest.$ac_ext
12168 CC=$ac_wine_check_headers_saved_cc
12169 ac_exeext=$ac_wine_check_headers_saved_exeext
12170 LIBS=$ac_wine_check_headers_saved_libs
12172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12173 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12174 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12175 then :
12177 else $as_nop
12178 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12180 else $as_nop
12181 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12183 CPPFLAGS=$ac_save_CPPFLAGS
12185 if test "x$MPG123_PE_LIBS" = "x"
12186 then
12187 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12190 if ${PNG_PE_CFLAGS:+false} :
12191 then :
12192 if test ${MINGW_PKG_CONFIG+y}
12193 then :
12194 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12197 if ${PNG_PE_LIBS:+false} :
12198 then :
12199 if test ${MINGW_PKG_CONFIG+y}
12200 then :
12201 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12205 ac_save_CPPFLAGS=$CPPFLAGS
12206 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12208 printf %s "checking for MinGW png.h... " >&6; }
12209 if test ${ac_cv_mingw_header_png_h+y}
12210 then :
12211 printf %s "(cached) " >&6
12212 else $as_nop
12213 ac_wine_check_headers_saved_cc=$CC
12214 ac_wine_check_headers_saved_exeext=$ac_exeext
12215 eval CC=\$${wine_arch}_CC
12216 ac_exeext=".exe"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 #include <png.h>
12222 main (void)
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_compile "$LINENO"
12230 then :
12231 ac_cv_mingw_header_png_h=yes
12232 else $as_nop
12233 ac_cv_mingw_header_png_h=no
12235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12236 CC=$ac_wine_check_headers_saved_cc
12237 ac_exeext=$ac_wine_check_headers_saved_exeext
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12240 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12241 if test "x$ac_cv_mingw_header_png_h" = xyes
12242 then :
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12244 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12245 if test ${ac_cv_mingw_lib_png+y}
12246 then :
12247 printf %s "(cached) " >&6
12248 else $as_nop
12249 ac_wine_check_headers_saved_cc=$CC
12250 ac_wine_check_headers_saved_exeext=$ac_exeext
12251 ac_wine_check_headers_saved_libs=$LIBS
12252 eval CC=\$${wine_arch}_CC
12253 ac_exeext=".exe"
12254 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 char png_create_read_struct ();
12263 main (void)
12265 return png_create_read_struct ();
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_link "$LINENO"
12271 then :
12272 ac_cv_mingw_lib_png=yes
12273 else $as_nop
12274 ac_cv_mingw_lib_png=no
12276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12277 conftest$ac_exeext conftest.$ac_ext
12278 CC=$ac_wine_check_headers_saved_cc
12279 ac_exeext=$ac_wine_check_headers_saved_exeext
12280 LIBS=$ac_wine_check_headers_saved_libs
12282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12283 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12284 if test "x$ac_cv_mingw_lib_png" = xyes
12285 then :
12287 else $as_nop
12288 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12290 else $as_nop
12291 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12293 CPPFLAGS=$ac_save_CPPFLAGS
12295 if test "x$PNG_PE_LIBS" = "x"
12296 then
12297 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12300 if ${TIFF_PE_CFLAGS:+false} :
12301 then :
12302 if test ${MINGW_PKG_CONFIG+y}
12303 then :
12304 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12307 if ${TIFF_PE_LIBS:+false} :
12308 then :
12309 if test ${MINGW_PKG_CONFIG+y}
12310 then :
12311 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12315 ac_save_CPPFLAGS=$CPPFLAGS
12316 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12318 printf %s "checking for MinGW tiffio.h... " >&6; }
12319 if test ${ac_cv_mingw_header_tiffio_h+y}
12320 then :
12321 printf %s "(cached) " >&6
12322 else $as_nop
12323 ac_wine_check_headers_saved_cc=$CC
12324 ac_wine_check_headers_saved_exeext=$ac_exeext
12325 eval CC=\$${wine_arch}_CC
12326 ac_exeext=".exe"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 #include <tiffio.h>
12332 main (void)
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"
12340 then :
12341 ac_cv_mingw_header_tiffio_h=yes
12342 else $as_nop
12343 ac_cv_mingw_header_tiffio_h=no
12345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12346 CC=$ac_wine_check_headers_saved_cc
12347 ac_exeext=$ac_wine_check_headers_saved_exeext
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12350 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12351 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12352 then :
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12354 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12355 if test ${ac_cv_mingw_lib_tiff+y}
12356 then :
12357 printf %s "(cached) " >&6
12358 else $as_nop
12359 ac_wine_check_headers_saved_cc=$CC
12360 ac_wine_check_headers_saved_exeext=$ac_exeext
12361 ac_wine_check_headers_saved_libs=$LIBS
12362 eval CC=\$${wine_arch}_CC
12363 ac_exeext=".exe"
12364 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 /* Override any GCC internal prototype to avoid an error.
12369 Use char because int might match the return type of a GCC
12370 builtin and then its argument prototype would still apply. */
12371 char TIFFClientOpen ();
12373 main (void)
12375 return TIFFClientOpen ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"
12381 then :
12382 ac_cv_mingw_lib_tiff=yes
12383 else $as_nop
12384 ac_cv_mingw_lib_tiff=no
12386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12387 conftest$ac_exeext conftest.$ac_ext
12388 CC=$ac_wine_check_headers_saved_cc
12389 ac_exeext=$ac_wine_check_headers_saved_exeext
12390 LIBS=$ac_wine_check_headers_saved_libs
12392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12393 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12394 if test "x$ac_cv_mingw_lib_tiff" = xyes
12395 then :
12397 else $as_nop
12398 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12400 else $as_nop
12401 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12403 CPPFLAGS=$ac_save_CPPFLAGS
12405 if test "x$TIFF_PE_LIBS" = "x"
12406 then
12407 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12410 if ${XML2_PE_CFLAGS:+false} :
12411 then :
12412 if test ${MINGW_PKG_CONFIG+y}
12413 then :
12414 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12417 if ${XML2_PE_LIBS:+false} :
12418 then :
12419 if test ${MINGW_PKG_CONFIG+y}
12420 then :
12421 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12424 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12425 ac_save_CPPFLAGS=$CPPFLAGS
12426 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12428 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12429 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12430 then :
12431 printf %s "(cached) " >&6
12432 else $as_nop
12433 ac_wine_check_headers_saved_cc=$CC
12434 ac_wine_check_headers_saved_exeext=$ac_exeext
12435 eval CC=\$${wine_arch}_CC
12436 ac_exeext=".exe"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 #include <libxml/parser.h>
12442 main (void)
12446 return 0;
12448 _ACEOF
12449 if ac_fn_c_try_compile "$LINENO"
12450 then :
12451 ac_cv_mingw_header_libxml_parser_h=yes
12452 else $as_nop
12453 ac_cv_mingw_header_libxml_parser_h=no
12455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12456 CC=$ac_wine_check_headers_saved_cc
12457 ac_exeext=$ac_wine_check_headers_saved_exeext
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12460 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12461 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12462 then :
12465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12466 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12467 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12468 then :
12469 printf %s "(cached) " >&6
12470 else $as_nop
12471 ac_wine_check_headers_saved_cc=$CC
12472 ac_wine_check_headers_saved_exeext=$ac_exeext
12473 eval CC=\$${wine_arch}_CC
12474 ac_exeext=".exe"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 #include <libxml/xmlsave.h>
12480 main (void)
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_compile "$LINENO"
12488 then :
12489 ac_cv_mingw_header_libxml_xmlsave_h=yes
12490 else $as_nop
12491 ac_cv_mingw_header_libxml_xmlsave_h=no
12493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12494 CC=$ac_wine_check_headers_saved_cc
12495 ac_exeext=$ac_wine_check_headers_saved_exeext
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12498 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12499 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12500 then :
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12504 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12505 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12506 then :
12507 printf %s "(cached) " >&6
12508 else $as_nop
12509 ac_wine_check_headers_saved_cc=$CC
12510 ac_wine_check_headers_saved_exeext=$ac_exeext
12511 eval CC=\$${wine_arch}_CC
12512 ac_exeext=".exe"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 #include <libxml/SAX2.h>
12518 main (void)
12522 return 0;
12524 _ACEOF
12525 if ac_fn_c_try_compile "$LINENO"
12526 then :
12527 ac_cv_mingw_header_libxml_SAX2_h=yes
12528 else $as_nop
12529 ac_cv_mingw_header_libxml_SAX2_h=no
12531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12532 CC=$ac_wine_check_headers_saved_cc
12533 ac_exeext=$ac_wine_check_headers_saved_exeext
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12536 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12537 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12538 then :
12541 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"
12542 then
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12544 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12545 if test ${ac_cv_mingw_lib_xml2+y}
12546 then :
12547 printf %s "(cached) " >&6
12548 else $as_nop
12549 ac_wine_check_headers_saved_cc=$CC
12550 ac_wine_check_headers_saved_exeext=$ac_exeext
12551 ac_wine_check_headers_saved_libs=$LIBS
12552 eval CC=\$${wine_arch}_CC
12553 ac_exeext=".exe"
12554 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 char xmlFirstElementChild ();
12563 main (void)
12565 return xmlFirstElementChild ();
12567 return 0;
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"
12571 then :
12572 ac_cv_mingw_lib_xml2=yes
12573 else $as_nop
12574 ac_cv_mingw_lib_xml2=no
12576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12577 conftest$ac_exeext conftest.$ac_ext
12578 CC=$ac_wine_check_headers_saved_cc
12579 ac_exeext=$ac_wine_check_headers_saved_exeext
12580 LIBS=$ac_wine_check_headers_saved_libs
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12583 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12584 if test "x$ac_cv_mingw_lib_xml2" = xyes
12585 then :
12587 else $as_nop
12588 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12590 else
12591 XML2_PE_CFLAGS=""
12592 XML2_PE_LIBS=""
12594 CPPFLAGS=$ac_save_CPPFLAGS
12596 if test "x$XML2_PE_LIBS" = "x"
12597 then
12598 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12601 if ${XSLT_PE_CFLAGS:+false} :
12602 then :
12603 if test ${MINGW_PKG_CONFIG+y}
12604 then :
12605 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12608 if ${XSLT_PE_LIBS:+false} :
12609 then :
12610 if test ${MINGW_PKG_CONFIG+y}
12611 then :
12612 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12615 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12616 ac_save_CPPFLAGS=$CPPFLAGS
12617 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12619 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12620 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12621 then :
12622 printf %s "(cached) " >&6
12623 else $as_nop
12624 ac_wine_check_headers_saved_cc=$CC
12625 ac_wine_check_headers_saved_exeext=$ac_exeext
12626 eval CC=\$${wine_arch}_CC
12627 ac_exeext=".exe"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 #include <libxslt/pattern.h>
12633 main (void)
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_compile "$LINENO"
12641 then :
12642 ac_cv_mingw_header_libxslt_pattern_h=yes
12643 else $as_nop
12644 ac_cv_mingw_header_libxslt_pattern_h=no
12646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12647 CC=$ac_wine_check_headers_saved_cc
12648 ac_exeext=$ac_wine_check_headers_saved_exeext
12650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12651 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12652 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12653 then :
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12657 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12658 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12659 then :
12660 printf %s "(cached) " >&6
12661 else $as_nop
12662 ac_wine_check_headers_saved_cc=$CC
12663 ac_wine_check_headers_saved_exeext=$ac_exeext
12664 eval CC=\$${wine_arch}_CC
12665 ac_exeext=".exe"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 #include <libxslt/transform.h>
12671 main (void)
12675 return 0;
12677 _ACEOF
12678 if ac_fn_c_try_compile "$LINENO"
12679 then :
12680 ac_cv_mingw_header_libxslt_transform_h=yes
12681 else $as_nop
12682 ac_cv_mingw_header_libxslt_transform_h=no
12684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12685 CC=$ac_wine_check_headers_saved_cc
12686 ac_exeext=$ac_wine_check_headers_saved_exeext
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12689 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12690 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12691 then :
12694 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12695 then
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12697 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12698 if test ${ac_cv_mingw_lib_xslt+y}
12699 then :
12700 printf %s "(cached) " >&6
12701 else $as_nop
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12704 ac_wine_check_headers_saved_libs=$LIBS
12705 eval CC=\$${wine_arch}_CC
12706 ac_exeext=".exe"
12707 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12711 /* Override any GCC internal prototype to avoid an error.
12712 Use char because int might match the return type of a GCC
12713 builtin and then its argument prototype would still apply. */
12714 char xsltCompilePattern ();
12716 main (void)
12718 return xsltCompilePattern ();
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"
12724 then :
12725 ac_cv_mingw_lib_xslt=yes
12726 else $as_nop
12727 ac_cv_mingw_lib_xslt=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12730 conftest$ac_exeext conftest.$ac_ext
12731 CC=$ac_wine_check_headers_saved_cc
12732 ac_exeext=$ac_wine_check_headers_saved_exeext
12733 LIBS=$ac_wine_check_headers_saved_libs
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12736 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12737 if test "x$ac_cv_mingw_lib_xslt" = xyes
12738 then :
12740 else $as_nop
12741 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12743 else
12744 XSLT_PE_CFLAGS=""
12745 XSLT_PE_LIBS=""
12747 CPPFLAGS=$ac_save_CPPFLAGS
12749 if test "x$XSLT_PE_LIBS" = "x"
12750 then
12751 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12754 if ${VKD3D_PE_CFLAGS:+false} :
12755 then :
12756 if test ${MINGW_PKG_CONFIG+y}
12757 then :
12758 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12761 if ${VKD3D_PE_LIBS:+false} :
12762 then :
12763 if test ${MINGW_PKG_CONFIG+y}
12764 then :
12765 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12768 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12769 ac_save_CPPFLAGS=$CPPFLAGS
12770 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12772 printf %s "checking for MinGW vkd3d.h... " >&6; }
12773 if test ${ac_cv_mingw_header_vkd3d_h+y}
12774 then :
12775 printf %s "(cached) " >&6
12776 else $as_nop
12777 ac_wine_check_headers_saved_cc=$CC
12778 ac_wine_check_headers_saved_exeext=$ac_exeext
12779 eval CC=\$${wine_arch}_CC
12780 ac_exeext=".exe"
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 #include <vkd3d.h>
12786 main (void)
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_compile "$LINENO"
12794 then :
12795 ac_cv_mingw_header_vkd3d_h=yes
12796 else $as_nop
12797 ac_cv_mingw_header_vkd3d_h=no
12799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12800 CC=$ac_wine_check_headers_saved_cc
12801 ac_exeext=$ac_wine_check_headers_saved_exeext
12803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12804 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12805 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12806 then :
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12810 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12811 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12812 then :
12813 printf %s "(cached) " >&6
12814 else $as_nop
12815 ac_wine_check_headers_saved_cc=$CC
12816 ac_wine_check_headers_saved_exeext=$ac_exeext
12817 eval CC=\$${wine_arch}_CC
12818 ac_exeext=".exe"
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 #include <vkd3d_shader.h>
12824 main (void)
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_compile "$LINENO"
12832 then :
12833 ac_cv_mingw_header_vkd3d_shader_h=yes
12834 else $as_nop
12835 ac_cv_mingw_header_vkd3d_shader_h=no
12837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12838 CC=$ac_wine_check_headers_saved_cc
12839 ac_exeext=$ac_wine_check_headers_saved_exeext
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12842 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12843 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12844 then :
12847 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12848 then
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12850 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12851 if test ${ac_cv_mingw_lib_vkd3d+y}
12852 then :
12853 printf %s "(cached) " >&6
12854 else $as_nop
12855 ac_wine_check_headers_saved_cc=$CC
12856 ac_wine_check_headers_saved_exeext=$ac_exeext
12857 ac_wine_check_headers_saved_libs=$LIBS
12858 eval CC=\$${wine_arch}_CC
12859 ac_exeext=".exe"
12860 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 char vkd3d_set_log_callback ();
12869 main (void)
12871 return vkd3d_set_log_callback ();
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"
12877 then :
12878 ac_cv_mingw_lib_vkd3d=yes
12879 else $as_nop
12880 ac_cv_mingw_lib_vkd3d=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12883 conftest$ac_exeext conftest.$ac_ext
12884 CC=$ac_wine_check_headers_saved_cc
12885 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 LIBS=$ac_wine_check_headers_saved_libs
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12889 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12890 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12891 then :
12893 else $as_nop
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12897 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12898 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12899 then :
12900 printf %s "(cached) " >&6
12901 else $as_nop
12902 ac_wine_check_headers_saved_cc=$CC
12903 ac_wine_check_headers_saved_exeext=$ac_exeext
12904 ac_wine_check_headers_saved_libs=$LIBS
12905 eval CC=\$${wine_arch}_CC
12906 ac_exeext=".exe"
12907 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12911 /* Override any GCC internal prototype to avoid an error.
12912 Use char because int might match the return type of a GCC
12913 builtin and then its argument prototype would still apply. */
12914 char vkd3d_shader_serialize_dxbc ();
12916 main (void)
12918 return vkd3d_shader_serialize_dxbc ();
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_link "$LINENO"
12924 then :
12925 ac_cv_mingw_lib_vkd3d_shader=yes
12926 else $as_nop
12927 ac_cv_mingw_lib_vkd3d_shader=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12930 conftest$ac_exeext conftest.$ac_ext
12931 CC=$ac_wine_check_headers_saved_cc
12932 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 LIBS=$ac_wine_check_headers_saved_libs
12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12936 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12937 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12938 then :
12940 else $as_nop
12943 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12944 then
12945 VKD3D_PE_CFLAGS=""
12946 VKD3D_PE_LIBS=""
12948 else
12949 VKD3D_PE_CFLAGS=""
12950 VKD3D_PE_LIBS=""
12952 CPPFLAGS=$ac_save_CPPFLAGS
12954 if test "x$VKD3D_PE_LIBS" = "x"
12955 then
12956 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12959 if ${ZLIB_PE_CFLAGS:+false} :
12960 then :
12961 if test ${MINGW_PKG_CONFIG+y}
12962 then :
12963 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12966 if ${ZLIB_PE_LIBS:+false} :
12967 then :
12968 if test ${MINGW_PKG_CONFIG+y}
12969 then :
12970 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12973 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12974 ac_save_CPPFLAGS=$CPPFLAGS
12975 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12977 printf %s "checking for MinGW zlib.h... " >&6; }
12978 if test ${ac_cv_mingw_header_zlib_h+y}
12979 then :
12980 printf %s "(cached) " >&6
12981 else $as_nop
12982 ac_wine_check_headers_saved_cc=$CC
12983 ac_wine_check_headers_saved_exeext=$ac_exeext
12984 eval CC=\$${wine_arch}_CC
12985 ac_exeext=".exe"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 #include <zlib.h>
12991 main (void)
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_compile "$LINENO"
12999 then :
13000 ac_cv_mingw_header_zlib_h=yes
13001 else $as_nop
13002 ac_cv_mingw_header_zlib_h=no
13004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13005 CC=$ac_wine_check_headers_saved_cc
13006 ac_exeext=$ac_wine_check_headers_saved_exeext
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13009 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13010 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13011 then :
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13013 printf %s "checking for inflate in MinGW -lz... " >&6; }
13014 if test ${ac_cv_mingw_lib_z+y}
13015 then :
13016 printf %s "(cached) " >&6
13017 else $as_nop
13018 ac_wine_check_headers_saved_cc=$CC
13019 ac_wine_check_headers_saved_exeext=$ac_exeext
13020 ac_wine_check_headers_saved_libs=$LIBS
13021 eval CC=\$${wine_arch}_CC
13022 ac_exeext=".exe"
13023 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 char inflate ();
13032 main (void)
13034 return inflate ();
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_link "$LINENO"
13040 then :
13041 ac_cv_mingw_lib_z=yes
13042 else $as_nop
13043 ac_cv_mingw_lib_z=no
13045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13046 conftest$ac_exeext conftest.$ac_ext
13047 CC=$ac_wine_check_headers_saved_cc
13048 ac_exeext=$ac_wine_check_headers_saved_exeext
13049 LIBS=$ac_wine_check_headers_saved_libs
13051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13052 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13053 if test "x$ac_cv_mingw_lib_z" = xyes
13054 then :
13056 else $as_nop
13057 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13059 else $as_nop
13060 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13062 CPPFLAGS=$ac_save_CPPFLAGS
13064 if test "x$ZLIB_PE_LIBS" = "x"
13065 then
13066 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13070 if ${FAUDIO_PE_LIBS:+false} :
13071 then :
13072 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13073 if ${FAUDIO_PE_CFLAGS:+false} :
13074 then :
13075 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13076 else $as_nop
13077 enable_faudio=no
13079 else $as_nop
13080 enable_faudio=no
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13085 if ${GSM_PE_LIBS:+false} :
13086 then :
13087 GSM_PE_LIBS=gsm
13088 if ${GSM_PE_CFLAGS:+false} :
13089 then :
13090 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13091 else $as_nop
13092 enable_gsm=no
13094 else $as_nop
13095 enable_gsm=no
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13100 if ${JPEG_PE_LIBS:+false} :
13101 then :
13102 JPEG_PE_LIBS=jpeg
13103 if ${JPEG_PE_CFLAGS:+false} :
13104 then :
13105 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13106 else $as_nop
13107 enable_jpeg=no
13109 else $as_nop
13110 enable_jpeg=no
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13115 if ${JXR_PE_LIBS:+false} :
13116 then :
13117 JXR_PE_LIBS=jxr
13118 if ${JXR_PE_CFLAGS:+false} :
13119 then :
13120 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13121 else $as_nop
13122 enable_jxr=no
13124 else $as_nop
13125 enable_jxr=no
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13130 if ${LCMS2_PE_LIBS:+false} :
13131 then :
13132 LCMS2_PE_LIBS=lcms2
13133 if ${LCMS2_PE_CFLAGS:+false} :
13134 then :
13135 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13136 else $as_nop
13137 enable_lcms2=no
13139 else $as_nop
13140 enable_lcms2=no
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13145 if ${LDAP_PE_LIBS:+false} :
13146 then :
13147 LDAP_PE_LIBS=ldap
13148 if ${LDAP_PE_CFLAGS:+false} :
13149 then :
13150 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13151 else $as_nop
13152 enable_ldap=no
13154 else $as_nop
13155 enable_ldap=no
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13160 if ${MPG123_PE_LIBS:+false} :
13161 then :
13162 MPG123_PE_LIBS=mpg123
13163 if ${MPG123_PE_CFLAGS:+false} :
13164 then :
13165 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13166 else $as_nop
13167 enable_mpg123=no
13169 else $as_nop
13170 enable_mpg123=no
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13175 if ${MUSL_PE_LIBS:+false} :
13176 then :
13177 MUSL_PE_LIBS=musl
13178 if ${MUSL_PE_CFLAGS:+false} :
13179 then :
13180 MUSL_PE_CFLAGS=
13181 else $as_nop
13182 enable_musl=no
13184 else $as_nop
13185 enable_musl=no
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13190 if ${PNG_PE_LIBS:+false} :
13191 then :
13192 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13193 if ${PNG_PE_CFLAGS:+false} :
13194 then :
13195 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13196 else $as_nop
13197 enable_png=no
13199 else $as_nop
13200 enable_png=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13205 if ${TIFF_PE_LIBS:+false} :
13206 then :
13207 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13208 if ${TIFF_PE_CFLAGS:+false} :
13209 then :
13210 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13211 else $as_nop
13212 enable_tiff=no
13214 else $as_nop
13215 enable_tiff=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13220 if ${VKD3D_PE_LIBS:+false} :
13221 then :
13222 VKD3D_PE_LIBS=vkd3d
13223 if ${VKD3D_PE_CFLAGS:+false} :
13224 then :
13225 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13226 else $as_nop
13227 enable_vkd3d=no
13229 else $as_nop
13230 enable_vkd3d=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13235 if ${XML2_PE_LIBS:+false} :
13236 then :
13237 XML2_PE_LIBS=xml2
13238 if ${XML2_PE_CFLAGS:+false} :
13239 then :
13240 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13241 else $as_nop
13242 enable_xml2=no
13244 else $as_nop
13245 enable_xml2=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13250 if ${XSLT_PE_LIBS:+false} :
13251 then :
13252 XSLT_PE_LIBS=xslt
13253 if ${XSLT_PE_CFLAGS:+false} :
13254 then :
13255 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13256 else $as_nop
13257 enable_xslt=no
13259 else $as_nop
13260 enable_xslt=no
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13265 if ${ZLIB_PE_LIBS:+false} :
13266 then :
13267 ZLIB_PE_LIBS=z
13268 if ${ZLIB_PE_CFLAGS:+false} :
13269 then :
13270 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13271 else $as_nop
13272 enable_zlib=no
13274 else $as_nop
13275 enable_zlib=no
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13280 if ${ZYDIS_PE_LIBS:+false} :
13281 then :
13282 ZYDIS_PE_LIBS=zydis
13283 if ${ZYDIS_PE_CFLAGS:+false} :
13284 then :
13285 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13286 else $as_nop
13287 enable_zydis=no
13289 else $as_nop
13290 enable_zydis=no
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13297 if test "$ac_cv_header_pthread_h" = "yes"
13298 then
13299 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13300 if test "x$ac_cv_func_pthread_create" = xyes
13301 then :
13303 else $as_nop
13304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13305 printf %s "checking for pthread_create in -lpthread... " >&6; }
13306 if test ${ac_cv_lib_pthread_pthread_create+y}
13307 then :
13308 printf %s "(cached) " >&6
13309 else $as_nop
13310 ac_check_lib_save_LIBS=$LIBS
13311 LIBS="-lpthread $LIBS"
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 char pthread_create ();
13320 main (void)
13322 return pthread_create ();
13324 return 0;
13326 _ACEOF
13327 if ac_fn_c_try_link "$LINENO"
13328 then :
13329 ac_cv_lib_pthread_pthread_create=yes
13330 else $as_nop
13331 ac_cv_lib_pthread_pthread_create=no
13333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13338 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13339 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13340 then :
13341 PTHREAD_LIBS="-lpthread"
13348 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13349 then :
13350 case "x$with_pthread" in
13351 xno) ;;
13352 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13353 Wine cannot support threads without libpthread.
13354 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13355 esac
13360 ac_ext=c
13361 ac_cpp='$CPP $CPPFLAGS'
13362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13366 printf %s "checking how to run the C preprocessor... " >&6; }
13367 # On Suns, sometimes $CPP names a directory.
13368 if test -n "$CPP" && test -d "$CPP"; then
13369 CPP=
13371 if test -z "$CPP"; then
13372 if test ${ac_cv_prog_CPP+y}
13373 then :
13374 printf %s "(cached) " >&6
13375 else $as_nop
13376 # Double quotes because $CC needs to be expanded
13377 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13379 ac_preproc_ok=false
13380 for ac_c_preproc_warn_flag in '' yes
13382 # Use a header file that comes with gcc, so configuring glibc
13383 # with a fresh cross-compiler works.
13384 # On the NeXT, cc -E runs the code through the compiler's parser,
13385 # not just through cpp. "Syntax error" is here to catch this case.
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13388 #include <limits.h>
13389 Syntax error
13390 _ACEOF
13391 if ac_fn_c_try_cpp "$LINENO"
13392 then :
13394 else $as_nop
13395 # Broken: fails on valid input.
13396 continue
13398 rm -f conftest.err conftest.i conftest.$ac_ext
13400 # OK, works on sane cases. Now check whether nonexistent headers
13401 # can be detected and how.
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <ac_nonexistent.h>
13405 _ACEOF
13406 if ac_fn_c_try_cpp "$LINENO"
13407 then :
13408 # Broken: success on invalid input.
13409 continue
13410 else $as_nop
13411 # Passes both tests.
13412 ac_preproc_ok=:
13413 break
13415 rm -f conftest.err conftest.i conftest.$ac_ext
13417 done
13418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13419 rm -f conftest.i conftest.err conftest.$ac_ext
13420 if $ac_preproc_ok
13421 then :
13422 break
13425 done
13426 ac_cv_prog_CPP=$CPP
13429 CPP=$ac_cv_prog_CPP
13430 else
13431 ac_cv_prog_CPP=$CPP
13433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13434 printf "%s\n" "$CPP" >&6; }
13435 ac_preproc_ok=false
13436 for ac_c_preproc_warn_flag in '' yes
13438 # Use a header file that comes with gcc, so configuring glibc
13439 # with a fresh cross-compiler works.
13440 # On the NeXT, cc -E runs the code through the compiler's parser,
13441 # not just through cpp. "Syntax error" is here to catch this case.
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <limits.h>
13445 Syntax error
13446 _ACEOF
13447 if ac_fn_c_try_cpp "$LINENO"
13448 then :
13450 else $as_nop
13451 # Broken: fails on valid input.
13452 continue
13454 rm -f conftest.err conftest.i conftest.$ac_ext
13456 # OK, works on sane cases. Now check whether nonexistent headers
13457 # can be detected and how.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <ac_nonexistent.h>
13461 _ACEOF
13462 if ac_fn_c_try_cpp "$LINENO"
13463 then :
13464 # Broken: success on invalid input.
13465 continue
13466 else $as_nop
13467 # Passes both tests.
13468 ac_preproc_ok=:
13469 break
13471 rm -f conftest.err conftest.i conftest.$ac_ext
13473 done
13474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13475 rm -f conftest.i conftest.err conftest.$ac_ext
13476 if $ac_preproc_ok
13477 then :
13479 else $as_nop
13480 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13481 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13482 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13483 See \`config.log' for more details" "$LINENO" 5; }
13486 ac_ext=c
13487 ac_cpp='$CPP $CPPFLAGS'
13488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13494 printf %s "checking for X... " >&6; }
13497 # Check whether --with-x was given.
13498 if test ${with_x+y}
13499 then :
13500 withval=$with_x;
13503 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13504 if test "x$with_x" = xno; then
13505 # The user explicitly disabled X.
13506 have_x=disabled
13507 else
13508 case $x_includes,$x_libraries in #(
13509 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13510 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13511 then :
13512 printf %s "(cached) " >&6
13513 else $as_nop
13514 # One or both of the vars are not set, and there is no cached value.
13515 ac_x_includes=no
13516 ac_x_libraries=no
13517 # Do we need to do anything special at all?
13518 ac_save_LIBS=$LIBS
13519 LIBS="-lX11 $LIBS"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13522 #include <X11/Xlib.h>
13524 main (void)
13526 XrmInitialize ()
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"
13532 then :
13533 # We can compile and link X programs with no special options.
13534 ac_x_includes=
13535 ac_x_libraries=
13537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13538 conftest$ac_exeext conftest.$ac_ext
13539 LIBS="$ac_save_LIBS"
13540 # If that didn't work, only try xmkmf and file system searches
13541 # for native compilation.
13542 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13543 then :
13544 rm -f -r conftest.dir
13545 if mkdir conftest.dir; then
13546 cd conftest.dir
13547 cat >Imakefile <<'_ACEOF'
13548 incroot:
13549 @echo incroot='${INCROOT}'
13550 usrlibdir:
13551 @echo usrlibdir='${USRLIBDIR}'
13552 libdir:
13553 @echo libdir='${LIBDIR}'
13554 _ACEOF
13555 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13556 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13557 for ac_var in incroot usrlibdir libdir; do
13558 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13559 done
13560 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13561 for ac_extension in a so sl dylib la dll; do
13562 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13563 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13564 ac_im_usrlibdir=$ac_im_libdir; break
13566 done
13567 # Screen out bogus values from the imake configuration. They are
13568 # bogus both because they are the default anyway, and because
13569 # using them would break gcc on systems where it needs fixed includes.
13570 case $ac_im_incroot in
13571 /usr/include) ac_x_includes= ;;
13572 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13573 esac
13574 case $ac_im_usrlibdir in
13575 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13576 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13577 esac
13579 cd ..
13580 rm -f -r conftest.dir
13583 # Standard set of common directories for X headers.
13584 # Check X11 before X11Rn because it is often a symlink to the current release.
13585 ac_x_header_dirs='
13586 /usr/X11/include
13587 /usr/X11R7/include
13588 /usr/X11R6/include
13589 /usr/X11R5/include
13590 /usr/X11R4/include
13592 /usr/include/X11
13593 /usr/include/X11R7
13594 /usr/include/X11R6
13595 /usr/include/X11R5
13596 /usr/include/X11R4
13598 /usr/local/X11/include
13599 /usr/local/X11R7/include
13600 /usr/local/X11R6/include
13601 /usr/local/X11R5/include
13602 /usr/local/X11R4/include
13604 /usr/local/include/X11
13605 /usr/local/include/X11R7
13606 /usr/local/include/X11R6
13607 /usr/local/include/X11R5
13608 /usr/local/include/X11R4
13610 /opt/X11/include
13612 /usr/X386/include
13613 /usr/x386/include
13614 /usr/XFree86/include/X11
13616 /usr/include
13617 /usr/local/include
13618 /usr/unsupported/include
13619 /usr/athena/include
13620 /usr/local/x11r5/include
13621 /usr/lpp/Xamples/include
13623 /usr/openwin/include
13624 /usr/openwin/share/include'
13626 if test "$ac_x_includes" = no; then
13627 # Guess where to find include files, by looking for Xlib.h.
13628 # First, try using that file with no special directory specified.
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 #include <X11/Xlib.h>
13632 _ACEOF
13633 if ac_fn_c_try_cpp "$LINENO"
13634 then :
13635 # We can compile using X headers with no special include directory.
13636 ac_x_includes=
13637 else $as_nop
13638 for ac_dir in $ac_x_header_dirs; do
13639 if test -r "$ac_dir/X11/Xlib.h"; then
13640 ac_x_includes=$ac_dir
13641 break
13643 done
13645 rm -f conftest.err conftest.i conftest.$ac_ext
13646 fi # $ac_x_includes = no
13648 if test "$ac_x_libraries" = no; then
13649 # Check for the libraries.
13650 # See if we find them without any special options.
13651 # Don't add to $LIBS permanently.
13652 ac_save_LIBS=$LIBS
13653 LIBS="-lX11 $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 #include <X11/Xlib.h>
13658 main (void)
13660 XrmInitialize ()
13662 return 0;
13664 _ACEOF
13665 if ac_fn_c_try_link "$LINENO"
13666 then :
13667 LIBS=$ac_save_LIBS
13668 # We can link X programs with no special library path.
13669 ac_x_libraries=
13670 else $as_nop
13671 LIBS=$ac_save_LIBS
13672 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13674 # Don't even attempt the hair of trying to link an X program!
13675 for ac_extension in a so sl dylib la dll; do
13676 if test -r "$ac_dir/libX11.$ac_extension"; then
13677 ac_x_libraries=$ac_dir
13678 break 2
13680 done
13681 done
13683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13684 conftest$ac_exeext conftest.$ac_ext
13685 fi # $ac_x_libraries = no
13688 # Record the results.
13689 case $ac_x_includes,$ac_x_libraries in #(
13690 no,* | *,no | *\'*) :
13691 # Didn't find X, or a directory has "'" in its name.
13692 ac_cv_have_x="have_x=no" ;; #(
13693 *) :
13694 # Record where we found X for the cache.
13695 ac_cv_have_x="have_x=yes\
13696 ac_x_includes='$ac_x_includes'\
13697 ac_x_libraries='$ac_x_libraries'" ;;
13698 esac
13700 ;; #(
13701 *) have_x=yes;;
13702 esac
13703 eval "$ac_cv_have_x"
13704 fi # $with_x != no
13706 if test "$have_x" != yes; then
13707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13708 printf "%s\n" "$have_x" >&6; }
13709 no_x=yes
13710 else
13711 # If each of the values was on the command line, it overrides each guess.
13712 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13713 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13714 # Update the cache value to reflect the command line values.
13715 ac_cv_have_x="have_x=yes\
13716 ac_x_includes='$x_includes'\
13717 ac_x_libraries='$x_libraries'"
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13719 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13722 if test "$no_x" = yes; then
13723 # Not all programs may use this symbol, but it does not hurt to define it.
13725 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13727 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13728 else
13729 if test -n "$x_includes"; then
13730 X_CFLAGS="$X_CFLAGS -I$x_includes"
13733 # It would also be nice to do this for all -L options, not just this one.
13734 if test -n "$x_libraries"; then
13735 X_LIBS="$X_LIBS -L$x_libraries"
13736 # For Solaris; some versions of Sun CC require a space after -R and
13737 # others require no space. Words are not sufficient . . . .
13738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13739 printf %s "checking whether -R must be followed by a space... " >&6; }
13740 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13741 ac_xsave_c_werror_flag=$ac_c_werror_flag
13742 ac_c_werror_flag=yes
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13747 main (void)
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"
13755 then :
13756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 printf "%s\n" "no" >&6; }
13758 X_LIBS="$X_LIBS -R$x_libraries"
13759 else $as_nop
13760 LIBS="$ac_xsave_LIBS -R $x_libraries"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13765 main (void)
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"
13773 then :
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13775 printf "%s\n" "yes" >&6; }
13776 X_LIBS="$X_LIBS -R $x_libraries"
13777 else $as_nop
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13779 printf "%s\n" "neither works" >&6; }
13781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13782 conftest$ac_exeext conftest.$ac_ext
13784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13785 conftest$ac_exeext conftest.$ac_ext
13786 ac_c_werror_flag=$ac_xsave_c_werror_flag
13787 LIBS=$ac_xsave_LIBS
13790 # Check for system-dependent libraries X programs must link with.
13791 # Do this before checking for the system-independent R6 libraries
13792 # (-lICE), since we may need -lsocket or whatever for X linking.
13794 if test "$ISC" = yes; then
13795 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13796 else
13797 # Martyn Johnson says this is needed for Ultrix, if the X
13798 # libraries were built with DECnet support. And Karl Berry says
13799 # the Alpha needs dnet_stub (dnet does not exist).
13800 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13804 /* Override any GCC internal prototype to avoid an error.
13805 Use char because int might match the return type of a GCC
13806 builtin and then its argument prototype would still apply. */
13807 char XOpenDisplay ();
13809 main (void)
13811 return XOpenDisplay ();
13813 return 0;
13815 _ACEOF
13816 if ac_fn_c_try_link "$LINENO"
13817 then :
13819 else $as_nop
13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13821 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13822 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13823 then :
13824 printf %s "(cached) " >&6
13825 else $as_nop
13826 ac_check_lib_save_LIBS=$LIBS
13827 LIBS="-ldnet $LIBS"
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13831 /* Override any GCC internal prototype to avoid an error.
13832 Use char because int might match the return type of a GCC
13833 builtin and then its argument prototype would still apply. */
13834 char dnet_ntoa ();
13836 main (void)
13838 return dnet_ntoa ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"
13844 then :
13845 ac_cv_lib_dnet_dnet_ntoa=yes
13846 else $as_nop
13847 ac_cv_lib_dnet_dnet_ntoa=no
13849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13850 conftest$ac_exeext conftest.$ac_ext
13851 LIBS=$ac_check_lib_save_LIBS
13853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13854 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13855 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13856 then :
13857 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13860 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13862 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13863 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13864 then :
13865 printf %s "(cached) " >&6
13866 else $as_nop
13867 ac_check_lib_save_LIBS=$LIBS
13868 LIBS="-ldnet_stub $LIBS"
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13872 /* Override any GCC internal prototype to avoid an error.
13873 Use char because int might match the return type of a GCC
13874 builtin and then its argument prototype would still apply. */
13875 char dnet_ntoa ();
13877 main (void)
13879 return dnet_ntoa ();
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"
13885 then :
13886 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13887 else $as_nop
13888 ac_cv_lib_dnet_stub_dnet_ntoa=no
13890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13891 conftest$ac_exeext conftest.$ac_ext
13892 LIBS=$ac_check_lib_save_LIBS
13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13895 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13896 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13897 then :
13898 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS="$ac_xsave_LIBS"
13907 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13908 # to get the SysV transport functions.
13909 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13910 # needs -lnsl.
13911 # The nsl library prevents programs from opening the X display
13912 # on Irix 5.2, according to T.E. Dickey.
13913 # The functions gethostbyname, getservbyname, and inet_addr are
13914 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13915 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13916 if test "x$ac_cv_func_gethostbyname" = xyes
13917 then :
13921 if test $ac_cv_func_gethostbyname = no; then
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13923 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13924 if test ${ac_cv_lib_nsl_gethostbyname+y}
13925 then :
13926 printf %s "(cached) " >&6
13927 else $as_nop
13928 ac_check_lib_save_LIBS=$LIBS
13929 LIBS="-lnsl $LIBS"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 char gethostbyname ();
13938 main (void)
13940 return gethostbyname ();
13942 return 0;
13944 _ACEOF
13945 if ac_fn_c_try_link "$LINENO"
13946 then :
13947 ac_cv_lib_nsl_gethostbyname=yes
13948 else $as_nop
13949 ac_cv_lib_nsl_gethostbyname=no
13951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13952 conftest$ac_exeext conftest.$ac_ext
13953 LIBS=$ac_check_lib_save_LIBS
13955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13956 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13957 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13958 then :
13959 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13962 if test $ac_cv_lib_nsl_gethostbyname = no; then
13963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13964 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13965 if test ${ac_cv_lib_bsd_gethostbyname+y}
13966 then :
13967 printf %s "(cached) " >&6
13968 else $as_nop
13969 ac_check_lib_save_LIBS=$LIBS
13970 LIBS="-lbsd $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 gethostbyname ();
13979 main (void)
13981 return gethostbyname ();
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"
13987 then :
13988 ac_cv_lib_bsd_gethostbyname=yes
13989 else $as_nop
13990 ac_cv_lib_bsd_gethostbyname=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_bsd_gethostbyname" >&5
13997 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13998 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13999 then :
14000 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14006 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14007 # socket/setsockopt and other routines are undefined under SCO ODT
14008 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14009 # on later versions), says Simon Leinen: it contains gethostby*
14010 # variants that don't use the name server (or something). -lsocket
14011 # must be given before -lnsl if both are needed. We assume that
14012 # if connect needs -lnsl, so does gethostbyname.
14013 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14014 if test "x$ac_cv_func_connect" = xyes
14015 then :
14019 if test $ac_cv_func_connect = no; then
14020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14021 printf %s "checking for connect in -lsocket... " >&6; }
14022 if test ${ac_cv_lib_socket_connect+y}
14023 then :
14024 printf %s "(cached) " >&6
14025 else $as_nop
14026 ac_check_lib_save_LIBS=$LIBS
14027 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 /* end confdefs.h. */
14031 /* Override any GCC internal prototype to avoid an error.
14032 Use char because int might match the return type of a GCC
14033 builtin and then its argument prototype would still apply. */
14034 char connect ();
14036 main (void)
14038 return connect ();
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"
14044 then :
14045 ac_cv_lib_socket_connect=yes
14046 else $as_nop
14047 ac_cv_lib_socket_connect=no
14049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_lib_save_LIBS
14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14054 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14055 if test "x$ac_cv_lib_socket_connect" = xyes
14056 then :
14057 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14062 # Guillermo Gomez says -lposix is necessary on A/UX.
14063 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14064 if test "x$ac_cv_func_remove" = xyes
14065 then :
14069 if test $ac_cv_func_remove = no; then
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14071 printf %s "checking for remove in -lposix... " >&6; }
14072 if test ${ac_cv_lib_posix_remove+y}
14073 then :
14074 printf %s "(cached) " >&6
14075 else $as_nop
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-lposix $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 char remove ();
14086 main (void)
14088 return remove ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"
14094 then :
14095 ac_cv_lib_posix_remove=yes
14096 else $as_nop
14097 ac_cv_lib_posix_remove=no
14099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14104 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14105 if test "x$ac_cv_lib_posix_remove" = xyes
14106 then :
14107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14112 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14113 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14114 if test "x$ac_cv_func_shmat" = xyes
14115 then :
14119 if test $ac_cv_func_shmat = no; then
14120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14121 printf %s "checking for shmat in -lipc... " >&6; }
14122 if test ${ac_cv_lib_ipc_shmat+y}
14123 then :
14124 printf %s "(cached) " >&6
14125 else $as_nop
14126 ac_check_lib_save_LIBS=$LIBS
14127 LIBS="-lipc $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 char shmat ();
14136 main (void)
14138 return shmat ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"
14144 then :
14145 ac_cv_lib_ipc_shmat=yes
14146 else $as_nop
14147 ac_cv_lib_ipc_shmat=no
14149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_lib_save_LIBS
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14154 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14155 if test "x$ac_cv_lib_ipc_shmat" = xyes
14156 then :
14157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14163 # Check for libraries that X11R6 Xt/Xaw programs need.
14164 ac_save_LDFLAGS=$LDFLAGS
14165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14167 # check for ICE first), but we must link in the order -lSM -lICE or
14168 # we get undefined symbols. So assume we have SM if we have ICE.
14169 # These have to be linked with before -lX11, unlike the other
14170 # libraries we check for below, so use a different variable.
14171 # John Interrante, Karl Berry
14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14173 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14174 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14175 then :
14176 printf %s "(cached) " >&6
14177 else $as_nop
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 char IceConnectionNumber ();
14188 main (void)
14190 return IceConnectionNumber ();
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"
14196 then :
14197 ac_cv_lib_ICE_IceConnectionNumber=yes
14198 else $as_nop
14199 ac_cv_lib_ICE_IceConnectionNumber=no
14201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14202 conftest$ac_exeext conftest.$ac_ext
14203 LIBS=$ac_check_lib_save_LIBS
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14206 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14207 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14208 then :
14209 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14212 LDFLAGS=$ac_save_LDFLAGS
14217 if test "$have_x" = "yes"
14218 then
14219 ac_save_CPPFLAGS="$CPPFLAGS"
14220 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14223 printf %s "checking for -lX11... " >&6; }
14224 if test ${ac_cv_lib_soname_X11+y}
14225 then :
14226 printf %s "(cached) " >&6
14227 else $as_nop
14228 ac_check_soname_save_LIBS=$LIBS
14229 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14233 /* Override any GCC internal prototype to avoid an error.
14234 Use char because int might match the return type of a GCC
14235 builtin and then its argument prototype would still apply. */
14236 char XCreateWindow ();
14238 main (void)
14240 return XCreateWindow ();
14242 return 0;
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"
14246 then :
14247 case "$LIBEXT" in
14248 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14249 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'` ;;
14250 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14251 if ${ac_cv_lib_soname_X11:+false} :
14252 then :
14253 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14254 fi ;;
14255 esac
14256 else $as_nop
14257 ac_cv_lib_soname_X11=
14259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14260 conftest$ac_exeext conftest.$ac_ext
14261 LIBS=$ac_check_soname_save_LIBS
14263 if ${ac_cv_lib_soname_X11:+false} :
14264 then :
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14266 printf "%s\n" "not found" >&6; }
14268 else $as_nop
14269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14270 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14272 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14277 printf %s "checking for -lXext... " >&6; }
14278 if test ${ac_cv_lib_soname_Xext+y}
14279 then :
14280 printf %s "(cached) " >&6
14281 else $as_nop
14282 ac_check_soname_save_LIBS=$LIBS
14283 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 char XextCreateExtension ();
14292 main (void)
14294 return XextCreateExtension ();
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"
14300 then :
14301 case "$LIBEXT" in
14302 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14303 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'` ;;
14304 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14305 if ${ac_cv_lib_soname_Xext:+false} :
14306 then :
14307 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14308 fi ;;
14309 esac
14310 else $as_nop
14311 ac_cv_lib_soname_Xext=
14313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS=$ac_check_soname_save_LIBS
14317 if ${ac_cv_lib_soname_Xext:+false} :
14318 then :
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14320 printf "%s\n" "not found" >&6; }
14322 else $as_nop
14323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14324 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14326 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14328 X_LIBS="$X_LIBS -lXext"
14330 X_LIBS="$X_LIBS -lX11"
14332 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14333 # include <X11/Xlib.h>
14334 #endif
14335 #ifdef HAVE_X11_XUTIL_H
14336 # include <X11/Xutil.h>
14337 #endif
14339 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14340 then :
14341 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14344 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14345 # include <X11/Xlib.h>
14346 #endif
14347 #ifdef HAVE_X11_XUTIL_H
14348 # include <X11/Xutil.h>
14349 #endif
14351 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14352 then :
14353 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14356 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14357 # include <X11/Xlib.h>
14358 #endif
14359 #ifdef HAVE_X11_XUTIL_H
14360 # include <X11/Xutil.h>
14361 #endif
14363 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14364 then :
14365 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14369 # include <X11/Xlib.h>
14370 #endif
14371 #ifdef HAVE_X11_XUTIL_H
14372 # include <X11/Xutil.h>
14373 #endif
14375 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14376 then :
14377 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14380 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14381 # include <X11/Xlib.h>
14382 #endif
14383 #ifdef HAVE_X11_XUTIL_H
14384 # include <X11/Xutil.h>
14385 #endif
14387 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14388 then :
14389 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14392 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14393 # include <X11/Xlib.h>
14394 #endif
14395 #ifdef HAVE_X11_XUTIL_H
14396 # include <X11/Xutil.h>
14397 #endif
14399 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14400 then :
14401 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14404 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14405 # include <X11/Xlib.h>
14406 #endif
14407 #ifdef HAVE_X11_XUTIL_H
14408 # include <X11/Xutil.h>
14409 #endif
14411 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14412 then :
14413 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14416 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14417 # include <X11/Xlib.h>
14418 #endif
14419 #ifdef HAVE_X11_XUTIL_H
14420 # include <X11/Xutil.h>
14421 #endif
14423 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14424 then :
14425 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14428 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14429 # include <X11/Xlib.h>
14430 #endif
14431 #ifdef HAVE_X11_XUTIL_H
14432 # include <X11/Xutil.h>
14433 #endif
14435 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14436 then :
14437 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14440 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14441 # include <X11/Xlib.h>
14442 #endif
14443 #ifdef HAVE_X11_XUTIL_H
14444 # include <X11/Xutil.h>
14445 #endif
14447 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14448 then :
14449 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14452 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14453 # include <X11/Xlib.h>
14454 #endif
14455 #ifdef HAVE_X11_XUTIL_H
14456 # include <X11/Xutil.h>
14457 #endif
14459 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14460 then :
14461 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14464 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14465 # include <X11/Xlib.h>
14466 #endif
14467 #ifdef HAVE_X11_XUTIL_H
14468 # include <X11/Xutil.h>
14469 #endif
14471 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14472 then :
14473 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14476 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14477 # include <X11/Xlib.h>
14478 #endif
14479 #ifdef HAVE_X11_XUTIL_H
14480 # include <X11/Xutil.h>
14481 #endif
14483 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14484 then :
14485 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14488 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14489 # include <X11/Xlib.h>
14490 #endif
14491 #ifdef HAVE_X11_XUTIL_H
14492 # include <X11/Xutil.h>
14493 #endif
14495 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14496 then :
14497 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14500 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14501 # include <X11/Xlib.h>
14502 #endif
14503 #ifdef HAVE_X11_XUTIL_H
14504 # include <X11/Xutil.h>
14505 #endif
14507 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14508 then :
14509 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14514 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14515 then
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14517 printf %s "checking for -lXcursor... " >&6; }
14518 if test ${ac_cv_lib_soname_Xcursor+y}
14519 then :
14520 printf %s "(cached) " >&6
14521 else $as_nop
14522 ac_check_soname_save_LIBS=$LIBS
14523 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 char XcursorImageLoadCursor ();
14532 main (void)
14534 return XcursorImageLoadCursor ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"
14540 then :
14541 case "$LIBEXT" in
14542 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14543 dylib) ac_cv_lib_soname_Xcursor=`$OTOOL -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14544 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14545 if ${ac_cv_lib_soname_Xcursor:+false} :
14546 then :
14547 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14548 fi ;;
14549 esac
14550 else $as_nop
14551 ac_cv_lib_soname_Xcursor=
14553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14554 conftest$ac_exeext conftest.$ac_ext
14555 LIBS=$ac_check_soname_save_LIBS
14557 if ${ac_cv_lib_soname_Xcursor:+false} :
14558 then :
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14560 printf "%s\n" "not found" >&6; }
14562 else $as_nop
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14564 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14566 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14571 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14572 then :
14573 case "x$with_xcursor" in
14574 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14575 xno) ;;
14576 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14577 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14578 esac
14582 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14583 then
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14585 printf %s "checking for -lXi... " >&6; }
14586 if test ${ac_cv_lib_soname_Xi+y}
14587 then :
14588 printf %s "(cached) " >&6
14589 else $as_nop
14590 ac_check_soname_save_LIBS=$LIBS
14591 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14595 /* Override any GCC internal prototype to avoid an error.
14596 Use char because int might match the return type of a GCC
14597 builtin and then its argument prototype would still apply. */
14598 char XOpenDevice ();
14600 main (void)
14602 return XOpenDevice ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"
14608 then :
14609 case "$LIBEXT" in
14610 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14611 dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14612 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14613 if ${ac_cv_lib_soname_Xi:+false} :
14614 then :
14615 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 fi ;;
14617 esac
14618 else $as_nop
14619 ac_cv_lib_soname_Xi=
14621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_soname_save_LIBS
14625 if ${ac_cv_lib_soname_Xi:+false} :
14626 then :
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14628 printf "%s\n" "not found" >&6; }
14630 else $as_nop
14631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14632 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14634 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14639 if test "x$ac_cv_lib_soname_Xi" = "x"
14640 then :
14641 case "x$with_xinput" in
14642 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14643 xno) ;;
14644 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14645 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14646 esac
14650 if test "x$ac_cv_lib_soname_Xi" != x
14651 then
14652 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14653 then :
14654 case "x$with_xinput2" in
14655 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14656 xno) ;;
14657 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14658 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14659 esac
14664 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14665 then
14666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14667 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14668 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14669 then :
14670 printf %s "(cached) " >&6
14671 else $as_nop
14672 ac_check_lib_save_LIBS=$LIBS
14673 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14677 /* Override any GCC internal prototype to avoid an error.
14678 Use char because int might match the return type of a GCC
14679 builtin and then its argument prototype would still apply. */
14680 char XShmQueryExtension ();
14682 main (void)
14684 return XShmQueryExtension ();
14686 return 0;
14688 _ACEOF
14689 if ac_fn_c_try_link "$LINENO"
14690 then :
14691 ac_cv_lib_Xext_XShmQueryExtension=yes
14692 else $as_nop
14693 ac_cv_lib_Xext_XShmQueryExtension=no
14695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS
14699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14700 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14701 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14702 then :
14704 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14709 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14710 then :
14711 case "x$with_xshm" in
14712 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14715 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14716 esac
14720 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14721 then
14722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14723 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14724 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14725 then :
14726 printf %s "(cached) " >&6
14727 else $as_nop
14728 ac_check_lib_save_LIBS=$LIBS
14729 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 char XShapeQueryExtension ();
14738 main (void)
14740 return XShapeQueryExtension ();
14742 return 0;
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"
14746 then :
14747 ac_cv_lib_Xext_XShapeQueryExtension=yes
14748 else $as_nop
14749 ac_cv_lib_Xext_XShapeQueryExtension=no
14751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14752 conftest$ac_exeext conftest.$ac_ext
14753 LIBS=$ac_check_lib_save_LIBS
14755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14756 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14757 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14758 then :
14760 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14765 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14766 then :
14767 case "x$with_xshape" in
14768 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14769 xno) ;;
14770 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14771 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14772 esac
14776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14777 then
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14779 printf %s "checking for -lXxf86vm... " >&6; }
14780 if test ${ac_cv_lib_soname_Xxf86vm+y}
14781 then :
14782 printf %s "(cached) " >&6
14783 else $as_nop
14784 ac_check_soname_save_LIBS=$LIBS
14785 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XF86VidModeQueryExtension ();
14794 main (void)
14796 return XF86VidModeQueryExtension ();
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"
14802 then :
14803 case "$LIBEXT" in
14804 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 dylib) ac_cv_lib_soname_Xxf86vm=`$OTOOL -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14806 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14808 then :
14809 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14810 fi ;;
14811 esac
14812 else $as_nop
14813 ac_cv_lib_soname_Xxf86vm=
14815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14820 then :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14824 else $as_nop
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14834 then :
14835 case "x$with_xxf86vm" in
14836 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14837 xno) ;;
14838 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14839 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14840 esac
14844 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14845 then
14846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14847 printf %s "checking for -lXrender... " >&6; }
14848 if test ${ac_cv_lib_soname_Xrender+y}
14849 then :
14850 printf %s "(cached) " >&6
14851 else $as_nop
14852 ac_check_soname_save_LIBS=$LIBS
14853 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 char XRenderQueryExtension ();
14862 main (void)
14864 return XRenderQueryExtension ();
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"
14870 then :
14871 case "$LIBEXT" in
14872 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14873 dylib) ac_cv_lib_soname_Xrender=`$OTOOL -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14874 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14875 if ${ac_cv_lib_soname_Xrender:+false} :
14876 then :
14877 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14878 fi ;;
14879 esac
14880 else $as_nop
14881 ac_cv_lib_soname_Xrender=
14883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14884 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_check_soname_save_LIBS
14887 if ${ac_cv_lib_soname_Xrender:+false} :
14888 then :
14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14890 printf "%s\n" "not found" >&6; }
14892 else $as_nop
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14894 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14896 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14899 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14900 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14901 then :
14902 printf %s "(cached) " >&6
14903 else $as_nop
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 char XRenderSetPictureTransform ();
14914 main (void)
14916 return XRenderSetPictureTransform ();
14918 return 0;
14920 _ACEOF
14921 if ac_fn_c_try_link "$LINENO"
14922 then :
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14924 else $as_nop
14925 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14928 conftest$ac_exeext conftest.$ac_ext
14929 LIBS=$ac_check_lib_save_LIBS
14931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14932 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14933 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14934 then :
14936 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14941 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14942 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14943 then :
14944 printf %s "(cached) " >&6
14945 else $as_nop
14946 ac_check_lib_save_LIBS=$LIBS
14947 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14954 char XRenderCreateLinearGradient ();
14956 main (void)
14958 return XRenderCreateLinearGradient ();
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_link "$LINENO"
14964 then :
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14966 else $as_nop
14967 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_lib_save_LIBS
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14974 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14975 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14976 then :
14978 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14985 if test "x$ac_cv_lib_soname_Xrender" = "x"
14986 then :
14987 case "x$with_xrender" in
14988 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14989 xno) ;;
14990 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14991 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14992 esac
14996 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14997 then
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #include <X11/Xlib.h>
15001 #include <X11/extensions/Xrandr.h>
15003 main (void)
15005 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_compile "$LINENO"
15011 then :
15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15013 printf %s "checking for -lXrandr... " >&6; }
15014 if test ${ac_cv_lib_soname_Xrandr+y}
15015 then :
15016 printf %s "(cached) " >&6
15017 else $as_nop
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15026 char XRRQueryExtension ();
15028 main (void)
15030 return XRRQueryExtension ();
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"
15036 then :
15037 case "$LIBEXT" in
15038 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15039 dylib) ac_cv_lib_soname_Xrandr=`$OTOOL -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15040 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15041 if ${ac_cv_lib_soname_Xrandr:+false} :
15042 then :
15043 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15044 fi ;;
15045 esac
15046 else $as_nop
15047 ac_cv_lib_soname_Xrandr=
15049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_soname_save_LIBS
15053 if ${ac_cv_lib_soname_Xrandr:+false} :
15054 then :
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15056 printf "%s\n" "not found" >&6; }
15058 else $as_nop
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15060 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15062 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15066 #include <X11/Xlib.h>
15067 #include <X11/extensions/Xrandr.h>
15069 main (void)
15071 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_compile "$LINENO"
15077 then :
15079 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15081 else $as_nop
15082 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15089 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15090 then :
15091 case "x$with_xrandr" in
15092 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15093 xno) ;;
15094 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15095 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15096 esac
15100 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15101 then
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #include <X11/Xlib.h>
15105 #include <X11/extensions/Xfixes.h>
15107 main (void)
15109 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"
15115 then :
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15117 printf %s "checking for -lXfixes... " >&6; }
15118 if test ${ac_cv_lib_soname_Xfixes+y}
15119 then :
15120 printf %s "(cached) " >&6
15121 else $as_nop
15122 ac_check_soname_save_LIBS=$LIBS
15123 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 char XFixesQueryVersion ();
15132 main (void)
15134 return XFixesQueryVersion ();
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"
15140 then :
15141 case "$LIBEXT" in
15142 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15143 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15144 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15145 if ${ac_cv_lib_soname_Xfixes:+false} :
15146 then :
15147 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15148 fi ;;
15149 esac
15150 else $as_nop
15151 ac_cv_lib_soname_Xfixes=
15153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LIBS=$ac_check_soname_save_LIBS
15157 if ${ac_cv_lib_soname_Xfixes:+false} :
15158 then :
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15160 printf "%s\n" "not found" >&6; }
15162 else $as_nop
15163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15164 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15166 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15173 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15174 then :
15175 case "x$with_xfixes" in
15176 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15177 xno) ;;
15178 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15179 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15180 esac
15184 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15185 then
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xinerama.h>
15191 main (void)
15193 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_compile "$LINENO"
15199 then :
15200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15201 printf %s "checking for -lXinerama... " >&6; }
15202 if test ${ac_cv_lib_soname_Xinerama+y}
15203 then :
15204 printf %s "(cached) " >&6
15205 else $as_nop
15206 ac_check_soname_save_LIBS=$LIBS
15207 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15214 char XineramaQueryScreens ();
15216 main (void)
15218 return XineramaQueryScreens ();
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"
15224 then :
15225 case "$LIBEXT" in
15226 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15227 dylib) ac_cv_lib_soname_Xinerama=`$OTOOL -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15228 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15229 if ${ac_cv_lib_soname_Xinerama:+false} :
15230 then :
15231 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15232 fi ;;
15233 esac
15234 else $as_nop
15235 ac_cv_lib_soname_Xinerama=
15237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15238 conftest$ac_exeext conftest.$ac_ext
15239 LIBS=$ac_check_soname_save_LIBS
15241 if ${ac_cv_lib_soname_Xinerama:+false} :
15242 then :
15243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15244 printf "%s\n" "not found" >&6; }
15246 else $as_nop
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15248 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15250 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15257 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15258 then :
15259 case "x$with_xinerama" in
15260 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15263 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15269 then
15270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15271 printf %s "checking for -lXcomposite... " >&6; }
15272 if test ${ac_cv_lib_soname_Xcomposite+y}
15273 then :
15274 printf %s "(cached) " >&6
15275 else $as_nop
15276 ac_check_soname_save_LIBS=$LIBS
15277 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 char XCompositeRedirectWindow ();
15286 main (void)
15288 return XCompositeRedirectWindow ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"
15294 then :
15295 case "$LIBEXT" in
15296 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15297 dylib) ac_cv_lib_soname_Xcomposite=`$OTOOL -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15298 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15299 if ${ac_cv_lib_soname_Xcomposite:+false} :
15300 then :
15301 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15302 fi ;;
15303 esac
15304 else $as_nop
15305 ac_cv_lib_soname_Xcomposite=
15307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_check_soname_save_LIBS
15311 if ${ac_cv_lib_soname_Xcomposite:+false} :
15312 then :
15313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15314 printf "%s\n" "not found" >&6; }
15316 else $as_nop
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15318 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15320 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15325 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15326 then :
15327 case "x$with_xcomposite" in
15328 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15329 xno) ;;
15330 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15331 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15332 esac
15336 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15337 #include <X11/Xlib.h>
15338 #endif
15340 if test "x$ac_cv_member_XICCallback_callback" = xyes
15341 then :
15343 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15347 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15348 #include <X11/Xlib.h>
15349 #endif
15351 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15352 then :
15354 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15361 opengl_msg=""
15362 if test "x$with_opengl" != "xno"
15363 then
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15365 printf %s "checking for -lGL... " >&6; }
15366 if test ${ac_cv_lib_soname_GL+y}
15367 then :
15368 printf %s "(cached) " >&6
15369 else $as_nop
15370 ac_check_soname_save_LIBS=$LIBS
15371 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 /* Override any GCC internal prototype to avoid an error.
15376 Use char because int might match the return type of a GCC
15377 builtin and then its argument prototype would still apply. */
15378 char glXCreateContext ();
15380 main (void)
15382 return glXCreateContext ();
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"
15388 then :
15389 case "$LIBEXT" in
15390 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15391 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15392 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15393 if ${ac_cv_lib_soname_GL:+false} :
15394 then :
15395 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15396 fi ;;
15397 esac
15398 else $as_nop
15399 ac_cv_lib_soname_GL=
15401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_soname_save_LIBS
15405 if ${ac_cv_lib_soname_GL:+false} :
15406 then :
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15408 printf "%s\n" "not found" >&6; }
15409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15410 printf %s "checking for -lGL... " >&6; }
15411 if test ${ac_cv_lib_soname_GL+y}
15412 then :
15413 printf %s "(cached) " >&6
15414 else $as_nop
15415 ac_check_soname_save_LIBS=$LIBS
15416 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15420 /* Override any GCC internal prototype to avoid an error.
15421 Use char because int might match the return type of a GCC
15422 builtin and then its argument prototype would still apply. */
15423 char glXCreateContext ();
15425 main (void)
15427 return glXCreateContext ();
15429 return 0;
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"
15433 then :
15434 case "$LIBEXT" in
15435 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15436 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15437 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15438 if ${ac_cv_lib_soname_GL:+false} :
15439 then :
15440 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15441 fi ;;
15442 esac
15443 else $as_nop
15444 ac_cv_lib_soname_GL=
15446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15447 conftest$ac_exeext conftest.$ac_ext
15448 LIBS=$ac_check_soname_save_LIBS
15450 if ${ac_cv_lib_soname_GL:+false} :
15451 then :
15452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15453 printf "%s\n" "not found" >&6; }
15454 if test -f /usr/X11R6/lib/libGL.a
15455 then
15456 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15457 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15458 else
15459 opengl_msg="No OpenGL library found on this system."
15461 else $as_nop
15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15463 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15465 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15467 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
15469 else $as_nop
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15471 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15473 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15475 OPENGL_LIBS="-lGL"
15477 if test "x$with_osmesa" != "xno"
15478 then
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15480 printf %s "checking for -lOSMesa... " >&6; }
15481 if test ${ac_cv_lib_soname_OSMesa+y}
15482 then :
15483 printf %s "(cached) " >&6
15484 else $as_nop
15485 ac_check_soname_save_LIBS=$LIBS
15486 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char OSMesaGetProcAddress ();
15495 main (void)
15497 return OSMesaGetProcAddress ();
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"
15503 then :
15504 case "$LIBEXT" in
15505 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15506 dylib) ac_cv_lib_soname_OSMesa=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15507 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15508 if ${ac_cv_lib_soname_OSMesa:+false} :
15509 then :
15510 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15511 fi ;;
15512 esac
15513 else $as_nop
15514 ac_cv_lib_soname_OSMesa=
15516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_soname_save_LIBS
15520 if ${ac_cv_lib_soname_OSMesa:+false} :
15521 then :
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15523 printf "%s\n" "not found" >&6; }
15525 else $as_nop
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15527 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15529 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15533 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15534 then :
15535 case "x$with_osmesa" in
15536 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15537 xno) ;;
15538 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15539 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15540 esac
15545 if test -n "$opengl_msg"
15546 then :
15547 case "x$with_opengl" in
15548 x) as_fn_append wine_warnings "|$opengl_msg
15549 OpenGL and Direct3D won't be supported." ;;
15550 xno) ;;
15551 *) as_fn_error $? "$opengl_msg
15552 OpenGL and Direct3D won't be supported.
15553 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15554 esac
15558 CPPFLAGS="$ac_save_CPPFLAGS"
15559 else
15560 X_CFLAGS=""
15561 X_LIBS=""
15564 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15565 then
15566 if test "x$X_LIBS" = "x"
15567 then :
15568 case "x$with_x" in
15569 xno) ;;
15570 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15571 without X support, which probably isn't what you want. You will need
15572 to install ${notice_platform}development packages of Xlib at the very least.
15573 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15574 esac
15575 enable_winex11_drv=${enable_winex11_drv:-no}
15577 else
15578 if test "x$X_LIBS" = "x"
15579 then :
15580 case "x$with_x" in
15581 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15582 xno) ;;
15583 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15584 This is an error since --with-x was requested." "$LINENO" 5 ;;
15585 esac
15586 enable_winex11_drv=${enable_winex11_drv:-no}
15590 if test "x$with_wayland" != "xno"
15591 then
15592 rm -f conftest.err
15593 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15594 then :
15595 if test ${PKG_CONFIG+y}
15596 then :
15597 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15601 if ${WAYLAND_CLIENT_LIBS:+false} :
15602 then :
15603 if test ${PKG_CONFIG+y}
15604 then :
15605 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15612 if test -s conftest.err; then
15613 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15614 cat conftest.err >&5
15616 rm -f conftest.err
15617 ac_save_CPPFLAGS=$CPPFLAGS
15618 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15619 for ac_header in wayland-client.h
15620 do :
15621 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15622 if test "x$ac_cv_header_wayland_client_h" = xyes
15623 then :
15624 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15626 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15627 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15628 then :
15629 printf %s "(cached) " >&6
15630 else $as_nop
15631 ac_check_lib_save_LIBS=$LIBS
15632 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 char wl_display_connect ();
15641 main (void)
15643 return wl_display_connect ();
15645 return 0;
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"
15649 then :
15650 ac_cv_lib_wayland_client_wl_display_connect=yes
15651 else $as_nop
15652 ac_cv_lib_wayland_client_wl_display_connect=no
15654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15655 conftest$ac_exeext conftest.$ac_ext
15656 LIBS=$ac_check_lib_save_LIBS
15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15659 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15660 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15661 then :
15662 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15663 set dummy wayland-scanner; ac_word=$2
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15665 printf %s "checking for $ac_word... " >&6; }
15666 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15667 then :
15668 printf %s "(cached) " >&6
15669 else $as_nop
15670 case $WAYLAND_SCANNER in
15671 [\\/]* | ?:[\\/]*)
15672 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15676 for as_dir in $PATH
15678 IFS=$as_save_IFS
15679 case $as_dir in #(((
15680 '') as_dir=./ ;;
15681 */) ;;
15682 *) as_dir=$as_dir/ ;;
15683 esac
15684 for ac_exec_ext in '' $ac_executable_extensions; do
15685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15686 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15688 break 2
15690 done
15691 done
15692 IFS=$as_save_IFS
15694 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`"
15696 esac
15698 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15699 if test -n "$WAYLAND_SCANNER"; then
15700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15701 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15702 else
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 printf "%s\n" "no" >&6; }
15708 else $as_nop
15709 WAYLAND_CLIENT_LIBS=""
15714 done
15715 CPPFLAGS=$ac_save_CPPFLAGS
15718 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15719 then :
15720 case "x$with_wayland" in
15721 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15722 xno) ;;
15723 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15724 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15725 esac
15726 enable_winewayland_drv=${enable_winewayland_drv:-no}
15729 if test "$ac_cv_header_CL_cl_h" = "yes"
15730 then
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15732 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15733 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15734 then :
15735 printf %s "(cached) " >&6
15736 else $as_nop
15737 ac_check_lib_save_LIBS=$LIBS
15738 LIBS="-lOpenCL $LIBS"
15739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15742 /* Override any GCC internal prototype to avoid an error.
15743 Use char because int might match the return type of a GCC
15744 builtin and then its argument prototype would still apply. */
15745 char clGetPlatformInfo ();
15747 main (void)
15749 return clGetPlatformInfo ();
15751 return 0;
15753 _ACEOF
15754 if ac_fn_c_try_link "$LINENO"
15755 then :
15756 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15757 else $as_nop
15758 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15761 conftest$ac_exeext conftest.$ac_ext
15762 LIBS=$ac_check_lib_save_LIBS
15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15765 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15766 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15767 then :
15768 OPENCL_LIBS="-lOpenCL"
15773 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15774 then :
15775 case "x$with_opencl" in
15776 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15777 xno) ;;
15778 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15779 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15780 esac
15781 enable_opencl=${enable_opencl:-no}
15784 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15785 then
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15787 printf %s "checking for pcap_init in -lpcap... " >&6; }
15788 if test ${ac_cv_lib_pcap_pcap_init+y}
15789 then :
15790 printf %s "(cached) " >&6
15791 else $as_nop
15792 ac_check_lib_save_LIBS=$LIBS
15793 LIBS="-lpcap $LIBS"
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 char pcap_init ();
15802 main (void)
15804 return pcap_init ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"
15810 then :
15811 ac_cv_lib_pcap_pcap_init=yes
15812 else $as_nop
15813 ac_cv_lib_pcap_pcap_init=no
15815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_lib_save_LIBS
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15820 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15821 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15822 then :
15823 PCAP_LIBS="-lpcap"
15828 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15829 then :
15830 case "x$with_pcap" in
15831 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15832 xno) ;;
15833 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15834 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15835 esac
15836 enable_wpcap=${enable_wpcap:-no}
15839 if test "x$with_pcsclite" != "xno"
15840 then
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15842 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15843 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15844 then :
15845 printf %s "(cached) " >&6
15846 else $as_nop
15847 ac_check_lib_save_LIBS=$LIBS
15848 LIBS="-lpcsclite $LIBS"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 char SCardEstablishContext ();
15857 main (void)
15859 return SCardEstablishContext ();
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"
15865 then :
15866 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15867 else $as_nop
15868 ac_cv_lib_pcsclite_SCardEstablishContext=no
15870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15875 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15876 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15877 then :
15878 PCSCLITE_LIBS="-lpcsclite"
15883 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15884 then :
15885 case "x$with_pcsclite" in
15886 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15887 xno) ;;
15888 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15889 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15890 esac
15891 enable_winscard=${enable_winscard:-no}
15894 if test "x$with_inotify" != "xno"
15895 then
15896 rm -f conftest.err
15897 if ${INOTIFY_CFLAGS:+false} :
15898 then :
15899 if test ${PKG_CONFIG+y}
15900 then :
15901 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15905 if ${INOTIFY_LIBS:+false} :
15906 then :
15907 if test ${PKG_CONFIG+y}
15908 then :
15909 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15916 if test -s conftest.err; then
15917 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15918 cat conftest.err >&5
15920 rm -f conftest.err
15921 ac_save_CPPFLAGS=$CPPFLAGS
15922 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15923 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15924 if test "x$ac_cv_header_sys_inotify_h" = xyes
15925 then :
15926 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15931 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15932 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15933 then :
15934 printf %s "(cached) " >&6
15935 else $as_nop
15936 ac_check_lib_save_LIBS=$LIBS
15937 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15941 /* Override any GCC internal prototype to avoid an error.
15942 Use char because int might match the return type of a GCC
15943 builtin and then its argument prototype would still apply. */
15944 char inotify_add_watch ();
15946 main (void)
15948 return inotify_add_watch ();
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"
15954 then :
15955 ac_cv_lib_inotify_inotify_add_watch=yes
15956 else $as_nop
15957 ac_cv_lib_inotify_inotify_add_watch=no
15959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_lib_save_LIBS
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15964 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15965 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15966 then :
15968 else $as_nop
15969 INOTIFY_LIBS=""
15972 CPPFLAGS=$ac_save_CPPFLAGS
15975 if test "$ac_cv_header_sys_inotify_h" != "yes"
15976 then :
15977 case "x$with_inotify" in
15978 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15979 xno) ;;
15980 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15981 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15982 esac
15986 if test "x$with_dbus" != "xno"
15987 then
15988 rm -f conftest.err
15989 if ${DBUS_CFLAGS:+false} :
15990 then :
15991 if test ${PKG_CONFIG+y}
15992 then :
15993 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15997 if ${DBUS_LIBS:+false} :
15998 then :
15999 if test ${PKG_CONFIG+y}
16000 then :
16001 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16008 if test -s conftest.err; then
16009 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16010 cat conftest.err >&5
16012 rm -f conftest.err
16013 ac_save_CPPFLAGS=$CPPFLAGS
16014 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16015 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16016 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16017 then :
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16019 printf %s "checking for -ldbus-1... " >&6; }
16020 if test ${ac_cv_lib_soname_dbus_1+y}
16021 then :
16022 printf %s "(cached) " >&6
16023 else $as_nop
16024 ac_check_soname_save_LIBS=$LIBS
16025 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16029 /* Override any GCC internal prototype to avoid an error.
16030 Use char because int might match the return type of a GCC
16031 builtin and then its argument prototype would still apply. */
16032 char dbus_connection_close ();
16034 main (void)
16036 return dbus_connection_close ();
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"
16042 then :
16043 case "$LIBEXT" in
16044 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16045 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'` ;;
16046 *) 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'`
16047 if ${ac_cv_lib_soname_dbus_1:+false} :
16048 then :
16049 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16050 fi ;;
16051 esac
16052 else $as_nop
16053 ac_cv_lib_soname_dbus_1=
16055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_check_soname_save_LIBS
16059 if ${ac_cv_lib_soname_dbus_1:+false} :
16060 then :
16061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16062 printf "%s\n" "not found" >&6; }
16063 DBUS_CFLAGS=""
16064 else $as_nop
16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16066 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16068 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16072 else $as_nop
16073 DBUS_CFLAGS=""
16076 CPPFLAGS=$ac_save_CPPFLAGS
16079 case $host_os in
16080 darwin*|macosx*) ;;
16081 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16082 then :
16083 case "x$with_dbus" in
16084 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16085 xno) ;;
16086 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16087 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16088 esac
16090 fi ;;
16091 esac
16093 if test "x$with_gnutls" != "xno"
16094 then
16095 rm -f conftest.err
16096 if ${GNUTLS_CFLAGS:+false} :
16097 then :
16098 if test ${PKG_CONFIG+y}
16099 then :
16100 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16104 if ${GNUTLS_LIBS:+false} :
16105 then :
16106 if test ${PKG_CONFIG+y}
16107 then :
16108 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16112 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16115 if test -s conftest.err; then
16116 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16117 cat conftest.err >&5
16119 rm -f conftest.err
16120 ac_save_CPPFLAGS=$CPPFLAGS
16121 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16122 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16124 then :
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <gnutls/gnutls.h>
16128 #include <gnutls/crypto.h>
16130 main (void)
16132 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16134 return 0;
16136 _ACEOF
16137 if ac_fn_c_try_compile "$LINENO"
16138 then :
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16140 printf %s "checking for -lgnutls... " >&6; }
16141 if test ${ac_cv_lib_soname_gnutls+y}
16142 then :
16143 printf %s "(cached) " >&6
16144 else $as_nop
16145 ac_check_soname_save_LIBS=$LIBS
16146 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 char gnutls_global_init ();
16155 main (void)
16157 return gnutls_global_init ();
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"
16163 then :
16164 case "$LIBEXT" in
16165 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16166 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'` ;;
16167 *) 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'`
16168 if ${ac_cv_lib_soname_gnutls:+false} :
16169 then :
16170 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'`
16171 fi ;;
16172 esac
16173 else $as_nop
16174 ac_cv_lib_soname_gnutls=
16176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_soname_save_LIBS
16180 if ${ac_cv_lib_soname_gnutls:+false} :
16181 then :
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16183 printf "%s\n" "not found" >&6; }
16184 GNUTLS_CFLAGS=""
16185 else $as_nop
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16187 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16189 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16193 ac_wine_check_funcs_save_LIBS="$LIBS"
16194 LIBS="$LIBS $GNUTLS_LIBS"
16196 for ac_func in gnutls_cipher_init
16197 do :
16198 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16199 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16200 then :
16201 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16203 else $as_nop
16204 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16207 done
16208 LIBS="$ac_wine_check_funcs_save_LIBS"
16210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16211 else $as_nop
16212 GNUTLS_CFLAGS=""
16215 CPPFLAGS=$ac_save_CPPFLAGS
16218 if test "x$ac_cv_lib_soname_gnutls" = "x"
16219 then :
16220 case "x$with_gnutls" in
16221 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16222 xno) ;;
16223 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16224 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16225 esac
16229 if test "x$with_sane" != "xno"
16230 then
16231 rm -f conftest.err
16232 if ${SANE_CFLAGS:+false} :
16233 then :
16234 if test ${PKG_CONFIG+y}
16235 then :
16236 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16239 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16240 if ${SANE_LIBS:+false} :
16241 then :
16242 if test ${PKG_CONFIG+y}
16243 then :
16244 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16247 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16251 if test -s conftest.err; then
16252 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16253 cat conftest.err >&5
16255 rm -f conftest.err
16256 ac_save_CPPFLAGS=$CPPFLAGS
16257 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16258 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16259 if test "x$ac_cv_header_sane_sane_h" = xyes
16260 then :
16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16262 printf %s "checking for sane_init in -lsane... " >&6; }
16263 if test ${ac_cv_lib_sane_sane_init+y}
16264 then :
16265 printf %s "(cached) " >&6
16266 else $as_nop
16267 ac_check_lib_save_LIBS=$LIBS
16268 LIBS="-lsane $SANE_LIBS $LIBS"
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16275 char sane_init ();
16277 main (void)
16279 return sane_init ();
16281 return 0;
16283 _ACEOF
16284 if ac_fn_c_try_link "$LINENO"
16285 then :
16286 ac_cv_lib_sane_sane_init=yes
16287 else $as_nop
16288 ac_cv_lib_sane_sane_init=no
16290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16291 conftest$ac_exeext conftest.$ac_ext
16292 LIBS=$ac_check_lib_save_LIBS
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16295 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16296 if test "x$ac_cv_lib_sane_sane_init" = xyes
16297 then :
16303 CPPFLAGS=$ac_save_CPPFLAGS
16306 if test "$ac_cv_lib_sane_sane_init" != "yes"
16307 then :
16308 case "x$with_sane" in
16309 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16310 xno) ;;
16311 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16312 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16313 esac
16314 enable_sane_ds=${enable_sane_ds:-no}
16317 if test "x$with_usb" != "xno"
16318 then
16319 rm -f conftest.err
16320 if ${USB_CFLAGS:+false} :
16321 then :
16322 if test ${PKG_CONFIG+y}
16323 then :
16324 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16328 if ${USB_LIBS:+false} :
16329 then :
16330 if test ${PKG_CONFIG+y}
16331 then :
16332 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16336 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16339 if test -s conftest.err; then
16340 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16341 cat conftest.err >&5
16343 rm -f conftest.err
16344 ac_save_CPPFLAGS=$CPPFLAGS
16345 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16346 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16347 if test "x$ac_cv_header_libusb_h" = xyes
16348 then :
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16350 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16351 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16352 then :
16353 printf %s "(cached) " >&6
16354 else $as_nop
16355 ac_check_lib_save_LIBS=$LIBS
16356 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16360 /* Override any GCC internal prototype to avoid an error.
16361 Use char because int might match the return type of a GCC
16362 builtin and then its argument prototype would still apply. */
16363 char libusb_interrupt_event_handler ();
16365 main (void)
16367 return libusb_interrupt_event_handler ();
16369 return 0;
16371 _ACEOF
16372 if ac_fn_c_try_link "$LINENO"
16373 then :
16374 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16375 else $as_nop
16376 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16379 conftest$ac_exeext conftest.$ac_ext
16380 LIBS=$ac_check_lib_save_LIBS
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16383 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16384 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16385 then :
16387 else $as_nop
16388 USB_LIBS=""
16391 else $as_nop
16392 USB_LIBS=""
16395 CPPFLAGS=$ac_save_CPPFLAGS
16398 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16399 then :
16400 case "x$with_usb" in
16401 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16402 xno) ;;
16403 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16404 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16405 esac
16406 enable_wineusb_sys=${enable_wineusb_sys:-no}
16409 if test "x$with_v4l2" != "xno"
16410 then
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16412 printf %s "checking for -lv4l2... " >&6; }
16413 if test ${ac_cv_lib_soname_v4l2+y}
16414 then :
16415 printf %s "(cached) " >&6
16416 else $as_nop
16417 ac_check_soname_save_LIBS=$LIBS
16418 LIBS="-lv4l2 $LIBS"
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16422 /* Override any GCC internal prototype to avoid an error.
16423 Use char because int might match the return type of a GCC
16424 builtin and then its argument prototype would still apply. */
16425 char v4l2_open ();
16427 main (void)
16429 return v4l2_open ();
16431 return 0;
16433 _ACEOF
16434 if ac_fn_c_try_link "$LINENO"
16435 then :
16436 case "$LIBEXT" in
16437 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16438 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'` ;;
16439 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16440 if ${ac_cv_lib_soname_v4l2:+false} :
16441 then :
16442 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16443 fi ;;
16444 esac
16445 else $as_nop
16446 ac_cv_lib_soname_v4l2=
16448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16449 conftest$ac_exeext conftest.$ac_ext
16450 LIBS=$ac_check_soname_save_LIBS
16452 if ${ac_cv_lib_soname_v4l2:+false} :
16453 then :
16454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16455 printf "%s\n" "not found" >&6; }
16457 else $as_nop
16458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16459 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16461 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16466 if test "x$ac_cv_lib_soname_v4l2" = "x"
16467 then :
16468 case "x$with_v4l2" in
16469 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16470 xno) ;;
16471 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16472 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16473 esac
16477 if test "x$with_gphoto" != "xno"
16478 then
16479 rm -f conftest.err
16480 if ${GPHOTO2_CFLAGS:+false} :
16481 then :
16482 if test ${PKG_CONFIG+y}
16483 then :
16484 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16487 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16488 if ${GPHOTO2_LIBS:+false} :
16489 then :
16490 if test ${PKG_CONFIG+y}
16491 then :
16492 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16495 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16496 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16499 if test -s conftest.err; then
16500 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16501 cat conftest.err >&5
16503 rm -f conftest.err
16504 ac_save_CPPFLAGS=$CPPFLAGS
16505 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16506 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16507 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16508 then :
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16510 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16511 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16512 then :
16513 printf %s "(cached) " >&6
16514 else $as_nop
16515 ac_check_lib_save_LIBS=$LIBS
16516 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16520 /* Override any GCC internal prototype to avoid an error.
16521 Use char because int might match the return type of a GCC
16522 builtin and then its argument prototype would still apply. */
16523 char gp_camera_new ();
16525 main (void)
16527 return gp_camera_new ();
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_link "$LINENO"
16533 then :
16534 ac_cv_lib_gphoto2_gp_camera_new=yes
16535 else $as_nop
16536 ac_cv_lib_gphoto2_gp_camera_new=no
16538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16539 conftest$ac_exeext conftest.$ac_ext
16540 LIBS=$ac_check_lib_save_LIBS
16542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16543 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16544 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16545 then :
16551 CPPFLAGS=$ac_save_CPPFLAGS
16553 rm -f conftest.err
16554 if ${GPHOTO2_PORT_CFLAGS:+false} :
16555 then :
16556 if test ${PKG_CONFIG+y}
16557 then :
16558 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16561 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16562 if ${GPHOTO2_PORT_LIBS:+false} :
16563 then :
16564 if test ${PKG_CONFIG+y}
16565 then :
16566 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16569 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16570 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16573 if test -s conftest.err; then
16574 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16575 cat conftest.err >&5
16577 rm -f conftest.err
16578 ac_save_CPPFLAGS=$CPPFLAGS
16579 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16580 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16581 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16582 then :
16583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16584 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16585 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16586 then :
16587 printf %s "(cached) " >&6
16588 else $as_nop
16589 ac_check_lib_save_LIBS=$LIBS
16590 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16597 char gp_port_info_list_new ();
16599 main (void)
16601 return gp_port_info_list_new ();
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"
16607 then :
16608 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16609 else $as_nop
16610 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16613 conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_lib_save_LIBS
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16617 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16618 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16619 then :
16621 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16623 else $as_nop
16624 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16627 else $as_nop
16628 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16631 CPPFLAGS=$ac_save_CPPFLAGS
16634 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16635 then :
16636 case "x$with_gphoto" in
16637 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16638 xno) ;;
16639 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16640 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16641 esac
16642 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16644 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16645 then :
16646 case "x$with_gphoto" in
16647 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16648 xno) ;;
16649 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16650 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16651 esac
16656 if test "$ac_cv_header_resolv_h" = "yes"
16657 then
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16659 printf %s "checking for resolver library... " >&6; }
16660 if test ${ac_cv_have_resolv+y}
16661 then :
16662 printf %s "(cached) " >&6
16663 else $as_nop
16664 ac_save_LIBS="$LIBS"
16665 for lib in '' -lresolv
16667 LIBS="$lib $ac_save_LIBS"
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #ifdef HAVE_NETINET_IN_H
16671 #include <netinet/in.h>
16672 #endif
16673 #include <resolv.h>
16675 main (void)
16677 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"
16683 then :
16684 ac_cv_have_resolv=${lib:-"none required"}
16685 else $as_nop
16686 ac_cv_have_resolv="not found"
16688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16689 conftest$ac_exeext conftest.$ac_ext
16690 test "x$ac_cv_have_resolv" = "xnot found" || break
16691 done
16692 LIBS="$ac_save_LIBS"
16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16695 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16697 case "$ac_cv_have_resolv" in
16698 "not found") ;;
16699 "none required")
16701 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16704 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16706 RESOLV_LIBS=$ac_cv_have_resolv
16708 esac
16710 if test "x$ac_cv_have_resolv" != "xnot found"
16711 then
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16713 printf %s "checking for res_getservers... " >&6; }
16714 if test ${ac_cv_have_res_getservers+y}
16715 then :
16716 printf %s "(cached) " >&6
16717 else $as_nop
16718 ac_save_LIBS="$LIBS"
16719 LIBS="$RESOLV_LIBS $LIBS"
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16722 #include <resolv.h>
16724 main (void)
16726 res_getservers(NULL, NULL, 0);
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"
16732 then :
16733 ac_cv_have_res_getservers=yes
16734 else $as_nop
16735 ac_cv_have_res_getservers=no
16737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS="$ac_save_LIBS"
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16742 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16743 if test "$ac_cv_have_res_getservers" = "yes"
16744 then
16746 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16752 if test "x$with_freetype" != "xno"
16753 then
16754 rm -f conftest.err
16755 if ${FREETYPE_CFLAGS:+false} :
16756 then :
16757 if test ${PKG_CONFIG+y}
16758 then :
16759 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16762 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16763 if ${FREETYPE_LIBS:+false} :
16764 then :
16765 if test ${PKG_CONFIG+y}
16766 then :
16767 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16770 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16771 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16774 if test -s conftest.err; then
16775 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16776 cat conftest.err >&5
16778 rm -f conftest.err
16779 ac_save_CPPFLAGS=$CPPFLAGS
16780 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16781 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16782 if test "x$ac_cv_header_ft2build_h" = xyes
16783 then :
16784 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16788 if test "$ac_cv_header_ft2build_h" = "yes"
16789 then
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16791 printf %s "checking for -lfreetype... " >&6; }
16792 if test ${ac_cv_lib_soname_freetype+y}
16793 then :
16794 printf %s "(cached) " >&6
16795 else $as_nop
16796 ac_check_soname_save_LIBS=$LIBS
16797 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16801 /* Override any GCC internal prototype to avoid an error.
16802 Use char because int might match the return type of a GCC
16803 builtin and then its argument prototype would still apply. */
16804 char FT_Init_FreeType ();
16806 main (void)
16808 return FT_Init_FreeType ();
16810 return 0;
16812 _ACEOF
16813 if ac_fn_c_try_link "$LINENO"
16814 then :
16815 case "$LIBEXT" in
16816 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16817 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'` ;;
16818 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16819 if ${ac_cv_lib_soname_freetype:+false} :
16820 then :
16821 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16822 fi ;;
16823 esac
16824 else $as_nop
16825 ac_cv_lib_soname_freetype=
16827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16828 conftest$ac_exeext conftest.$ac_ext
16829 LIBS=$ac_check_soname_save_LIBS
16831 if ${ac_cv_lib_soname_freetype:+false} :
16832 then :
16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16834 printf "%s\n" "not found" >&6; }
16835 FREETYPE_LIBS=""
16836 else $as_nop
16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16838 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16840 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16843 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16845 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16846 #include FT_MODULE_H
16848 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16849 then :
16851 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16857 else
16858 FREETYPE_CFLAGS=""
16859 FREETYPE_LIBS=""
16861 CPPFLAGS=$ac_save_CPPFLAGS
16864 if test "x$ac_cv_lib_soname_freetype" = x
16865 then :
16866 case "x$with_freetype" in
16867 xno) ;;
16868 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16869 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16870 esac
16871 enable_fonts=${enable_fonts:-no}
16874 ac_wine_check_funcs_save_LIBS="$LIBS"
16875 LIBS="$LIBS $PTHREAD_LIBS"
16876 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16877 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16878 then :
16879 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16883 LIBS="$ac_wine_check_funcs_save_LIBS"
16885 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16886 then
16887 if test "$ac_cv_header_gettext_po_h" = "yes"
16888 then
16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16890 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16891 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16892 then :
16893 printf %s "(cached) " >&6
16894 else $as_nop
16895 ac_check_lib_save_LIBS=$LIBS
16896 LIBS="-lgettextpo $LIBS"
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16903 char po_message_msgctxt ();
16905 main (void)
16907 return po_message_msgctxt ();
16909 return 0;
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"
16913 then :
16914 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16915 else $as_nop
16916 ac_cv_lib_gettextpo_po_message_msgctxt=no
16918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16919 conftest$ac_exeext conftest.$ac_ext
16920 LIBS=$ac_check_lib_save_LIBS
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16923 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16924 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16925 then :
16927 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16929 GETTEXTPO_LIBS="-lgettextpo"
16934 if test "x$GETTEXTPO_LIBS" = "x"
16935 then :
16936 case "x$with_gettextpo" in
16937 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16938 xno) ;;
16939 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16940 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16941 esac
16944 if test "$srcdir" != .
16945 then :
16946 case "x$with_gettextpo" in
16947 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16948 xno) ;;
16949 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16950 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16951 esac
16956 if test "x$with_pulse" != "xno";
16957 then
16958 rm -f conftest.err
16959 if ${PULSE_CFLAGS:+false} :
16960 then :
16961 if test ${PKG_CONFIG+y}
16962 then :
16963 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16967 if ${PULSE_LIBS:+false} :
16968 then :
16969 if test ${PKG_CONFIG+y}
16970 then :
16971 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16978 if test -s conftest.err; then
16979 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16980 cat conftest.err >&5
16982 rm -f conftest.err
16983 ac_save_CPPFLAGS=$CPPFLAGS
16984 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16985 for ac_header in pulse/pulseaudio.h
16986 do :
16987 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16988 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16989 then :
16990 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16992 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16993 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16994 then :
16995 printf %s "(cached) " >&6
16996 else $as_nop
16997 ac_check_lib_save_LIBS=$LIBS
16998 LIBS="-lpulse $PULSE_LIBS $LIBS"
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17005 char pa_stream_is_corked ();
17007 main (void)
17009 return pa_stream_is_corked ();
17011 return 0;
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"
17015 then :
17016 ac_cv_lib_pulse_pa_stream_is_corked=yes
17017 else $as_nop
17018 ac_cv_lib_pulse_pa_stream_is_corked=no
17020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17021 conftest$ac_exeext conftest.$ac_ext
17022 LIBS=$ac_check_lib_save_LIBS
17024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17025 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17026 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17027 then :
17029 else $as_nop
17030 PULSE_LIBS=""
17033 else $as_nop
17034 PULSE_LIBS=""
17037 done
17038 CPPFLAGS=$ac_save_CPPFLAGS
17041 if test -z "$PULSE_LIBS"
17042 then :
17043 case "x$with_pulse" in
17044 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17045 xno) ;;
17046 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17047 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17048 esac
17049 enable_winepulse_drv=${enable_winepulse_drv:-no}
17052 if test "x$with_gstreamer" != "xno"
17053 then
17054 rm -f conftest.err
17055 if ${GSTREAMER_CFLAGS:+false} :
17056 then :
17057 if test ${PKG_CONFIG+y}
17058 then :
17059 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17063 if ${GSTREAMER_LIBS:+false} :
17064 then :
17065 if test ${PKG_CONFIG+y}
17066 then :
17067 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17072 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
17073 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
17074 if test -s conftest.err; then
17075 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17076 cat conftest.err >&5
17078 rm -f conftest.err
17079 ac_save_CPPFLAGS=$CPPFLAGS
17080 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17081 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17082 if test "x$ac_cv_header_gst_gst_h" = xyes
17083 then :
17084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17085 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <gst/gst.h>
17090 main (void)
17092 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17094 return 0;
17096 _ACEOF
17097 if ac_fn_c_try_compile "$LINENO"
17098 then :
17099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17100 printf "%s\n" "yes" >&6; }
17101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17102 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17103 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17104 then :
17105 printf %s "(cached) " >&6
17106 else $as_nop
17107 ac_check_lib_save_LIBS=$LIBS
17108 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17112 /* Override any GCC internal prototype to avoid an error.
17113 Use char because int might match the return type of a GCC
17114 builtin and then its argument prototype would still apply. */
17115 char gst_pad_new ();
17117 main (void)
17119 return gst_pad_new ();
17121 return 0;
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"
17125 then :
17126 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17127 else $as_nop
17128 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17131 conftest$ac_exeext conftest.$ac_ext
17132 LIBS=$ac_check_lib_save_LIBS
17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17135 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17136 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17137 then :
17141 else $as_nop
17142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17143 printf "%s\n" "no" >&6; }
17144 ac_glib2_broken=yes
17145 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17150 CPPFLAGS=$ac_save_CPPFLAGS
17153 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17154 then :
17155 case "x$with_gstreamer" in
17156 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17157 xno) ;;
17158 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17159 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17160 esac
17161 enable_winegstreamer=${enable_winegstreamer:-no}
17164 ALSA_LIBS=""
17166 if test "x$with_alsa" != "xno"
17167 then
17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17169 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17170 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17171 then :
17172 printf %s "(cached) " >&6
17173 else $as_nop
17174 ac_check_lib_save_LIBS=$LIBS
17175 LIBS="-lasound $LIBS"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17182 char snd_pcm_hw_params_get_access_mask ();
17184 main (void)
17186 return snd_pcm_hw_params_get_access_mask ();
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"
17192 then :
17193 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17194 else $as_nop
17195 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17198 conftest$ac_exeext conftest.$ac_ext
17199 LIBS=$ac_check_lib_save_LIBS
17201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17202 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17203 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17204 then :
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 #include <alsa/asoundlib.h>
17209 main (void)
17211 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17213 return 0;
17215 _ACEOF
17216 if ac_fn_c_try_compile "$LINENO"
17217 then :
17218 ALSA_LIBS="-lasound"
17220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17224 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17226 if test "x$with_oss" != xno
17227 then
17228 ac_save_CPPFLAGS="$CPPFLAGS"
17229 if test -f /etc/oss.conf
17230 then
17231 . /etc/oss.conf
17233 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17234 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17235 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17236 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17237 then :
17238 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17240 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17241 then :
17243 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17245 OSS4_CFLAGS="$ac_oss_incl"
17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17248 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17249 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17250 then :
17251 printf %s "(cached) " >&6
17252 else $as_nop
17253 ac_check_lib_save_LIBS=$LIBS
17254 LIBS="-lossaudio $LIBS"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17258 /* Override any GCC internal prototype to avoid an error.
17259 Use char because int might match the return type of a GCC
17260 builtin and then its argument prototype would still apply. */
17261 char _oss_ioctl ();
17263 main (void)
17265 return _oss_ioctl ();
17267 return 0;
17269 _ACEOF
17270 if ac_fn_c_try_link "$LINENO"
17271 then :
17272 ac_cv_lib_ossaudio__oss_ioctl=yes
17273 else $as_nop
17274 ac_cv_lib_ossaudio__oss_ioctl=no
17276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17277 conftest$ac_exeext conftest.$ac_ext
17278 LIBS=$ac_check_lib_save_LIBS
17280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17281 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17282 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17283 then :
17284 OSS4_LIBS="-lossaudio"
17292 CPPFLAGS="$ac_save_CPPFLAGS"
17294 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17295 then :
17296 case "x$with_oss" in
17297 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17298 xno) ;;
17299 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17300 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17301 esac
17302 enable_wineoss_drv=${enable_wineoss_drv:-no}
17305 if test "x$with_udev" != "xno"
17306 then
17307 rm -f conftest.err
17308 if ${UDEV_CFLAGS:+false} :
17309 then :
17310 if test ${PKG_CONFIG+y}
17311 then :
17312 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17316 if ${UDEV_LIBS:+false} :
17317 then :
17318 if test ${PKG_CONFIG+y}
17319 then :
17320 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17324 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17327 if test -s conftest.err; then
17328 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17329 cat conftest.err >&5
17331 rm -f conftest.err
17332 ac_save_CPPFLAGS=$CPPFLAGS
17333 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17334 for ac_header in libudev.h
17335 do :
17336 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17337 if test "x$ac_cv_header_libudev_h" = xyes
17338 then :
17339 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17341 printf %s "checking for udev_new in -ludev... " >&6; }
17342 if test ${ac_cv_lib_udev_udev_new+y}
17343 then :
17344 printf %s "(cached) " >&6
17345 else $as_nop
17346 ac_check_lib_save_LIBS=$LIBS
17347 LIBS="-ludev $UDEV_LIBS $LIBS"
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17351 /* Override any GCC internal prototype to avoid an error.
17352 Use char because int might match the return type of a GCC
17353 builtin and then its argument prototype would still apply. */
17354 char udev_new ();
17356 main (void)
17358 return udev_new ();
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_link "$LINENO"
17364 then :
17365 ac_cv_lib_udev_udev_new=yes
17366 else $as_nop
17367 ac_cv_lib_udev_udev_new=no
17369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17370 conftest$ac_exeext conftest.$ac_ext
17371 LIBS=$ac_check_lib_save_LIBS
17373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17374 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17375 if test "x$ac_cv_lib_udev_udev_new" = xyes
17376 then :
17378 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17380 else $as_nop
17381 UDEV_LIBS=""
17384 else $as_nop
17385 UDEV_LIBS=""
17388 done
17389 CPPFLAGS=$ac_save_CPPFLAGS
17392 if test "x$UDEV_LIBS" = "x"
17393 then :
17394 case "x$with_udev" in
17395 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17396 xno) ;;
17397 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17398 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17399 esac
17403 if test "x$with_unwind" != xno
17404 then
17405 rm -f conftest.err
17406 if ${UNWIND_CFLAGS:+false} :
17407 then :
17408 if test ${PKG_CONFIG+y}
17409 then :
17410 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17414 if ${UNWIND_LIBS:+false} :
17415 then :
17416 if test ${PKG_CONFIG+y}
17417 then :
17418 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17422 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17425 if test -s conftest.err; then
17426 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17427 cat conftest.err >&5
17429 rm -f conftest.err
17430 ac_save_CPPFLAGS=$CPPFLAGS
17431 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17433 printf %s "checking for unw_step... " >&6; }
17434 if test ${wine_cv_have_unw_step+y}
17435 then :
17436 printf %s "(cached) " >&6
17437 else $as_nop
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #define UNW_LOCAL_ONLY
17441 #include <libunwind.h>
17443 main (void)
17445 unw_cursor_t cursor; unw_step( &cursor );
17447 return 0;
17449 _ACEOF
17450 if ac_fn_c_try_link "$LINENO"
17451 then :
17452 wine_cv_have_unw_step="yes"
17453 else $as_nop
17454 wine_cv_have_unw_step="no"
17456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17457 conftest$ac_exeext conftest.$ac_ext
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17460 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17461 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17462 then
17463 save_libs=$LIBS
17464 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17465 LIBS="$UNWIND_LIBS $LIBS"
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17467 printf %s "checking for unw_step in libunwind... " >&6; }
17468 if test ${wine_cv_have_libunwind_unw_step+y}
17469 then :
17470 printf %s "(cached) " >&6
17471 else $as_nop
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #define UNW_LOCAL_ONLY
17475 #include <libunwind.h>
17477 main (void)
17479 unw_cursor_t cursor; unw_step( &cursor );
17481 return 0;
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"
17485 then :
17486 wine_cv_have_libunwind_unw_step="yes"
17487 else $as_nop
17488 wine_cv_have_libunwind_unw_step="no"
17490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17491 conftest$ac_exeext conftest.$ac_ext
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17494 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17495 LIBS=$save_libs
17497 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17498 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17499 then
17501 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17504 CPPFLAGS=$ac_save_CPPFLAGS
17507 case $host in
17508 aarch64*|*-darwin*)
17509 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17510 then :
17511 case "x$with_unwind" in
17512 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17513 xno) ;;
17514 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17515 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17516 esac
17518 fi ;;
17519 esac
17521 if test "x$with_sdl" != "xno"
17522 then
17523 rm -f conftest.err
17524 if ${SDL2_CFLAGS:+false} :
17525 then :
17526 if test ${PKG_CONFIG+y}
17527 then :
17528 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17532 if ${SDL2_LIBS:+false} :
17533 then :
17534 if test ${PKG_CONFIG+y}
17535 then :
17536 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17540 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17543 if test -s conftest.err; then
17544 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17545 cat conftest.err >&5
17547 rm -f conftest.err
17548 ac_save_CPPFLAGS=$CPPFLAGS
17549 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17550 for ac_header in SDL.h
17551 do :
17552 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17553 if test "x$ac_cv_header_SDL_h" = xyes
17554 then :
17555 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17557 printf %s "checking for -lSDL2... " >&6; }
17558 if test ${ac_cv_lib_soname_SDL2+y}
17559 then :
17560 printf %s "(cached) " >&6
17561 else $as_nop
17562 ac_check_soname_save_LIBS=$LIBS
17563 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17567 /* Override any GCC internal prototype to avoid an error.
17568 Use char because int might match the return type of a GCC
17569 builtin and then its argument prototype would still apply. */
17570 char SDL_Init ();
17572 main (void)
17574 return SDL_Init ();
17576 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_link "$LINENO"
17580 then :
17581 case "$LIBEXT" in
17582 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17583 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'` ;;
17584 *) 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'`
17585 if ${ac_cv_lib_soname_SDL2:+false} :
17586 then :
17587 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17588 fi ;;
17589 esac
17590 else $as_nop
17591 ac_cv_lib_soname_SDL2=
17593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17594 conftest$ac_exeext conftest.$ac_ext
17595 LIBS=$ac_check_soname_save_LIBS
17597 if ${ac_cv_lib_soname_SDL2:+false} :
17598 then :
17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17600 printf "%s\n" "not found" >&6; }
17602 else $as_nop
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17604 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17606 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17612 done
17613 CPPFLAGS=$ac_save_CPPFLAGS
17616 if test "x$ac_cv_lib_soname_SDL2" = "x"
17617 then :
17618 case "x$with_sdl" in
17619 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17620 xno) ;;
17621 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17622 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17623 esac
17627 if test "x$with_capi" != "xno"
17628 then
17629 rm -f conftest.err
17630 if ${CAPI20_CFLAGS:+false} :
17631 then :
17632 if test ${PKG_CONFIG+y}
17633 then :
17634 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17638 if ${CAPI20_LIBS:+false} :
17639 then :
17640 if test ${PKG_CONFIG+y}
17641 then :
17642 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17649 if test -s conftest.err; then
17650 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17651 cat conftest.err >&5
17653 rm -f conftest.err
17654 ac_save_CPPFLAGS=$CPPFLAGS
17655 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17656 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17658 if test "x$ac_cv_header_capi20_h" = xyes
17659 then :
17660 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17663 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17665 if test "x$ac_cv_header_linux_capi_h" = xyes
17666 then :
17667 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17671 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17672 then
17673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17674 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17675 if test ${ac_cv_lib_capi20_capi20_register+y}
17676 then :
17677 printf %s "(cached) " >&6
17678 else $as_nop
17679 ac_check_lib_save_LIBS=$LIBS
17680 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h. */
17684 /* Override any GCC internal prototype to avoid an error.
17685 Use char because int might match the return type of a GCC
17686 builtin and then its argument prototype would still apply. */
17687 char capi20_register ();
17689 main (void)
17691 return capi20_register ();
17693 return 0;
17695 _ACEOF
17696 if ac_fn_c_try_link "$LINENO"
17697 then :
17698 ac_cv_lib_capi20_capi20_register=yes
17699 else $as_nop
17700 ac_cv_lib_capi20_capi20_register=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17703 conftest$ac_exeext conftest.$ac_ext
17704 LIBS=$ac_check_lib_save_LIBS
17706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17707 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17708 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17709 then :
17711 else $as_nop
17712 CAPI20_LIBS=""
17716 CPPFLAGS=$ac_save_CPPFLAGS
17719 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17720 then :
17721 case "x$with_capi" in
17722 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17723 xno) ;;
17724 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17725 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17726 esac
17727 enable_capi2032=${enable_capi2032:-no}
17730 if test "x$with_cups" != "xno"
17731 then
17732 rm -f conftest.err
17733 if ${CUPS_CFLAGS:+false} :
17734 then :
17735 if test ${PKG_CONFIG+y}
17736 then :
17737 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17740 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17741 if ${CUPS_LIBS:+false} :
17742 then :
17743 if test ${PKG_CONFIG+y}
17744 then :
17745 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17748 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17749 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17752 if test -s conftest.err; then
17753 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17754 cat conftest.err >&5
17756 rm -f conftest.err
17757 ac_save_CPPFLAGS=$CPPFLAGS
17758 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17759 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17760 if test "x$ac_cv_header_cups_cups_h" = xyes
17761 then :
17762 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17765 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17766 if test "x$ac_cv_header_cups_ppd_h" = xyes
17767 then :
17768 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17772 if test "$ac_cv_header_cups_cups_h" = "yes"
17773 then
17774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17775 printf %s "checking for -lcups... " >&6; }
17776 if test ${ac_cv_lib_soname_cups+y}
17777 then :
17778 printf %s "(cached) " >&6
17779 else $as_nop
17780 ac_check_soname_save_LIBS=$LIBS
17781 LIBS="-lcups $CUPS_LIBS $LIBS"
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17785 /* Override any GCC internal prototype to avoid an error.
17786 Use char because int might match the return type of a GCC
17787 builtin and then its argument prototype would still apply. */
17788 char cupsGetDefault ();
17790 main (void)
17792 return cupsGetDefault ();
17794 return 0;
17796 _ACEOF
17797 if ac_fn_c_try_link "$LINENO"
17798 then :
17799 case "$LIBEXT" in
17800 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17801 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'` ;;
17802 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17803 if ${ac_cv_lib_soname_cups:+false} :
17804 then :
17805 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17806 fi ;;
17807 esac
17808 else $as_nop
17809 ac_cv_lib_soname_cups=
17811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17812 conftest$ac_exeext conftest.$ac_ext
17813 LIBS=$ac_check_soname_save_LIBS
17815 if ${ac_cv_lib_soname_cups:+false} :
17816 then :
17817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17818 printf "%s\n" "not found" >&6; }
17819 CUPS_LIBS=""
17820 else $as_nop
17821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17822 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17824 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17828 else
17829 CUPS_CFLAGS=""
17830 CUPS_LIBS=""
17832 CPPFLAGS=$ac_save_CPPFLAGS
17835 if test "x$ac_cv_lib_soname_cups" = "x"
17836 then :
17837 case "x$with_cups" in
17838 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17839 xno) ;;
17840 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17841 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17842 esac
17846 if test "x$with_fontconfig" != "xno"
17847 then
17848 rm -f conftest.err
17849 if ${FONTCONFIG_CFLAGS:+false} :
17850 then :
17851 if test ${PKG_CONFIG+y}
17852 then :
17853 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17856 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17857 if ${FONTCONFIG_LIBS:+false} :
17858 then :
17859 if test ${PKG_CONFIG+y}
17860 then :
17861 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17864 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17868 if test -s conftest.err; then
17869 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17870 cat conftest.err >&5
17872 rm -f conftest.err
17873 ac_save_CPPFLAGS=$CPPFLAGS
17874 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17875 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17876 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17877 then :
17878 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17882 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17883 then
17884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17885 printf %s "checking for -lfontconfig... " >&6; }
17886 if test ${ac_cv_lib_soname_fontconfig+y}
17887 then :
17888 printf %s "(cached) " >&6
17889 else $as_nop
17890 ac_check_soname_save_LIBS=$LIBS
17891 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17895 /* Override any GCC internal prototype to avoid an error.
17896 Use char because int might match the return type of a GCC
17897 builtin and then its argument prototype would still apply. */
17898 char FcInit ();
17900 main (void)
17902 return FcInit ();
17904 return 0;
17906 _ACEOF
17907 if ac_fn_c_try_link "$LINENO"
17908 then :
17909 case "$LIBEXT" in
17910 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17911 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'` ;;
17912 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17913 if ${ac_cv_lib_soname_fontconfig:+false} :
17914 then :
17915 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17916 fi ;;
17917 esac
17918 else $as_nop
17919 ac_cv_lib_soname_fontconfig=
17921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17922 conftest$ac_exeext conftest.$ac_ext
17923 LIBS=$ac_check_soname_save_LIBS
17925 if ${ac_cv_lib_soname_fontconfig:+false} :
17926 then :
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17928 printf "%s\n" "not found" >&6; }
17929 FONTCONFIG_CFLAGS=""
17930 else $as_nop
17931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17932 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17934 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17938 else
17939 FONTCONFIG_CFLAGS=""
17941 CPPFLAGS=$ac_save_CPPFLAGS
17944 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17945 then :
17946 case "x$with_fontconfig" in
17947 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17948 xno) ;;
17949 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17950 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17951 esac
17955 if test "x$with_krb5" != "xno"
17956 then
17957 rm -f conftest.err
17958 if ${KRB5_CFLAGS:+false} :
17959 then :
17960 if test ${PKG_CONFIG+y}
17961 then :
17962 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17965 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17966 if ${KRB5_LIBS:+false} :
17967 then :
17968 if test ${PKG_CONFIG+y}
17969 then :
17970 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17973 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17977 if test -s conftest.err; then
17978 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17979 cat conftest.err >&5
17981 rm -f conftest.err
17982 ac_save_CPPFLAGS=$CPPFLAGS
17983 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17984 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17985 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17986 then :
17987 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17991 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17992 then
17993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17994 printf %s "checking for -lkrb5... " >&6; }
17995 if test ${ac_cv_lib_soname_krb5+y}
17996 then :
17997 printf %s "(cached) " >&6
17998 else $as_nop
17999 ac_check_soname_save_LIBS=$LIBS
18000 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18004 /* Override any GCC internal prototype to avoid an error.
18005 Use char because int might match the return type of a GCC
18006 builtin and then its argument prototype would still apply. */
18007 char krb5_is_config_principal ();
18009 main (void)
18011 return krb5_is_config_principal ();
18013 return 0;
18015 _ACEOF
18016 if ac_fn_c_try_link "$LINENO"
18017 then :
18018 case "$LIBEXT" in
18019 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18020 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'` ;;
18021 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18022 if ${ac_cv_lib_soname_krb5:+false} :
18023 then :
18024 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18025 fi ;;
18026 esac
18027 else $as_nop
18028 ac_cv_lib_soname_krb5=
18030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18031 conftest$ac_exeext conftest.$ac_ext
18032 LIBS=$ac_check_soname_save_LIBS
18034 if ${ac_cv_lib_soname_krb5:+false} :
18035 then :
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18037 printf "%s\n" "not found" >&6; }
18038 KRB5_CFLAGS=""
18039 else $as_nop
18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18041 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18043 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18047 else
18048 KRB5_CFLAGS=""
18050 CPPFLAGS=$ac_save_CPPFLAGS
18053 if test "x$ac_cv_lib_soname_krb5" = "x"
18054 then :
18055 case "x$with_krb5" in
18056 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18057 xno) ;;
18058 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18059 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18060 esac
18063 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18065 if test "x$with_gssapi" != "xno"
18066 then
18067 rm -f conftest.err
18068 if ${GSSAPI_CFLAGS:+false} :
18069 then :
18070 if test ${PKG_CONFIG+y}
18071 then :
18072 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18075 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18076 if ${GSSAPI_LIBS:+false} :
18077 then :
18078 if test ${PKG_CONFIG+y}
18079 then :
18080 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18083 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18087 if test -s conftest.err; then
18088 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18089 cat conftest.err >&5
18091 rm -f conftest.err
18092 ac_save_CPPFLAGS=$CPPFLAGS
18093 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18094 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18095 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18096 then :
18097 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18100 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18101 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18102 then :
18103 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18107 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18108 then
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18110 printf %s "checking for -lgssapi_krb5... " >&6; }
18111 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18112 then :
18113 printf %s "(cached) " >&6
18114 else $as_nop
18115 ac_check_soname_save_LIBS=$LIBS
18116 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 char gss_init_sec_context ();
18125 main (void)
18127 return gss_init_sec_context ();
18129 return 0;
18131 _ACEOF
18132 if ac_fn_c_try_link "$LINENO"
18133 then :
18134 case "$LIBEXT" in
18135 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18136 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'` ;;
18137 *) 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'`
18138 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18139 then :
18140 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18141 fi ;;
18142 esac
18143 else $as_nop
18144 ac_cv_lib_soname_gssapi_krb5=
18146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_soname_save_LIBS
18150 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18151 then :
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18153 printf "%s\n" "not found" >&6; }
18154 GSSAPI_CFLAGS=""
18155 else $as_nop
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18157 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18159 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18163 else
18164 GSSAPI_CFLAGS=""
18166 CPPFLAGS=$ac_save_CPPFLAGS
18169 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18170 then :
18171 case "x$with_gssapi" in
18172 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18173 xno) ;;
18174 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18175 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18176 esac
18180 if test "$ac_cv_header_libprocstat_h" = "yes"
18181 then
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18183 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18184 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18185 then :
18186 printf %s "(cached) " >&6
18187 else $as_nop
18188 ac_check_lib_save_LIBS=$LIBS
18189 LIBS="-lprocstat $LIBS"
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18193 /* Override any GCC internal prototype to avoid an error.
18194 Use char because int might match the return type of a GCC
18195 builtin and then its argument prototype would still apply. */
18196 char procstat_open_sysctl ();
18198 main (void)
18200 return procstat_open_sysctl ();
18202 return 0;
18204 _ACEOF
18205 if ac_fn_c_try_link "$LINENO"
18206 then :
18207 ac_cv_lib_procstat_procstat_open_sysctl=yes
18208 else $as_nop
18209 ac_cv_lib_procstat_procstat_open_sysctl=no
18211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18212 conftest$ac_exeext conftest.$ac_ext
18213 LIBS=$ac_check_lib_save_LIBS
18215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18216 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18217 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18218 then :
18220 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18222 PROCSTAT_LIBS="-lprocstat"
18228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18229 printf %s "checking for -lodbc... " >&6; }
18230 if test ${ac_cv_lib_soname_odbc+y}
18231 then :
18232 printf %s "(cached) " >&6
18233 else $as_nop
18234 ac_check_soname_save_LIBS=$LIBS
18235 LIBS="-lodbc $LIBS"
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18239 /* Override any GCC internal prototype to avoid an error.
18240 Use char because int might match the return type of a GCC
18241 builtin and then its argument prototype would still apply. */
18242 char SQLConnect ();
18244 main (void)
18246 return SQLConnect ();
18248 return 0;
18250 _ACEOF
18251 if ac_fn_c_try_link "$LINENO"
18252 then :
18253 case "$LIBEXT" in
18254 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18255 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'` ;;
18256 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18257 if ${ac_cv_lib_soname_odbc:+false} :
18258 then :
18259 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18260 fi ;;
18261 esac
18262 else $as_nop
18263 ac_cv_lib_soname_odbc=
18265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_soname_save_LIBS
18269 if ${ac_cv_lib_soname_odbc:+false} :
18270 then :
18271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18272 printf "%s\n" "not found" >&6; }
18273 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18275 else $as_nop
18276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18277 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18279 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18284 if test "x$with_netapi" != "xno"
18285 then
18286 rm -f conftest.err
18287 if ${NETAPI_CFLAGS:+false} :
18288 then :
18289 if test ${PKG_CONFIG+y}
18290 then :
18291 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18295 if ${NETAPI_LIBS:+false} :
18296 then :
18297 if test ${PKG_CONFIG+y}
18298 then :
18299 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18306 if test -s conftest.err; then
18307 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18308 cat conftest.err >&5
18310 rm -f conftest.err
18311 ac_save_CPPFLAGS=$CPPFLAGS
18312 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18314 printf %s "checking for -lnetapi... " >&6; }
18315 if test ${ac_cv_lib_soname_netapi+y}
18316 then :
18317 printf %s "(cached) " >&6
18318 else $as_nop
18319 ac_check_soname_save_LIBS=$LIBS
18320 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 /* Override any GCC internal prototype to avoid an error.
18325 Use char because int might match the return type of a GCC
18326 builtin and then its argument prototype would still apply. */
18327 char libnetapi_init ();
18329 main (void)
18331 return libnetapi_init ();
18333 return 0;
18335 _ACEOF
18336 if ac_fn_c_try_link "$LINENO"
18337 then :
18338 case "$LIBEXT" in
18339 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18340 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'` ;;
18341 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18342 if ${ac_cv_lib_soname_netapi:+false} :
18343 then :
18344 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18345 fi ;;
18346 esac
18347 else $as_nop
18348 ac_cv_lib_soname_netapi=
18350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18351 conftest$ac_exeext conftest.$ac_ext
18352 LIBS=$ac_check_soname_save_LIBS
18354 if ${ac_cv_lib_soname_netapi:+false} :
18355 then :
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18357 printf "%s\n" "not found" >&6; }
18358 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18360 else $as_nop
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18364 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18368 CPPFLAGS=$ac_save_CPPFLAGS
18371 if test "x$ac_cv_lib_soname_netapi" = "x"
18372 then :
18373 case "x$with_netapi" in
18374 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18375 xno) ;;
18376 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18377 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18378 esac
18379 enable_netapi=${enable_netapi:-no}
18383 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18384 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18385 then
18386 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18389 if test "x$with_vulkan" != "xno"
18390 then
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18392 printf %s "checking for -lvulkan... " >&6; }
18393 if test ${ac_cv_lib_soname_vulkan+y}
18394 then :
18395 printf %s "(cached) " >&6
18396 else $as_nop
18397 ac_check_soname_save_LIBS=$LIBS
18398 LIBS="-lvulkan $LIBS"
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 /* Override any GCC internal prototype to avoid an error.
18403 Use char because int might match the return type of a GCC
18404 builtin and then its argument prototype would still apply. */
18405 char vkGetInstanceProcAddr ();
18407 main (void)
18409 return vkGetInstanceProcAddr ();
18411 return 0;
18413 _ACEOF
18414 if ac_fn_c_try_link "$LINENO"
18415 then :
18416 case "$LIBEXT" in
18417 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18418 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'` ;;
18419 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18420 if ${ac_cv_lib_soname_vulkan:+false} :
18421 then :
18422 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18423 fi ;;
18424 esac
18425 else $as_nop
18426 ac_cv_lib_soname_vulkan=
18428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18429 conftest$ac_exeext conftest.$ac_ext
18430 LIBS=$ac_check_soname_save_LIBS
18432 if ${ac_cv_lib_soname_vulkan:+false} :
18433 then :
18434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18435 printf "%s\n" "not found" >&6; }
18437 else $as_nop
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18439 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18441 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18445 if test "x$ac_cv_lib_soname_vulkan" = "x"
18446 then
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18448 printf %s "checking for -lMoltenVK... " >&6; }
18449 if test ${ac_cv_lib_soname_MoltenVK+y}
18450 then :
18451 printf %s "(cached) " >&6
18452 else $as_nop
18453 ac_check_soname_save_LIBS=$LIBS
18454 LIBS="-lMoltenVK $LIBS"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18461 char vkGetInstanceProcAddr ();
18463 main (void)
18465 return vkGetInstanceProcAddr ();
18467 return 0;
18469 _ACEOF
18470 if ac_fn_c_try_link "$LINENO"
18471 then :
18472 case "$LIBEXT" in
18473 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18474 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'` ;;
18475 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18476 if ${ac_cv_lib_soname_MoltenVK:+false} :
18477 then :
18478 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18479 fi ;;
18480 esac
18481 else $as_nop
18482 ac_cv_lib_soname_MoltenVK=
18484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18485 conftest$ac_exeext conftest.$ac_ext
18486 LIBS=$ac_check_soname_save_LIBS
18488 if ${ac_cv_lib_soname_MoltenVK:+false} :
18489 then :
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18491 printf "%s\n" "not found" >&6; }
18493 else $as_nop
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18495 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18497 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18503 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18504 then :
18505 case "x$with_vulkan" in
18506 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18507 xno) ;;
18508 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18509 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18510 esac
18515 if test "x${GCC}" = "xyes"
18516 then
18517 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18519 saved_CFLAGS=$CFLAGS
18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18521 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18522 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18523 then :
18524 printf %s "(cached) " >&6
18525 else $as_nop
18526 ac_wine_try_cflags_saved=$CFLAGS
18527 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 int main(int argc, char **argv) { return 0; }
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"
18533 then :
18534 ac_cv_cflags__Werror_unknown_warning_option=yes
18535 else $as_nop
18536 ac_cv_cflags__Werror_unknown_warning_option=no
18538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18539 conftest$ac_exeext conftest.$ac_ext
18540 CFLAGS=$ac_wine_try_cflags_saved
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18543 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18544 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18545 then :
18546 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18549 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18550 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18551 then :
18552 printf %s "(cached) " >&6
18553 else $as_nop
18554 ac_wine_try_cflags_saved=$CFLAGS
18555 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18558 int main(int argc, char **argv) { return 0; }
18559 _ACEOF
18560 if ac_fn_c_try_link "$LINENO"
18561 then :
18562 ac_cv_cflags__Werror_unused_command_line_argument=yes
18563 else $as_nop
18564 ac_cv_cflags__Werror_unused_command_line_argument=no
18566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18567 conftest$ac_exeext conftest.$ac_ext
18568 CFLAGS=$ac_wine_try_cflags_saved
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18571 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18572 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18573 then :
18574 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18577 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18578 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18579 then :
18580 printf %s "(cached) " >&6
18581 else $as_nop
18582 ac_wine_try_cflags_saved=$CFLAGS
18583 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18586 int main(int argc, char **argv) { return 0; }
18587 _ACEOF
18588 if ac_fn_c_try_link "$LINENO"
18589 then :
18590 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18591 else $as_nop
18592 ac_cv_cflags__Werror_ignored_optimization_argument=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18595 conftest$ac_exeext conftest.$ac_ext
18596 CFLAGS=$ac_wine_try_cflags_saved
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18599 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18600 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18601 then :
18602 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18605 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18606 if test ${ac_cv_cflags__fcf_protection_none+y}
18607 then :
18608 printf %s "(cached) " >&6
18609 else $as_nop
18610 ac_wine_try_cflags_saved=$CFLAGS
18611 CFLAGS="$CFLAGS -fcf-protection=none"
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18614 int main(int argc, char **argv) { return 0; }
18615 _ACEOF
18616 if ac_fn_c_try_link "$LINENO"
18617 then :
18618 ac_cv_cflags__fcf_protection_none=yes
18619 else $as_nop
18620 ac_cv_cflags__fcf_protection_none=no
18622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18623 conftest$ac_exeext conftest.$ac_ext
18624 CFLAGS=$ac_wine_try_cflags_saved
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18627 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18628 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18629 then :
18630 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18633 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18634 if test ${ac_cv_cflags__fno_stack_protector+y}
18635 then :
18636 printf %s "(cached) " >&6
18637 else $as_nop
18638 ac_wine_try_cflags_saved=$CFLAGS
18639 CFLAGS="$CFLAGS -fno-stack-protector"
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 int main(int argc, char **argv) { return 0; }
18643 _ACEOF
18644 if ac_fn_c_try_link "$LINENO"
18645 then :
18646 ac_cv_cflags__fno_stack_protector=yes
18647 else $as_nop
18648 ac_cv_cflags__fno_stack_protector=no
18650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18651 conftest$ac_exeext conftest.$ac_ext
18652 CFLAGS=$ac_wine_try_cflags_saved
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18655 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18656 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18657 then :
18658 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18661 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18662 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18663 then :
18664 printf %s "(cached) " >&6
18665 else $as_nop
18666 ac_wine_try_cflags_saved=$CFLAGS
18667 CFLAGS="$CFLAGS -fno-strict-aliasing"
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 int main(int argc, char **argv) { return 0; }
18671 _ACEOF
18672 if ac_fn_c_try_link "$LINENO"
18673 then :
18674 ac_cv_cflags__fno_strict_aliasing=yes
18675 else $as_nop
18676 ac_cv_cflags__fno_strict_aliasing=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18679 conftest$ac_exeext conftest.$ac_ext
18680 CFLAGS=$ac_wine_try_cflags_saved
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18683 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18684 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18685 then :
18686 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18689 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18690 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18691 then :
18692 printf %s "(cached) " >&6
18693 else $as_nop
18694 ac_wine_try_cflags_saved=$CFLAGS
18695 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 int main(int argc, char **argv) { return 0; }
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"
18701 then :
18702 ac_cv_cflags__Wdeclaration_after_statement=yes
18703 else $as_nop
18704 ac_cv_cflags__Wdeclaration_after_statement=no
18706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18707 conftest$ac_exeext conftest.$ac_ext
18708 CFLAGS=$ac_wine_try_cflags_saved
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18711 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18712 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18713 then :
18714 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18717 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18718 if test ${ac_cv_cflags__Wempty_body+y}
18719 then :
18720 printf %s "(cached) " >&6
18721 else $as_nop
18722 ac_wine_try_cflags_saved=$CFLAGS
18723 CFLAGS="$CFLAGS -Wempty-body"
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 int main(int argc, char **argv) { return 0; }
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"
18729 then :
18730 ac_cv_cflags__Wempty_body=yes
18731 else $as_nop
18732 ac_cv_cflags__Wempty_body=no
18734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18735 conftest$ac_exeext conftest.$ac_ext
18736 CFLAGS=$ac_wine_try_cflags_saved
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18739 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18740 if test "x$ac_cv_cflags__Wempty_body" = xyes
18741 then :
18742 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18745 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18746 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18747 then :
18748 printf %s "(cached) " >&6
18749 else $as_nop
18750 ac_wine_try_cflags_saved=$CFLAGS
18751 CFLAGS="$CFLAGS -Wignored-qualifiers"
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 int main(int argc, char **argv) { return 0; }
18755 _ACEOF
18756 if ac_fn_c_try_link "$LINENO"
18757 then :
18758 ac_cv_cflags__Wignored_qualifiers=yes
18759 else $as_nop
18760 ac_cv_cflags__Wignored_qualifiers=no
18762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18763 conftest$ac_exeext conftest.$ac_ext
18764 CFLAGS=$ac_wine_try_cflags_saved
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18767 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18768 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18769 then :
18770 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18773 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18774 if test ${ac_cv_cflags__Winit_self+y}
18775 then :
18776 printf %s "(cached) " >&6
18777 else $as_nop
18778 ac_wine_try_cflags_saved=$CFLAGS
18779 CFLAGS="$CFLAGS -Winit-self"
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 int main(int argc, char **argv) { return 0; }
18783 _ACEOF
18784 if ac_fn_c_try_link "$LINENO"
18785 then :
18786 ac_cv_cflags__Winit_self=yes
18787 else $as_nop
18788 ac_cv_cflags__Winit_self=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18791 conftest$ac_exeext conftest.$ac_ext
18792 CFLAGS=$ac_wine_try_cflags_saved
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18795 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18796 if test "x$ac_cv_cflags__Winit_self" = xyes
18797 then :
18798 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18801 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18802 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18803 then :
18804 printf %s "(cached) " >&6
18805 else $as_nop
18806 ac_wine_try_cflags_saved=$CFLAGS
18807 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 int main(int argc, char **argv) { return 0; }
18811 _ACEOF
18812 if ac_fn_c_try_link "$LINENO"
18813 then :
18814 ac_cv_cflags__Wpacked_not_aligned=yes
18815 else $as_nop
18816 ac_cv_cflags__Wpacked_not_aligned=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18819 conftest$ac_exeext conftest.$ac_ext
18820 CFLAGS=$ac_wine_try_cflags_saved
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18823 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18824 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18825 then :
18826 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18829 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18830 if test ${ac_cv_cflags__Wpragma_pack+y}
18831 then :
18832 printf %s "(cached) " >&6
18833 else $as_nop
18834 ac_wine_try_cflags_saved=$CFLAGS
18835 CFLAGS="$CFLAGS -Wpragma-pack"
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 int main(int argc, char **argv) { return 0; }
18839 _ACEOF
18840 if ac_fn_c_try_link "$LINENO"
18841 then :
18842 ac_cv_cflags__Wpragma_pack=yes
18843 else $as_nop
18844 ac_cv_cflags__Wpragma_pack=no
18846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18847 conftest$ac_exeext conftest.$ac_ext
18848 CFLAGS=$ac_wine_try_cflags_saved
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18851 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18852 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18853 then :
18854 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18857 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18858 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18859 then :
18860 printf %s "(cached) " >&6
18861 else $as_nop
18862 ac_wine_try_cflags_saved=$CFLAGS
18863 CFLAGS="$CFLAGS -Wshift-overflow=2"
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 int main(int argc, char **argv) { return 0; }
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"
18869 then :
18870 ac_cv_cflags__Wshift_overflow_2=yes
18871 else $as_nop
18872 ac_cv_cflags__Wshift_overflow_2=no
18874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18875 conftest$ac_exeext conftest.$ac_ext
18876 CFLAGS=$ac_wine_try_cflags_saved
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18879 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18880 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18881 then :
18882 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18885 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18886 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18887 then :
18888 printf %s "(cached) " >&6
18889 else $as_nop
18890 ac_wine_try_cflags_saved=$CFLAGS
18891 CFLAGS="$CFLAGS -Wstrict-prototypes"
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18895 _ACEOF
18896 if ac_fn_c_try_link "$LINENO"
18897 then :
18898 ac_cv_cflags__Wstrict_prototypes=yes
18899 else $as_nop
18900 ac_cv_cflags__Wstrict_prototypes=no
18902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18903 conftest$ac_exeext conftest.$ac_ext
18904 CFLAGS=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18907 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18908 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18909 then :
18910 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18913 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18914 if test ${ac_cv_cflags__Wtype_limits+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 ac_wine_try_cflags_saved=$CFLAGS
18919 CFLAGS="$CFLAGS -Wtype-limits"
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922 int main(int argc, char **argv) { return 0; }
18923 _ACEOF
18924 if ac_fn_c_try_link "$LINENO"
18925 then :
18926 ac_cv_cflags__Wtype_limits=yes
18927 else $as_nop
18928 ac_cv_cflags__Wtype_limits=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18931 conftest$ac_exeext conftest.$ac_ext
18932 CFLAGS=$ac_wine_try_cflags_saved
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18935 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18936 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18937 then :
18938 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18941 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18942 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18943 then :
18944 printf %s "(cached) " >&6
18945 else $as_nop
18946 ac_wine_try_cflags_saved=$CFLAGS
18947 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18950 int main(int argc, char **argv) { return 0; }
18951 _ACEOF
18952 if ac_fn_c_try_link "$LINENO"
18953 then :
18954 ac_cv_cflags__Wunused_but_set_parameter=yes
18955 else $as_nop
18956 ac_cv_cflags__Wunused_but_set_parameter=no
18958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18959 conftest$ac_exeext conftest.$ac_ext
18960 CFLAGS=$ac_wine_try_cflags_saved
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18963 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18964 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18965 then :
18966 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18969 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18970 if test ${ac_cv_cflags__Wvla+y}
18971 then :
18972 printf %s "(cached) " >&6
18973 else $as_nop
18974 ac_wine_try_cflags_saved=$CFLAGS
18975 CFLAGS="$CFLAGS -Wvla"
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 int main(int argc, char **argv) { return 0; }
18979 _ACEOF
18980 if ac_fn_c_try_link "$LINENO"
18981 then :
18982 ac_cv_cflags__Wvla=yes
18983 else $as_nop
18984 ac_cv_cflags__Wvla=no
18986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18987 conftest$ac_exeext conftest.$ac_ext
18988 CFLAGS=$ac_wine_try_cflags_saved
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18991 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18992 if test "x$ac_cv_cflags__Wvla" = xyes
18993 then :
18994 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18997 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18998 if test ${ac_cv_cflags__Wwrite_strings+y}
18999 then :
19000 printf %s "(cached) " >&6
19001 else $as_nop
19002 ac_wine_try_cflags_saved=$CFLAGS
19003 CFLAGS="$CFLAGS -Wwrite-strings"
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19006 int main(int argc, char **argv) { return 0; }
19007 _ACEOF
19008 if ac_fn_c_try_link "$LINENO"
19009 then :
19010 ac_cv_cflags__Wwrite_strings=yes
19011 else $as_nop
19012 ac_cv_cflags__Wwrite_strings=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19015 conftest$ac_exeext conftest.$ac_ext
19016 CFLAGS=$ac_wine_try_cflags_saved
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19019 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19020 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19021 then :
19022 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19026 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19027 if test ${ac_cv_cflags__Wpointer_arith+y}
19028 then :
19029 printf %s "(cached) " >&6
19030 else $as_nop
19031 ac_wine_try_cflags_saved=$CFLAGS
19032 CFLAGS="$CFLAGS -Wpointer-arith"
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 int main(int argc, char **argv) { return 0; }
19036 _ACEOF
19037 if ac_fn_c_try_link "$LINENO"
19038 then :
19039 ac_cv_cflags__Wpointer_arith=yes
19040 else $as_nop
19041 ac_cv_cflags__Wpointer_arith=no
19043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19044 conftest$ac_exeext conftest.$ac_ext
19045 CFLAGS=$ac_wine_try_cflags_saved
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19048 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19049 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19050 then :
19051 saved_string_h_CFLAGS=$CFLAGS
19052 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19054 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19055 if test ${ac_cv_c_string_h_warnings+y}
19056 then :
19057 printf %s "(cached) " >&6
19058 else $as_nop
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 #include <string.h>
19063 main (void)
19067 return 0;
19069 _ACEOF
19070 if ac_fn_c_try_compile "$LINENO"
19071 then :
19072 ac_cv_c_string_h_warnings=no
19073 else $as_nop
19074 ac_cv_c_string_h_warnings=yes
19076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19079 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19080 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19081 CFLAGS=$saved_string_h_CFLAGS
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19085 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19086 if test ${ac_cv_cflags__Wlogical_op+y}
19087 then :
19088 printf %s "(cached) " >&6
19089 else $as_nop
19090 ac_wine_try_cflags_saved=$CFLAGS
19091 CFLAGS="$CFLAGS -Wlogical-op"
19092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19094 int main(int argc, char **argv) { return 0; }
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"
19097 then :
19098 ac_cv_cflags__Wlogical_op=yes
19099 else $as_nop
19100 ac_cv_cflags__Wlogical_op=no
19102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19103 conftest$ac_exeext conftest.$ac_ext
19104 CFLAGS=$ac_wine_try_cflags_saved
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19107 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19108 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19109 then :
19110 saved_string_h_CFLAGS=$CFLAGS
19111 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19113 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19114 if test ${ac_cv_c_logicalop_noisy+y}
19115 then :
19116 printf %s "(cached) " >&6
19117 else $as_nop
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <string.h>
19121 char*f(const char *h,char n) {return strchr(h,n);}
19123 main (void)
19127 return 0;
19129 _ACEOF
19130 if ac_fn_c_try_compile "$LINENO"
19131 then :
19132 ac_cv_c_logicalop_noisy=no
19133 else $as_nop
19134 ac_cv_c_logicalop_noisy=yes
19136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19139 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19140 CFLAGS=$saved_string_h_CFLAGS
19141 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19145 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19146 if test ${wine_cv_64bit_compare_swap+y}
19147 then :
19148 printf %s "(cached) " >&6
19149 else $as_nop
19150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19153 #error no
19154 #endif
19156 main (void)
19160 return 0;
19162 _ACEOF
19163 if ac_fn_c_try_compile "$LINENO"
19164 then :
19165 wine_cv_64bit_compare_swap="none needed"
19166 else $as_nop
19167 case $host_cpu in
19168 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19169 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19170 *) wine_cv_64bit_compare_swap="unknown" ;;
19171 esac
19172 if test "x$wine_cv_64bit_compare_swap" != xunknown
19173 then
19174 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19178 #error no
19179 #endif
19181 main (void)
19185 return 0;
19187 _ACEOF
19188 if ac_fn_c_try_compile "$LINENO"
19189 then :
19191 else $as_nop
19192 wine_cv_64bit_compare_swap="unknown"
19194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19195 CFLAGS=$saved_CFLAGS
19198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19201 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19202 case "$wine_cv_64bit_compare_swap" in
19203 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19204 "none needed") ;;
19205 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19206 esac
19208 ac_debug_format_seen=""
19209 for ac_flag in $CFLAGS; do
19210 case $ac_flag in
19211 -gdwarf*) ac_debug_format_seen=yes ;;
19212 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19213 esac
19214 done
19215 if test "x$ac_debug_format_seen" = xdefault
19216 then
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19218 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19219 if test ${ac_cv_cflags__gdwarf_4+y}
19220 then :
19221 printf %s "(cached) " >&6
19222 else $as_nop
19223 ac_wine_try_cflags_saved=$CFLAGS
19224 CFLAGS="$CFLAGS -gdwarf-4"
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 int main(int argc, char **argv) { return 0; }
19228 _ACEOF
19229 if ac_fn_c_try_link "$LINENO"
19230 then :
19231 ac_cv_cflags__gdwarf_4=yes
19232 else $as_nop
19233 ac_cv_cflags__gdwarf_4=no
19235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19236 conftest$ac_exeext conftest.$ac_ext
19237 CFLAGS=$ac_wine_try_cflags_saved
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19240 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19241 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19242 then :
19243 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19247 MSVCRTFLAGS=""
19249 case $host_os in
19250 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19251 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19252 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19253 then :
19254 printf %s "(cached) " >&6
19255 else $as_nop
19256 ac_wine_try_cflags_saved=$CFLAGS
19257 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 int main(int argc, char **argv) { return 0; }
19261 _ACEOF
19262 if ac_fn_c_try_link "$LINENO"
19263 then :
19264 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19265 else $as_nop
19266 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19269 conftest$ac_exeext conftest.$ac_ext
19270 CFLAGS=$ac_wine_try_cflags_saved
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19273 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19274 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19275 then :
19276 DELAYLOADFLAG="-Wl,-delayload,"
19278 fi ;;
19279 *) MSVCRTFLAGS="-D_WIN32"
19280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19281 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19282 if test ${ac_cv_cflags__fno_builtin+y}
19283 then :
19284 printf %s "(cached) " >&6
19285 else $as_nop
19286 ac_wine_try_cflags_saved=$CFLAGS
19287 CFLAGS="$CFLAGS -fno-builtin"
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 int main(int argc, char **argv) { return 0; }
19291 _ACEOF
19292 if ac_fn_c_try_link "$LINENO"
19293 then :
19294 ac_cv_cflags__fno_builtin=yes
19295 else $as_nop
19296 ac_cv_cflags__fno_builtin=no
19298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19299 conftest$ac_exeext conftest.$ac_ext
19300 CFLAGS=$ac_wine_try_cflags_saved
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19303 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19304 if test "x$ac_cv_cflags__fno_builtin" = xyes
19305 then :
19306 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19309 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19310 if test ${ac_cv_cflags__fshort_wchar+y}
19311 then :
19312 printf %s "(cached) " >&6
19313 else $as_nop
19314 ac_wine_try_cflags_saved=$CFLAGS
19315 CFLAGS="$CFLAGS -fshort-wchar"
19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19318 int main(int argc, char **argv) { return 0; }
19319 _ACEOF
19320 if ac_fn_c_try_link "$LINENO"
19321 then :
19322 ac_cv_cflags__fshort_wchar=yes
19323 else $as_nop
19324 ac_cv_cflags__fshort_wchar=no
19326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19327 conftest$ac_exeext conftest.$ac_ext
19328 CFLAGS=$ac_wine_try_cflags_saved
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19331 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19332 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19333 then :
19334 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19337 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19338 if test ${ac_cv_cflags__Wno_format+y}
19339 then :
19340 printf %s "(cached) " >&6
19341 else $as_nop
19342 ac_wine_try_cflags_saved=$CFLAGS
19343 CFLAGS="$CFLAGS -Wno-format"
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 int main(int argc, char **argv) { return 0; }
19347 _ACEOF
19348 if ac_fn_c_try_link "$LINENO"
19349 then :
19350 ac_cv_cflags__Wno_format=yes
19351 else $as_nop
19352 ac_cv_cflags__Wno_format=no
19354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19355 conftest$ac_exeext conftest.$ac_ext
19356 CFLAGS=$ac_wine_try_cflags_saved
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19359 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19360 if test "x$ac_cv_cflags__Wno_format" = xyes
19361 then :
19362 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19363 fi ;;
19364 esac
19366 case $host_cpu in
19367 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19368 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19369 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19370 then :
19371 printf %s "(cached) " >&6
19372 else $as_nop
19373 ac_wine_try_cflags_saved=$CFLAGS
19374 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 int main(int argc, char **argv) { return 0; }
19378 _ACEOF
19379 if ac_fn_c_try_link "$LINENO"
19380 then :
19381 ac_cv_cflags__fno_omit_frame_pointer=yes
19382 else $as_nop
19383 ac_cv_cflags__fno_omit_frame_pointer=no
19385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19386 conftest$ac_exeext conftest.$ac_ext
19387 CFLAGS=$ac_wine_try_cflags_saved
19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19390 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19391 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19392 then :
19393 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19394 fi ;;
19395 *x86_64*)
19396 case $host_os in
19397 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19398 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19399 if test ${ac_cv_cflags__Wno_format+y}
19400 then :
19401 printf %s "(cached) " >&6
19402 else $as_nop
19403 ac_wine_try_cflags_saved=$CFLAGS
19404 CFLAGS="$CFLAGS -Wno-format"
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19408 _ACEOF
19409 if ac_fn_c_try_link "$LINENO"
19410 then :
19411 ac_cv_cflags__Wno_format=yes
19412 else $as_nop
19413 ac_cv_cflags__Wno_format=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19416 conftest$ac_exeext conftest.$ac_ext
19417 CFLAGS=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19421 if test "x$ac_cv_cflags__Wno_format" = xyes
19422 then :
19423 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19424 fi ;;
19425 *) if test -z "$PE_ARCHS"
19426 then
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19428 printf %s "checking for working -mabi=ms... " >&6; }
19429 if test ${ac_cv_mabi_ms+y}
19430 then :
19431 printf %s "(cached) " >&6
19432 else $as_nop
19433 CFLAGS="$CFLAGS -mabi=ms"
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <stdarg.h>
19437 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19439 main (void)
19443 return 0;
19445 _ACEOF
19446 if ac_fn_c_try_compile "$LINENO"
19447 then :
19448 ac_cv_mabi_ms=yes
19449 else $as_nop
19450 ac_cv_mabi_ms=no
19452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19453 CFLAGS=$saved_CFLAGS
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19456 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19457 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
19459 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19460 esac ;;
19461 arm*)
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19463 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19464 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19465 then :
19466 printf %s "(cached) " >&6
19467 else $as_nop
19468 ac_wine_try_cflags_saved=$CFLAGS
19469 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 int main(int argc, char **argv) { return 0; }
19473 _ACEOF
19474 if ac_fn_c_try_link "$LINENO"
19475 then :
19476 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19477 else $as_nop
19478 ac_cv_cflags__Wincompatible_function_pointer_types=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19481 conftest$ac_exeext conftest.$ac_ext
19482 CFLAGS=$ac_wine_try_cflags_saved
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19485 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19486 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19487 then :
19488 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19489 fi ;;
19490 esac
19492 CFLAGS=$saved_CFLAGS
19494 if test "x$enable_werror" = "xyes"
19495 then
19496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19497 printf %s "checking whether the compiler supports -Werror... " >&6; }
19498 if test ${ac_cv_cflags__Werror+y}
19499 then :
19500 printf %s "(cached) " >&6
19501 else $as_nop
19502 ac_wine_try_cflags_saved=$CFLAGS
19503 CFLAGS="$CFLAGS -Werror"
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 int main(int argc, char **argv) { return 0; }
19507 _ACEOF
19508 if ac_fn_c_try_link "$LINENO"
19509 then :
19510 ac_cv_cflags__Werror=yes
19511 else $as_nop
19512 ac_cv_cflags__Werror=no
19514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19515 conftest$ac_exeext conftest.$ac_ext
19516 CFLAGS=$ac_wine_try_cflags_saved
19518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19519 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19520 if test "x$ac_cv_cflags__Werror" = xyes
19521 then :
19522 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19525 if test "x$enable_build_id" = "xyes"
19526 then
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19528 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19529 if test ${ac_cv_cflags__Wl___build_id+y}
19530 then :
19531 printf %s "(cached) " >&6
19532 else $as_nop
19533 ac_wine_try_cflags_saved=$CFLAGS
19534 CFLAGS="$CFLAGS -Wl,--build-id"
19535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19537 int main(int argc, char **argv) { return 0; }
19538 _ACEOF
19539 if ac_fn_c_try_link "$LINENO"
19540 then :
19541 ac_cv_cflags__Wl___build_id=yes
19542 else $as_nop
19543 ac_cv_cflags__Wl___build_id=no
19545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19546 conftest$ac_exeext conftest.$ac_ext
19547 CFLAGS=$ac_wine_try_cflags_saved
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19550 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19551 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19552 then :
19553 CFLAGS="$CFLAGS -Wl,--build-id"
19554 LDFLAGS="$LDFLAGS -Wl,--build-id"
19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19561 printf %s "checking for the need to disable Fortify... " >&6; }
19562 if test ${ac_cv_c_fortify_enabled+y}
19563 then :
19564 printf %s "(cached) " >&6
19565 else $as_nop
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <string.h>
19570 main (void)
19572 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19573 #error Fortify enabled
19574 #endif
19576 return 0;
19578 _ACEOF
19579 if ac_fn_c_try_compile "$LINENO"
19580 then :
19581 ac_cv_c_fortify_enabled=no
19582 else $as_nop
19583 ac_cv_c_fortify_enabled=yes
19585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19588 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19589 if test "$ac_cv_c_fortify_enabled" = yes
19590 then
19591 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19596 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19597 if test ${ac_cv_c_cfi_support+y}
19598 then :
19599 printf %s "(cached) " >&6
19600 else $as_nop
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19605 main (void)
19609 return 0;
19611 _ACEOF
19612 if ac_fn_c_try_compile "$LINENO"
19613 then :
19614 ac_cv_c_cfi_support="yes"
19615 else $as_nop
19616 ac_cv_c_cfi_support="no"
19618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19621 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19622 if test "$ac_cv_c_cfi_support" = "yes"
19623 then
19624 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19625 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19626 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19627 elif test $HOST_ARCH = x86_64
19628 then
19629 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19633 case "$HOST_ARCH,$PE_ARCHS" in
19634 x86_64,*i386*) wine_binary="wine" ;;
19635 x86_64,*) wine_binary="wine64" ;;
19636 *) wine_binary="wine" ;;
19637 esac
19638 WINELOADER_PROGRAMS="$wine_binary"
19641 case $host_os in
19642 linux*)
19643 case $host_cpu in
19644 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19645 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19646 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19648 esac
19650 darwin*|macosx*)
19651 if test "$wine_can_build_preloader" = "yes"
19652 then
19653 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19654 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19657 esac
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19661 printf %s "checking for library containing dlopen... " >&6; }
19662 if test ${ac_cv_search_dlopen+y}
19663 then :
19664 printf %s "(cached) " >&6
19665 else $as_nop
19666 ac_func_search_save_LIBS=$LIBS
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19670 /* Override any GCC internal prototype to avoid an error.
19671 Use char because int might match the return type of a GCC
19672 builtin and then its argument prototype would still apply. */
19673 char dlopen ();
19675 main (void)
19677 return dlopen ();
19679 return 0;
19681 _ACEOF
19682 for ac_lib in '' dl
19684 if test -z "$ac_lib"; then
19685 ac_res="none required"
19686 else
19687 ac_res=-l$ac_lib
19688 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19690 if ac_fn_c_try_link "$LINENO"
19691 then :
19692 ac_cv_search_dlopen=$ac_res
19694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19695 conftest$ac_exeext
19696 if test ${ac_cv_search_dlopen+y}
19697 then :
19698 break
19700 done
19701 if test ${ac_cv_search_dlopen+y}
19702 then :
19704 else $as_nop
19705 ac_cv_search_dlopen=no
19707 rm conftest.$ac_ext
19708 LIBS=$ac_func_search_save_LIBS
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19711 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19712 ac_res=$ac_cv_search_dlopen
19713 if test "$ac_res" != no
19714 then :
19715 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19721 printf %s "checking for library containing gethostbyname... " >&6; }
19722 if test ${ac_cv_search_gethostbyname+y}
19723 then :
19724 printf %s "(cached) " >&6
19725 else $as_nop
19726 ac_func_search_save_LIBS=$LIBS
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 char gethostbyname ();
19735 main (void)
19737 return gethostbyname ();
19739 return 0;
19741 _ACEOF
19742 for ac_lib in '' nsl
19744 if test -z "$ac_lib"; then
19745 ac_res="none required"
19746 else
19747 ac_res=-l$ac_lib
19748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link "$LINENO"
19751 then :
19752 ac_cv_search_gethostbyname=$ac_res
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19755 conftest$ac_exeext
19756 if test ${ac_cv_search_gethostbyname+y}
19757 then :
19758 break
19760 done
19761 if test ${ac_cv_search_gethostbyname+y}
19762 then :
19764 else $as_nop
19765 ac_cv_search_gethostbyname=no
19767 rm conftest.$ac_ext
19768 LIBS=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19771 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19772 ac_res=$ac_cv_search_gethostbyname
19773 if test "$ac_res" != no
19774 then :
19775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19781 printf %s "checking for library containing connect... " >&6; }
19782 if test ${ac_cv_search_connect+y}
19783 then :
19784 printf %s "(cached) " >&6
19785 else $as_nop
19786 ac_func_search_save_LIBS=$LIBS
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 /* Override any GCC internal prototype to avoid an error.
19791 Use char because int might match the return type of a GCC
19792 builtin and then its argument prototype would still apply. */
19793 char connect ();
19795 main (void)
19797 return connect ();
19799 return 0;
19801 _ACEOF
19802 for ac_lib in '' socket
19804 if test -z "$ac_lib"; then
19805 ac_res="none required"
19806 else
19807 ac_res=-l$ac_lib
19808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19810 if ac_fn_c_try_link "$LINENO"
19811 then :
19812 ac_cv_search_connect=$ac_res
19814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19815 conftest$ac_exeext
19816 if test ${ac_cv_search_connect+y}
19817 then :
19818 break
19820 done
19821 if test ${ac_cv_search_connect+y}
19822 then :
19824 else $as_nop
19825 ac_cv_search_connect=no
19827 rm conftest.$ac_ext
19828 LIBS=$ac_func_search_save_LIBS
19830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19831 printf "%s\n" "$ac_cv_search_connect" >&6; }
19832 ac_res=$ac_cv_search_connect
19833 if test "$ac_res" != no
19834 then :
19835 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19841 printf %s "checking for library containing inet_aton... " >&6; }
19842 if test ${ac_cv_search_inet_aton+y}
19843 then :
19844 printf %s "(cached) " >&6
19845 else $as_nop
19846 ac_func_search_save_LIBS=$LIBS
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 /* Override any GCC internal prototype to avoid an error.
19851 Use char because int might match the return type of a GCC
19852 builtin and then its argument prototype would still apply. */
19853 char inet_aton ();
19855 main (void)
19857 return inet_aton ();
19859 return 0;
19861 _ACEOF
19862 for ac_lib in '' resolv
19864 if test -z "$ac_lib"; then
19865 ac_res="none required"
19866 else
19867 ac_res=-l$ac_lib
19868 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19870 if ac_fn_c_try_link "$LINENO"
19871 then :
19872 ac_cv_search_inet_aton=$ac_res
19874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19875 conftest$ac_exeext
19876 if test ${ac_cv_search_inet_aton+y}
19877 then :
19878 break
19880 done
19881 if test ${ac_cv_search_inet_aton+y}
19882 then :
19884 else $as_nop
19885 ac_cv_search_inet_aton=no
19887 rm conftest.$ac_ext
19888 LIBS=$ac_func_search_save_LIBS
19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19891 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19892 ac_res=$ac_cv_search_inet_aton
19893 if test "$ac_res" != no
19894 then :
19895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19900 ac_save_CFLAGS="$CFLAGS"
19901 CFLAGS="$CFLAGS $BUILTINFLAG"
19902 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19903 if test "x$ac_cv_func_dladdr1" = xyes
19904 then :
19905 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19908 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19909 if test "x$ac_cv_func_dlinfo" = xyes
19910 then :
19911 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19914 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19915 if test "x$ac_cv_func_epoll_create" = xyes
19916 then :
19917 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19920 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19921 if test "x$ac_cv_func_fstatfs" = xyes
19922 then :
19923 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19926 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19927 if test "x$ac_cv_func_futimens" = xyes
19928 then :
19929 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19932 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19933 if test "x$ac_cv_func_futimes" = xyes
19934 then :
19935 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19938 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19939 if test "x$ac_cv_func_futimesat" = xyes
19940 then :
19941 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19944 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19945 if test "x$ac_cv_func_getaddrinfo" = xyes
19946 then :
19947 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19950 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19951 if test "x$ac_cv_func_getattrlist" = xyes
19952 then :
19953 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19956 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19957 if test "x$ac_cv_func_getauxval" = xyes
19958 then :
19959 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19962 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19963 if test "x$ac_cv_func_getifaddrs" = xyes
19964 then :
19965 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19968 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19969 if test "x$ac_cv_func_getrandom" = xyes
19970 then :
19971 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19974 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19975 if test "x$ac_cv_func_kqueue" = xyes
19976 then :
19977 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19980 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19981 if test "x$ac_cv_func_mach_continuous_time" = xyes
19982 then :
19983 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19986 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19987 if test "x$ac_cv_func_pipe2" = xyes
19988 then :
19989 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19992 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19993 if test "x$ac_cv_func_port_create" = xyes
19994 then :
19995 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19998 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19999 if test "x$ac_cv_func_posix_fadvise" = xyes
20000 then :
20001 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20004 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20005 if test "x$ac_cv_func_posix_fallocate" = xyes
20006 then :
20007 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20010 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20011 if test "x$ac_cv_func_prctl" = xyes
20012 then :
20013 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20016 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20017 if test "x$ac_cv_func_proc_pidinfo" = xyes
20018 then :
20019 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20022 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20023 if test "x$ac_cv_func_sched_yield" = xyes
20024 then :
20025 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20028 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20029 if test "x$ac_cv_func_setproctitle" = xyes
20030 then :
20031 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20034 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20035 if test "x$ac_cv_func_setprogname" = xyes
20036 then :
20037 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20040 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20041 if test "x$ac_cv_func_sigprocmask" = xyes
20042 then :
20043 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20046 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20047 if test "x$ac_cv_func_sysinfo" = xyes
20048 then :
20049 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20052 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20053 if test "x$ac_cv_func_tcdrain" = xyes
20054 then :
20055 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20058 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20059 if test "x$ac_cv_func_thr_kill2" = xyes
20060 then :
20061 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20065 CFLAGS="$ac_save_CFLAGS"
20067 case $host_os in
20068 darwin*|macosx*) ;;
20069 *) ac_save_LIBS=$LIBS
20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20071 printf %s "checking for library containing clock_gettime... " >&6; }
20072 if test ${ac_cv_search_clock_gettime+y}
20073 then :
20074 printf %s "(cached) " >&6
20075 else $as_nop
20076 ac_func_search_save_LIBS=$LIBS
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20080 /* Override any GCC internal prototype to avoid an error.
20081 Use char because int might match the return type of a GCC
20082 builtin and then its argument prototype would still apply. */
20083 char clock_gettime ();
20085 main (void)
20087 return clock_gettime ();
20089 return 0;
20091 _ACEOF
20092 for ac_lib in '' rt
20094 if test -z "$ac_lib"; then
20095 ac_res="none required"
20096 else
20097 ac_res=-l$ac_lib
20098 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20100 if ac_fn_c_try_link "$LINENO"
20101 then :
20102 ac_cv_search_clock_gettime=$ac_res
20104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20105 conftest$ac_exeext
20106 if test ${ac_cv_search_clock_gettime+y}
20107 then :
20108 break
20110 done
20111 if test ${ac_cv_search_clock_gettime+y}
20112 then :
20114 else $as_nop
20115 ac_cv_search_clock_gettime=no
20117 rm conftest.$ac_ext
20118 LIBS=$ac_func_search_save_LIBS
20120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20121 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20122 ac_res=$ac_cv_search_clock_gettime
20123 if test "$ac_res" != no
20124 then :
20125 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20127 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20129 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20133 LIBS=$ac_save_LIBS
20135 esac
20137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20138 printf %s "checking for sched_setaffinity... " >&6; }
20139 if test ${wine_cv_have_sched_setaffinity+y}
20140 then :
20141 printf %s "(cached) " >&6
20142 else $as_nop
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20145 #include <sched.h>
20147 main (void)
20149 sched_setaffinity(0, 0, 0);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_c_try_link "$LINENO"
20155 then :
20156 wine_cv_have_sched_setaffinity=yes
20157 else $as_nop
20158 wine_cv_have_sched_setaffinity=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20161 conftest$ac_exeext conftest.$ac_ext
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20164 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20165 if test "$wine_cv_have_sched_setaffinity" = "yes"
20166 then
20168 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20174 printf %s "checking for inline... " >&6; }
20175 if test ${ac_cv_c_inline+y}
20176 then :
20177 printf %s "(cached) " >&6
20178 else $as_nop
20179 ac_cv_c_inline=no
20180 for ac_kw in inline __inline__ __inline; do
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #ifndef __cplusplus
20184 typedef int foo_t;
20185 static $ac_kw foo_t static_foo (void) {return 0; }
20186 $ac_kw foo_t foo (void) {return 0; }
20187 #endif
20189 _ACEOF
20190 if ac_fn_c_try_compile "$LINENO"
20191 then :
20192 ac_cv_c_inline=$ac_kw
20194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20195 test "$ac_cv_c_inline" != no && break
20196 done
20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20200 printf "%s\n" "$ac_cv_c_inline" >&6; }
20202 case $ac_cv_c_inline in
20203 inline | yes) ;;
20205 case $ac_cv_c_inline in
20206 no) ac_val=;;
20207 *) ac_val=$ac_cv_c_inline;;
20208 esac
20209 cat >>confdefs.h <<_ACEOF
20210 #ifndef __cplusplus
20211 #define inline $ac_val
20212 #endif
20213 _ACEOF
20215 esac
20217 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20219 if test "x$ac_cv_type_request_sense" = xyes
20220 then :
20222 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20228 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20229 #include <sys/socket.h>
20230 #ifdef HAVE_SYS_SOCKETVAR_H
20231 #include <sys/socketvar.h>
20232 #endif
20233 #ifdef HAVE_NET_ROUTE_H
20234 #include <net/route.h>
20235 #endif
20236 #ifdef HAVE_NETINET_IN_H
20237 #include <netinet/in.h>
20238 #endif
20239 #ifdef HAVE_NETINET_IN_SYSTM_H
20240 #include <netinet/in_systm.h>
20241 #endif
20242 #ifdef HAVE_NETINET_IP_H
20243 #include <netinet/ip.h>
20244 #endif
20245 #ifdef HAVE_NETINET_IN_PCB_H
20246 #include <netinet/in_pcb.h>
20247 #endif
20249 if test "x$ac_cv_type_struct_xinpgen" = xyes
20250 then :
20252 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20259 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20260 if test ${wine_cv_linux_gethostbyname_r_6+y}
20261 then :
20262 printf %s "(cached) " >&6
20263 else $as_nop
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 #include <netdb.h>
20268 main (void)
20271 char *name=0;
20272 struct hostent he;
20273 struct hostent *result;
20274 char *buf=0;
20275 int bufsize=0;
20276 int errnr;
20277 char *addr=0;
20278 int addrlen=0;
20279 int addrtype=0;
20280 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20281 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20284 return 0;
20286 _ACEOF
20287 if ac_fn_c_try_link "$LINENO"
20288 then :
20289 wine_cv_linux_gethostbyname_r_6=yes
20290 else $as_nop
20291 wine_cv_linux_gethostbyname_r_6=no
20294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20295 conftest$ac_exeext conftest.$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20299 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20300 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20301 then
20303 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20307 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20308 #include <sys/socket.h>
20309 #ifdef HAVE_SYS_UN_H
20310 # include <sys/un.h>
20311 #endif
20313 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20314 then :
20316 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20321 #include <sys/socket.h>
20322 #ifdef HAVE_SYS_UN_H
20323 # include <sys/un.h>
20324 #endif
20326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20327 then :
20329 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20335 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20336 #ifdef HAVE_SCSI_SG_H
20337 #include <scsi/sg.h>
20338 #endif
20340 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20341 then :
20343 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20347 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>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20350 #endif
20352 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20363 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20364 then :
20366 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20372 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20375 #endif
20377 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20378 then :
20380 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20387 #endif
20389 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20396 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20399 #endif
20401 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20410 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20419 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20420 then :
20422 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20426 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20427 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20428 then :
20430 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20434 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20435 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20436 then :
20438 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20443 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20444 then :
20446 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20450 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20451 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20482 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20500 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>
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20503 #endif
20505 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20514 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
20515 #include <resolv.h>
20516 #endif
20518 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20528 #include <netinet/in.h>
20529 #endif
20531 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20540 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20541 #ifdef HAVE_SYS_SOCKETVAR_H
20542 #include <sys/socketvar.h>
20543 #endif
20544 #ifdef HAVE_NETINET_IN_H
20545 #include <netinet/in.h>
20546 #endif
20547 #ifdef HAVE_NETINET_IP_VAR_H
20548 #include <netinet/ip_var.h>
20549 #endif
20551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20560 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
20561 #include <netinet/ip_var.h>
20562 #endif
20564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20565 then :
20567 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20574 #ifdef HAVE_SYS_SOCKETVAR_H
20575 #include <sys/socketvar.h>
20576 #endif
20577 #ifdef HAVE_NETINET_IN_H
20578 #include <netinet/in.h>
20579 #endif
20580 #ifdef HAVE_NETINET6_IP6_VAR_H
20581 #include <netinet6/ip6_var.h>
20582 #endif
20584 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20585 then :
20587 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20594 #ifdef HAVE_SYS_SOCKETVAR_H
20595 #include <sys/socketvar.h>
20596 #endif
20597 #ifdef HAVE_NETINET_IN_H
20598 #include <netinet/in.h>
20599 #endif
20600 #ifdef HAVE_NETINET_IP_H
20601 #include <netinet/ip.h>
20602 #endif
20603 #ifdef HAVE_NETINET_IP_ICMP_H
20604 #include <netinet/ip_icmp.h>
20605 #endif
20606 #ifdef HAVE_NETINET_ICMP_VAR_H
20607 #include <netinet/icmp_var.h>
20608 #endif
20610 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20611 then :
20613 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20619 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20620 #ifdef HAVE_SYS_SOCKETVAR_H
20621 #include <sys/socketvar.h>
20622 #endif
20623 #ifdef HAVE_NETINET_IN_H
20624 #include <netinet/in.h>
20625 #endif
20626 #ifdef HAVE_NETINET_ICMP6_H
20627 #include <netinet/icmp6.h>
20628 #endif
20630 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20631 then :
20633 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20639 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_SOCKETVAR_H
20641 #include <sys/socketvar.h>
20642 #endif
20643 #ifdef HAVE_NETINET_IN_H
20644 #include <netinet/in.h>
20645 #endif
20646 #ifdef HAVE_NETINET_TCP_H
20647 #include <netinet/tcp.h>
20648 #endif
20649 #ifdef HAVE_NETINET_TCP_VAR_H
20650 #include <netinet/tcp_var.h>
20651 #endif
20653 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20662 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
20663 #include <netinet/tcp_var.h>
20664 #endif
20666 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20667 then :
20669 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20675 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20676 #ifdef HAVE_NETINET_IN_H
20677 #include <netinet/in.h>
20678 #endif
20679 #ifdef HAVE_NETINET_IP_VAR_H
20680 #include <netinet/ip_var.h>
20681 #endif
20682 #ifdef HAVE_NETINET_UDP_H
20683 #include <netinet/udp.h>
20684 #endif
20685 #ifdef HAVE_NETINET_UDP_VAR_H
20686 #include <netinet/udp_var.h>
20687 #endif
20689 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20698 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20699 #ifdef HAVE_NET_IF_H
20700 # include <net/if.h>
20701 #endif
20703 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20713 # include <sys/sysinfo.h>
20714 #endif
20716 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20717 then :
20719 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20723 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20724 # include <sys/sysinfo.h>
20725 #endif
20727 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20728 then :
20730 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20736 LIBS="$ac_save_LIBS"
20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20739 printf %s "checking for __builtin_popcount... " >&6; }
20740 if test ${ac_cv_have___builtin_popcount+y}
20741 then :
20742 printf %s "(cached) " >&6
20743 else $as_nop
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20748 main (void)
20750 return __builtin_popcount(1)
20752 return 0;
20754 _ACEOF
20755 if ac_fn_c_try_link "$LINENO"
20756 then :
20757 ac_cv_have___builtin_popcount="yes"
20758 else $as_nop
20759 ac_cv_have___builtin_popcount="no"
20761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20762 conftest$ac_exeext conftest.$ac_ext
20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20765 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20766 if test "$ac_cv_have___builtin_popcount" = "yes"
20767 then
20769 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20774 printf %s "checking for __clear_cache... " >&6; }
20775 if test ${ac_cv_have___clear_cache+y}
20776 then :
20777 printf %s "(cached) " >&6
20778 else $as_nop
20779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20783 main (void)
20785 __clear_cache((void*)0, (void*)0); return 0;
20787 return 0;
20789 _ACEOF
20790 if ac_fn_c_try_link "$LINENO"
20791 then :
20792 ac_cv_have___clear_cache="yes"
20793 else $as_nop
20794 ac_cv_have___clear_cache="no"
20796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20797 conftest$ac_exeext conftest.$ac_ext
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20800 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20801 if test "$ac_cv_have___clear_cache" = "yes"
20802 then
20804 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20809 case $host_cpu in
20810 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20811 printf %s "checking whether we need to define __i386__... " >&6; }
20812 if test ${ac_cv_cpp_def___i386__+y}
20813 then :
20814 printf %s "(cached) " >&6
20815 else $as_nop
20816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20817 /* end confdefs.h. */
20818 #ifndef __i386__
20820 #endif
20821 _ACEOF
20822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20823 $EGREP "yes" >/dev/null 2>&1
20824 then :
20825 ac_cv_cpp_def___i386__=yes
20826 else $as_nop
20827 ac_cv_cpp_def___i386__=no
20829 rm -rf conftest*
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20833 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20834 if test "x$ac_cv_cpp_def___i386__" = xyes
20835 then :
20836 CFLAGS="$CFLAGS -D__i386__"
20837 LINTFLAGS="$LINTFLAGS -D__i386__"
20838 fi ;;
20839 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20840 printf %s "checking whether we need to define __x86_64__... " >&6; }
20841 if test ${ac_cv_cpp_def___x86_64__+y}
20842 then :
20843 printf %s "(cached) " >&6
20844 else $as_nop
20845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20847 #ifndef __x86_64__
20849 #endif
20850 _ACEOF
20851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20852 $EGREP "yes" >/dev/null 2>&1
20853 then :
20854 ac_cv_cpp_def___x86_64__=yes
20855 else $as_nop
20856 ac_cv_cpp_def___x86_64__=no
20858 rm -rf conftest*
20861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20862 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20863 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20864 then :
20865 CFLAGS="$CFLAGS -D__x86_64__"
20866 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20867 fi ;;
20868 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20869 printf %s "checking whether we need to define __sparc64__... " >&6; }
20870 if test ${ac_cv_cpp_def___sparc64__+y}
20871 then :
20872 printf %s "(cached) " >&6
20873 else $as_nop
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #ifndef __sparc64__
20878 #endif
20879 _ACEOF
20880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20881 $EGREP "yes" >/dev/null 2>&1
20882 then :
20883 ac_cv_cpp_def___sparc64__=yes
20884 else $as_nop
20885 ac_cv_cpp_def___sparc64__=no
20887 rm -rf conftest*
20890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20891 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20892 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20893 then :
20894 CFLAGS="$CFLAGS -D__sparc64__"
20895 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20896 fi ;;
20897 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20898 printf %s "checking whether we need to define __sparc__... " >&6; }
20899 if test ${ac_cv_cpp_def___sparc__+y}
20900 then :
20901 printf %s "(cached) " >&6
20902 else $as_nop
20903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20905 #ifndef __sparc__
20907 #endif
20908 _ACEOF
20909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20910 $EGREP "yes" >/dev/null 2>&1
20911 then :
20912 ac_cv_cpp_def___sparc__=yes
20913 else $as_nop
20914 ac_cv_cpp_def___sparc__=no
20916 rm -rf conftest*
20919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20920 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20921 if test "x$ac_cv_cpp_def___sparc__" = xyes
20922 then :
20923 CFLAGS="$CFLAGS -D__sparc__"
20924 LINTFLAGS="$LINTFLAGS -D__sparc__"
20925 fi ;;
20926 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20927 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20928 if test ${ac_cv_cpp_def___powerpc64__+y}
20929 then :
20930 printf %s "(cached) " >&6
20931 else $as_nop
20932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20934 #ifndef __powerpc64__
20936 #endif
20937 _ACEOF
20938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20939 $EGREP "yes" >/dev/null 2>&1
20940 then :
20941 ac_cv_cpp_def___powerpc64__=yes
20942 else $as_nop
20943 ac_cv_cpp_def___powerpc64__=no
20945 rm -rf conftest*
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20949 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20950 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20951 then :
20952 CFLAGS="$CFLAGS -D__powerpc64__"
20953 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20954 fi ;;
20955 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20956 printf %s "checking whether we need to define __powerpc__... " >&6; }
20957 if test ${ac_cv_cpp_def___powerpc__+y}
20958 then :
20959 printf %s "(cached) " >&6
20960 else $as_nop
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #ifndef __powerpc__
20965 #endif
20966 _ACEOF
20967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20968 $EGREP "yes" >/dev/null 2>&1
20969 then :
20970 ac_cv_cpp_def___powerpc__=yes
20971 else $as_nop
20972 ac_cv_cpp_def___powerpc__=no
20974 rm -rf conftest*
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20978 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20979 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20980 then :
20981 CFLAGS="$CFLAGS -D__powerpc__"
20982 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20983 fi ;;
20984 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20985 printf %s "checking whether we need to define __aarch64__... " >&6; }
20986 if test ${ac_cv_cpp_def___aarch64__+y}
20987 then :
20988 printf %s "(cached) " >&6
20989 else $as_nop
20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992 #ifndef __aarch64__
20994 #endif
20995 _ACEOF
20996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20997 $EGREP "yes" >/dev/null 2>&1
20998 then :
20999 ac_cv_cpp_def___aarch64__=yes
21000 else $as_nop
21001 ac_cv_cpp_def___aarch64__=no
21003 rm -rf conftest*
21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21007 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21008 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21009 then :
21010 CFLAGS="$CFLAGS -D__aarch64__"
21011 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21012 fi ;;
21013 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21014 printf %s "checking whether we need to define __arm__... " >&6; }
21015 if test ${ac_cv_cpp_def___arm__+y}
21016 then :
21017 printf %s "(cached) " >&6
21018 else $as_nop
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #ifndef __arm__
21023 #endif
21024 _ACEOF
21025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21026 $EGREP "yes" >/dev/null 2>&1
21027 then :
21028 ac_cv_cpp_def___arm__=yes
21029 else $as_nop
21030 ac_cv_cpp_def___arm__=no
21032 rm -rf conftest*
21035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21036 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21037 if test "x$ac_cv_cpp_def___arm__" = xyes
21038 then :
21039 CFLAGS="$CFLAGS -D__arm__"
21040 LINTFLAGS="$LINTFLAGS -D__arm__"
21041 fi ;;
21042 esac
21044 case $host_vendor in
21045 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21046 printf %s "checking whether we need to define __sun__... " >&6; }
21047 if test ${ac_cv_cpp_def___sun__+y}
21048 then :
21049 printf %s "(cached) " >&6
21050 else $as_nop
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053 #ifndef __sun__
21055 #endif
21056 _ACEOF
21057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21058 $EGREP "yes" >/dev/null 2>&1
21059 then :
21060 ac_cv_cpp_def___sun__=yes
21061 else $as_nop
21062 ac_cv_cpp_def___sun__=no
21064 rm -rf conftest*
21067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21068 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21069 if test "x$ac_cv_cpp_def___sun__" = xyes
21070 then :
21071 CFLAGS="$CFLAGS -D__sun__"
21072 LINTFLAGS="$LINTFLAGS -D__sun__"
21073 fi ;;
21074 esac
21080 ac_config_commands="$ac_config_commands include/stamp-h"
21082 printf %s "creating Makefile rules..." >&6
21084 makedep_flags=""
21085 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21087 wine_srcdir=
21088 test "$srcdir" = . || wine_srcdir="$srcdir/"
21090 ac_config_links="$ac_config_links wine:tools/winewrapper"
21091 wine_fn_config_symlink wine
21092 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21093 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21094 wine_fn_config_symlink wine64
21097 wine_fn_config_makefile dlls/acledit enable_acledit
21098 wine_fn_config_makefile dlls/aclui enable_aclui
21099 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21100 wine_fn_config_makefile dlls/activeds enable_activeds
21101 wine_fn_config_makefile dlls/activeds/tests enable_tests
21102 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21103 wine_fn_config_makefile dlls/adsldp enable_adsldp
21104 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21105 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21106 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21107 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21108 wine_fn_config_makefile dlls/advpack enable_advpack
21109 wine_fn_config_makefile dlls/advpack/tests enable_tests
21110 wine_fn_config_makefile dlls/amsi enable_amsi
21111 wine_fn_config_makefile dlls/amstream enable_amstream
21112 wine_fn_config_makefile dlls/amstream/tests enable_tests
21113 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21114 wine_fn_config_makefile dlls/apphelp enable_apphelp
21115 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21116 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21117 wine_fn_config_makefile dlls/atl enable_atl
21118 wine_fn_config_makefile dlls/atl/tests enable_tests
21119 wine_fn_config_makefile dlls/atl100 enable_atl100
21120 wine_fn_config_makefile dlls/atl100/tests enable_tests
21121 wine_fn_config_makefile dlls/atl110 enable_atl110
21122 wine_fn_config_makefile dlls/atl110/tests enable_tests
21123 wine_fn_config_makefile dlls/atl80 enable_atl80
21124 wine_fn_config_makefile dlls/atl80/tests enable_tests
21125 wine_fn_config_makefile dlls/atl90 enable_atl90
21126 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21127 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21128 wine_fn_config_makefile dlls/atmlib enable_atmlib
21129 wine_fn_config_makefile dlls/authz enable_authz
21130 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21131 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21132 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21133 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21134 wine_fn_config_makefile dlls/avrt enable_avrt
21135 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21136 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21137 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21138 wine_fn_config_makefile dlls/browseui enable_browseui
21139 wine_fn_config_makefile dlls/browseui/tests enable_tests
21140 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21141 wine_fn_config_makefile dlls/cabinet enable_cabinet
21142 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21143 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21144 wine_fn_config_makefile dlls/cards enable_cards
21145 wine_fn_config_makefile dlls/cdosys enable_cdosys
21146 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21147 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21148 wine_fn_config_makefile dlls/clusapi enable_clusapi
21149 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21150 wine_fn_config_makefile dlls/combase enable_combase
21151 wine_fn_config_makefile dlls/combase/tests enable_tests
21152 wine_fn_config_makefile dlls/comcat enable_comcat
21153 wine_fn_config_makefile dlls/comcat/tests enable_tests
21154 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21155 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21156 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21157 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21158 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21159 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21160 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21161 wine_fn_config_makefile dlls/compstui enable_compstui
21162 wine_fn_config_makefile dlls/compstui/tests enable_tests
21163 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21164 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21165 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21166 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21167 wine_fn_config_makefile dlls/connect enable_connect
21168 wine_fn_config_makefile dlls/credui enable_credui
21169 wine_fn_config_makefile dlls/credui/tests enable_tests
21170 wine_fn_config_makefile dlls/crtdll enable_crtdll
21171 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21172 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21173 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21174 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21175 wine_fn_config_makefile dlls/cryptext enable_cryptext
21176 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21177 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21178 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21179 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21180 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21181 wine_fn_config_makefile dlls/cryptui enable_cryptui
21182 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21183 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21184 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21185 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21186 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21187 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21188 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21189 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21190 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21191 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21192 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21193 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21194 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21195 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21196 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21197 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21198 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21200 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21201 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21202 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21203 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21204 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21205 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21206 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21207 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21208 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21209 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21210 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21211 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21212 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21213 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21214 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21215 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21216 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21217 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21218 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21219 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21220 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21221 wine_fn_config_makefile dlls/d3dim enable_d3dim
21222 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21223 wine_fn_config_makefile dlls/d3drm enable_d3drm
21224 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21226 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21227 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21229 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21231 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21233 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21235 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21237 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21239 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21241 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21243 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21244 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21245 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21246 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21247 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21248 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21249 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21250 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21251 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21252 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21253 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21254 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21255 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21256 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21257 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21258 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21259 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21260 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21261 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21262 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21263 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21264 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21265 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21266 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21267 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21268 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21269 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21270 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21271 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21272 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21273 wine_fn_config_makefile dlls/davclnt enable_davclnt
21274 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21275 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21276 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21277 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21278 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21279 wine_fn_config_makefile dlls/dcomp enable_dcomp
21280 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21281 wine_fn_config_makefile dlls/ddraw enable_ddraw
21282 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21283 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21284 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21285 wine_fn_config_makefile dlls/devenum enable_devenum
21286 wine_fn_config_makefile dlls/devenum/tests enable_tests
21287 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21288 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21289 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21290 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21291 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21292 wine_fn_config_makefile dlls/difxapi enable_difxapi
21293 wine_fn_config_makefile dlls/dinput enable_dinput
21294 wine_fn_config_makefile dlls/dinput/tests enable_tests
21295 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21296 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21297 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21298 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21299 wine_fn_config_makefile dlls/dispex enable_dispex
21300 wine_fn_config_makefile dlls/dispex/tests enable_tests
21301 wine_fn_config_makefile dlls/display.drv16 enable_win16
21302 wine_fn_config_makefile dlls/dmband enable_dmband
21303 wine_fn_config_makefile dlls/dmband/tests enable_tests
21304 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21305 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21306 wine_fn_config_makefile dlls/dmime enable_dmime
21307 wine_fn_config_makefile dlls/dmime/tests enable_tests
21308 wine_fn_config_makefile dlls/dmloader enable_dmloader
21309 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21310 wine_fn_config_makefile dlls/dmscript enable_dmscript
21311 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21312 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21313 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21314 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21315 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21316 wine_fn_config_makefile dlls/dmusic enable_dmusic
21317 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21318 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21319 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21320 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21321 wine_fn_config_makefile dlls/dplay enable_dplay
21322 wine_fn_config_makefile dlls/dplayx enable_dplayx
21323 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21324 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21325 wine_fn_config_makefile dlls/dpnet enable_dpnet
21326 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21327 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21328 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21329 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21330 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21331 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21332 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21333 wine_fn_config_makefile dlls/drmclien enable_drmclien
21334 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21335 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21336 wine_fn_config_makefile dlls/dsound enable_dsound
21337 wine_fn_config_makefile dlls/dsound/tests enable_tests
21338 wine_fn_config_makefile dlls/dsquery enable_dsquery
21339 wine_fn_config_makefile dlls/dssenh enable_dssenh
21340 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21341 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21342 wine_fn_config_makefile dlls/dswave enable_dswave
21343 wine_fn_config_makefile dlls/dswave/tests enable_tests
21344 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21345 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21346 wine_fn_config_makefile dlls/dwrite enable_dwrite
21347 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21348 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21349 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21350 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21351 wine_fn_config_makefile dlls/dxgi enable_dxgi
21352 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21353 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21354 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21355 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21356 wine_fn_config_makefile dlls/esent enable_esent
21357 wine_fn_config_makefile dlls/evr enable_evr
21358 wine_fn_config_makefile dlls/evr/tests enable_tests
21359 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21360 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21361 wine_fn_config_makefile dlls/faultrep enable_faultrep
21362 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21363 wine_fn_config_makefile dlls/feclient enable_feclient
21364 wine_fn_config_makefile dlls/fltlib enable_fltlib
21365 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21366 wine_fn_config_makefile dlls/fntcache enable_fntcache
21367 wine_fn_config_makefile dlls/fontsub enable_fontsub
21368 wine_fn_config_makefile dlls/fusion enable_fusion
21369 wine_fn_config_makefile dlls/fusion/tests enable_tests
21370 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21371 wine_fn_config_makefile dlls/gameux enable_gameux
21372 wine_fn_config_makefile dlls/gameux/tests enable_tests
21373 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21374 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21375 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21376 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21377 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21378 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21379 wine_fn_config_makefile dlls/glu32 enable_glu32
21380 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21381 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21382 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21383 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21384 wine_fn_config_makefile dlls/hal enable_hal
21385 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21386 wine_fn_config_makefile dlls/hid enable_hid
21387 wine_fn_config_makefile dlls/hid/tests enable_tests
21388 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21389 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21390 wine_fn_config_makefile dlls/hlink enable_hlink
21391 wine_fn_config_makefile dlls/hlink/tests enable_tests
21392 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21393 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21394 wine_fn_config_makefile dlls/http.sys enable_http_sys
21395 wine_fn_config_makefile dlls/httpapi enable_httpapi
21396 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21397 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21398 wine_fn_config_makefile dlls/iccvid enable_iccvid
21399 wine_fn_config_makefile dlls/icmp enable_icmp
21400 wine_fn_config_makefile dlls/ieframe enable_ieframe
21401 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21402 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21403 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21404 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21405 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21406 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21407 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21408 wine_fn_config_makefile dlls/imm32 enable_imm32
21409 wine_fn_config_makefile dlls/imm32/tests enable_tests
21410 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21411 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21412 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21413 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21414 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21415 wine_fn_config_makefile dlls/infosoft enable_infosoft
21416 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21417 wine_fn_config_makefile dlls/initpki enable_initpki
21418 wine_fn_config_makefile dlls/inkobj enable_inkobj
21419 wine_fn_config_makefile dlls/inseng enable_inseng
21420 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21421 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21422 wine_fn_config_makefile dlls/iprop enable_iprop
21423 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21424 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21425 wine_fn_config_makefile dlls/itircl enable_itircl
21426 wine_fn_config_makefile dlls/itss enable_itss
21427 wine_fn_config_makefile dlls/itss/tests enable_tests
21428 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21429 wine_fn_config_makefile dlls/jscript enable_jscript
21430 wine_fn_config_makefile dlls/jscript/tests enable_tests
21431 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21432 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21433 wine_fn_config_makefile dlls/kerberos enable_kerberos
21434 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21435 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21436 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21437 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21438 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21439 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21440 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21441 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21442 wine_fn_config_makefile dlls/ksuser enable_ksuser
21443 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21444 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21445 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21446 wine_fn_config_makefile dlls/loadperf enable_loadperf
21447 wine_fn_config_makefile dlls/localspl enable_localspl
21448 wine_fn_config_makefile dlls/localspl/tests enable_tests
21449 wine_fn_config_makefile dlls/localui enable_localui
21450 wine_fn_config_makefile dlls/localui/tests enable_tests
21451 wine_fn_config_makefile dlls/lz32 enable_lz32
21452 wine_fn_config_makefile dlls/lz32/tests enable_tests
21453 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21454 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21455 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21456 wine_fn_config_makefile dlls/mapistub enable_mapistub
21457 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21458 wine_fn_config_makefile dlls/mcicda enable_mcicda
21459 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21460 wine_fn_config_makefile dlls/mciseq enable_mciseq
21461 wine_fn_config_makefile dlls/mciwave enable_mciwave
21462 wine_fn_config_makefile dlls/mf enable_mf
21463 wine_fn_config_makefile dlls/mf/tests enable_tests
21464 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21465 wine_fn_config_makefile dlls/mferror enable_mferror
21466 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21467 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21468 wine_fn_config_makefile dlls/mfplat enable_mfplat
21469 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21470 wine_fn_config_makefile dlls/mfplay enable_mfplay
21471 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21472 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21473 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21474 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21475 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21476 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21477 wine_fn_config_makefile dlls/midimap enable_midimap
21478 wine_fn_config_makefile dlls/mlang enable_mlang
21479 wine_fn_config_makefile dlls/mlang/tests enable_tests
21480 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21481 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21482 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21483 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21484 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21485 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21486 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21487 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21488 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21489 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21490 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21491 wine_fn_config_makefile dlls/mpr enable_mpr
21492 wine_fn_config_makefile dlls/mpr/tests enable_tests
21493 wine_fn_config_makefile dlls/mprapi enable_mprapi
21494 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21495 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21496 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21497 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21498 wine_fn_config_makefile dlls/msado15 enable_msado15
21499 wine_fn_config_makefile dlls/msado15/tests enable_tests
21500 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21501 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21502 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21503 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21504 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21505 wine_fn_config_makefile dlls/mscms enable_mscms
21506 wine_fn_config_makefile dlls/mscms/tests enable_tests
21507 wine_fn_config_makefile dlls/mscoree enable_mscoree
21508 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21509 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21510 wine_fn_config_makefile dlls/msctf enable_msctf
21511 wine_fn_config_makefile dlls/msctf/tests enable_tests
21512 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21513 wine_fn_config_makefile dlls/msctfp enable_msctfp
21514 wine_fn_config_makefile dlls/msdaps enable_msdaps
21515 wine_fn_config_makefile dlls/msdasql enable_msdasql
21516 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21517 wine_fn_config_makefile dlls/msdelta enable_msdelta
21518 wine_fn_config_makefile dlls/msdmo enable_msdmo
21519 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21520 wine_fn_config_makefile dlls/msdrm enable_msdrm
21521 wine_fn_config_makefile dlls/msftedit enable_msftedit
21522 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21523 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21524 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21525 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21526 wine_fn_config_makefile dlls/mshtml enable_mshtml
21527 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21528 wine_fn_config_makefile dlls/msi enable_msi
21529 wine_fn_config_makefile dlls/msi/tests enable_tests
21530 wine_fn_config_makefile dlls/msident enable_msident
21531 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21532 wine_fn_config_makefile dlls/msimsg enable_msimsg
21533 wine_fn_config_makefile dlls/msimtf enable_msimtf
21534 wine_fn_config_makefile dlls/msisip enable_msisip
21535 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21536 wine_fn_config_makefile dlls/msls31 enable_msls31
21537 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21538 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21539 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21540 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21541 wine_fn_config_makefile dlls/msports enable_msports
21542 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21543 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21544 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21545 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21546 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21547 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21548 wine_fn_config_makefile dlls/mstask enable_mstask
21549 wine_fn_config_makefile dlls/mstask/tests enable_tests
21550 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21551 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21552 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21553 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21554 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21555 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21556 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21558 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21559 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21560 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21562 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21563 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21564 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21565 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21566 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21567 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21568 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21569 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21570 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21571 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21572 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21573 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21574 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21575 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21576 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21577 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21578 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21579 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21580 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21582 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21584 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21585 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21586 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21587 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21588 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21589 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21590 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21591 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21593 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21595 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21596 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21597 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21598 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21599 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21600 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21601 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21602 wine_fn_config_makefile dlls/mswsock enable_mswsock
21603 wine_fn_config_makefile dlls/msxml enable_msxml
21604 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21605 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21606 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21607 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21608 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21609 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21610 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21611 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21612 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21613 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21614 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21615 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21616 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21617 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21618 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21619 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21620 wine_fn_config_makefile dlls/netprofm enable_netprofm
21621 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21622 wine_fn_config_makefile dlls/netutils enable_netutils
21623 wine_fn_config_makefile dlls/newdev enable_newdev
21624 wine_fn_config_makefile dlls/ninput enable_ninput
21625 wine_fn_config_makefile dlls/ninput/tests enable_tests
21626 wine_fn_config_makefile dlls/normaliz enable_normaliz
21627 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21628 wine_fn_config_makefile dlls/npptools enable_npptools
21629 wine_fn_config_makefile dlls/nsi enable_nsi
21630 wine_fn_config_makefile dlls/nsi/tests enable_tests
21631 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21632 wine_fn_config_makefile dlls/ntdll enable_ntdll
21633 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21634 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21635 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21636 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21637 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21638 wine_fn_config_makefile dlls/ntprint enable_ntprint
21639 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21640 wine_fn_config_makefile dlls/objsel enable_objsel
21641 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21642 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21643 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21644 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21645 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21646 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21647 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21648 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21649 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21650 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21651 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21652 wine_fn_config_makefile dlls/ole32 enable_ole32
21653 wine_fn_config_makefile dlls/ole32/tests enable_tests
21654 wine_fn_config_makefile dlls/oleacc enable_oleacc
21655 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21656 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21657 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21658 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21659 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21660 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21661 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21662 wine_fn_config_makefile dlls/oledlg enable_oledlg
21663 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21664 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21665 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21666 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21667 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21668 wine_fn_config_makefile dlls/opcservices enable_opcservices
21669 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21670 wine_fn_config_makefile dlls/opencl enable_opencl
21671 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21672 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21673 wine_fn_config_makefile dlls/packager enable_packager
21674 wine_fn_config_makefile dlls/packager/tests enable_tests
21675 wine_fn_config_makefile dlls/pdh enable_pdh
21676 wine_fn_config_makefile dlls/pdh/tests enable_tests
21677 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21678 wine_fn_config_makefile dlls/pidgen enable_pidgen
21679 wine_fn_config_makefile dlls/powrprof enable_powrprof
21680 wine_fn_config_makefile dlls/printui enable_printui
21681 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21682 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21683 wine_fn_config_makefile dlls/propsys enable_propsys
21684 wine_fn_config_makefile dlls/propsys/tests enable_tests
21685 wine_fn_config_makefile dlls/psapi enable_psapi
21686 wine_fn_config_makefile dlls/psapi/tests enable_tests
21687 wine_fn_config_makefile dlls/pstorec enable_pstorec
21688 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21689 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21690 wine_fn_config_makefile dlls/qasf enable_qasf
21691 wine_fn_config_makefile dlls/qasf/tests enable_tests
21692 wine_fn_config_makefile dlls/qcap enable_qcap
21693 wine_fn_config_makefile dlls/qcap/tests enable_tests
21694 wine_fn_config_makefile dlls/qdvd enable_qdvd
21695 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21696 wine_fn_config_makefile dlls/qedit enable_qedit
21697 wine_fn_config_makefile dlls/qedit/tests enable_tests
21698 wine_fn_config_makefile dlls/qmgr enable_qmgr
21699 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21700 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21701 wine_fn_config_makefile dlls/quartz enable_quartz
21702 wine_fn_config_makefile dlls/quartz/tests enable_tests
21703 wine_fn_config_makefile dlls/query enable_query
21704 wine_fn_config_makefile dlls/qwave enable_qwave
21705 wine_fn_config_makefile dlls/qwave/tests enable_tests
21706 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21707 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21708 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21709 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21710 wine_fn_config_makefile dlls/regapi enable_regapi
21711 wine_fn_config_makefile dlls/resutils enable_resutils
21712 wine_fn_config_makefile dlls/riched20 enable_riched20
21713 wine_fn_config_makefile dlls/riched20/tests enable_tests
21714 wine_fn_config_makefile dlls/riched32 enable_riched32
21715 wine_fn_config_makefile dlls/riched32/tests enable_tests
21716 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21717 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21718 wine_fn_config_makefile dlls/rsabase enable_rsabase
21719 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21720 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21721 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21722 wine_fn_config_makefile dlls/rtutils enable_rtutils
21723 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21724 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21725 wine_fn_config_makefile dlls/samlib enable_samlib
21726 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21727 wine_fn_config_makefile dlls/sapi enable_sapi
21728 wine_fn_config_makefile dlls/sapi/tests enable_tests
21729 wine_fn_config_makefile dlls/sas enable_sas
21730 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21731 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21732 wine_fn_config_makefile dlls/sccbase enable_sccbase
21733 wine_fn_config_makefile dlls/schannel enable_schannel
21734 wine_fn_config_makefile dlls/schannel/tests enable_tests
21735 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21736 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21737 wine_fn_config_makefile dlls/scrobj enable_scrobj
21738 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21739 wine_fn_config_makefile dlls/scrrun enable_scrrun
21740 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21741 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21742 wine_fn_config_makefile dlls/sechost enable_sechost
21743 wine_fn_config_makefile dlls/secur32 enable_secur32
21744 wine_fn_config_makefile dlls/secur32/tests enable_tests
21745 wine_fn_config_makefile dlls/security enable_security
21746 wine_fn_config_makefile dlls/sensapi enable_sensapi
21747 wine_fn_config_makefile dlls/serialui enable_serialui
21748 wine_fn_config_makefile dlls/serialui/tests enable_tests
21749 wine_fn_config_makefile dlls/setupapi enable_setupapi
21750 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21751 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21752 wine_fn_config_makefile dlls/sfc enable_sfc
21753 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21754 wine_fn_config_makefile dlls/shcore enable_shcore
21755 wine_fn_config_makefile dlls/shcore/tests enable_tests
21756 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21757 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21758 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21759 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21760 wine_fn_config_makefile dlls/shell32 enable_shell32
21761 wine_fn_config_makefile dlls/shell32/tests enable_tests
21762 wine_fn_config_makefile dlls/shfolder enable_shfolder
21763 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21764 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21765 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21766 wine_fn_config_makefile dlls/slc enable_slc
21767 wine_fn_config_makefile dlls/slc/tests enable_tests
21768 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21769 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21770 wine_fn_config_makefile dlls/softpub enable_softpub
21771 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21772 wine_fn_config_makefile dlls/spoolss enable_spoolss
21773 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21774 wine_fn_config_makefile dlls/sppc enable_sppc
21775 wine_fn_config_makefile dlls/srclient enable_srclient
21776 wine_fn_config_makefile dlls/srvcli enable_srvcli
21777 wine_fn_config_makefile dlls/sspicli enable_sspicli
21778 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21779 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21780 wine_fn_config_makefile dlls/sti enable_sti
21781 wine_fn_config_makefile dlls/sti/tests enable_tests
21782 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21783 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21784 wine_fn_config_makefile dlls/strmdll enable_strmdll
21785 wine_fn_config_makefile dlls/svrapi enable_svrapi
21786 wine_fn_config_makefile dlls/sxs enable_sxs
21787 wine_fn_config_makefile dlls/sxs/tests enable_tests
21788 wine_fn_config_makefile dlls/system.drv16 enable_win16
21789 wine_fn_config_makefile dlls/t2embed enable_t2embed
21790 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21791 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21792 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21793 wine_fn_config_makefile dlls/taskschd enable_taskschd
21794 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21795 wine_fn_config_makefile dlls/tbs enable_tbs
21796 wine_fn_config_makefile dlls/tdh enable_tdh
21797 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21798 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21799 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21800 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21801 wine_fn_config_makefile dlls/traffic enable_traffic
21802 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21803 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21804 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21805 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21806 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21807 wine_fn_config_makefile dlls/tzres enable_tzres
21808 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21809 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21810 wine_fn_config_makefile dlls/uianimation enable_uianimation
21811 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21812 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21813 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21814 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21815 wine_fn_config_makefile dlls/unicows enable_unicows
21816 wine_fn_config_makefile dlls/updspapi enable_updspapi
21817 wine_fn_config_makefile dlls/url enable_url
21818 wine_fn_config_makefile dlls/urlmon enable_urlmon
21819 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21820 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21821 wine_fn_config_makefile dlls/user.exe16 enable_win16
21822 wine_fn_config_makefile dlls/user32 enable_user32
21823 wine_fn_config_makefile dlls/user32/tests enable_tests
21824 wine_fn_config_makefile dlls/userenv enable_userenv
21825 wine_fn_config_makefile dlls/userenv/tests enable_tests
21826 wine_fn_config_makefile dlls/usp10 enable_usp10
21827 wine_fn_config_makefile dlls/usp10/tests enable_tests
21828 wine_fn_config_makefile dlls/utildll enable_utildll
21829 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21830 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21831 wine_fn_config_makefile dlls/vbscript enable_vbscript
21832 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21833 wine_fn_config_makefile dlls/vcomp enable_vcomp
21834 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21835 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21836 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21837 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21838 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21839 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21840 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21841 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21842 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21843 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21844 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21845 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21846 wine_fn_config_makefile dlls/version enable_version
21847 wine_fn_config_makefile dlls/version/tests enable_tests
21848 wine_fn_config_makefile dlls/vga enable_vga
21849 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21850 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21851 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21852 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21853 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21854 wine_fn_config_makefile dlls/vssapi enable_vssapi
21855 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21856 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21857 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21858 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21859 wine_fn_config_makefile dlls/w32skrnl enable_win16
21860 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21861 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21862 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21863 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21864 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21865 wine_fn_config_makefile dlls/wdscore enable_wdscore
21866 wine_fn_config_makefile dlls/webservices enable_webservices
21867 wine_fn_config_makefile dlls/webservices/tests enable_tests
21868 wine_fn_config_makefile dlls/websocket enable_websocket
21869 wine_fn_config_makefile dlls/wer enable_wer
21870 wine_fn_config_makefile dlls/wer/tests enable_tests
21871 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21872 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21873 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21874 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21875 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21876 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21877 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21878 wine_fn_config_makefile dlls/win32u enable_win32u
21879 wine_fn_config_makefile dlls/win32u/tests enable_tests
21880 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21881 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21882 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21883 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21884 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21885 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21886 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21887 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21888 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21889 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21890 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21891 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21892 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21893 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21894 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21895 wine_fn_config_makefile dlls/windows.media enable_windows_media
21896 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21897 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21898 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21899 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21901 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21902 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21903 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21904 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21905 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21906 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21907 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21908 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21909 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21910 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21911 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21912 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21913 wine_fn_config_makefile dlls/wined3d enable_wined3d
21914 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21915 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21916 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21917 wine_fn_config_makefile dlls/winemapi enable_winemapi
21918 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21919 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21920 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21921 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21922 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21923 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21924 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21925 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21926 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21927 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21928 wine_fn_config_makefile dlls/wing32 enable_wing32
21929 wine_fn_config_makefile dlls/winhttp enable_winhttp
21930 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21931 wine_fn_config_makefile dlls/wininet enable_wininet
21932 wine_fn_config_makefile dlls/wininet/tests enable_tests
21933 wine_fn_config_makefile dlls/winmm enable_winmm
21934 wine_fn_config_makefile dlls/winmm/tests enable_tests
21935 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21936 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21937 wine_fn_config_makefile dlls/winprint enable_winprint
21938 wine_fn_config_makefile dlls/winscard enable_winscard
21939 wine_fn_config_makefile dlls/winscard/tests enable_tests
21940 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21941 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21942 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21943 wine_fn_config_makefile dlls/winsta enable_winsta
21944 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21945 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21946 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21947 wine_fn_config_makefile dlls/wintrust enable_wintrust
21948 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21949 wine_fn_config_makefile dlls/wintypes enable_wintypes
21950 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21951 wine_fn_config_makefile dlls/winusb enable_winusb
21952 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21953 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21954 wine_fn_config_makefile dlls/wlanui enable_wlanui
21955 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21956 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21957 wine_fn_config_makefile dlls/wmasf enable_wmasf
21958 wine_fn_config_makefile dlls/wmi enable_wmi
21959 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21960 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21961 wine_fn_config_makefile dlls/wmp enable_wmp
21962 wine_fn_config_makefile dlls/wmp/tests enable_tests
21963 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21964 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21965 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21966 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21967 wine_fn_config_makefile dlls/wofutil enable_wofutil
21968 wine_fn_config_makefile dlls/wow32 enable_win16
21969 wine_fn_config_makefile dlls/wow64 enable_wow64
21970 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21971 wine_fn_config_makefile dlls/wow64win enable_wow64win
21972 wine_fn_config_makefile dlls/wpc enable_wpc
21973 wine_fn_config_makefile dlls/wpc/tests enable_tests
21974 wine_fn_config_makefile dlls/wpcap enable_wpcap
21975 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21976 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21977 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21978 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21979 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21980 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21981 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21982 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21983 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21984 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21985 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21986 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21987 wine_fn_config_makefile dlls/wuapi enable_wuapi
21988 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21989 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21990 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21991 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21992 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21993 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21994 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21995 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21996 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21997 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21998 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21999 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22000 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22001 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22002 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22003 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22004 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22005 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22006 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22007 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22008 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22009 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22010 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22011 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22012 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22013 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22014 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22015 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22016 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22017 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22018 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22019 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22020 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22021 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22022 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22023 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22024 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22025 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22026 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22027 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22028 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22029 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22030 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22031 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22032 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22033 wine_fn_config_makefile dlls/xmllite enable_xmllite
22034 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22035 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22036 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22037 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22038 wine_fn_config_makefile fonts enable_fonts
22039 wine_fn_config_makefile include enable_include
22040 wine_fn_config_makefile libs/adsiid enable_adsiid
22041 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22042 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22043 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22044 wine_fn_config_makefile libs/dxguid enable_dxguid
22045 wine_fn_config_makefile libs/faudio enable_faudio
22046 wine_fn_config_makefile libs/gsm enable_gsm
22047 wine_fn_config_makefile libs/jpeg enable_jpeg
22048 wine_fn_config_makefile libs/jxr enable_jxr
22049 wine_fn_config_makefile libs/lcms2 enable_lcms2
22050 wine_fn_config_makefile libs/ldap enable_ldap
22051 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22052 wine_fn_config_makefile libs/mpg123 enable_mpg123
22053 wine_fn_config_makefile libs/musl enable_musl
22054 wine_fn_config_makefile libs/png enable_png
22055 wine_fn_config_makefile libs/strmbase enable_strmbase
22056 wine_fn_config_makefile libs/strmiids enable_strmiids
22057 wine_fn_config_makefile libs/tiff enable_tiff
22058 wine_fn_config_makefile libs/uuid enable_uuid
22059 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22060 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22061 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22062 wine_fn_config_makefile libs/xml2 enable_xml2
22063 wine_fn_config_makefile libs/xslt enable_xslt
22064 wine_fn_config_makefile libs/zlib enable_zlib
22065 wine_fn_config_makefile libs/zydis enable_zydis
22066 wine_fn_config_makefile loader enable_loader
22067 wine_fn_config_makefile nls enable_nls
22068 wine_fn_config_makefile po enable_po
22069 wine_fn_config_makefile programs/arp enable_arp
22070 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22071 wine_fn_config_makefile programs/attrib enable_attrib
22072 wine_fn_config_makefile programs/cabarc enable_cabarc
22073 wine_fn_config_makefile programs/cacls enable_cacls
22074 wine_fn_config_makefile programs/certutil enable_certutil
22075 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22076 wine_fn_config_makefile programs/clock enable_clock
22077 wine_fn_config_makefile programs/cmd enable_cmd
22078 wine_fn_config_makefile programs/cmd/tests enable_tests
22079 wine_fn_config_makefile programs/conhost enable_conhost
22080 wine_fn_config_makefile programs/conhost/tests enable_tests
22081 wine_fn_config_makefile programs/control enable_control
22082 wine_fn_config_makefile programs/cscript enable_cscript
22083 wine_fn_config_makefile programs/dism enable_dism
22084 wine_fn_config_makefile programs/dllhost enable_dllhost
22085 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22086 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22087 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22088 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22089 wine_fn_config_makefile programs/eject enable_eject
22090 wine_fn_config_makefile programs/expand enable_expand
22091 wine_fn_config_makefile programs/explorer enable_explorer
22092 wine_fn_config_makefile programs/explorer/tests enable_tests
22093 wine_fn_config_makefile programs/extrac32 enable_extrac32
22094 wine_fn_config_makefile programs/fc enable_fc
22095 wine_fn_config_makefile programs/find enable_find
22096 wine_fn_config_makefile programs/find/tests enable_tests
22097 wine_fn_config_makefile programs/findstr enable_findstr
22098 wine_fn_config_makefile programs/fsutil enable_fsutil
22099 wine_fn_config_makefile programs/fsutil/tests enable_tests
22100 wine_fn_config_makefile programs/hh enable_hh
22101 wine_fn_config_makefile programs/hostname enable_hostname
22102 wine_fn_config_makefile programs/icacls enable_icacls
22103 wine_fn_config_makefile programs/icinfo enable_icinfo
22104 wine_fn_config_makefile programs/iexplore enable_iexplore
22105 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22106 wine_fn_config_makefile programs/lodctr enable_lodctr
22107 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22108 wine_fn_config_makefile programs/mshta enable_mshta
22109 wine_fn_config_makefile programs/msidb enable_msidb
22110 wine_fn_config_makefile programs/msiexec enable_msiexec
22111 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22112 wine_fn_config_makefile programs/net enable_net
22113 wine_fn_config_makefile programs/netsh enable_netsh
22114 wine_fn_config_makefile programs/netstat enable_netstat
22115 wine_fn_config_makefile programs/ngen enable_ngen
22116 wine_fn_config_makefile programs/notepad enable_notepad
22117 wine_fn_config_makefile programs/oleview enable_oleview
22118 wine_fn_config_makefile programs/ping enable_ping
22119 wine_fn_config_makefile programs/plugplay enable_plugplay
22120 wine_fn_config_makefile programs/powershell enable_powershell
22121 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22122 wine_fn_config_makefile programs/progman enable_progman
22123 wine_fn_config_makefile programs/reg enable_reg
22124 wine_fn_config_makefile programs/reg/tests enable_tests
22125 wine_fn_config_makefile programs/regasm enable_regasm
22126 wine_fn_config_makefile programs/regedit enable_regedit
22127 wine_fn_config_makefile programs/regedit/tests enable_tests
22128 wine_fn_config_makefile programs/regini enable_regini
22129 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22130 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22131 wine_fn_config_makefile programs/robocopy enable_robocopy
22132 wine_fn_config_makefile programs/rpcss enable_rpcss
22133 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22134 wine_fn_config_makefile programs/rundll32 enable_rundll32
22135 wine_fn_config_makefile programs/sc enable_sc
22136 wine_fn_config_makefile programs/sc/tests enable_tests
22137 wine_fn_config_makefile programs/schtasks enable_schtasks
22138 wine_fn_config_makefile programs/schtasks/tests enable_tests
22139 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22140 wine_fn_config_makefile programs/secedit enable_secedit
22141 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22142 wine_fn_config_makefile programs/services enable_services
22143 wine_fn_config_makefile programs/services/tests enable_tests
22144 wine_fn_config_makefile programs/setx enable_setx
22145 wine_fn_config_makefile programs/shutdown enable_shutdown
22146 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22147 wine_fn_config_makefile programs/start enable_start
22148 wine_fn_config_makefile programs/subst enable_subst
22149 wine_fn_config_makefile programs/svchost enable_svchost
22150 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22151 wine_fn_config_makefile programs/taskkill enable_taskkill
22152 wine_fn_config_makefile programs/tasklist enable_tasklist
22153 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22154 wine_fn_config_makefile programs/termsv enable_termsv
22155 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22156 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22157 wine_fn_config_makefile programs/view enable_view
22158 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22159 wine_fn_config_makefile programs/where enable_where
22160 wine_fn_config_makefile programs/whoami enable_whoami
22161 wine_fn_config_makefile programs/wineboot enable_wineboot
22162 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22163 wine_fn_config_makefile programs/winecfg enable_winecfg
22164 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22165 wine_fn_config_makefile programs/winedbg enable_winedbg
22166 wine_fn_config_makefile programs/winedevice enable_winedevice
22167 wine_fn_config_makefile programs/winefile enable_winefile
22168 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22169 wine_fn_config_makefile programs/winemine enable_winemine
22170 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22171 wine_fn_config_makefile programs/winepath enable_winepath
22172 wine_fn_config_makefile programs/winetest enable_winetest
22173 wine_fn_config_makefile programs/winevdm enable_win16
22174 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22175 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22176 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22177 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22178 wine_fn_config_makefile programs/winver enable_winver
22179 wine_fn_config_makefile programs/wmic enable_wmic
22180 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22181 wine_fn_config_makefile programs/wordpad enable_wordpad
22182 wine_fn_config_makefile programs/write enable_write
22183 wine_fn_config_makefile programs/wscript enable_wscript
22184 wine_fn_config_makefile programs/wscript/tests enable_tests
22185 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22186 wine_fn_config_makefile programs/wusa enable_wusa
22187 wine_fn_config_makefile programs/xcopy enable_xcopy
22188 wine_fn_config_makefile programs/xcopy/tests enable_tests
22189 wine_fn_config_makefile server enable_server
22190 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22201 as_fn_append CONFIGURE_TARGETS " TAGS"
22202 as_fn_append CONFIGURE_TARGETS " tags"
22203 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22204 as_fn_append CONFIGURE_TARGETS " config.log"
22205 as_fn_append CONFIGURE_TARGETS " config.status"
22206 as_fn_append CONFIGURE_TARGETS " include/config.h"
22207 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22208 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22210 if test "x$enable_tools" != xno
22211 then
22212 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22213 ac_config_commands="$ac_config_commands tools/makedep"
22217 ac_config_commands="$ac_config_commands Makefile"
22221 SHELL=/bin/sh
22224 as_fn_append wine_rules "
22225 all: wine
22226 @echo \"Wine build complete.\"
22227 .INIT: Makefile
22228 .MAKEFILEDEPS:
22229 all: Makefile
22230 Makefile: config.status \$(MAKEDEP)
22231 @./config.status Makefile
22232 depend: \$(MAKEDEP)
22233 \$(MAKEDEP)$makedep_flags"
22236 as_fn_append wine_rules "
22237 config.status: ${wine_srcdir}configure
22238 @./config.status --recheck
22239 include/config.h: include/stamp-h
22240 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22241 @./config.status include/config.h include/stamp-h"
22243 if test "x$enable_maintainer_mode" = xyes
22244 then
22245 as_fn_append wine_rules "
22246 configure: configure.ac aclocal.m4
22247 autoconf --warnings=all
22248 include/config.h.in: include/stamp-h.in
22249 include/stamp-h.in: configure.ac aclocal.m4
22250 autoheader --warnings=all
22251 @echo timestamp > \$@"
22254 if test "x$enable_tools" != xno
22255 then
22256 as_fn_append wine_rules "
22257 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22258 @./config.status tools/makedep
22259 Makefile: tools/makedep$ac_exeext"
22260 else
22261 as_fn_append wine_rules "
22262 \$(MAKEDEP):
22263 @echo \"You need to run make in $toolsdir first\" && false"
22267 if test -n "$with_wine64"
22268 then
22269 case "$with_wine64" in
22270 /*) reldir="" ;;
22271 *) reldir="../" ;;
22272 esac
22273 rm -f fonts server 2>/dev/null
22274 as_fn_append wine_rules "
22275 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22276 loader/wine64 loader/wine64-preloader:
22277 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22278 $with_wine64/loader/wine:
22279 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22280 $with_wine64/loader/wine-preloader:
22281 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22282 clean::
22283 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22284 else
22285 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22286 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22287 fonts \
22288 loader/wine.inf \
22289 nls \
22290 programs/msidb/msidb \
22291 programs/msiexec/msiexec \
22292 programs/notepad/notepad \
22293 programs/regedit/regedit \
22294 programs/regsvr32/regsvr32 \
22295 programs/wineboot/wineboot \
22296 programs/winecfg/winecfg \
22297 programs/wineconsole/wineconsole \
22298 programs/winedbg/winedbg \
22299 programs/winefile/winefile \
22300 programs/winemine/winemine \
22301 programs/winepath/winepath \
22302 server/wineserver"
22304 case $host_os in
22305 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22306 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22307 esac
22311 as_fn_append wine_rules "
22312 distclean:: clean
22313 rm -rf autom4te.cache
22314 maintainer-clean::
22315 rm -f configure include/config.h.in"
22318 as_fn_append wine_rules "
22319 dlls/ntdll/unix/version.c: dummy
22320 @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)
22321 programs/winetest/build.rc: dummy
22322 @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)
22323 programs/winetest/build.nfo:
22324 @-\$(CC) -v 2>\$@
22325 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
22326 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22327 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22330 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22332 as_fn_append wine_rules "
22333 TAGS etags:
22334 rm -f TAGS
22335 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22336 tags ctags:
22337 rm -f tags
22338 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22339 dummy:
22340 .PHONY: depend dummy install-manpages"
22342 printf "%s\n" " done" >&6
22343 cat >confcache <<\_ACEOF
22344 # This file is a shell script that caches the results of configure
22345 # tests run on this system so they can be shared between configure
22346 # scripts and configure runs, see configure's option --config-cache.
22347 # It is not useful on other systems. If it contains results you don't
22348 # want to keep, you may remove or edit it.
22350 # config.status only pays attention to the cache file if you give it
22351 # the --recheck option to rerun configure.
22353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22355 # following values.
22357 _ACEOF
22359 # The following way of writing the cache mishandles newlines in values,
22360 # but we know of no workaround that is simple, portable, and efficient.
22361 # So, we kill variables containing newlines.
22362 # Ultrix sh set writes to stderr and can't be redirected directly,
22363 # and sets the high bit in the cache file unless we assign to the vars.
22365 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22366 eval ac_val=\$$ac_var
22367 case $ac_val in #(
22368 *${as_nl}*)
22369 case $ac_var in #(
22370 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22371 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22372 esac
22373 case $ac_var in #(
22374 _ | IFS | as_nl) ;; #(
22375 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22376 *) { eval $ac_var=; unset $ac_var;} ;;
22377 esac ;;
22378 esac
22379 done
22381 (set) 2>&1 |
22382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22383 *${as_nl}ac_space=\ *)
22384 # `set' does not quote correctly, so add quotes: double-quote
22385 # substitution turns \\\\ into \\, and sed turns \\ into \.
22386 sed -n \
22387 "s/'/'\\\\''/g;
22388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22389 ;; #(
22391 # `set' quotes correctly as required by POSIX, so do not add quotes.
22392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22394 esac |
22395 sort
22397 sed '
22398 /^ac_cv_env_/b end
22399 t clear
22400 :clear
22401 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22402 t end
22403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22404 :end' >>confcache
22405 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22406 if test -w "$cache_file"; then
22407 if test "x$cache_file" != "x/dev/null"; then
22408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22409 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22410 if test ! -f "$cache_file" || test -h "$cache_file"; then
22411 cat confcache >"$cache_file"
22412 else
22413 case $cache_file in #(
22414 */* | ?:*)
22415 mv -f confcache "$cache_file"$$ &&
22416 mv -f "$cache_file"$$ "$cache_file" ;; #(
22418 mv -f confcache "$cache_file" ;;
22419 esac
22422 else
22423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22424 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22427 rm -f confcache
22429 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22430 # Let make expand exec_prefix.
22431 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22433 DEFS=-DHAVE_CONFIG_H
22435 ac_libobjs=
22436 ac_ltlibobjs=
22438 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22439 # 1. Remove the extension, and $U if already installed.
22440 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22441 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22442 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22443 # will be set to the directory where LIBOBJS objects are built.
22444 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22445 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22446 done
22447 LIBOBJS=$ac_libobjs
22449 LTLIBOBJS=$ac_ltlibobjs
22453 : "${CONFIG_STATUS=./config.status}"
22454 ac_write_fail=0
22455 ac_clean_files_save=$ac_clean_files
22456 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22458 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22459 as_write_fail=0
22460 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22461 #! $SHELL
22462 # Generated by $as_me.
22463 # Run this file to recreate the current configuration.
22464 # Compiler output produced by configure, useful for debugging
22465 # configure, is in config.log if it exists.
22467 debug=false
22468 ac_cs_recheck=false
22469 ac_cs_silent=false
22471 SHELL=\${CONFIG_SHELL-$SHELL}
22472 export SHELL
22473 _ASEOF
22474 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22475 ## -------------------- ##
22476 ## M4sh Initialization. ##
22477 ## -------------------- ##
22479 # Be more Bourne compatible
22480 DUALCASE=1; export DUALCASE # for MKS sh
22481 as_nop=:
22482 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22483 then :
22484 emulate sh
22485 NULLCMD=:
22486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22487 # is contrary to our usage. Disable this feature.
22488 alias -g '${1+"$@"}'='"$@"'
22489 setopt NO_GLOB_SUBST
22490 else $as_nop
22491 case `(set -o) 2>/dev/null` in #(
22492 *posix*) :
22493 set -o posix ;; #(
22494 *) :
22496 esac
22501 # Reset variables that may have inherited troublesome values from
22502 # the environment.
22504 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22505 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22506 # side effect of setting IFS to empty, thus disabling word splitting.)
22507 # Quoting is to prevent editors from complaining about space-tab.
22508 as_nl='
22510 export as_nl
22511 IFS=" "" $as_nl"
22513 PS1='$ '
22514 PS2='> '
22515 PS4='+ '
22517 # Ensure predictable behavior from utilities with locale-dependent output.
22518 LC_ALL=C
22519 export LC_ALL
22520 LANGUAGE=C
22521 export LANGUAGE
22523 # We cannot yet rely on "unset" to work, but we need these variables
22524 # to be unset--not just set to an empty or harmless value--now, to
22525 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22526 # also avoids known problems related to "unset" and subshell syntax
22527 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22528 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22529 do eval test \${$as_var+y} \
22530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22531 done
22533 # Ensure that fds 0, 1, and 2 are open.
22534 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22535 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22536 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22538 # The user is always right.
22539 if ${PATH_SEPARATOR+false} :; then
22540 PATH_SEPARATOR=:
22541 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22542 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22543 PATH_SEPARATOR=';'
22548 # Find who we are. Look in the path if we contain no directory separator.
22549 as_myself=
22550 case $0 in #((
22551 *[\\/]* ) as_myself=$0 ;;
22552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22553 for as_dir in $PATH
22555 IFS=$as_save_IFS
22556 case $as_dir in #(((
22557 '') as_dir=./ ;;
22558 */) ;;
22559 *) as_dir=$as_dir/ ;;
22560 esac
22561 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22562 done
22563 IFS=$as_save_IFS
22566 esac
22567 # We did not find ourselves, most probably we were run as `sh COMMAND'
22568 # in which case we are not to be found in the path.
22569 if test "x$as_myself" = x; then
22570 as_myself=$0
22572 if test ! -f "$as_myself"; then
22573 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22574 exit 1
22579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22580 # ----------------------------------------
22581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22583 # script with STATUS, using 1 if that was 0.
22584 as_fn_error ()
22586 as_status=$1; test $as_status -eq 0 && as_status=1
22587 if test "$4"; then
22588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22591 printf "%s\n" "$as_me: error: $2" >&2
22592 as_fn_exit $as_status
22593 } # as_fn_error
22597 # as_fn_set_status STATUS
22598 # -----------------------
22599 # Set $? to STATUS, without forking.
22600 as_fn_set_status ()
22602 return $1
22603 } # as_fn_set_status
22605 # as_fn_exit STATUS
22606 # -----------------
22607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22608 as_fn_exit ()
22610 set +e
22611 as_fn_set_status $1
22612 exit $1
22613 } # as_fn_exit
22615 # as_fn_unset VAR
22616 # ---------------
22617 # Portably unset VAR.
22618 as_fn_unset ()
22620 { eval $1=; unset $1;}
22622 as_unset=as_fn_unset
22624 # as_fn_append VAR VALUE
22625 # ----------------------
22626 # Append the text in VALUE to the end of the definition contained in VAR. Take
22627 # advantage of any shell optimizations that allow amortized linear growth over
22628 # repeated appends, instead of the typical quadratic growth present in naive
22629 # implementations.
22630 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22631 then :
22632 eval 'as_fn_append ()
22634 eval $1+=\$2
22636 else $as_nop
22637 as_fn_append ()
22639 eval $1=\$$1\$2
22641 fi # as_fn_append
22643 # as_fn_arith ARG...
22644 # ------------------
22645 # Perform arithmetic evaluation on the ARGs, and store the result in the
22646 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22647 # must be portable across $(()) and expr.
22648 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22649 then :
22650 eval 'as_fn_arith ()
22652 as_val=$(( $* ))
22654 else $as_nop
22655 as_fn_arith ()
22657 as_val=`expr "$@" || test $? -eq 1`
22659 fi # as_fn_arith
22662 if expr a : '\(a\)' >/dev/null 2>&1 &&
22663 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22664 as_expr=expr
22665 else
22666 as_expr=false
22669 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22670 as_basename=basename
22671 else
22672 as_basename=false
22675 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22676 as_dirname=dirname
22677 else
22678 as_dirname=false
22681 as_me=`$as_basename -- "$0" ||
22682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22683 X"$0" : 'X\(//\)$' \| \
22684 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22685 printf "%s\n" X/"$0" |
22686 sed '/^.*\/\([^/][^/]*\)\/*$/{
22687 s//\1/
22690 /^X\/\(\/\/\)$/{
22691 s//\1/
22694 /^X\/\(\/\).*/{
22695 s//\1/
22698 s/.*/./; q'`
22700 # Avoid depending upon Character Ranges.
22701 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22702 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22703 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22704 as_cr_digits='0123456789'
22705 as_cr_alnum=$as_cr_Letters$as_cr_digits
22708 # Determine whether it's possible to make 'echo' print without a newline.
22709 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22710 # for compatibility with existing Makefiles.
22711 ECHO_C= ECHO_N= ECHO_T=
22712 case `echo -n x` in #(((((
22713 -n*)
22714 case `echo 'xy\c'` in
22715 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22716 xy) ECHO_C='\c';;
22717 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22718 ECHO_T=' ';;
22719 esac;;
22721 ECHO_N='-n';;
22722 esac
22724 # For backward compatibility with old third-party macros, we provide
22725 # the shell variables $as_echo and $as_echo_n. New code should use
22726 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22727 as_echo='printf %s\n'
22728 as_echo_n='printf %s'
22730 rm -f conf$$ conf$$.exe conf$$.file
22731 if test -d conf$$.dir; then
22732 rm -f conf$$.dir/conf$$.file
22733 else
22734 rm -f conf$$.dir
22735 mkdir conf$$.dir 2>/dev/null
22737 if (echo >conf$$.file) 2>/dev/null; then
22738 if ln -s conf$$.file conf$$ 2>/dev/null; then
22739 as_ln_s='ln -s'
22740 # ... but there are two gotchas:
22741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22743 # In both cases, we have to default to `cp -pR'.
22744 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22745 as_ln_s='cp -pR'
22746 elif ln conf$$.file conf$$ 2>/dev/null; then
22747 as_ln_s=ln
22748 else
22749 as_ln_s='cp -pR'
22751 else
22752 as_ln_s='cp -pR'
22754 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22755 rmdir conf$$.dir 2>/dev/null
22758 # as_fn_mkdir_p
22759 # -------------
22760 # Create "$as_dir" as a directory, including parents if necessary.
22761 as_fn_mkdir_p ()
22764 case $as_dir in #(
22765 -*) as_dir=./$as_dir;;
22766 esac
22767 test -d "$as_dir" || eval $as_mkdir_p || {
22768 as_dirs=
22769 while :; do
22770 case $as_dir in #(
22771 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22772 *) as_qdir=$as_dir;;
22773 esac
22774 as_dirs="'$as_qdir' $as_dirs"
22775 as_dir=`$as_dirname -- "$as_dir" ||
22776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22777 X"$as_dir" : 'X\(//\)[^/]' \| \
22778 X"$as_dir" : 'X\(//\)$' \| \
22779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22780 printf "%s\n" X"$as_dir" |
22781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22782 s//\1/
22785 /^X\(\/\/\)[^/].*/{
22786 s//\1/
22789 /^X\(\/\/\)$/{
22790 s//\1/
22793 /^X\(\/\).*/{
22794 s//\1/
22797 s/.*/./; q'`
22798 test -d "$as_dir" && break
22799 done
22800 test -z "$as_dirs" || eval "mkdir $as_dirs"
22801 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22804 } # as_fn_mkdir_p
22805 if mkdir -p . 2>/dev/null; then
22806 as_mkdir_p='mkdir -p "$as_dir"'
22807 else
22808 test -d ./-p && rmdir ./-p
22809 as_mkdir_p=false
22813 # as_fn_executable_p FILE
22814 # -----------------------
22815 # Test if FILE is an executable regular file.
22816 as_fn_executable_p ()
22818 test -f "$1" && test -x "$1"
22819 } # as_fn_executable_p
22820 as_test_x='test -x'
22821 as_executable_p=as_fn_executable_p
22823 # Sed expression to map a string onto a valid CPP name.
22824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22826 # Sed expression to map a string onto a valid variable name.
22827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22830 exec 6>&1
22831 ## ----------------------------------- ##
22832 ## Main body of $CONFIG_STATUS script. ##
22833 ## ----------------------------------- ##
22834 _ASEOF
22835 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22838 # Save the log message, to keep $0 and so on meaningful, and to
22839 # report actual input values of CONFIG_FILES etc. instead of their
22840 # values after options handling.
22841 ac_log="
22842 This file was extended by Wine $as_me 8.6, which was
22843 generated by GNU Autoconf 2.71. Invocation command line was
22845 CONFIG_FILES = $CONFIG_FILES
22846 CONFIG_HEADERS = $CONFIG_HEADERS
22847 CONFIG_LINKS = $CONFIG_LINKS
22848 CONFIG_COMMANDS = $CONFIG_COMMANDS
22849 $ $0 $@
22851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22854 _ACEOF
22857 case $ac_config_headers in *"
22858 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22859 esac
22862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22863 # Files that config.status was made for.
22864 config_headers="$ac_config_headers"
22865 config_links="$ac_config_links"
22866 config_commands="$ac_config_commands"
22868 _ACEOF
22870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22871 ac_cs_usage="\
22872 \`$as_me' instantiates files and other configuration actions
22873 from templates according to the current configuration. Unless the files
22874 and actions are specified as TAGs, all are instantiated by default.
22876 Usage: $0 [OPTION]... [TAG]...
22878 -h, --help print this help, then exit
22879 -V, --version print version number and configuration settings, then exit
22880 --config print configuration, then exit
22881 -q, --quiet, --silent
22882 do not print progress messages
22883 -d, --debug don't remove temporary files
22884 --recheck update $as_me by reconfiguring in the same conditions
22885 --header=FILE[:TEMPLATE]
22886 instantiate the configuration header FILE
22888 Configuration headers:
22889 $config_headers
22891 Configuration links:
22892 $config_links
22894 Configuration commands:
22895 $config_commands
22897 Report bugs to <wine-devel@winehq.org>.
22898 Wine home page: <https://www.winehq.org>."
22900 _ACEOF
22901 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22902 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22904 ac_cs_config='$ac_cs_config_escaped'
22905 ac_cs_version="\\
22906 Wine config.status 8.6
22907 configured by $0, generated by GNU Autoconf 2.71,
22908 with options \\"\$ac_cs_config\\"
22910 Copyright (C) 2021 Free Software Foundation, Inc.
22911 This config.status script is free software; the Free Software Foundation
22912 gives unlimited permission to copy, distribute and modify it."
22914 ac_pwd='$ac_pwd'
22915 srcdir='$srcdir'
22916 test -n "\$AWK" || AWK=awk
22917 _ACEOF
22919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22920 # The default lists apply if the user does not specify any file.
22921 ac_need_defaults=:
22922 while test $# != 0
22924 case $1 in
22925 --*=?*)
22926 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22927 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22928 ac_shift=:
22930 --*=)
22931 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22932 ac_optarg=
22933 ac_shift=:
22936 ac_option=$1
22937 ac_optarg=$2
22938 ac_shift=shift
22940 esac
22942 case $ac_option in
22943 # Handling of the options.
22944 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22945 ac_cs_recheck=: ;;
22946 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22947 printf "%s\n" "$ac_cs_version"; exit ;;
22948 --config | --confi | --conf | --con | --co | --c )
22949 printf "%s\n" "$ac_cs_config"; exit ;;
22950 --debug | --debu | --deb | --de | --d | -d )
22951 debug=: ;;
22952 --header | --heade | --head | --hea )
22953 $ac_shift
22954 case $ac_optarg in
22955 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22956 esac
22957 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22958 ac_need_defaults=false;;
22959 --he | --h)
22960 # Conflict between --help and --header
22961 as_fn_error $? "ambiguous option: \`$1'
22962 Try \`$0 --help' for more information.";;
22963 --help | --hel | -h )
22964 printf "%s\n" "$ac_cs_usage"; exit ;;
22965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22966 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22967 ac_cs_silent=: ;;
22969 # This is an error.
22970 -*) as_fn_error $? "unrecognized option: \`$1'
22971 Try \`$0 --help' for more information." ;;
22973 *) as_fn_append ac_config_targets " $1"
22974 ac_need_defaults=false ;;
22976 esac
22977 shift
22978 done
22980 ac_configure_extra_args=
22982 if $ac_cs_silent; then
22983 exec 6>/dev/null
22984 ac_configure_extra_args="$ac_configure_extra_args --silent"
22987 _ACEOF
22988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22989 if \$ac_cs_recheck; then
22990 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22991 shift
22992 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22993 CONFIG_SHELL='$SHELL'
22994 export CONFIG_SHELL
22995 exec "\$@"
22998 _ACEOF
22999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23000 exec 5>>config.log
23002 echo
23003 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23004 ## Running $as_me. ##
23005 _ASBOX
23006 printf "%s\n" "$ac_log"
23007 } >&5
23009 _ACEOF
23010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23012 # INIT-COMMANDS
23014 wine_fn_output_makedep ()
23016 as_dir=tools; as_fn_mkdir_p
23017 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23019 wine_fn_output_makefile ()
23021 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23022 # This Makefile understands the following targets:
23024 # all (default): build wine
23025 # clean: remove all intermediate files
23026 # distclean: also remove all files created by configure
23027 # test: run tests
23028 # testclean: clean test results to force running all tests again
23029 # install-lib: install libraries needed to run applications
23030 # install-dev: install development environment
23031 # install: install everything
23032 # uninstall: uninstall everything
23033 # ctags: create a tags file for vim and others.
23034 # etags: create a TAGS file for Emacs.
23036 SHELL = $SHELL
23037 PATH_SEPARATOR = $PATH_SEPARATOR
23038 PACKAGE_NAME = $PACKAGE_NAME
23039 PACKAGE_TARNAME = $PACKAGE_TARNAME
23040 PACKAGE_VERSION = $PACKAGE_VERSION
23041 PACKAGE_STRING = $PACKAGE_STRING
23042 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23043 PACKAGE_URL = $PACKAGE_URL
23044 exec_prefix = $exec_prefix
23045 prefix = $prefix
23046 program_transform_name = $program_transform_name
23047 bindir = $bindir
23048 sbindir = $sbindir
23049 libexecdir = $libexecdir
23050 datarootdir = $datarootdir
23051 datadir = $datadir
23052 sysconfdir = $sysconfdir
23053 sharedstatedir = $sharedstatedir
23054 localstatedir = $localstatedir
23055 runstatedir = $runstatedir
23056 includedir = $includedir
23057 oldincludedir = $oldincludedir
23058 docdir = $docdir
23059 infodir = $infodir
23060 htmldir = $htmldir
23061 dvidir = $dvidir
23062 pdfdir = $pdfdir
23063 psdir = $psdir
23064 libdir = $libdir
23065 localedir = $localedir
23066 mandir = $mandir
23067 DEFS = $DEFS
23068 ECHO_C = $ECHO_C
23069 ECHO_N = $ECHO_N
23070 ECHO_T = $ECHO_T
23071 LIBS = $LIBS
23072 build_alias = $build_alias
23073 host_alias = $host_alias
23074 target_alias = $target_alias
23075 system_dllpath = $system_dllpath
23076 build = $build
23077 build_cpu = $build_cpu
23078 build_vendor = $build_vendor
23079 build_os = $build_os
23080 host = $host
23081 host_cpu = $host_cpu
23082 host_vendor = $host_vendor
23083 host_os = $host_os
23084 dlldir = $dlldir
23085 fontdir = $fontdir
23086 nlsdir = $nlsdir
23087 srcdir = $srcdir
23088 SET_MAKE = $SET_MAKE
23089 CC = $CC
23090 CFLAGS = $CFLAGS
23091 LDFLAGS = $LDFLAGS
23092 CPPFLAGS = $CPPFLAGS
23093 ac_ct_CC = $ac_ct_CC
23094 EXEEXT = $EXEEXT
23095 OBJEXT = $OBJEXT
23096 CXX = $CXX
23097 CXXFLAGS = $CXXFLAGS
23098 ac_ct_CXX = $ac_ct_CXX
23099 CPPBIN = $CPPBIN
23100 LD = $LD
23101 TARGETFLAGS = $TARGETFLAGS
23102 toolsext = $toolsext
23103 HOST_ARCH = $HOST_ARCH
23104 aarch64_CC = $aarch64_CC
23105 aarch64_CFLAGS = $aarch64_CFLAGS
23106 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23107 aarch64_LDFLAGS = $aarch64_LDFLAGS
23108 aarch64_DEBUG = $aarch64_DEBUG
23109 aarch64_TARGET = $aarch64_TARGET
23110 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23111 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23112 arm_CC = $arm_CC
23113 arm_CFLAGS = $arm_CFLAGS
23114 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23115 arm_LDFLAGS = $arm_LDFLAGS
23116 arm_DEBUG = $arm_DEBUG
23117 arm_TARGET = $arm_TARGET
23118 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23119 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23120 i386_CC = $i386_CC
23121 i386_CFLAGS = $i386_CFLAGS
23122 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23123 i386_LDFLAGS = $i386_LDFLAGS
23124 i386_DEBUG = $i386_DEBUG
23125 i386_TARGET = $i386_TARGET
23126 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23127 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23128 x86_64_CC = $x86_64_CC
23129 x86_64_CFLAGS = $x86_64_CFLAGS
23130 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23131 x86_64_LDFLAGS = $x86_64_LDFLAGS
23132 x86_64_DEBUG = $x86_64_DEBUG
23133 x86_64_TARGET = $x86_64_TARGET
23134 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23135 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23136 toolsdir = $toolsdir
23137 MAKEDEP = $MAKEDEP
23138 RUNTESTFLAGS = $RUNTESTFLAGS
23139 SED_CMD = $SED_CMD
23140 FLEX = $FLEX
23141 BISON = $BISON
23142 AR = $AR
23143 ac_ct_AR = $ac_ct_AR
23144 STRIP = $STRIP
23145 RANLIB = $RANLIB
23146 LN_S = $LN_S
23147 GREP = $GREP
23148 EGREP = $EGREP
23149 LDCONFIG = $LDCONFIG
23150 MSGFMT = $MSGFMT
23151 PKG_CONFIG = $PKG_CONFIG
23152 FONTFORGE = $FONTFORGE
23153 RSVG = $RSVG
23154 CONVERT = $CONVERT
23155 ICOTOOL = $ICOTOOL
23156 I386_LIBS = $I386_LIBS
23157 OPENGL_LIBS = $OPENGL_LIBS
23158 DLLFLAGS = $DLLFLAGS
23159 LDDLLFLAGS = $LDDLLFLAGS
23160 LDEXECFLAGS = $LDEXECFLAGS
23161 EXTRACFLAGS = $EXTRACFLAGS
23162 UNIXDLLFLAGS = $UNIXDLLFLAGS
23163 UNIXLDFLAGS = $UNIXLDFLAGS
23164 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23165 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23166 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23167 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23168 LDD = $LDD
23169 OTOOL = $OTOOL
23170 READELF = $READELF
23171 SUBDIRS = $SUBDIRS
23172 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23173 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23174 CARBON_LIBS = $CARBON_LIBS
23175 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23176 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23177 IOKIT_LIBS = $IOKIT_LIBS
23178 METAL_LIBS = $METAL_LIBS
23179 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23180 CORESERVICES_LIBS = $CORESERVICES_LIBS
23181 APPKIT_LIBS = $APPKIT_LIBS
23182 SECURITY_LIBS = $SECURITY_LIBS
23183 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23184 COREAUDIO_LIBS = $COREAUDIO_LIBS
23185 OPENCL_LIBS = $OPENCL_LIBS
23186 OBJC = $OBJC
23187 OBJCFLAGS = $OBJCFLAGS
23188 ac_ct_OBJC = $ac_ct_OBJC
23189 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23190 PE_ARCHS = $PE_ARCHS
23191 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23192 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23193 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23194 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23195 GSM_PE_LIBS = $GSM_PE_LIBS
23196 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23197 JPEG_PE_LIBS = $JPEG_PE_LIBS
23198 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23199 JXR_PE_LIBS = $JXR_PE_LIBS
23200 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23201 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23202 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23203 LDAP_PE_LIBS = $LDAP_PE_LIBS
23204 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23205 MPG123_PE_LIBS = $MPG123_PE_LIBS
23206 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23207 MUSL_PE_LIBS = $MUSL_PE_LIBS
23208 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23209 PNG_PE_LIBS = $PNG_PE_LIBS
23210 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23211 TIFF_PE_LIBS = $TIFF_PE_LIBS
23212 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23213 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23214 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23215 XML2_PE_LIBS = $XML2_PE_LIBS
23216 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23217 XSLT_PE_LIBS = $XSLT_PE_LIBS
23218 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23219 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23220 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23221 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23222 PTHREAD_LIBS = $PTHREAD_LIBS
23223 XMKMF = $XMKMF
23224 CPP = $CPP
23225 X_CFLAGS = $X_CFLAGS
23226 X_PRE_LIBS = $X_PRE_LIBS
23227 X_LIBS = $X_LIBS
23228 X_EXTRA_LIBS = $X_EXTRA_LIBS
23229 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23230 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23231 WAYLAND_SCANNER = $WAYLAND_SCANNER
23232 PCAP_LIBS = $PCAP_LIBS
23233 PCSCLITE_LIBS = $PCSCLITE_LIBS
23234 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23235 INOTIFY_LIBS = $INOTIFY_LIBS
23236 DBUS_CFLAGS = $DBUS_CFLAGS
23237 DBUS_LIBS = $DBUS_LIBS
23238 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23239 GNUTLS_LIBS = $GNUTLS_LIBS
23240 SANE_CFLAGS = $SANE_CFLAGS
23241 SANE_LIBS = $SANE_LIBS
23242 USB_CFLAGS = $USB_CFLAGS
23243 USB_LIBS = $USB_LIBS
23244 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23245 GPHOTO2_LIBS = $GPHOTO2_LIBS
23246 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23247 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23248 RESOLV_LIBS = $RESOLV_LIBS
23249 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23250 FREETYPE_LIBS = $FREETYPE_LIBS
23251 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23252 PULSE_CFLAGS = $PULSE_CFLAGS
23253 PULSE_LIBS = $PULSE_LIBS
23254 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23255 GSTREAMER_LIBS = $GSTREAMER_LIBS
23256 ALSA_LIBS = $ALSA_LIBS
23257 OSS4_CFLAGS = $OSS4_CFLAGS
23258 OSS4_LIBS = $OSS4_LIBS
23259 UDEV_CFLAGS = $UDEV_CFLAGS
23260 UDEV_LIBS = $UDEV_LIBS
23261 UNWIND_CFLAGS = $UNWIND_CFLAGS
23262 UNWIND_LIBS = $UNWIND_LIBS
23263 SDL2_CFLAGS = $SDL2_CFLAGS
23264 SDL2_LIBS = $SDL2_LIBS
23265 CAPI20_CFLAGS = $CAPI20_CFLAGS
23266 CAPI20_LIBS = $CAPI20_LIBS
23267 CUPS_CFLAGS = $CUPS_CFLAGS
23268 CUPS_LIBS = $CUPS_LIBS
23269 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23270 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23271 KRB5_CFLAGS = $KRB5_CFLAGS
23272 KRB5_LIBS = $KRB5_LIBS
23273 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23274 GSSAPI_LIBS = $GSSAPI_LIBS
23275 PROCSTAT_LIBS = $PROCSTAT_LIBS
23276 NETAPI_CFLAGS = $NETAPI_CFLAGS
23277 NETAPI_LIBS = $NETAPI_LIBS
23278 MSVCRTFLAGS = $MSVCRTFLAGS
23279 DELAYLOADFLAG = $DELAYLOADFLAG
23280 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23281 RT_LIBS = $RT_LIBS
23282 TAGSFLAGS = $TAGSFLAGS
23283 LIBOBJS = $LIBOBJS
23284 LTLIBOBJS = $LTLIBOBJS
23285 $SET_MAKE
23286 $wine_rules
23287 _WINE_EOF
23288 as_fn_error $? "could not create Makefile" "$LINENO" 5
23291 _ACEOF
23293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23295 # Handling of arguments.
23296 for ac_config_target in $ac_config_targets
23298 case $ac_config_target in
23299 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23300 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23301 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23302 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23303 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23304 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23306 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23307 esac
23308 done
23311 # If the user did not use the arguments to specify the items to instantiate,
23312 # then the envvar interface is used. Set only those that are not.
23313 # We use the long form for the default assignment because of an extremely
23314 # bizarre bug on SunOS 4.1.3.
23315 if $ac_need_defaults; then
23316 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23317 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23318 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23321 # Have a temporary directory for convenience. Make it in the build tree
23322 # simply because there is no reason against having it here, and in addition,
23323 # creating and moving files from /tmp can sometimes cause problems.
23324 # Hook for its removal unless debugging.
23325 # Note that there is a small window in which the directory will not be cleaned:
23326 # after its creation but before its name has been assigned to `$tmp'.
23327 $debug ||
23329 tmp= ac_tmp=
23330 trap 'exit_status=$?
23331 : "${ac_tmp:=$tmp}"
23332 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23334 trap 'as_fn_exit 1' 1 2 13 15
23336 # Create a (secure) tmp directory for tmp files.
23339 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23340 test -d "$tmp"
23341 } ||
23343 tmp=./conf$$-$RANDOM
23344 (umask 077 && mkdir "$tmp")
23345 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23346 ac_tmp=$tmp
23348 # Set up the scripts for CONFIG_HEADERS section.
23349 # No need to generate them if there are no CONFIG_HEADERS.
23350 # This happens for instance with `./config.status Makefile'.
23351 if test -n "$CONFIG_HEADERS"; then
23352 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23353 BEGIN {
23354 _ACEOF
23356 # Transform confdefs.h into an awk script `defines.awk', embedded as
23357 # here-document in config.status, that substitutes the proper values into
23358 # config.h.in to produce config.h.
23360 # Create a delimiter string that does not exist in confdefs.h, to ease
23361 # handling of long lines.
23362 ac_delim='%!_!# '
23363 for ac_last_try in false false :; do
23364 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23365 if test -z "$ac_tt"; then
23366 break
23367 elif $ac_last_try; then
23368 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23369 else
23370 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23372 done
23374 # For the awk script, D is an array of macro values keyed by name,
23375 # likewise P contains macro parameters if any. Preserve backslash
23376 # newline sequences.
23378 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23379 sed -n '
23380 s/.\{148\}/&'"$ac_delim"'/g
23381 t rset
23382 :rset
23383 s/^[ ]*#[ ]*define[ ][ ]*/ /
23384 t def
23386 :def
23387 s/\\$//
23388 t bsnl
23389 s/["\\]/\\&/g
23390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23391 D["\1"]=" \3"/p
23392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23394 :bsnl
23395 s/["\\]/\\&/g
23396 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23397 D["\1"]=" \3\\\\\\n"\\/p
23398 t cont
23399 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23400 t cont
23402 :cont
23404 s/.\{148\}/&'"$ac_delim"'/g
23405 t clear
23406 :clear
23407 s/\\$//
23408 t bsnlc
23409 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23411 :bsnlc
23412 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23413 b cont
23414 ' <confdefs.h | sed '
23415 s/'"$ac_delim"'/"\\\
23416 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23419 for (key in D) D_is_set[key] = 1
23420 FS = "\a"
23422 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23423 line = \$ 0
23424 split(line, arg, " ")
23425 if (arg[1] == "#") {
23426 defundef = arg[2]
23427 mac1 = arg[3]
23428 } else {
23429 defundef = substr(arg[1], 2)
23430 mac1 = arg[2]
23432 split(mac1, mac2, "(") #)
23433 macro = mac2[1]
23434 prefix = substr(line, 1, index(line, defundef) - 1)
23435 if (D_is_set[macro]) {
23436 # Preserve the white space surrounding the "#".
23437 print prefix "define", macro P[macro] D[macro]
23438 next
23439 } else {
23440 # Replace #undef with comments. This is necessary, for example,
23441 # in the case of _POSIX_SOURCE, which is predefined and required
23442 # on some systems where configure will not decide to define it.
23443 if (defundef == "undef") {
23444 print "/*", prefix defundef, macro, "*/"
23445 next
23449 { print }
23450 _ACAWK
23451 _ACEOF
23452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23453 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23454 fi # test -n "$CONFIG_HEADERS"
23457 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23458 shift
23459 for ac_tag
23461 case $ac_tag in
23462 :[FHLC]) ac_mode=$ac_tag; continue;;
23463 esac
23464 case $ac_mode$ac_tag in
23465 :[FHL]*:*);;
23466 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23467 :[FH]-) ac_tag=-:-;;
23468 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23469 esac
23470 ac_save_IFS=$IFS
23471 IFS=:
23472 set x $ac_tag
23473 IFS=$ac_save_IFS
23474 shift
23475 ac_file=$1
23476 shift
23478 case $ac_mode in
23479 :L) ac_source=$1;;
23480 :[FH])
23481 ac_file_inputs=
23482 for ac_f
23484 case $ac_f in
23485 -) ac_f="$ac_tmp/stdin";;
23486 *) # Look for the file first in the build tree, then in the source tree
23487 # (if the path is not absolute). The absolute path cannot be DOS-style,
23488 # because $ac_f cannot contain `:'.
23489 test -f "$ac_f" ||
23490 case $ac_f in
23491 [\\/$]*) false;;
23492 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23493 esac ||
23494 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23495 esac
23496 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23497 as_fn_append ac_file_inputs " '$ac_f'"
23498 done
23500 # Let's still pretend it is `configure' which instantiates (i.e., don't
23501 # use $as_me), people would be surprised to read:
23502 # /* config.h. Generated by config.status. */
23503 configure_input='Generated from '`
23504 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23505 `' by configure.'
23506 if test x"$ac_file" != x-; then
23507 configure_input="$ac_file. $configure_input"
23508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23509 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23511 # Neutralize special characters interpreted by sed in replacement strings.
23512 case $configure_input in #(
23513 *\&* | *\|* | *\\* )
23514 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23515 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23516 *) ac_sed_conf_input=$configure_input;;
23517 esac
23519 case $ac_tag in
23520 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23522 esac
23524 esac
23526 ac_dir=`$as_dirname -- "$ac_file" ||
23527 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23528 X"$ac_file" : 'X\(//\)[^/]' \| \
23529 X"$ac_file" : 'X\(//\)$' \| \
23530 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23531 printf "%s\n" X"$ac_file" |
23532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23533 s//\1/
23536 /^X\(\/\/\)[^/].*/{
23537 s//\1/
23540 /^X\(\/\/\)$/{
23541 s//\1/
23544 /^X\(\/\).*/{
23545 s//\1/
23548 s/.*/./; q'`
23549 as_dir="$ac_dir"; as_fn_mkdir_p
23550 ac_builddir=.
23552 case "$ac_dir" in
23553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23555 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23556 # A ".." for each directory in $ac_dir_suffix.
23557 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23558 case $ac_top_builddir_sub in
23559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23561 esac ;;
23562 esac
23563 ac_abs_top_builddir=$ac_pwd
23564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23565 # for backward compatibility:
23566 ac_top_builddir=$ac_top_build_prefix
23568 case $srcdir in
23569 .) # We are building in place.
23570 ac_srcdir=.
23571 ac_top_srcdir=$ac_top_builddir_sub
23572 ac_abs_top_srcdir=$ac_pwd ;;
23573 [\\/]* | ?:[\\/]* ) # Absolute name.
23574 ac_srcdir=$srcdir$ac_dir_suffix;
23575 ac_top_srcdir=$srcdir
23576 ac_abs_top_srcdir=$srcdir ;;
23577 *) # Relative name.
23578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23579 ac_top_srcdir=$ac_top_build_prefix$srcdir
23580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23581 esac
23582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23585 case $ac_mode in
23589 # CONFIG_HEADER
23591 if test x"$ac_file" != x-; then
23593 printf "%s\n" "/* $configure_input */" >&1 \
23594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23595 } >"$ac_tmp/config.h" \
23596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23597 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23599 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23600 else
23601 rm -f "$ac_file"
23602 mv "$ac_tmp/config.h" "$ac_file" \
23603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23605 else
23606 printf "%s\n" "/* $configure_input */" >&1 \
23607 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23608 || as_fn_error $? "could not create -" "$LINENO" 5
23613 # CONFIG_LINK
23616 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23618 else
23619 # Prefer the file from the source tree if names are identical.
23620 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23621 ac_source=$srcdir/$ac_source
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23625 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23627 if test ! -r "$ac_source"; then
23628 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23630 rm -f "$ac_file"
23632 # Try a relative symlink, then a hard link, then a copy.
23633 case $ac_source in
23634 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23635 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23636 esac
23637 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23638 ln "$ac_source" "$ac_file" 2>/dev/null ||
23639 cp -p "$ac_source" "$ac_file" ||
23640 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23643 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23644 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23646 esac
23649 case $ac_file$ac_mode in
23650 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23651 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23652 "Makefile":C) wine_fn_output_makefile Makefile ;;
23654 esac
23655 done # for ac_tag
23658 as_fn_exit 0
23659 _ACEOF
23660 ac_clean_files=$ac_clean_files_save
23662 test $ac_write_fail = 0 ||
23663 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23666 # configure is writing to config.log, and then calls config.status.
23667 # config.status does its own redirection, appending to config.log.
23668 # Unfortunately, on DOS this fails, as config.log is still kept open
23669 # by configure, so config.status won't be able to write to it; its
23670 # output is simply discarded. So we exec the FD to /dev/null,
23671 # effectively closing config.log, so it can be properly (re)opened and
23672 # appended to by config.status. When coming back to configure, we
23673 # need to make the FD available again.
23674 if test "$no_create" != yes; then
23675 ac_cs_success=:
23676 ac_config_status_args=
23677 test "$silent" = yes &&
23678 ac_config_status_args="$ac_config_status_args --quiet"
23679 exec 5>/dev/null
23680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23681 exec 5>>config.log
23682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23683 # would make configure fail if this is the last instruction.
23684 $ac_cs_success || as_fn_exit 1
23686 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23688 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23692 if test "$no_create" = "yes"
23693 then
23694 exit 0
23697 ac_save_IFS="$IFS"
23698 if test "x$wine_notices" != x; then
23699 echo >&6
23700 IFS="|"
23701 for msg in $wine_notices; do
23702 IFS="$ac_save_IFS"
23703 if ${msg:+false} :
23704 then :
23706 else $as_nop
23707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23708 printf "%s\n" "$as_me: $msg" >&6;}
23710 done
23712 IFS="|"
23713 for msg in $wine_warnings; do
23714 IFS="$ac_save_IFS"
23715 if ${msg:+false} :
23716 then :
23718 else $as_nop
23719 echo >&2
23720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23721 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23723 done
23724 IFS="$ac_save_IFS"
23726 printf "%s\n" "
23727 $as_me: Finished. Do '${ac_make}' to compile Wine.
23728 " >&6