wordpad: Use nameless unions/structs.
[wine.git] / configure
blobf41b9cd687f45713da912fe14a5f8d0b69d9d09b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.10.
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.10'
615 PACKAGE_STRING='Wine 8.10'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cdosys
996 enable_cfgmgr32
997 enable_clusapi
998 enable_cng_sys
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_concrt140
1006 enable_connect
1007 enable_credui
1008 enable_crtdll
1009 enable_crypt32
1010 enable_cryptdlg
1011 enable_cryptdll
1012 enable_cryptext
1013 enable_cryptnet
1014 enable_cryptowinrt
1015 enable_cryptsp
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d12
1025 enable_d3d12core
1026 enable_d3d8
1027 enable_d3d8thk
1028 enable_d3d9
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1042 enable_d3dim
1043 enable_d3dim700
1044 enable_d3drm
1045 enable_d3dx10_33
1046 enable_d3dx10_34
1047 enable_d3dx10_35
1048 enable_d3dx10_36
1049 enable_d3dx10_37
1050 enable_d3dx10_38
1051 enable_d3dx10_39
1052 enable_d3dx10_40
1053 enable_d3dx10_41
1054 enable_d3dx10_42
1055 enable_d3dx10_43
1056 enable_d3dx11_42
1057 enable_d3dx11_43
1058 enable_d3dx9_24
1059 enable_d3dx9_25
1060 enable_d3dx9_26
1061 enable_d3dx9_27
1062 enable_d3dx9_28
1063 enable_d3dx9_29
1064 enable_d3dx9_30
1065 enable_d3dx9_31
1066 enable_d3dx9_32
1067 enable_d3dx9_33
1068 enable_d3dx9_34
1069 enable_d3dx9_35
1070 enable_d3dx9_36
1071 enable_d3dx9_37
1072 enable_d3dx9_38
1073 enable_d3dx9_39
1074 enable_d3dx9_40
1075 enable_d3dx9_41
1076 enable_d3dx9_42
1077 enable_d3dx9_43
1078 enable_d3dxof
1079 enable_davclnt
1080 enable_dbgeng
1081 enable_dbghelp
1082 enable_dciman32
1083 enable_dcomp
1084 enable_ddraw
1085 enable_ddrawex
1086 enable_devenum
1087 enable_dhcpcsvc
1088 enable_dhcpcsvc6
1089 enable_dhtmled_ocx
1090 enable_diasymreader
1091 enable_difxapi
1092 enable_dinput
1093 enable_dinput8
1094 enable_directmanipulation
1095 enable_dispex
1096 enable_dmband
1097 enable_dmcompos
1098 enable_dmime
1099 enable_dmloader
1100 enable_dmscript
1101 enable_dmstyle
1102 enable_dmsynth
1103 enable_dmusic
1104 enable_dmusic32
1105 enable_dnsapi
1106 enable_dplay
1107 enable_dplayx
1108 enable_dpnaddr
1109 enable_dpnet
1110 enable_dpnhpast
1111 enable_dpnhupnp
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsdmo
1117 enable_dsound
1118 enable_dsquery
1119 enable_dssenh
1120 enable_dsuiext
1121 enable_dswave
1122 enable_dwmapi
1123 enable_dwrite
1124 enable_dx8vb
1125 enable_dxdiagn
1126 enable_dxgi
1127 enable_dxtrans
1128 enable_dxva2
1129 enable_esent
1130 enable_evr
1131 enable_explorerframe
1132 enable_faultrep
1133 enable_feclient
1134 enable_fltlib
1135 enable_fltmgr_sys
1136 enable_fntcache
1137 enable_fontsub
1138 enable_fusion
1139 enable_fwpuclnt
1140 enable_gameux
1141 enable_gamingtcui
1142 enable_gdi32
1143 enable_gdiplus
1144 enable_glu32
1145 enable_gphoto2_ds
1146 enable_gpkcsp
1147 enable_graphicscapture
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hidparse_sys
1153 enable_hlink
1154 enable_hnetcfg
1155 enable_hrtfapo
1156 enable_http_sys
1157 enable_httpapi
1158 enable_ia2comproxy
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_ieproxy
1163 enable_imaadp32_acm
1164 enable_imagehlp
1165 enable_imm32
1166 enable_inetcomm
1167 enable_inetcpl_cpl
1168 enable_inetmib1
1169 enable_infosoft
1170 enable_initpki
1171 enable_inkobj
1172 enable_inseng
1173 enable_iphlpapi
1174 enable_iprop
1175 enable_ir50_32
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kerberos
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksecdd_sys
1186 enable_ksproxy_ax
1187 enable_ksuser
1188 enable_ktmw32
1189 enable_l3codeca_acm
1190 enable_light_msstyles
1191 enable_loadperf
1192 enable_localspl
1193 enable_localui
1194 enable_lz32
1195 enable_mapi32
1196 enable_mapistub
1197 enable_mciavi32
1198 enable_mcicda
1199 enable_mciqtz32
1200 enable_mciseq
1201 enable_mciwave
1202 enable_mf
1203 enable_mf3216
1204 enable_mferror
1205 enable_mfmediaengine
1206 enable_mfplat
1207 enable_mfplay
1208 enable_mfreadwrite
1209 enable_mfsrcsnk
1210 enable_mgmtapi
1211 enable_midimap
1212 enable_mlang
1213 enable_mmcndmgr
1214 enable_mmdevapi
1215 enable_mountmgr_sys
1216 enable_mp3dmod
1217 enable_mpr
1218 enable_mprapi
1219 enable_msacm32_drv
1220 enable_msacm32
1221 enable_msado15
1222 enable_msadp32_acm
1223 enable_msasn1
1224 enable_msauddecmft
1225 enable_mscat32
1226 enable_mscms
1227 enable_mscoree
1228 enable_mscorwks
1229 enable_msctf
1230 enable_msctfmonitor
1231 enable_msctfp
1232 enable_msdaps
1233 enable_msdasql
1234 enable_msdelta
1235 enable_msdmo
1236 enable_msdrm
1237 enable_msftedit
1238 enable_msg711_acm
1239 enable_msgsm32_acm
1240 enable_mshtml_tlb
1241 enable_mshtml
1242 enable_msi
1243 enable_msident
1244 enable_msimg32
1245 enable_msimsg
1246 enable_msimtf
1247 enable_msisip
1248 enable_msisys_ocx
1249 enable_msls31
1250 enable_msmpeg2vdec
1251 enable_msnet32
1252 enable_mspatcha
1253 enable_msports
1254 enable_msrle32
1255 enable_msscript_ocx
1256 enable_mssign32
1257 enable_mssip32
1258 enable_mstask
1259 enable_msv1_0
1260 enable_msvcirt
1261 enable_msvcm80
1262 enable_msvcm90
1263 enable_msvcp100
1264 enable_msvcp110
1265 enable_msvcp120
1266 enable_msvcp120_app
1267 enable_msvcp140
1268 enable_msvcp140_1
1269 enable_msvcp140_2
1270 enable_msvcp140_atomic_wait
1271 enable_msvcp60
1272 enable_msvcp70
1273 enable_msvcp71
1274 enable_msvcp80
1275 enable_msvcp90
1276 enable_msvcp_win
1277 enable_msvcr100
1278 enable_msvcr110
1279 enable_msvcr120
1280 enable_msvcr120_app
1281 enable_msvcr70
1282 enable_msvcr71
1283 enable_msvcr80
1284 enable_msvcr90
1285 enable_msvcrt
1286 enable_msvcrt20
1287 enable_msvcrt40
1288 enable_msvcrtd
1289 enable_msvfw32
1290 enable_msvidc32
1291 enable_mswsock
1292 enable_msxml
1293 enable_msxml2
1294 enable_msxml3
1295 enable_msxml4
1296 enable_msxml6
1297 enable_mtxdm
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netio_sys
1304 enable_netprofm
1305 enable_netutils
1306 enable_newdev
1307 enable_ninput
1308 enable_normaliz
1309 enable_npmshtml
1310 enable_npptools
1311 enable_nsi
1312 enable_nsiproxy_sys
1313 enable_ntdll
1314 enable_ntdsapi
1315 enable_ntoskrnl_exe
1316 enable_ntprint
1317 enable_objsel
1318 enable_odbc32
1319 enable_odbcbcp
1320 enable_odbccp32
1321 enable_odbccu32
1322 enable_ole32
1323 enable_oleacc
1324 enable_oleaut32
1325 enable_olecli32
1326 enable_oledb32
1327 enable_oledlg
1328 enable_olepro32
1329 enable_olesvr32
1330 enable_olethk32
1331 enable_opcservices
1332 enable_opencl
1333 enable_opengl32
1334 enable_packager
1335 enable_pdh
1336 enable_photometadatahandler
1337 enable_pidgen
1338 enable_powrprof
1339 enable_printui
1340 enable_prntvpt
1341 enable_propsys
1342 enable_psapi
1343 enable_pstorec
1344 enable_pwrshplugin
1345 enable_qasf
1346 enable_qcap
1347 enable_qdvd
1348 enable_qedit
1349 enable_qmgr
1350 enable_qmgrprxy
1351 enable_quartz
1352 enable_query
1353 enable_qwave
1354 enable_rasapi32
1355 enable_rasdlg
1356 enable_regapi
1357 enable_resutils
1358 enable_riched20
1359 enable_riched32
1360 enable_rpcrt4
1361 enable_rsabase
1362 enable_rsaenh
1363 enable_rstrtmgr
1364 enable_rtutils
1365 enable_rtworkq
1366 enable_samlib
1367 enable_sane_ds
1368 enable_sapi
1369 enable_sas
1370 enable_scarddlg
1371 enable_scardsvr
1372 enable_sccbase
1373 enable_schannel
1374 enable_schedsvc
1375 enable_scrobj
1376 enable_scrrun
1377 enable_scsiport_sys
1378 enable_sechost
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shcore
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sppc
1398 enable_srclient
1399 enable_srvcli
1400 enable_sspicli
1401 enable_stdole2_tlb
1402 enable_stdole32_tlb
1403 enable_sti
1404 enable_strmdll
1405 enable_svrapi
1406 enable_sxs
1407 enable_t2embed
1408 enable_tapi32
1409 enable_taskschd
1410 enable_tbs
1411 enable_tdh
1412 enable_tdi_sys
1413 enable_threadpoolwinrt
1414 enable_traffic
1415 enable_twain_32
1416 enable_twinapi_appcore
1417 enable_tzres
1418 enable_ucrtbase
1419 enable_uianimation
1420 enable_uiautomationcore
1421 enable_uiribbon
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_utildll
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vcruntime140_1
1441 enable_vdmdbg
1442 enable_version
1443 enable_vga
1444 enable_virtdisk
1445 enable_vssapi
1446 enable_vulkan_1
1447 enable_wbemdisp
1448 enable_wbemprox
1449 enable_wdscore
1450 enable_webservices
1451 enable_websocket
1452 enable_wer
1453 enable_wevtapi
1454 enable_wevtsvc
1455 enable_wiaservc
1456 enable_wimgapi
1457 enable_win32u
1458 enable_windows_devices_enumeration
1459 enable_windows_gaming_input
1460 enable_windows_gaming_ui_gamebar
1461 enable_windows_globalization
1462 enable_windows_media_devices
1463 enable_windows_media_speech
1464 enable_windows_media
1465 enable_windows_networking
1466 enable_windows_perception_stub
1467 enable_windows_system_profile_systemmanufacturers
1468 enable_windows_ui
1469 enable_windowscodecs
1470 enable_windowscodecsext
1471 enable_winealsa_drv
1472 enable_wineandroid_drv
1473 enable_winebus_sys
1474 enable_winecoreaudio_drv
1475 enable_winecrt0
1476 enable_wined3d
1477 enable_winegstreamer
1478 enable_winehid_sys
1479 enable_winemac_drv
1480 enable_winemapi
1481 enable_wineoss_drv
1482 enable_wineps_drv
1483 enable_winepulse_drv
1484 enable_wineusb_sys
1485 enable_winevulkan
1486 enable_winewayland_drv
1487 enable_winex11_drv
1488 enable_winexinput_sys
1489 enable_wing32
1490 enable_winhttp
1491 enable_wininet
1492 enable_winmm
1493 enable_winnls32
1494 enable_winprint
1495 enable_winscard
1496 enable_winspool_drv
1497 enable_winsta
1498 enable_wintab32
1499 enable_wintrust
1500 enable_wintypes
1501 enable_winusb
1502 enable_wlanapi
1503 enable_wlanui
1504 enable_wldap32
1505 enable_wmasf
1506 enable_wmi
1507 enable_wmiutils
1508 enable_wmp
1509 enable_wmphoto
1510 enable_wmvcore
1511 enable_wnaspi32
1512 enable_wofutil
1513 enable_wow64
1514 enable_wow64cpu
1515 enable_wow64win
1516 enable_wpc
1517 enable_wpcap
1518 enable_ws2_32
1519 enable_wsdapi
1520 enable_wshom_ocx
1521 enable_wsnmp32
1522 enable_wsock32
1523 enable_wtsapi32
1524 enable_wuapi
1525 enable_wuaueng
1526 enable_x3daudio1_0
1527 enable_x3daudio1_1
1528 enable_x3daudio1_2
1529 enable_x3daudio1_3
1530 enable_x3daudio1_4
1531 enable_x3daudio1_5
1532 enable_x3daudio1_6
1533 enable_x3daudio1_7
1534 enable_xactengine2_0
1535 enable_xactengine2_4
1536 enable_xactengine2_7
1537 enable_xactengine2_9
1538 enable_xactengine3_0
1539 enable_xactengine3_1
1540 enable_xactengine3_2
1541 enable_xactengine3_3
1542 enable_xactengine3_4
1543 enable_xactengine3_5
1544 enable_xactengine3_6
1545 enable_xactengine3_7
1546 enable_xapofx1_1
1547 enable_xapofx1_2
1548 enable_xapofx1_3
1549 enable_xapofx1_4
1550 enable_xapofx1_5
1551 enable_xaudio2_0
1552 enable_xaudio2_1
1553 enable_xaudio2_2
1554 enable_xaudio2_3
1555 enable_xaudio2_4
1556 enable_xaudio2_5
1557 enable_xaudio2_6
1558 enable_xaudio2_7
1559 enable_xaudio2_8
1560 enable_xaudio2_9
1561 enable_xinput1_1
1562 enable_xinput1_2
1563 enable_xinput1_3
1564 enable_xinput1_4
1565 enable_xinput9_1_0
1566 enable_xinputuap
1567 enable_xmllite
1568 enable_xolehlp
1569 enable_xpsprint
1570 enable_xpssvcs
1571 enable_fonts
1572 enable_include
1573 enable_adsiid
1574 enable_dmoguids
1575 enable_dxerr8
1576 enable_dxerr9
1577 enable_dxguid
1578 enable_faudio
1579 enable_gsm
1580 enable_jpeg
1581 enable_jxr
1582 enable_lcms2
1583 enable_ldap
1584 enable_mfuuid
1585 enable_mpg123
1586 enable_musl
1587 enable_png
1588 enable_strmbase
1589 enable_strmiids
1590 enable_tiff
1591 enable_uuid
1592 enable_vkd3d
1593 enable_wbemuuid
1594 enable_wmcodecdspuuid
1595 enable_xml2
1596 enable_xslt
1597 enable_zlib
1598 enable_zydis
1599 enable_loader
1600 enable_nls
1601 enable_po
1602 enable_arp
1603 enable_aspnet_regiis
1604 enable_attrib
1605 enable_cabarc
1606 enable_cacls
1607 enable_certutil
1608 enable_chcp_com
1609 enable_clock
1610 enable_cmd
1611 enable_conhost
1612 enable_control
1613 enable_cscript
1614 enable_dism
1615 enable_dllhost
1616 enable_dplaysvr
1617 enable_dpnsvr
1618 enable_dpvsetup
1619 enable_dxdiag
1620 enable_eject
1621 enable_expand
1622 enable_explorer
1623 enable_extrac32
1624 enable_fc
1625 enable_find
1626 enable_findstr
1627 enable_fsutil
1628 enable_hh
1629 enable_hostname
1630 enable_icacls
1631 enable_icinfo
1632 enable_iexplore
1633 enable_ipconfig
1634 enable_lodctr
1635 enable_mofcomp
1636 enable_mshta
1637 enable_msidb
1638 enable_msiexec
1639 enable_msinfo32
1640 enable_net
1641 enable_netsh
1642 enable_netstat
1643 enable_ngen
1644 enable_notepad
1645 enable_oleview
1646 enable_ping
1647 enable_plugplay
1648 enable_powershell
1649 enable_presentationfontcache
1650 enable_progman
1651 enable_reg
1652 enable_regasm
1653 enable_regedit
1654 enable_regini
1655 enable_regsvcs
1656 enable_regsvr32
1657 enable_robocopy
1658 enable_rpcss
1659 enable_rundll32
1660 enable_sc
1661 enable_schtasks
1662 enable_sdbinst
1663 enable_secedit
1664 enable_servicemodelreg
1665 enable_services
1666 enable_setx
1667 enable_shutdown
1668 enable_spoolsv
1669 enable_start
1670 enable_subst
1671 enable_svchost
1672 enable_systeminfo
1673 enable_taskkill
1674 enable_tasklist
1675 enable_taskmgr
1676 enable_termsv
1677 enable_uninstaller
1678 enable_unlodctr
1679 enable_view
1680 enable_wevtutil
1681 enable_where
1682 enable_whoami
1683 enable_wineboot
1684 enable_winebrowser
1685 enable_winecfg
1686 enable_wineconsole
1687 enable_winedbg
1688 enable_winedevice
1689 enable_winefile
1690 enable_winemenubuilder
1691 enable_winemine
1692 enable_winemsibuilder
1693 enable_winepath
1694 enable_winetest
1695 enable_winhlp32
1696 enable_winmgmt
1697 enable_winver
1698 enable_wmic
1699 enable_wmplayer
1700 enable_wordpad
1701 enable_write
1702 enable_wscript
1703 enable_wuauserv
1704 enable_wusa
1705 enable_xcopy
1706 enable_server
1707 enable_tools
1708 enable_sfnt2fon
1709 enable_widl
1710 enable_winebuild
1711 enable_winedump
1712 enable_winegcc
1713 enable_winemaker
1714 enable_wmc
1715 enable_wrc
1717 ac_precious_vars='build_alias
1718 host_alias
1719 target_alias
1721 CFLAGS
1722 LDFLAGS
1723 LIBS
1724 CPPFLAGS
1726 CXXFLAGS
1728 OBJC
1729 OBJCFLAGS
1730 FAUDIO_PE_CFLAGS
1731 FAUDIO_PE_LIBS
1732 GSM_PE_CFLAGS
1733 GSM_PE_LIBS
1734 JPEG_PE_CFLAGS
1735 JPEG_PE_LIBS
1736 JXR_PE_CFLAGS
1737 JXR_PE_LIBS
1738 LCMS2_PE_CFLAGS
1739 LCMS2_PE_LIBS
1740 LDAP_PE_CFLAGS
1741 LDAP_PE_LIBS
1742 MPG123_PE_CFLAGS
1743 MPG123_PE_LIBS
1744 MUSL_PE_CFLAGS
1745 MUSL_PE_LIBS
1746 PNG_PE_CFLAGS
1747 PNG_PE_LIBS
1748 TIFF_PE_CFLAGS
1749 TIFF_PE_LIBS
1750 VKD3D_PE_CFLAGS
1751 VKD3D_PE_LIBS
1752 XML2_PE_CFLAGS
1753 XML2_PE_LIBS
1754 XSLT_PE_CFLAGS
1755 XSLT_PE_LIBS
1756 ZLIB_PE_CFLAGS
1757 ZLIB_PE_LIBS
1758 ZYDIS_PE_CFLAGS
1759 ZYDIS_PE_LIBS
1760 XMKMF
1762 WAYLAND_CLIENT_CFLAGS
1763 WAYLAND_CLIENT_LIBS
1764 INOTIFY_CFLAGS
1765 INOTIFY_LIBS
1766 DBUS_CFLAGS
1767 DBUS_LIBS
1768 GNUTLS_CFLAGS
1769 GNUTLS_LIBS
1770 SANE_CFLAGS
1771 SANE_LIBS
1772 USB_CFLAGS
1773 USB_LIBS
1774 GPHOTO2_CFLAGS
1775 GPHOTO2_LIBS
1776 GPHOTO2_PORT_CFLAGS
1777 GPHOTO2_PORT_LIBS
1778 FREETYPE_CFLAGS
1779 FREETYPE_LIBS
1780 PULSE_CFLAGS
1781 PULSE_LIBS
1782 GSTREAMER_CFLAGS
1783 GSTREAMER_LIBS
1784 UDEV_CFLAGS
1785 UDEV_LIBS
1786 UNWIND_CFLAGS
1787 UNWIND_LIBS
1788 SDL2_CFLAGS
1789 SDL2_LIBS
1790 CAPI20_CFLAGS
1791 CAPI20_LIBS
1792 CUPS_CFLAGS
1793 CUPS_LIBS
1794 FONTCONFIG_CFLAGS
1795 FONTCONFIG_LIBS
1796 KRB5_CFLAGS
1797 KRB5_LIBS
1798 GSSAPI_CFLAGS
1799 GSSAPI_LIBS
1800 NETAPI_CFLAGS
1801 NETAPI_LIBS'
1804 # Initialize some variables set by options.
1805 ac_init_help=
1806 ac_init_version=false
1807 ac_unrecognized_opts=
1808 ac_unrecognized_sep=
1809 # The variables have the same names as the options, with
1810 # dashes changed to underlines.
1811 cache_file=/dev/null
1812 exec_prefix=NONE
1813 no_create=
1814 no_recursion=
1815 prefix=NONE
1816 program_prefix=NONE
1817 program_suffix=NONE
1818 program_transform_name=s,x,x,
1819 silent=
1820 site=
1821 srcdir=
1822 verbose=
1823 x_includes=NONE
1824 x_libraries=NONE
1826 # Installation directory options.
1827 # These are left unexpanded so users can "make install exec_prefix=/foo"
1828 # and all the variables that are supposed to be based on exec_prefix
1829 # by default will actually change.
1830 # Use braces instead of parens because sh, perl, etc. also accept them.
1831 # (The list follows the same order as the GNU Coding Standards.)
1832 bindir='${exec_prefix}/bin'
1833 sbindir='${exec_prefix}/sbin'
1834 libexecdir='${exec_prefix}/libexec'
1835 datarootdir='${prefix}/share'
1836 datadir='${datarootdir}'
1837 sysconfdir='${prefix}/etc'
1838 sharedstatedir='${prefix}/com'
1839 localstatedir='${prefix}/var'
1840 runstatedir='${localstatedir}/run'
1841 includedir='${prefix}/include'
1842 oldincludedir='/usr/include'
1843 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1844 infodir='${datarootdir}/info'
1845 htmldir='${docdir}'
1846 dvidir='${docdir}'
1847 pdfdir='${docdir}'
1848 psdir='${docdir}'
1849 libdir='${exec_prefix}/lib'
1850 localedir='${datarootdir}/locale'
1851 mandir='${datarootdir}/man'
1853 ac_prev=
1854 ac_dashdash=
1855 for ac_option
1857 # If the previous option needs an argument, assign it.
1858 if test -n "$ac_prev"; then
1859 eval $ac_prev=\$ac_option
1860 ac_prev=
1861 continue
1864 case $ac_option in
1865 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1866 *=) ac_optarg= ;;
1867 *) ac_optarg=yes ;;
1868 esac
1870 case $ac_dashdash$ac_option in
1872 ac_dashdash=yes ;;
1874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1875 ac_prev=bindir ;;
1876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1877 bindir=$ac_optarg ;;
1879 -build | --build | --buil | --bui | --bu)
1880 ac_prev=build_alias ;;
1881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1882 build_alias=$ac_optarg ;;
1884 -cache-file | --cache-file | --cache-fil | --cache-fi \
1885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1886 ac_prev=cache_file ;;
1887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1889 cache_file=$ac_optarg ;;
1891 --config-cache | -C)
1892 cache_file=config.cache ;;
1894 -datadir | --datadir | --datadi | --datad)
1895 ac_prev=datadir ;;
1896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1897 datadir=$ac_optarg ;;
1899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1900 | --dataroo | --dataro | --datar)
1901 ac_prev=datarootdir ;;
1902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1904 datarootdir=$ac_optarg ;;
1906 -disable-* | --disable-*)
1907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1910 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1911 ac_useropt_orig=$ac_useropt
1912 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "enable_$ac_useropt"
1916 "*) ;;
1917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1918 ac_unrecognized_sep=', ';;
1919 esac
1920 eval enable_$ac_useropt=no ;;
1922 -docdir | --docdir | --docdi | --doc | --do)
1923 ac_prev=docdir ;;
1924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1925 docdir=$ac_optarg ;;
1927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1928 ac_prev=dvidir ;;
1929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1930 dvidir=$ac_optarg ;;
1932 -enable-* | --enable-*)
1933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1936 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1937 ac_useropt_orig=$ac_useropt
1938 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "enable_$ac_useropt"
1942 "*) ;;
1943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1944 ac_unrecognized_sep=', ';;
1945 esac
1946 eval enable_$ac_useropt=\$ac_optarg ;;
1948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1950 | --exec | --exe | --ex)
1951 ac_prev=exec_prefix ;;
1952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1954 | --exec=* | --exe=* | --ex=*)
1955 exec_prefix=$ac_optarg ;;
1957 -gas | --gas | --ga | --g)
1958 # Obsolete; use --with-gas.
1959 with_gas=yes ;;
1961 -help | --help | --hel | --he | -h)
1962 ac_init_help=long ;;
1963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1964 ac_init_help=recursive ;;
1965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1966 ac_init_help=short ;;
1968 -host | --host | --hos | --ho)
1969 ac_prev=host_alias ;;
1970 -host=* | --host=* | --hos=* | --ho=*)
1971 host_alias=$ac_optarg ;;
1973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1974 ac_prev=htmldir ;;
1975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1976 | --ht=*)
1977 htmldir=$ac_optarg ;;
1979 -includedir | --includedir | --includedi | --included | --include \
1980 | --includ | --inclu | --incl | --inc)
1981 ac_prev=includedir ;;
1982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1983 | --includ=* | --inclu=* | --incl=* | --inc=*)
1984 includedir=$ac_optarg ;;
1986 -infodir | --infodir | --infodi | --infod | --info | --inf)
1987 ac_prev=infodir ;;
1988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1989 infodir=$ac_optarg ;;
1991 -libdir | --libdir | --libdi | --libd)
1992 ac_prev=libdir ;;
1993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1994 libdir=$ac_optarg ;;
1996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1997 | --libexe | --libex | --libe)
1998 ac_prev=libexecdir ;;
1999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2000 | --libexe=* | --libex=* | --libe=*)
2001 libexecdir=$ac_optarg ;;
2003 -localedir | --localedir | --localedi | --localed | --locale)
2004 ac_prev=localedir ;;
2005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2006 localedir=$ac_optarg ;;
2008 -localstatedir | --localstatedir | --localstatedi | --localstated \
2009 | --localstate | --localstat | --localsta | --localst | --locals)
2010 ac_prev=localstatedir ;;
2011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2013 localstatedir=$ac_optarg ;;
2015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2016 ac_prev=mandir ;;
2017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2018 mandir=$ac_optarg ;;
2020 -nfp | --nfp | --nf)
2021 # Obsolete; use --without-fp.
2022 with_fp=no ;;
2024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2025 | --no-cr | --no-c | -n)
2026 no_create=yes ;;
2028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2030 no_recursion=yes ;;
2032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2034 | --oldin | --oldi | --old | --ol | --o)
2035 ac_prev=oldincludedir ;;
2036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2039 oldincludedir=$ac_optarg ;;
2041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2042 ac_prev=prefix ;;
2043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2044 prefix=$ac_optarg ;;
2046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2047 | --program-pre | --program-pr | --program-p)
2048 ac_prev=program_prefix ;;
2049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2051 program_prefix=$ac_optarg ;;
2053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2054 | --program-suf | --program-su | --program-s)
2055 ac_prev=program_suffix ;;
2056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2058 program_suffix=$ac_optarg ;;
2060 -program-transform-name | --program-transform-name \
2061 | --program-transform-nam | --program-transform-na \
2062 | --program-transform-n | --program-transform- \
2063 | --program-transform | --program-transfor \
2064 | --program-transfo | --program-transf \
2065 | --program-trans | --program-tran \
2066 | --progr-tra | --program-tr | --program-t)
2067 ac_prev=program_transform_name ;;
2068 -program-transform-name=* | --program-transform-name=* \
2069 | --program-transform-nam=* | --program-transform-na=* \
2070 | --program-transform-n=* | --program-transform-=* \
2071 | --program-transform=* | --program-transfor=* \
2072 | --program-transfo=* | --program-transf=* \
2073 | --program-trans=* | --program-tran=* \
2074 | --progr-tra=* | --program-tr=* | --program-t=*)
2075 program_transform_name=$ac_optarg ;;
2077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2078 ac_prev=pdfdir ;;
2079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2080 pdfdir=$ac_optarg ;;
2082 -psdir | --psdir | --psdi | --psd | --ps)
2083 ac_prev=psdir ;;
2084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2085 psdir=$ac_optarg ;;
2087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2088 | -silent | --silent | --silen | --sile | --sil)
2089 silent=yes ;;
2091 -runstatedir | --runstatedir | --runstatedi | --runstated \
2092 | --runstate | --runstat | --runsta | --runst | --runs \
2093 | --run | --ru | --r)
2094 ac_prev=runstatedir ;;
2095 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2096 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2097 | --run=* | --ru=* | --r=*)
2098 runstatedir=$ac_optarg ;;
2100 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2101 ac_prev=sbindir ;;
2102 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2103 | --sbi=* | --sb=*)
2104 sbindir=$ac_optarg ;;
2106 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2107 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2108 | --sharedst | --shareds | --shared | --share | --shar \
2109 | --sha | --sh)
2110 ac_prev=sharedstatedir ;;
2111 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2112 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2113 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2114 | --sha=* | --sh=*)
2115 sharedstatedir=$ac_optarg ;;
2117 -site | --site | --sit)
2118 ac_prev=site ;;
2119 -site=* | --site=* | --sit=*)
2120 site=$ac_optarg ;;
2122 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2123 ac_prev=srcdir ;;
2124 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2125 srcdir=$ac_optarg ;;
2127 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2128 | --syscon | --sysco | --sysc | --sys | --sy)
2129 ac_prev=sysconfdir ;;
2130 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2131 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2132 sysconfdir=$ac_optarg ;;
2134 -target | --target | --targe | --targ | --tar | --ta | --t)
2135 ac_prev=target_alias ;;
2136 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2137 target_alias=$ac_optarg ;;
2139 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2140 verbose=yes ;;
2142 -version | --version | --versio | --versi | --vers | -V)
2143 ac_init_version=: ;;
2145 -with-* | --with-*)
2146 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2147 # Reject names that are not valid shell variable names.
2148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2149 as_fn_error $? "invalid package name: \`$ac_useropt'"
2150 ac_useropt_orig=$ac_useropt
2151 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2152 case $ac_user_opts in
2154 "with_$ac_useropt"
2155 "*) ;;
2156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2157 ac_unrecognized_sep=', ';;
2158 esac
2159 eval with_$ac_useropt=\$ac_optarg ;;
2161 -without-* | --without-*)
2162 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2165 as_fn_error $? "invalid package name: \`$ac_useropt'"
2166 ac_useropt_orig=$ac_useropt
2167 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2170 "with_$ac_useropt"
2171 "*) ;;
2172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2173 ac_unrecognized_sep=', ';;
2174 esac
2175 eval with_$ac_useropt=no ;;
2177 --x)
2178 # Obsolete; use --with-x.
2179 with_x=yes ;;
2181 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2182 | --x-incl | --x-inc | --x-in | --x-i)
2183 ac_prev=x_includes ;;
2184 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2185 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2186 x_includes=$ac_optarg ;;
2188 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2189 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2190 ac_prev=x_libraries ;;
2191 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2192 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2193 x_libraries=$ac_optarg ;;
2195 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2196 Try \`$0 --help' for more information"
2199 *=*)
2200 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2201 # Reject names that are not valid shell variable names.
2202 case $ac_envvar in #(
2203 '' | [0-9]* | *[!_$as_cr_alnum]* )
2204 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2205 esac
2206 eval $ac_envvar=\$ac_optarg
2207 export $ac_envvar ;;
2210 # FIXME: should be removed in autoconf 3.0.
2211 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2212 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2213 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2214 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2217 esac
2218 done
2220 if test -n "$ac_prev"; then
2221 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2222 as_fn_error $? "missing argument to $ac_option"
2225 if test -n "$ac_unrecognized_opts"; then
2226 case $enable_option_checking in
2227 no) ;;
2228 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2229 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2230 esac
2233 # Check all directory arguments for consistency.
2234 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2235 datadir sysconfdir sharedstatedir localstatedir includedir \
2236 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2237 libdir localedir mandir runstatedir
2239 eval ac_val=\$$ac_var
2240 # Remove trailing slashes.
2241 case $ac_val in
2242 */ )
2243 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2244 eval $ac_var=\$ac_val;;
2245 esac
2246 # Be sure to have absolute directory names.
2247 case $ac_val in
2248 [\\/$]* | ?:[\\/]* ) continue;;
2249 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2250 esac
2251 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2252 done
2254 # There might be people who depend on the old broken behavior: `$host'
2255 # used to hold the argument of --host etc.
2256 # FIXME: To remove some day.
2257 build=$build_alias
2258 host=$host_alias
2259 target=$target_alias
2261 # FIXME: To remove some day.
2262 if test "x$host_alias" != x; then
2263 if test "x$build_alias" = x; then
2264 cross_compiling=maybe
2265 elif test "x$build_alias" != "x$host_alias"; then
2266 cross_compiling=yes
2270 ac_tool_prefix=
2271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2273 test "$silent" = yes && exec 6>/dev/null
2276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2277 ac_ls_di=`ls -di .` &&
2278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2279 as_fn_error $? "working directory cannot be determined"
2280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2281 as_fn_error $? "pwd does not report name of working directory"
2284 # Find the source files, if location was not specified.
2285 if test -z "$srcdir"; then
2286 ac_srcdir_defaulted=yes
2287 # Try the directory containing this script, then the parent directory.
2288 ac_confdir=`$as_dirname -- "$as_myself" ||
2289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2290 X"$as_myself" : 'X\(//\)[^/]' \| \
2291 X"$as_myself" : 'X\(//\)$' \| \
2292 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2293 printf "%s\n" X"$as_myself" |
2294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2295 s//\1/
2298 /^X\(\/\/\)[^/].*/{
2299 s//\1/
2302 /^X\(\/\/\)$/{
2303 s//\1/
2306 /^X\(\/\).*/{
2307 s//\1/
2310 s/.*/./; q'`
2311 srcdir=$ac_confdir
2312 if test ! -r "$srcdir/$ac_unique_file"; then
2313 srcdir=..
2315 else
2316 ac_srcdir_defaulted=no
2318 if test ! -r "$srcdir/$ac_unique_file"; then
2319 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2320 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2323 ac_abs_confdir=`(
2324 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2325 pwd)`
2326 # When building in place, set srcdir=.
2327 if test "$ac_abs_confdir" = "$ac_pwd"; then
2328 srcdir=.
2330 # Remove unnecessary trailing slashes from srcdir.
2331 # Double slashes in file names in object file debugging info
2332 # mess up M-x gdb in Emacs.
2333 case $srcdir in
2334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2335 esac
2336 for ac_var in $ac_precious_vars; do
2337 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2338 eval ac_env_${ac_var}_value=\$${ac_var}
2339 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2340 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2341 done
2344 # Report the --help message.
2346 if test "$ac_init_help" = "long"; then
2347 # Omit some internal or obsolete options to make the list less imposing.
2348 # This message is too long to be a string in the A/UX 3.1 sh.
2349 cat <<_ACEOF
2350 \`configure' configures Wine 8.10 to adapt to many kinds of systems.
2352 Usage: $0 [OPTION]... [VAR=VALUE]...
2354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2355 VAR=VALUE. See below for descriptions of some of the useful variables.
2357 Defaults for the options are specified in brackets.
2359 Configuration:
2360 -h, --help display this help and exit
2361 --help=short display options specific to this package
2362 --help=recursive display the short help of all the included packages
2363 -V, --version display version information and exit
2364 -q, --quiet, --silent do not print \`checking ...' messages
2365 --cache-file=FILE cache test results in FILE [disabled]
2366 -C, --config-cache alias for \`--cache-file=config.cache'
2367 -n, --no-create do not create output files
2368 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2370 Installation directories:
2371 --prefix=PREFIX install architecture-independent files in PREFIX
2372 [$ac_default_prefix]
2373 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2374 [PREFIX]
2376 By default, \`make install' will install all the files in
2377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2379 for instance \`--prefix=\$HOME'.
2381 For better control, use the options below.
2383 Fine tuning of the installation directories:
2384 --bindir=DIR user executables [EPREFIX/bin]
2385 --sbindir=DIR system admin executables [EPREFIX/sbin]
2386 --libexecdir=DIR program executables [EPREFIX/libexec]
2387 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2388 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2389 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2390 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2391 --libdir=DIR object code libraries [EPREFIX/lib]
2392 --includedir=DIR C header files [PREFIX/include]
2393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2396 --infodir=DIR info documentation [DATAROOTDIR/info]
2397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2398 --mandir=DIR man documentation [DATAROOTDIR/man]
2399 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2400 --htmldir=DIR html documentation [DOCDIR]
2401 --dvidir=DIR dvi documentation [DOCDIR]
2402 --pdfdir=DIR pdf documentation [DOCDIR]
2403 --psdir=DIR ps documentation [DOCDIR]
2404 _ACEOF
2406 cat <<\_ACEOF
2408 X features:
2409 --x-includes=DIR X include files are in DIR
2410 --x-libraries=DIR X library files are in DIR
2412 System types:
2413 --build=BUILD configure for building on BUILD [guessed]
2414 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2415 _ACEOF
2418 if test -n "$ac_init_help"; then
2419 case $ac_init_help in
2420 short | recursive ) echo "Configuration of Wine 8.10:";;
2421 esac
2422 cat <<\_ACEOF
2424 Optional Features:
2425 --disable-option-checking ignore unrecognized --enable/--with options
2426 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2427 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2428 --enable-archs={i386,x86_64,arm,aarch64}
2429 enable multiple architectures for PE compilation
2430 --disable-win16 do not include Win16 support
2431 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2432 binaries)
2433 --disable-tests do not build the regression tests
2434 --enable-build-id include .buildid section in output objects
2435 --enable-maintainer-mode
2436 enable maintainer-specific build rules
2437 --enable-silent-rules use silent build rules (override: "make V=1")
2438 --enable-werror treat compilation warnings as errors
2439 --disable-largefile omit support for large files
2441 Optional Packages:
2442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2444 --without-alsa do not use the Alsa sound support
2445 --without-capi do not use CAPI (ISDN support)
2446 --without-coreaudio do not use the CoreAudio sound support
2447 --without-cups do not use CUPS
2448 --without-dbus do not use DBus (dynamic device support)
2449 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2450 --without-fontconfig do not use fontconfig
2451 --without-freetype do not use the FreeType library
2452 --without-gettext do not use gettext
2453 --with-gettextpo use the GetTextPO library to rebuild po files
2454 --without-gphoto do not use gphoto (Digital Camera support)
2455 --without-gnutls do not use GnuTLS (schannel support)
2456 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2457 --without-gstreamer do not use GStreamer (codecs support)
2458 --without-inotify do not use inotify (filesystem change notifications)
2459 --without-krb5 do not use krb5 (Kerberos)
2460 --without-mingw do not use the MinGW cross-compiler
2461 --without-netapi do not use the Samba NetAPI library
2462 --without-opencl do not use OpenCL
2463 --without-opengl do not use OpenGL
2464 --without-osmesa do not use the OSMesa library
2465 --without-oss do not use the OSS sound support
2466 --without-pcap do not use the Packet Capture library
2467 --without-pcsclite do not use PCSC lite
2468 --without-pthread do not use the pthread library
2469 --without-pulse do not use PulseAudio sound support
2470 --without-sane do not use SANE (scanner support)
2471 --without-sdl do not use SDL
2472 --without-udev do not use udev (plug and play support)
2473 --without-unwind do not use the libunwind library (exception
2474 handling)
2475 --without-usb do not use the libusb library
2476 --without-v4l2 do not use v4l2 (video capture)
2477 --without-vulkan do not use Vulkan
2478 --without-wayland do not build the Wayland driver
2479 --without-xcomposite do not use the Xcomposite extension
2480 --without-xcursor do not use the Xcursor extension
2481 --without-xfixes do not use Xfixes for clipboard change notifications
2482 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2483 --without-xinput do not use the Xinput extension
2484 --without-xinput2 do not use the Xinput 2 extension
2485 --without-xrandr do not use Xrandr (multi-monitor support)
2486 --without-xrender do not use the Xrender extension
2487 --without-xshape do not use the Xshape extension
2488 --without-xshm do not use XShm (shared memory extension)
2489 --without-xxf86vm do not use XFree video mode extension
2490 --with-system-dllpath=PATH
2491 load external PE dependencies from colon-separated
2492 path PATH
2493 --with-wine-tools=DIR use Wine tools from directory DIR
2494 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2495 --with-x use the X Window System
2497 Some influential environment variables:
2498 CC C compiler command
2499 CFLAGS C compiler flags
2500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2501 nonstandard directory <lib dir>
2502 LIBS libraries to pass to the linker, e.g. -l<library>
2503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2504 you have headers in a nonstandard directory <include dir>
2505 CXX C++ compiler command
2506 CXXFLAGS C++ compiler flags
2507 OBJC Objective C compiler command
2508 OBJCFLAGS Objective C compiler flags
2509 FAUDIO_PE_CFLAGS
2510 C compiler flags for the PE faudio, overriding the bundled
2511 version
2512 FAUDIO_PE_LIBS
2513 Linker flags for the PE faudio, overriding the bundled version
2514 GSM_PE_CFLAGS
2515 C compiler flags for the PE gsm, overriding the bundled version
2516 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2517 JPEG_PE_CFLAGS
2518 C compiler flags for the PE jpeg, overriding the bundled version
2519 JPEG_PE_LIBS
2520 Linker flags for the PE jpeg, overriding the bundled version
2521 JXR_PE_CFLAGS
2522 C compiler flags for the PE jxr, overriding the bundled version
2523 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2524 LCMS2_PE_CFLAGS
2525 C compiler flags for the PE lcms2, overriding the bundled
2526 version
2527 LCMS2_PE_LIBS
2528 Linker flags for the PE lcms2, overriding the bundled version
2529 LDAP_PE_CFLAGS
2530 C compiler flags for the PE ldap, overriding the bundled version
2531 LDAP_PE_LIBS
2532 Linker flags for the PE ldap, overriding the bundled version
2533 MPG123_PE_CFLAGS
2534 C compiler flags for the PE mpg123, overriding the bundled
2535 version
2536 MPG123_PE_LIBS
2537 Linker flags for the PE mpg123, overriding the bundled version
2538 MUSL_PE_CFLAGS
2539 C compiler flags for the PE musl, overriding the bundled version
2540 MUSL_PE_LIBS
2541 Linker flags for the PE musl, overriding the bundled version
2542 PNG_PE_CFLAGS
2543 C compiler flags for the PE png, overriding the bundled version
2544 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2545 TIFF_PE_CFLAGS
2546 C compiler flags for the PE tiff, overriding the bundled version
2547 TIFF_PE_LIBS
2548 Linker flags for the PE tiff, overriding the bundled version
2549 VKD3D_PE_CFLAGS
2550 C compiler flags for the PE vkd3d, overriding the bundled
2551 version
2552 VKD3D_PE_LIBS
2553 Linker flags for the PE vkd3d, overriding the bundled version
2554 XML2_PE_CFLAGS
2555 C compiler flags for the PE xml2, overriding the bundled version
2556 XML2_PE_LIBS
2557 Linker flags for the PE xml2, overriding the bundled version
2558 XSLT_PE_CFLAGS
2559 C compiler flags for the PE xslt, overriding the bundled version
2560 XSLT_PE_LIBS
2561 Linker flags for the PE xslt, overriding the bundled version
2562 ZLIB_PE_CFLAGS
2563 C compiler flags for the PE zlib, overriding the bundled version
2564 ZLIB_PE_LIBS
2565 Linker flags for the PE zlib, overriding the bundled version
2566 ZYDIS_PE_CFLAGS
2567 C compiler flags for the PE zydis, overriding the bundled
2568 version
2569 ZYDIS_PE_LIBS
2570 Linker flags for the PE zydis, overriding the bundled version
2571 XMKMF Path to xmkmf, Makefile generator for X Window System
2572 CPP C preprocessor
2573 WAYLAND_CLIENT_CFLAGS
2574 C compiler flags for wayland-client, overriding pkg-config
2575 WAYLAND_CLIENT_LIBS
2576 Linker flags for wayland-client, overriding pkg-config
2577 INOTIFY_CFLAGS
2578 C compiler flags for libinotify, overriding pkg-config
2579 INOTIFY_LIBS
2580 Linker flags for libinotify, overriding pkg-config
2581 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2582 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2583 GNUTLS_CFLAGS
2584 C compiler flags for gnutls, overriding pkg-config
2585 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2586 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2587 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2588 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2589 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2590 GPHOTO2_CFLAGS
2591 C compiler flags for libgphoto2, overriding pkg-config
2592 GPHOTO2_LIBS
2593 Linker flags for libgphoto2, overriding pkg-config
2594 GPHOTO2_PORT_CFLAGS
2595 C compiler flags for libgphoto2_port, overriding pkg-config
2596 GPHOTO2_PORT_LIBS
2597 Linker flags for libgphoto2_port, overriding pkg-config
2598 FREETYPE_CFLAGS
2599 C compiler flags for freetype2, overriding pkg-config
2600 FREETYPE_LIBS
2601 Linker flags for freetype2, overriding pkg-config
2602 PULSE_CFLAGS
2603 C compiler flags for libpulse, overriding pkg-config
2604 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2605 GSTREAMER_CFLAGS
2606 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2607 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2608 GSTREAMER_LIBS
2609 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2610 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2611 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2612 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2613 UNWIND_CFLAGS
2614 C compiler flags for libunwind, overriding pkg-config
2615 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2616 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2617 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2618 CAPI20_CFLAGS
2619 C compiler flags for capi20, overriding pkg-config
2620 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2621 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2622 CUPS_LIBS Linker flags for cups, overriding pkg-config
2623 FONTCONFIG_CFLAGS
2624 C compiler flags for fontconfig, overriding pkg-config
2625 FONTCONFIG_LIBS
2626 Linker flags for fontconfig, overriding pkg-config
2627 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2628 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2629 GSSAPI_CFLAGS
2630 C compiler flags for krb5-gssapi, overriding pkg-config
2631 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2632 NETAPI_CFLAGS
2633 C compiler flags for netapi, overriding pkg-config
2634 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2636 Use these variables to override the choices made by `configure' or to help
2637 it to find libraries and programs with nonstandard names/locations.
2639 Report bugs to <wine-devel@winehq.org>.
2640 Wine home page: <https://www.winehq.org>.
2641 _ACEOF
2642 ac_status=$?
2645 if test "$ac_init_help" = "recursive"; then
2646 # If there are subdirs, report their specific --help.
2647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2648 test -d "$ac_dir" ||
2649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2650 continue
2651 ac_builddir=.
2653 case "$ac_dir" in
2654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2656 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2657 # A ".." for each directory in $ac_dir_suffix.
2658 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2659 case $ac_top_builddir_sub in
2660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2662 esac ;;
2663 esac
2664 ac_abs_top_builddir=$ac_pwd
2665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2666 # for backward compatibility:
2667 ac_top_builddir=$ac_top_build_prefix
2669 case $srcdir in
2670 .) # We are building in place.
2671 ac_srcdir=.
2672 ac_top_srcdir=$ac_top_builddir_sub
2673 ac_abs_top_srcdir=$ac_pwd ;;
2674 [\\/]* | ?:[\\/]* ) # Absolute name.
2675 ac_srcdir=$srcdir$ac_dir_suffix;
2676 ac_top_srcdir=$srcdir
2677 ac_abs_top_srcdir=$srcdir ;;
2678 *) # Relative name.
2679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2680 ac_top_srcdir=$ac_top_build_prefix$srcdir
2681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2682 esac
2683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2685 cd "$ac_dir" || { ac_status=$?; continue; }
2686 # Check for configure.gnu first; this name is used for a wrapper for
2687 # Metaconfig's "Configure" on case-insensitive file systems.
2688 if test -f "$ac_srcdir/configure.gnu"; then
2689 echo &&
2690 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2691 elif test -f "$ac_srcdir/configure"; then
2692 echo &&
2693 $SHELL "$ac_srcdir/configure" --help=recursive
2694 else
2695 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2696 fi || ac_status=$?
2697 cd "$ac_pwd" || { ac_status=$?; break; }
2698 done
2701 test -n "$ac_init_help" && exit $ac_status
2702 if $ac_init_version; then
2703 cat <<\_ACEOF
2704 Wine configure 8.10
2705 generated by GNU Autoconf 2.71
2707 Copyright (C) 2021 Free Software Foundation, Inc.
2708 This configure script is free software; the Free Software Foundation
2709 gives unlimited permission to copy, distribute and modify it.
2710 _ACEOF
2711 exit
2714 ## ------------------------ ##
2715 ## Autoconf initialization. ##
2716 ## ------------------------ ##
2718 # ac_fn_c_try_compile LINENO
2719 # --------------------------
2720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 rm -f conftest.$ac_objext conftest.beam
2725 if { { ac_try="$ac_compile"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_compile") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest.$ac_objext
2744 then :
2745 ac_retval=0
2746 else $as_nop
2747 printf "%s\n" "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2750 ac_retval=1
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 as_fn_set_status $ac_retval
2755 } # ac_fn_c_try_compile
2757 # ac_fn_cxx_try_compile LINENO
2758 # ----------------------------
2759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2760 ac_fn_cxx_try_compile ()
2762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763 rm -f conftest.$ac_objext conftest.beam
2764 if { { ac_try="$ac_compile"
2765 case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2768 esac
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 printf "%s\n" "$ac_try_echo"; } >&5
2771 (eval "$ac_compile") 2>conftest.err
2772 ac_status=$?
2773 if test -s conftest.err; then
2774 grep -v '^ *+' conftest.err >conftest.er1
2775 cat conftest.er1 >&5
2776 mv -f conftest.er1 conftest.err
2778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; } && {
2780 test -z "$ac_cxx_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.$ac_objext
2783 then :
2784 ac_retval=0
2785 else $as_nop
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_cxx_try_compile
2796 # ac_fn_c_try_link LINENO
2797 # -----------------------
2798 # Try to link conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_link ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2803 if { { ac_try="$ac_link"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_link") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest$ac_exeext && {
2822 test "$cross_compiling" = yes ||
2823 test -x conftest$ac_exeext
2825 then :
2826 ac_retval=0
2827 else $as_nop
2828 printf "%s\n" "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 ac_retval=1
2833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2835 # interfere with the next link command; also delete a directory that is
2836 # left behind by Apple's compiler. We do this before executing the actions.
2837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 as_fn_set_status $ac_retval
2841 } # ac_fn_c_try_link
2843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2844 # -------------------------------------------------------
2845 # Tests whether HEADER exists and can be compiled using the include files in
2846 # INCLUDES, setting the cache variable VAR accordingly.
2847 ac_fn_c_check_header_compile ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2851 printf %s "checking for $2... " >&6; }
2852 if eval test \${$3+y}
2853 then :
2854 printf %s "(cached) " >&6
2855 else $as_nop
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2859 #include <$2>
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"
2862 then :
2863 eval "$3=yes"
2864 else $as_nop
2865 eval "$3=no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2869 eval ac_res=\$$3
2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 printf "%s\n" "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_header_compile
2876 # ac_fn_objc_try_compile LINENO
2877 # -----------------------------
2878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2879 ac_fn_objc_try_compile ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 rm -f conftest.$ac_objext conftest.beam
2883 if { { ac_try="$ac_compile"
2884 case "(($ac_try" in
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2887 esac
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 printf "%s\n" "$ac_try_echo"; } >&5
2890 (eval "$ac_compile") 2>conftest.err
2891 ac_status=$?
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_objc_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext
2902 then :
2903 ac_retval=0
2904 else $as_nop
2905 printf "%s\n" "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_objc_try_compile
2915 # ac_fn_c_check_func LINENO FUNC VAR
2916 # ----------------------------------
2917 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2918 ac_fn_c_check_func ()
2920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922 printf %s "checking for $2... " >&6; }
2923 if eval test \${$3+y}
2924 then :
2925 printf %s "(cached) " >&6
2926 else $as_nop
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2931 #define $2 innocuous_$2
2933 /* System header to define __stub macros and hopefully few prototypes,
2934 which can conflict with char $2 (); below. */
2936 #include <limits.h>
2937 #undef $2
2939 /* Override any GCC internal prototype to avoid an error.
2940 Use char because int might match the return type of a GCC
2941 builtin and then its argument prototype would still apply. */
2942 #ifdef __cplusplus
2943 extern "C"
2944 #endif
2945 char $2 ();
2946 /* The GNU C library defines this for functions which it implements
2947 to always fail with ENOSYS. Some functions are actually named
2948 something starting with __ and the normal name is an alias. */
2949 #if defined __stub_$2 || defined __stub___$2
2950 choke me
2951 #endif
2954 main (void)
2956 return $2 ();
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_link "$LINENO"
2962 then :
2963 eval "$3=yes"
2964 else $as_nop
2965 eval "$3=no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2968 conftest$ac_exeext conftest.$ac_ext
2970 eval ac_res=\$$3
2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 printf "%s\n" "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_func
2977 # ac_fn_c_try_cpp LINENO
2978 # ----------------------
2979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2980 ac_fn_c_try_cpp ()
2982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2983 if { { ac_try="$ac_cpp conftest.$ac_ext"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 printf "%s\n" "$ac_try_echo"; } >&5
2990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2991 ac_status=$?
2992 if test -s conftest.err; then
2993 grep -v '^ *+' conftest.err >conftest.er1
2994 cat conftest.er1 >&5
2995 mv -f conftest.er1 conftest.err
2997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998 test $ac_status = 0; } > conftest.i && {
2999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3002 then :
3003 ac_retval=0
3004 else $as_nop
3005 printf "%s\n" "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 ac_retval=1
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_c_try_cpp
3015 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3016 # ----------------------------------------------------
3017 # Tries to find if the field MEMBER exists in type AGGR, after including
3018 # INCLUDES, setting cache variable VAR accordingly.
3019 ac_fn_c_check_member ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3023 printf %s "checking for $2.$3... " >&6; }
3024 if eval test \${$4+y}
3025 then :
3026 printf %s "(cached) " >&6
3027 else $as_nop
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3032 main (void)
3034 static $2 ac_aggr;
3035 if (ac_aggr.$3)
3036 return 0;
3038 return 0;
3040 _ACEOF
3041 if ac_fn_c_try_compile "$LINENO"
3042 then :
3043 eval "$4=yes"
3044 else $as_nop
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main (void)
3051 static $2 ac_aggr;
3052 if (sizeof ac_aggr.$3)
3053 return 0;
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"
3059 then :
3060 eval "$4=yes"
3061 else $as_nop
3062 eval "$4=no"
3064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 eval ac_res=\$$4
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3070 printf "%s\n" "$ac_res" >&6; }
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 } # ac_fn_c_check_member
3075 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3076 # -------------------------------------------
3077 # Tests whether TYPE exists after having included INCLUDES, setting cache
3078 # variable VAR accordingly.
3079 ac_fn_c_check_type ()
3081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 printf %s "checking for $2... " >&6; }
3084 if eval test \${$3+y}
3085 then :
3086 printf %s "(cached) " >&6
3087 else $as_nop
3088 eval "$3=no"
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main (void)
3095 if (sizeof ($2))
3096 return 0;
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"
3102 then :
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3107 main (void)
3109 if (sizeof (($2)))
3110 return 0;
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"
3116 then :
3118 else $as_nop
3119 eval "$3=yes"
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 eval ac_res=\$$3
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3127 printf "%s\n" "$ac_res" >&6; }
3128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 } # ac_fn_c_check_type
3131 ac_configure_args_raw=
3132 for ac_arg
3134 case $ac_arg in
3135 *\'*)
3136 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3137 esac
3138 as_fn_append ac_configure_args_raw " '$ac_arg'"
3139 done
3141 case $ac_configure_args_raw in
3142 *$as_nl*)
3143 ac_safe_unquote= ;;
3145 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3146 ac_unsafe_a="$ac_unsafe_z#~"
3147 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3148 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3149 esac
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3155 It was created by Wine $as_me 8.10, which was
3156 generated by GNU Autoconf 2.71. Invocation command line was
3158 $ $0$ac_configure_args_raw
3160 _ACEOF
3161 exec 5>>config.log
3163 cat <<_ASUNAME
3164 ## --------- ##
3165 ## Platform. ##
3166 ## --------- ##
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3185 _ASUNAME
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 for as_dir in $PATH
3190 IFS=$as_save_IFS
3191 case $as_dir in #(((
3192 '') as_dir=./ ;;
3193 */) ;;
3194 *) as_dir=$as_dir/ ;;
3195 esac
3196 printf "%s\n" "PATH: $as_dir"
3197 done
3198 IFS=$as_save_IFS
3200 } >&5
3202 cat >&5 <<_ACEOF
3205 ## ----------- ##
3206 ## Core tests. ##
3207 ## ----------- ##
3209 _ACEOF
3212 # Keep a trace of the command line.
3213 # Strip out --no-create and --no-recursion so they do not pile up.
3214 # Strip out --silent because we don't want to record it for future runs.
3215 # Also quote any args containing shell meta-characters.
3216 # Make two passes to allow for proper duplicate-argument suppression.
3217 ac_configure_args=
3218 ac_configure_args0=
3219 ac_configure_args1=
3220 ac_must_keep_next=false
3221 for ac_pass in 1 2
3223 for ac_arg
3225 case $ac_arg in
3226 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3228 | -silent | --silent | --silen | --sile | --sil)
3229 continue ;;
3230 *\'*)
3231 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3232 esac
3233 case $ac_pass in
3234 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3236 as_fn_append ac_configure_args1 " '$ac_arg'"
3237 if test $ac_must_keep_next = true; then
3238 ac_must_keep_next=false # Got value, back to normal.
3239 else
3240 case $ac_arg in
3241 *=* | --config-cache | -C | -disable-* | --disable-* \
3242 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3243 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3244 | -with-* | --with-* | -without-* | --without-* | --x)
3245 case "$ac_configure_args0 " in
3246 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3247 esac
3249 -* ) ac_must_keep_next=true ;;
3250 esac
3252 as_fn_append ac_configure_args " '$ac_arg'"
3254 esac
3255 done
3256 done
3257 { ac_configure_args0=; unset ac_configure_args0;}
3258 { ac_configure_args1=; unset ac_configure_args1;}
3260 # When interrupted or exit'd, cleanup temporary files, and complete
3261 # config.log. We remove comments because anyway the quotes in there
3262 # would cause problems or look ugly.
3263 # WARNING: Use '\'' to represent an apostrophe within the trap.
3264 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3265 trap 'exit_status=$?
3266 # Sanitize IFS.
3267 IFS=" "" $as_nl"
3268 # Save into config.log some information that might help in debugging.
3270 echo
3272 printf "%s\n" "## ---------------- ##
3273 ## Cache variables. ##
3274 ## ---------------- ##"
3275 echo
3276 # The following way of writing the cache mishandles newlines in values,
3278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3279 eval ac_val=\$$ac_var
3280 case $ac_val in #(
3281 *${as_nl}*)
3282 case $ac_var in #(
3283 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3284 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3285 esac
3286 case $ac_var in #(
3287 _ | IFS | as_nl) ;; #(
3288 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3289 *) { eval $ac_var=; unset $ac_var;} ;;
3290 esac ;;
3291 esac
3292 done
3293 (set) 2>&1 |
3294 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3295 *${as_nl}ac_space=\ *)
3296 sed -n \
3297 "s/'\''/'\''\\\\'\'''\''/g;
3298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3299 ;; #(
3301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3303 esac |
3304 sort
3306 echo
3308 printf "%s\n" "## ----------------- ##
3309 ## Output variables. ##
3310 ## ----------------- ##"
3311 echo
3312 for ac_var in $ac_subst_vars
3314 eval ac_val=\$$ac_var
3315 case $ac_val in
3316 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3317 esac
3318 printf "%s\n" "$ac_var='\''$ac_val'\''"
3319 done | sort
3320 echo
3322 if test -n "$ac_subst_files"; then
3323 printf "%s\n" "## ------------------- ##
3324 ## File substitutions. ##
3325 ## ------------------- ##"
3326 echo
3327 for ac_var in $ac_subst_files
3329 eval ac_val=\$$ac_var
3330 case $ac_val in
3331 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3332 esac
3333 printf "%s\n" "$ac_var='\''$ac_val'\''"
3334 done | sort
3335 echo
3338 if test -s confdefs.h; then
3339 printf "%s\n" "## ----------- ##
3340 ## confdefs.h. ##
3341 ## ----------- ##"
3342 echo
3343 cat confdefs.h
3344 echo
3346 test "$ac_signal" != 0 &&
3347 printf "%s\n" "$as_me: caught signal $ac_signal"
3348 printf "%s\n" "$as_me: exit $exit_status"
3349 } >&5
3350 rm -f core *.core core.conftest.* &&
3351 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3352 exit $exit_status
3354 for ac_signal in 1 2 13 15; do
3355 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3356 done
3357 ac_signal=0
3359 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3360 rm -f -r conftest* confdefs.h
3362 printf "%s\n" "/* confdefs.h */" > confdefs.h
3364 # Predefined preprocessor variables.
3366 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3379 # Let the site file select an alternate cache file if it wants to.
3380 # Prefer an explicitly selected file to automatically selected ones.
3381 if test -n "$CONFIG_SITE"; then
3382 ac_site_files="$CONFIG_SITE"
3383 elif test "x$prefix" != xNONE; then
3384 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3385 else
3386 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3389 for ac_site_file in $ac_site_files
3391 case $ac_site_file in #(
3392 */*) :
3393 ;; #(
3394 *) :
3395 ac_site_file=./$ac_site_file ;;
3396 esac
3397 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3399 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3400 sed 's/^/| /' "$ac_site_file" >&5
3401 . "$ac_site_file" \
3402 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error $? "failed to load site script $ac_site_file
3405 See \`config.log' for more details" "$LINENO" 5; }
3407 done
3409 if test -r "$cache_file"; then
3410 # Some versions of bash will fail to source /dev/null (special files
3411 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3412 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3414 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3415 case $cache_file in
3416 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3417 *) . "./$cache_file";;
3418 esac
3420 else
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3422 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3423 >$cache_file
3426 # Test code for whether the C compiler supports C89 (global declarations)
3427 ac_c_conftest_c89_globals='
3428 /* Does the compiler advertise C89 conformance?
3429 Do not test the value of __STDC__, because some compilers set it to 0
3430 while being otherwise adequately conformant. */
3431 #if !defined __STDC__
3432 # error "Compiler does not advertise C89 conformance"
3433 #endif
3435 #include <stddef.h>
3436 #include <stdarg.h>
3437 struct stat;
3438 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3439 struct buf { int x; };
3440 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3441 static char *e (p, i)
3442 char **p;
3443 int i;
3445 return p[i];
3447 static char *f (char * (*g) (char **, int), char **p, ...)
3449 char *s;
3450 va_list v;
3451 va_start (v,p);
3452 s = g (p, va_arg (v,int));
3453 va_end (v);
3454 return s;
3457 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3458 function prototypes and stuff, but not \xHH hex character constants.
3459 These do not provoke an error unfortunately, instead are silently treated
3460 as an "x". The following induces an error, until -std is added to get
3461 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3462 array size at least. It is necessary to write \x00 == 0 to get something
3463 that is true only with -std. */
3464 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3466 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3467 inside strings and character constants. */
3468 #define FOO(x) '\''x'\''
3469 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3471 int test (int i, double x);
3472 struct s1 {int (*f) (int a);};
3473 struct s2 {int (*f) (double a);};
3474 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3475 int, int);'
3477 # Test code for whether the C compiler supports C89 (body of main).
3478 ac_c_conftest_c89_main='
3479 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3482 # Test code for whether the C compiler supports C99 (global declarations)
3483 ac_c_conftest_c99_globals='
3484 // Does the compiler advertise C99 conformance?
3485 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3486 # error "Compiler does not advertise C99 conformance"
3487 #endif
3489 #include <stdbool.h>
3490 extern int puts (const char *);
3491 extern int printf (const char *, ...);
3492 extern int dprintf (int, const char *, ...);
3493 extern void *malloc (size_t);
3495 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3496 // dprintf is used instead of fprintf to avoid needing to declare
3497 // FILE and stderr.
3498 #define debug(...) dprintf (2, __VA_ARGS__)
3499 #define showlist(...) puts (#__VA_ARGS__)
3500 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3501 static void
3502 test_varargs_macros (void)
3504 int x = 1234;
3505 int y = 5678;
3506 debug ("Flag");
3507 debug ("X = %d\n", x);
3508 showlist (The first, second, and third items.);
3509 report (x>y, "x is %d but y is %d", x, y);
3512 // Check long long types.
3513 #define BIG64 18446744073709551615ull
3514 #define BIG32 4294967295ul
3515 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3516 #if !BIG_OK
3517 #error "your preprocessor is broken"
3518 #endif
3519 #if BIG_OK
3520 #else
3521 #error "your preprocessor is broken"
3522 #endif
3523 static long long int bignum = -9223372036854775807LL;
3524 static unsigned long long int ubignum = BIG64;
3526 struct incomplete_array
3528 int datasize;
3529 double data[];
3532 struct named_init {
3533 int number;
3534 const wchar_t *name;
3535 double average;
3538 typedef const char *ccp;
3540 static inline int
3541 test_restrict (ccp restrict text)
3543 // See if C++-style comments work.
3544 // Iterate through items via the restricted pointer.
3545 // Also check for declarations in for loops.
3546 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3547 continue;
3548 return 0;
3551 // Check varargs and va_copy.
3552 static bool
3553 test_varargs (const char *format, ...)
3555 va_list args;
3556 va_start (args, format);
3557 va_list args_copy;
3558 va_copy (args_copy, args);
3560 const char *str = "";
3561 int number = 0;
3562 float fnumber = 0;
3564 while (*format)
3566 switch (*format++)
3568 case '\''s'\'': // string
3569 str = va_arg (args_copy, const char *);
3570 break;
3571 case '\''d'\'': // int
3572 number = va_arg (args_copy, int);
3573 break;
3574 case '\''f'\'': // float
3575 fnumber = va_arg (args_copy, double);
3576 break;
3577 default:
3578 break;
3581 va_end (args_copy);
3582 va_end (args);
3584 return *str && number && fnumber;
3588 # Test code for whether the C compiler supports C99 (body of main).
3589 ac_c_conftest_c99_main='
3590 // Check bool.
3591 _Bool success = false;
3592 success |= (argc != 0);
3594 // Check restrict.
3595 if (test_restrict ("String literal") == 0)
3596 success = true;
3597 char *restrict newvar = "Another string";
3599 // Check varargs.
3600 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3601 test_varargs_macros ();
3603 // Check flexible array members.
3604 struct incomplete_array *ia =
3605 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3606 ia->datasize = 10;
3607 for (int i = 0; i < ia->datasize; ++i)
3608 ia->data[i] = i * 1.234;
3610 // Check named initializers.
3611 struct named_init ni = {
3612 .number = 34,
3613 .name = L"Test wide string",
3614 .average = 543.34343,
3617 ni.number = 58;
3619 int dynamic_array[ni.number];
3620 dynamic_array[0] = argv[0][0];
3621 dynamic_array[ni.number - 1] = 543;
3623 // work around unused variable warnings
3624 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3625 || dynamic_array[ni.number - 1] != 543);
3628 # Test code for whether the C compiler supports C11 (global declarations)
3629 ac_c_conftest_c11_globals='
3630 // Does the compiler advertise C11 conformance?
3631 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3632 # error "Compiler does not advertise C11 conformance"
3633 #endif
3635 // Check _Alignas.
3636 char _Alignas (double) aligned_as_double;
3637 char _Alignas (0) no_special_alignment;
3638 extern char aligned_as_int;
3639 char _Alignas (0) _Alignas (int) aligned_as_int;
3641 // Check _Alignof.
3642 enum
3644 int_alignment = _Alignof (int),
3645 int_array_alignment = _Alignof (int[100]),
3646 char_alignment = _Alignof (char)
3648 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3650 // Check _Noreturn.
3651 int _Noreturn does_not_return (void) { for (;;) continue; }
3653 // Check _Static_assert.
3654 struct test_static_assert
3656 int x;
3657 _Static_assert (sizeof (int) <= sizeof (long int),
3658 "_Static_assert does not work in struct");
3659 long int y;
3662 // Check UTF-8 literals.
3663 #define u8 syntax error!
3664 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3666 // Check duplicate typedefs.
3667 typedef long *long_ptr;
3668 typedef long int *long_ptr;
3669 typedef long_ptr long_ptr;
3671 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3672 struct anonymous
3674 union {
3675 struct { int i; int j; };
3676 struct { int k; long int l; } w;
3678 int m;
3679 } v1;
3682 # Test code for whether the C compiler supports C11 (body of main).
3683 ac_c_conftest_c11_main='
3684 _Static_assert ((offsetof (struct anonymous, i)
3685 == offsetof (struct anonymous, w.k)),
3686 "Anonymous union alignment botch");
3687 v1.i = 2;
3688 v1.w.k = 5;
3689 ok |= v1.i != 5;
3692 # Test code for whether the C compiler supports C11 (complete).
3693 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3694 ${ac_c_conftest_c99_globals}
3695 ${ac_c_conftest_c11_globals}
3698 main (int argc, char **argv)
3700 int ok = 0;
3701 ${ac_c_conftest_c89_main}
3702 ${ac_c_conftest_c99_main}
3703 ${ac_c_conftest_c11_main}
3704 return ok;
3708 # Test code for whether the C compiler supports C99 (complete).
3709 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3710 ${ac_c_conftest_c99_globals}
3713 main (int argc, char **argv)
3715 int ok = 0;
3716 ${ac_c_conftest_c89_main}
3717 ${ac_c_conftest_c99_main}
3718 return ok;
3722 # Test code for whether the C compiler supports C89 (complete).
3723 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3726 main (int argc, char **argv)
3728 int ok = 0;
3729 ${ac_c_conftest_c89_main}
3730 return ok;
3734 # Test code for whether the C++ compiler supports C++98 (global declarations)
3735 ac_cxx_conftest_cxx98_globals='
3736 // Does the compiler advertise C++98 conformance?
3737 #if !defined __cplusplus || __cplusplus < 199711L
3738 # error "Compiler does not advertise C++98 conformance"
3739 #endif
3741 // These inclusions are to reject old compilers that
3742 // lack the unsuffixed header files.
3743 #include <cstdlib>
3744 #include <exception>
3746 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3747 extern void assert (int);
3748 namespace std {
3749 extern int strcmp (const char *, const char *);
3752 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3753 using std::exception;
3754 using std::strcmp;
3756 namespace {
3758 void test_exception_syntax()
3760 try {
3761 throw "test";
3762 } catch (const char *s) {
3763 // Extra parentheses suppress a warning when building autoconf itself,
3764 // due to lint rules shared with more typical C programs.
3765 assert (!(strcmp) (s, "test"));
3769 template <typename T> struct test_template
3771 T const val;
3772 explicit test_template(T t) : val(t) {}
3773 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3776 } // anonymous namespace
3779 # Test code for whether the C++ compiler supports C++98 (body of main)
3780 ac_cxx_conftest_cxx98_main='
3781 assert (argc);
3782 assert (! argv[0]);
3784 test_exception_syntax ();
3785 test_template<double> tt (2.0);
3786 assert (tt.add (4) == 6.0);
3787 assert (true && !false);
3791 # Test code for whether the C++ compiler supports C++11 (global declarations)
3792 ac_cxx_conftest_cxx11_globals='
3793 // Does the compiler advertise C++ 2011 conformance?
3794 #if !defined __cplusplus || __cplusplus < 201103L
3795 # error "Compiler does not advertise C++11 conformance"
3796 #endif
3798 namespace cxx11test
3800 constexpr int get_val() { return 20; }
3802 struct testinit
3804 int i;
3805 double d;
3808 class delegate
3810 public:
3811 delegate(int n) : n(n) {}
3812 delegate(): delegate(2354) {}
3814 virtual int getval() { return this->n; };
3815 protected:
3816 int n;
3819 class overridden : public delegate
3821 public:
3822 overridden(int n): delegate(n) {}
3823 virtual int getval() override final { return this->n * 2; }
3826 class nocopy
3828 public:
3829 nocopy(int i): i(i) {}
3830 nocopy() = default;
3831 nocopy(const nocopy&) = delete;
3832 nocopy & operator=(const nocopy&) = delete;
3833 private:
3834 int i;
3837 // for testing lambda expressions
3838 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3840 return f(v);
3843 // for testing variadic templates and trailing return types
3844 template <typename V> auto sum(V first) -> V
3846 return first;
3848 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3850 return first + sum(rest...);
3855 # Test code for whether the C++ compiler supports C++11 (body of main)
3856 ac_cxx_conftest_cxx11_main='
3858 // Test auto and decltype
3859 auto a1 = 6538;
3860 auto a2 = 48573953.4;
3861 auto a3 = "String literal";
3863 int total = 0;
3864 for (auto i = a3; *i; ++i) { total += *i; }
3866 decltype(a2) a4 = 34895.034;
3869 // Test constexpr
3870 short sa[cxx11test::get_val()] = { 0 };
3873 // Test initializer lists
3874 cxx11test::testinit il = { 4323, 435234.23544 };
3877 // Test range-based for
3878 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3879 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3880 for (auto &x : array) { x += 23; }
3883 // Test lambda expressions
3884 using cxx11test::eval;
3885 assert (eval ([](int x) { return x*2; }, 21) == 42);
3886 double d = 2.0;
3887 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3888 assert (d == 5.0);
3889 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3890 assert (d == 5.0);
3893 // Test use of variadic templates
3894 using cxx11test::sum;
3895 auto a = sum(1);
3896 auto b = sum(1, 2);
3897 auto c = sum(1.0, 2.0, 3.0);
3900 // Test constructor delegation
3901 cxx11test::delegate d1;
3902 cxx11test::delegate d2();
3903 cxx11test::delegate d3(45);
3906 // Test override and final
3907 cxx11test::overridden o1(55464);
3910 // Test nullptr
3911 char *c = nullptr;
3914 // Test template brackets
3915 test_template<::test_template<int>> v(test_template<int>(12));
3918 // Unicode literals
3919 char const *utf8 = u8"UTF-8 string \u2500";
3920 char16_t const *utf16 = u"UTF-8 string \u2500";
3921 char32_t const *utf32 = U"UTF-32 string \u2500";
3925 # Test code for whether the C compiler supports C++11 (complete).
3926 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3927 ${ac_cxx_conftest_cxx11_globals}
3930 main (int argc, char **argv)
3932 int ok = 0;
3933 ${ac_cxx_conftest_cxx98_main}
3934 ${ac_cxx_conftest_cxx11_main}
3935 return ok;
3939 # Test code for whether the C compiler supports C++98 (complete).
3940 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3942 main (int argc, char **argv)
3944 int ok = 0;
3945 ${ac_cxx_conftest_cxx98_main}
3946 return ok;
3950 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3951 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3952 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3953 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3954 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3955 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3956 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3957 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3958 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3960 # Auxiliary files required by this configure script.
3961 ac_aux_files="config.guess config.sub"
3963 # Locations in which to look for auxiliary files.
3964 ac_aux_dir_candidates="${srcdir}/tools"
3966 # Search for a directory containing all of the required auxiliary files,
3967 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3968 # If we don't find one directory that contains all the files we need,
3969 # we report the set of missing files from the *first* directory in
3970 # $ac_aux_dir_candidates and give up.
3971 ac_missing_aux_files=""
3972 ac_first_candidate=:
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 as_found=false
3976 for as_dir in $ac_aux_dir_candidates
3978 IFS=$as_save_IFS
3979 case $as_dir in #(((
3980 '') as_dir=./ ;;
3981 */) ;;
3982 *) as_dir=$as_dir/ ;;
3983 esac
3984 as_found=:
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3987 ac_aux_dir_found=yes
3988 ac_install_sh=
3989 for ac_aux in $ac_aux_files
3991 # As a special case, if "install-sh" is required, that requirement
3992 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3993 # and $ac_install_sh is set appropriately for whichever one is found.
3994 if test x"$ac_aux" = x"install-sh"
3995 then
3996 if test -f "${as_dir}install-sh"; then
3997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3998 ac_install_sh="${as_dir}install-sh -c"
3999 elif test -f "${as_dir}install.sh"; then
4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4001 ac_install_sh="${as_dir}install.sh -c"
4002 elif test -f "${as_dir}shtool"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4004 ac_install_sh="${as_dir}shtool install -c"
4005 else
4006 ac_aux_dir_found=no
4007 if $ac_first_candidate; then
4008 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4009 else
4010 break
4013 else
4014 if test -f "${as_dir}${ac_aux}"; then
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4016 else
4017 ac_aux_dir_found=no
4018 if $ac_first_candidate; then
4019 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4020 else
4021 break
4025 done
4026 if test "$ac_aux_dir_found" = yes; then
4027 ac_aux_dir="$as_dir"
4028 break
4030 ac_first_candidate=false
4032 as_found=false
4033 done
4034 IFS=$as_save_IFS
4035 if $as_found
4036 then :
4038 else $as_nop
4039 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4043 # These three variables are undocumented and unsupported,
4044 # and are intended to be withdrawn in a future Autoconf release.
4045 # They can cause serious problems if a builder's source tree is in a directory
4046 # whose full name contains unusual characters.
4047 if test -f "${ac_aux_dir}config.guess"; then
4048 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4050 if test -f "${ac_aux_dir}config.sub"; then
4051 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4053 if test -f "$ac_aux_dir/configure"; then
4054 ac_configure="$SHELL ${ac_aux_dir}configure"
4057 # Check that the precious variables saved in the cache have kept the same
4058 # value.
4059 ac_cache_corrupted=false
4060 for ac_var in $ac_precious_vars; do
4061 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4062 eval ac_new_set=\$ac_env_${ac_var}_set
4063 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4064 eval ac_new_val=\$ac_env_${ac_var}_value
4065 case $ac_old_set,$ac_new_set in
4066 set,)
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4069 ac_cache_corrupted=: ;;
4070 ,set)
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4072 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4073 ac_cache_corrupted=: ;;
4074 ,);;
4076 if test "x$ac_old_val" != "x$ac_new_val"; then
4077 # differences in whitespace do not lead to failure.
4078 ac_old_val_w=`echo x $ac_old_val`
4079 ac_new_val_w=`echo x $ac_new_val`
4080 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4082 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4083 ac_cache_corrupted=:
4084 else
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4086 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4087 eval $ac_var=\$ac_old_val
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4090 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4092 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4093 fi;;
4094 esac
4095 # Pass precious variables to config.status.
4096 if test "$ac_new_set" = set; then
4097 case $ac_new_val in
4098 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4099 *) ac_arg=$ac_var=$ac_new_val ;;
4100 esac
4101 case " $ac_configure_args " in
4102 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4103 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4104 esac
4106 done
4107 if $ac_cache_corrupted; then
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4111 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4112 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4113 and start over" "$LINENO" 5
4115 ## -------------------- ##
4116 ## Main body of script. ##
4117 ## -------------------- ##
4119 ac_ext=c
4120 ac_cpp='$CPP $CPPFLAGS'
4121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127 ac_config_headers="$ac_config_headers include/config.h"
4131 libwine_version="1.0"
4134 # Check whether --enable-archs was given.
4135 if test ${enable_archs+y}
4136 then :
4137 enableval=$enable_archs;
4140 # Check whether --enable-win16 was given.
4141 if test ${enable_win16+y}
4142 then :
4143 enableval=$enable_win16;
4146 # Check whether --enable-win64 was given.
4147 if test ${enable_win64+y}
4148 then :
4149 enableval=$enable_win64;
4152 # Check whether --enable-tests was given.
4153 if test ${enable_tests+y}
4154 then :
4155 enableval=$enable_tests;
4158 # Check whether --enable-build-id was given.
4159 if test ${enable_build_id+y}
4160 then :
4161 enableval=$enable_build_id;
4164 # Check whether --enable-maintainer-mode was given.
4165 if test ${enable_maintainer_mode+y}
4166 then :
4167 enableval=$enable_maintainer_mode;
4170 # Check whether --enable-silent-rules was given.
4171 if test ${enable_silent_rules+y}
4172 then :
4173 enableval=$enable_silent_rules;
4176 # Check whether --enable-werror was given.
4177 if test ${enable_werror+y}
4178 then :
4179 enableval=$enable_werror;
4184 # Check whether --with-alsa was given.
4185 if test ${with_alsa+y}
4186 then :
4187 withval=$with_alsa;
4191 # Check whether --with-capi was given.
4192 if test ${with_capi+y}
4193 then :
4194 withval=$with_capi;
4198 # Check whether --with-coreaudio was given.
4199 if test ${with_coreaudio+y}
4200 then :
4201 withval=$with_coreaudio;
4205 # Check whether --with-cups was given.
4206 if test ${with_cups+y}
4207 then :
4208 withval=$with_cups;
4212 # Check whether --with-dbus was given.
4213 if test ${with_dbus+y}
4214 then :
4215 withval=$with_dbus;
4219 # Check whether --with-float-abi was given.
4220 if test ${with_float_abi+y}
4221 then :
4222 withval=$with_float_abi;
4226 # Check whether --with-fontconfig was given.
4227 if test ${with_fontconfig+y}
4228 then :
4229 withval=$with_fontconfig;
4233 # Check whether --with-freetype was given.
4234 if test ${with_freetype+y}
4235 then :
4236 withval=$with_freetype;
4240 # Check whether --with-gettext was given.
4241 if test ${with_gettext+y}
4242 then :
4243 withval=$with_gettext;
4247 # Check whether --with-gettextpo was given.
4248 if test ${with_gettextpo+y}
4249 then :
4250 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4254 # Check whether --with-gphoto was given.
4255 if test ${with_gphoto+y}
4256 then :
4257 withval=$with_gphoto;
4261 # Check whether --with-gnutls was given.
4262 if test ${with_gnutls+y}
4263 then :
4264 withval=$with_gnutls;
4268 # Check whether --with-gssapi was given.
4269 if test ${with_gssapi+y}
4270 then :
4271 withval=$with_gssapi;
4275 # Check whether --with-gstreamer was given.
4276 if test ${with_gstreamer+y}
4277 then :
4278 withval=$with_gstreamer;
4282 # Check whether --with-inotify was given.
4283 if test ${with_inotify+y}
4284 then :
4285 withval=$with_inotify;
4289 # Check whether --with-krb5 was given.
4290 if test ${with_krb5+y}
4291 then :
4292 withval=$with_krb5;
4296 # Check whether --with-mingw was given.
4297 if test ${with_mingw+y}
4298 then :
4299 withval=$with_mingw;
4303 # Check whether --with-netapi was given.
4304 if test ${with_netapi+y}
4305 then :
4306 withval=$with_netapi;
4310 # Check whether --with-opencl was given.
4311 if test ${with_opencl+y}
4312 then :
4313 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4317 # Check whether --with-opengl was given.
4318 if test ${with_opengl+y}
4319 then :
4320 withval=$with_opengl;
4324 # Check whether --with-osmesa was given.
4325 if test ${with_osmesa+y}
4326 then :
4327 withval=$with_osmesa;
4331 # Check whether --with-oss was given.
4332 if test ${with_oss+y}
4333 then :
4334 withval=$with_oss;
4338 # Check whether --with-pcap was given.
4339 if test ${with_pcap+y}
4340 then :
4341 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4345 # Check whether --with-pcsclite was given.
4346 if test ${with_pcsclite+y}
4347 then :
4348 withval=$with_pcsclite;
4352 # Check whether --with-pthread was given.
4353 if test ${with_pthread+y}
4354 then :
4355 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4359 # Check whether --with-pulse was given.
4360 if test ${with_pulse+y}
4361 then :
4362 withval=$with_pulse;
4366 # Check whether --with-sane was given.
4367 if test ${with_sane+y}
4368 then :
4369 withval=$with_sane;
4373 # Check whether --with-sdl was given.
4374 if test ${with_sdl+y}
4375 then :
4376 withval=$with_sdl;
4380 # Check whether --with-udev was given.
4381 if test ${with_udev+y}
4382 then :
4383 withval=$with_udev;
4387 # Check whether --with-unwind was given.
4388 if test ${with_unwind+y}
4389 then :
4390 withval=$with_unwind;
4394 # Check whether --with-usb was given.
4395 if test ${with_usb+y}
4396 then :
4397 withval=$with_usb;
4401 # Check whether --with-v4l2 was given.
4402 if test ${with_v4l2+y}
4403 then :
4404 withval=$with_v4l2;
4408 # Check whether --with-vulkan was given.
4409 if test ${with_vulkan+y}
4410 then :
4411 withval=$with_vulkan;
4415 # Check whether --with-wayland was given.
4416 if test ${with_wayland+y}
4417 then :
4418 withval=$with_wayland;
4422 # Check whether --with-xcomposite was given.
4423 if test ${with_xcomposite+y}
4424 then :
4425 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4429 # Check whether --with-xcursor was given.
4430 if test ${with_xcursor+y}
4431 then :
4432 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4436 # Check whether --with-xfixes was given.
4437 if test ${with_xfixes+y}
4438 then :
4439 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4443 # Check whether --with-xinerama was given.
4444 if test ${with_xinerama+y}
4445 then :
4446 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4450 # Check whether --with-xinput was given.
4451 if test ${with_xinput+y}
4452 then :
4453 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4457 # Check whether --with-xinput2 was given.
4458 if test ${with_xinput2+y}
4459 then :
4460 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4464 # Check whether --with-xrandr was given.
4465 if test ${with_xrandr+y}
4466 then :
4467 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4471 # Check whether --with-xrender was given.
4472 if test ${with_xrender+y}
4473 then :
4474 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4478 # Check whether --with-xshape was given.
4479 if test ${with_xshape+y}
4480 then :
4481 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4485 # Check whether --with-xshm was given.
4486 if test ${with_xshm+y}
4487 then :
4488 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4492 # Check whether --with-xxf86vm was given.
4493 if test ${with_xxf86vm+y}
4494 then :
4495 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
4500 # Check whether --with-system-dllpath was given.
4501 if test ${with_system_dllpath+y}
4502 then :
4503 withval=$with_system_dllpath; system_dllpath=$withval
4508 # Check whether --with-wine-tools was given.
4509 if test ${with_wine_tools+y}
4510 then :
4511 withval=$with_wine_tools;
4515 # Check whether --with-wine64 was given.
4516 if test ${with_wine64+y}
4517 then :
4518 withval=$with_wine64;
4525 # Make sure we can run config.sub.
4526 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4527 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4530 printf %s "checking build system type... " >&6; }
4531 if test ${ac_cv_build+y}
4532 then :
4533 printf %s "(cached) " >&6
4534 else $as_nop
4535 ac_build_alias=$build_alias
4536 test "x$ac_build_alias" = x &&
4537 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4538 test "x$ac_build_alias" = x &&
4539 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4540 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4541 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4545 printf "%s\n" "$ac_cv_build" >&6; }
4546 case $ac_cv_build in
4547 *-*-*) ;;
4548 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4549 esac
4550 build=$ac_cv_build
4551 ac_save_IFS=$IFS; IFS='-'
4552 set x $ac_cv_build
4553 shift
4554 build_cpu=$1
4555 build_vendor=$2
4556 shift; shift
4557 # Remember, the first character of IFS is used to create $*,
4558 # except with old shells:
4559 build_os=$*
4560 IFS=$ac_save_IFS
4561 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4565 printf %s "checking host system type... " >&6; }
4566 if test ${ac_cv_host+y}
4567 then :
4568 printf %s "(cached) " >&6
4569 else $as_nop
4570 if test "x$host_alias" = x; then
4571 ac_cv_host=$ac_cv_build
4572 else
4573 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4574 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4579 printf "%s\n" "$ac_cv_host" >&6; }
4580 case $ac_cv_host in
4581 *-*-*) ;;
4582 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4583 esac
4584 host=$ac_cv_host
4585 ac_save_IFS=$IFS; IFS='-'
4586 set x $ac_cv_host
4587 shift
4588 host_cpu=$1
4589 host_vendor=$2
4590 shift; shift
4591 # Remember, the first character of IFS is used to create $*,
4592 # except with old shells:
4593 host_os=$*
4594 IFS=$ac_save_IFS
4595 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4599 dlldir=\${libdir}/wine
4601 fontdir=\${datadir}/wine/fonts
4603 nlsdir=\${datadir}/wine/nls
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4609 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4610 set x ${MAKE-make}
4611 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4612 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4613 then :
4614 printf %s "(cached) " >&6
4615 else $as_nop
4616 cat >conftest.make <<\_ACEOF
4617 SHELL = /bin/sh
4618 all:
4619 @echo '@@@%%%=$(MAKE)=@@@%%%'
4620 _ACEOF
4621 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4622 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4623 *@@@%%%=?*=@@@%%%*)
4624 eval ac_cv_prog_make_${ac_make}_set=yes;;
4626 eval ac_cv_prog_make_${ac_make}_set=no;;
4627 esac
4628 rm -f conftest.make
4630 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4632 printf "%s\n" "yes" >&6; }
4633 SET_MAKE=
4634 else
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 printf "%s\n" "no" >&6; }
4637 SET_MAKE="MAKE=${MAKE-make}"
4649 ac_ext=c
4650 ac_cpp='$CPP $CPPFLAGS'
4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4654 if test -n "$ac_tool_prefix"; then
4655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4656 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 printf %s "checking for $ac_word... " >&6; }
4659 if test ${ac_cv_prog_CC+y}
4660 then :
4661 printf %s "(cached) " >&6
4662 else $as_nop
4663 if test -n "$CC"; then
4664 ac_cv_prog_CC="$CC" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4669 IFS=$as_save_IFS
4670 case $as_dir in #(((
4671 '') as_dir=./ ;;
4672 */) ;;
4673 *) as_dir=$as_dir/ ;;
4674 esac
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4683 IFS=$as_save_IFS
4687 CC=$ac_cv_prog_CC
4688 if test -n "$CC"; then
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4690 printf "%s\n" "$CC" >&6; }
4691 else
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 printf "%s\n" "no" >&6; }
4698 if test -z "$ac_cv_prog_CC"; then
4699 ac_ct_CC=$CC
4700 # Extract the first word of "gcc", so it can be a program name with args.
4701 set dummy gcc; ac_word=$2
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 printf %s "checking for $ac_word... " >&6; }
4704 if test ${ac_cv_prog_ac_ct_CC+y}
4705 then :
4706 printf %s "(cached) " >&6
4707 else $as_nop
4708 if test -n "$ac_ct_CC"; then
4709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4710 else
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in $PATH
4714 IFS=$as_save_IFS
4715 case $as_dir in #(((
4716 '') as_dir=./ ;;
4717 */) ;;
4718 *) as_dir=$as_dir/ ;;
4719 esac
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CC="gcc"
4723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4724 break 2
4726 done
4727 done
4728 IFS=$as_save_IFS
4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4733 if test -n "$ac_ct_CC"; then
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4735 printf "%s\n" "$ac_ct_CC" >&6; }
4736 else
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 printf "%s\n" "no" >&6; }
4741 if test "x$ac_ct_CC" = x; then
4742 CC=""
4743 else
4744 case $cross_compiling:$ac_tool_warned in
4745 yes:)
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4748 ac_tool_warned=yes ;;
4749 esac
4750 CC=$ac_ct_CC
4752 else
4753 CC="$ac_cv_prog_CC"
4756 if test -z "$CC"; then
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}cc; ac_word=$2
4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 printf %s "checking for $ac_word... " >&6; }
4762 if test ${ac_cv_prog_CC+y}
4763 then :
4764 printf %s "(cached) " >&6
4765 else $as_nop
4766 if test -n "$CC"; then
4767 ac_cv_prog_CC="$CC" # Let the user override the test.
4768 else
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH
4772 IFS=$as_save_IFS
4773 case $as_dir in #(((
4774 '') as_dir=./ ;;
4775 */) ;;
4776 *) as_dir=$as_dir/ ;;
4777 esac
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_CC="${ac_tool_prefix}cc"
4781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 break 2
4784 done
4785 done
4786 IFS=$as_save_IFS
4790 CC=$ac_cv_prog_CC
4791 if test -n "$CC"; then
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793 printf "%s\n" "$CC" >&6; }
4794 else
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 printf "%s\n" "no" >&6; }
4802 if test -z "$CC"; then
4803 # Extract the first word of "cc", so it can be a program name with args.
4804 set dummy cc; ac_word=$2
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 printf %s "checking for $ac_word... " >&6; }
4807 if test ${ac_cv_prog_CC+y}
4808 then :
4809 printf %s "(cached) " >&6
4810 else $as_nop
4811 if test -n "$CC"; then
4812 ac_cv_prog_CC="$CC" # Let the user override the test.
4813 else
4814 ac_prog_rejected=no
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH
4818 IFS=$as_save_IFS
4819 case $as_dir in #(((
4820 '') as_dir=./ ;;
4821 */) ;;
4822 *) as_dir=$as_dir/ ;;
4823 esac
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4826 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4827 ac_prog_rejected=yes
4828 continue
4830 ac_cv_prog_CC="cc"
4831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4832 break 2
4834 done
4835 done
4836 IFS=$as_save_IFS
4838 if test $ac_prog_rejected = yes; then
4839 # We found a bogon in the path, so make sure we never use it.
4840 set dummy $ac_cv_prog_CC
4841 shift
4842 if test $# != 0; then
4843 # We chose a different compiler from the bogus one.
4844 # However, it has the same basename, so the bogon will be chosen
4845 # first if we set CC to just the basename; use the full file name.
4846 shift
4847 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4852 CC=$ac_cv_prog_CC
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4856 else
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4863 if test -z "$CC"; then
4864 if test -n "$ac_tool_prefix"; then
4865 for ac_prog in cl.exe
4867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s "checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_CC+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 if test -n "$CC"; then
4876 ac_cv_prog_CC="$CC" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 case $as_dir in #(((
4883 '') as_dir=./ ;;
4884 */) ;;
4885 *) as_dir=$as_dir/ ;;
4886 esac
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 CC=$ac_cv_prog_CC
4900 if test -n "$CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4902 printf "%s\n" "$CC" >&6; }
4903 else
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$CC" && break
4910 done
4912 if test -z "$CC"; then
4913 ac_ct_CC=$CC
4914 for ac_prog in cl.exe
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 printf %s "checking for $ac_word... " >&6; }
4920 if test ${ac_cv_prog_ac_ct_CC+y}
4921 then :
4922 printf %s "(cached) " >&6
4923 else $as_nop
4924 if test -n "$ac_ct_CC"; then
4925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 case $as_dir in #(((
4932 '') as_dir=./ ;;
4933 */) ;;
4934 *) as_dir=$as_dir/ ;;
4935 esac
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CC="$ac_prog"
4939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4949 if test -n "$ac_ct_CC"; then
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4951 printf "%s\n" "$ac_ct_CC" >&6; }
4952 else
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 printf "%s\n" "no" >&6; }
4958 test -n "$ac_ct_CC" && break
4959 done
4961 if test "x$ac_ct_CC" = x; then
4962 CC=""
4963 else
4964 case $cross_compiling:$ac_tool_warned in
4965 yes:)
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned=yes ;;
4969 esac
4970 CC=$ac_ct_CC
4975 if test -z "$CC"; then
4976 if test -n "$ac_tool_prefix"; then
4977 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4978 set dummy ${ac_tool_prefix}clang; ac_word=$2
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 printf %s "checking for $ac_word... " >&6; }
4981 if test ${ac_cv_prog_CC+y}
4982 then :
4983 printf %s "(cached) " >&6
4984 else $as_nop
4985 if test -n "$CC"; then
4986 ac_cv_prog_CC="$CC" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 case $as_dir in #(((
4993 '') as_dir=./ ;;
4994 */) ;;
4995 *) as_dir=$as_dir/ ;;
4996 esac
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_CC="${ac_tool_prefix}clang"
5000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 CC=$ac_cv_prog_CC
5010 if test -n "$CC"; then
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 printf "%s\n" "$CC" >&6; }
5013 else
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 printf "%s\n" "no" >&6; }
5020 if test -z "$ac_cv_prog_CC"; then
5021 ac_ct_CC=$CC
5022 # Extract the first word of "clang", so it can be a program name with args.
5023 set dummy clang; ac_word=$2
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 printf %s "checking for $ac_word... " >&6; }
5026 if test ${ac_cv_prog_ac_ct_CC+y}
5027 then :
5028 printf %s "(cached) " >&6
5029 else $as_nop
5030 if test -n "$ac_ct_CC"; then
5031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 case $as_dir in #(((
5038 '') as_dir=./ ;;
5039 */) ;;
5040 *) as_dir=$as_dir/ ;;
5041 esac
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_ac_ct_CC="clang"
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5055 if test -n "$ac_ct_CC"; then
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5057 printf "%s\n" "$ac_ct_CC" >&6; }
5058 else
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 printf "%s\n" "no" >&6; }
5063 if test "x$ac_ct_CC" = x; then
5064 CC=""
5065 else
5066 case $cross_compiling:$ac_tool_warned in
5067 yes:)
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned=yes ;;
5071 esac
5072 CC=$ac_ct_CC
5074 else
5075 CC="$ac_cv_prog_CC"
5081 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5082 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5083 as_fn_error $? "no acceptable C compiler found in \$PATH
5084 See \`config.log' for more details" "$LINENO" 5; }
5086 # Provide some information about the compiler.
5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5088 set X $ac_compile
5089 ac_compiler=$2
5090 for ac_option in --version -v -V -qversion -version; do
5091 { { ac_try="$ac_compiler $ac_option >&5"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5097 printf "%s\n" "$ac_try_echo"; } >&5
5098 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5099 ac_status=$?
5100 if test -s conftest.err; then
5101 sed '10a\
5102 ... rest of stderr output deleted ...
5103 10q' conftest.err >conftest.er1
5104 cat conftest.er1 >&5
5106 rm -f conftest.er1 conftest.err
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; }
5109 done
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5115 main (void)
5119 return 0;
5121 _ACEOF
5122 ac_clean_files_save=$ac_clean_files
5123 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5124 # Try to create an executable without -o first, disregard a.out.
5125 # It will help us diagnose broken compilers, and finding out an intuition
5126 # of exeext.
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5128 printf %s "checking whether the C compiler works... " >&6; }
5129 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5131 # The possible output files:
5132 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5134 ac_rmfiles=
5135 for ac_file in $ac_files
5137 case $ac_file in
5138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5139 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5140 esac
5141 done
5142 rm -f $ac_rmfiles
5144 if { { ac_try="$ac_link_default"
5145 case "(($ac_try" in
5146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5147 *) ac_try_echo=$ac_try;;
5148 esac
5149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5150 printf "%s\n" "$ac_try_echo"; } >&5
5151 (eval "$ac_link_default") 2>&5
5152 ac_status=$?
5153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5155 then :
5156 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5157 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5158 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5159 # so that the user can short-circuit this test for compilers unknown to
5160 # Autoconf.
5161 for ac_file in $ac_files ''
5163 test -f "$ac_file" || continue
5164 case $ac_file in
5165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5167 [ab].out )
5168 # We found the default executable, but exeext='' is most
5169 # certainly right.
5170 break;;
5171 *.* )
5172 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5173 then :; else
5174 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5176 # We set ac_cv_exeext here because the later test for it is not
5177 # safe: cross compilers may not add the suffix if given an `-o'
5178 # argument, so we may need to know it at that point already.
5179 # Even if this section looks crufty: it has the advantage of
5180 # actually working.
5181 break;;
5183 break;;
5184 esac
5185 done
5186 test "$ac_cv_exeext" = no && ac_cv_exeext=
5188 else $as_nop
5189 ac_file=''
5191 if test -z "$ac_file"
5192 then :
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 printf "%s\n" "no" >&6; }
5195 printf "%s\n" "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5198 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5199 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5200 as_fn_error 77 "C compiler cannot create executables
5201 See \`config.log' for more details" "$LINENO" 5; }
5202 else $as_nop
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 printf "%s\n" "yes" >&6; }
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5207 printf %s "checking for C compiler default output file name... " >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5209 printf "%s\n" "$ac_file" >&6; }
5210 ac_exeext=$ac_cv_exeext
5212 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5213 ac_clean_files=$ac_clean_files_save
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5215 printf %s "checking for suffix of executables... " >&6; }
5216 if { { ac_try="$ac_link"
5217 case "(($ac_try" in
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5220 esac
5221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5222 printf "%s\n" "$ac_try_echo"; } >&5
5223 (eval "$ac_link") 2>&5
5224 ac_status=$?
5225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5226 test $ac_status = 0; }
5227 then :
5228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5230 # work properly (i.e., refer to `conftest.exe'), while it won't with
5231 # `rm'.
5232 for ac_file in conftest.exe conftest conftest.*; do
5233 test -f "$ac_file" || continue
5234 case $ac_file in
5235 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5236 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5237 break;;
5238 * ) break;;
5239 esac
5240 done
5241 else $as_nop
5242 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5243 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5244 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5245 See \`config.log' for more details" "$LINENO" 5; }
5247 rm -f conftest conftest$ac_cv_exeext
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5249 printf "%s\n" "$ac_cv_exeext" >&6; }
5251 rm -f conftest.$ac_ext
5252 EXEEXT=$ac_cv_exeext
5253 ac_exeext=$EXEEXT
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256 #include <stdio.h>
5258 main (void)
5260 FILE *f = fopen ("conftest.out", "w");
5261 return ferror (f) || fclose (f) != 0;
5264 return 0;
5266 _ACEOF
5267 ac_clean_files="$ac_clean_files conftest.out"
5268 # Check that the compiler produces executables we can run. If not, either
5269 # the compiler is broken, or we cross compile.
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5271 printf %s "checking whether we are cross compiling... " >&6; }
5272 if test "$cross_compiling" != yes; then
5273 { { ac_try="$ac_link"
5274 case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 printf "%s\n" "$ac_try_echo"; } >&5
5280 (eval "$ac_link") 2>&5
5281 ac_status=$?
5282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5283 test $ac_status = 0; }
5284 if { ac_try='./conftest$ac_cv_exeext'
5285 { { case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 printf "%s\n" "$ac_try_echo"; } >&5
5291 (eval "$ac_try") 2>&5
5292 ac_status=$?
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }; }; then
5295 cross_compiling=no
5296 else
5297 if test "$cross_compiling" = maybe; then
5298 cross_compiling=yes
5299 else
5300 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5301 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5302 as_fn_error 77 "cannot run C compiled programs.
5303 If you meant to cross compile, use \`--host'.
5304 See \`config.log' for more details" "$LINENO" 5; }
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5309 printf "%s\n" "$cross_compiling" >&6; }
5311 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5312 ac_clean_files=$ac_clean_files_save
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5314 printf %s "checking for suffix of object files... " >&6; }
5315 if test ${ac_cv_objext+y}
5316 then :
5317 printf %s "(cached) " >&6
5318 else $as_nop
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5323 main (void)
5327 return 0;
5329 _ACEOF
5330 rm -f conftest.o conftest.obj
5331 if { { ac_try="$ac_compile"
5332 case "(($ac_try" in
5333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5335 esac
5336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5337 printf "%s\n" "$ac_try_echo"; } >&5
5338 (eval "$ac_compile") 2>&5
5339 ac_status=$?
5340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5341 test $ac_status = 0; }
5342 then :
5343 for ac_file in conftest.o conftest.obj conftest.*; do
5344 test -f "$ac_file" || continue;
5345 case $ac_file in
5346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5348 break;;
5349 esac
5350 done
5351 else $as_nop
5352 printf "%s\n" "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error $? "cannot compute suffix of object files: cannot compile
5358 See \`config.log' for more details" "$LINENO" 5; }
5360 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5363 printf "%s\n" "$ac_cv_objext" >&6; }
5364 OBJEXT=$ac_cv_objext
5365 ac_objext=$OBJEXT
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5367 printf %s "checking whether the compiler supports GNU C... " >&6; }
5368 if test ${ac_cv_c_compiler_gnu+y}
5369 then :
5370 printf %s "(cached) " >&6
5371 else $as_nop
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5376 main (void)
5378 #ifndef __GNUC__
5379 choke me
5380 #endif
5383 return 0;
5385 _ACEOF
5386 if ac_fn_c_try_compile "$LINENO"
5387 then :
5388 ac_compiler_gnu=yes
5389 else $as_nop
5390 ac_compiler_gnu=no
5392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5393 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5397 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400 if test $ac_compiler_gnu = yes; then
5401 GCC=yes
5402 else
5403 GCC=
5405 ac_test_CFLAGS=${CFLAGS+y}
5406 ac_save_CFLAGS=$CFLAGS
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5408 printf %s "checking whether $CC accepts -g... " >&6; }
5409 if test ${ac_cv_prog_cc_g+y}
5410 then :
5411 printf %s "(cached) " >&6
5412 else $as_nop
5413 ac_save_c_werror_flag=$ac_c_werror_flag
5414 ac_c_werror_flag=yes
5415 ac_cv_prog_cc_g=no
5416 CFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main (void)
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"
5429 then :
5430 ac_cv_prog_cc_g=yes
5431 else $as_nop
5432 CFLAGS=""
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5437 main (void)
5441 return 0;
5443 _ACEOF
5444 if ac_fn_c_try_compile "$LINENO"
5445 then :
5447 else $as_nop
5448 ac_c_werror_flag=$ac_save_c_werror_flag
5449 CFLAGS="-g"
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5454 main (void)
5458 return 0;
5460 _ACEOF
5461 if ac_fn_c_try_compile "$LINENO"
5462 then :
5463 ac_cv_prog_cc_g=yes
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
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 ac_c_werror_flag=$ac_save_c_werror_flag
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5473 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5474 if test $ac_test_CFLAGS; then
5475 CFLAGS=$ac_save_CFLAGS
5476 elif test $ac_cv_prog_cc_g = yes; then
5477 if test "$GCC" = yes; then
5478 CFLAGS="-g -O2"
5479 else
5480 CFLAGS="-g"
5482 else
5483 if test "$GCC" = yes; then
5484 CFLAGS="-O2"
5485 else
5486 CFLAGS=
5489 ac_prog_cc_stdc=no
5490 if test x$ac_prog_cc_stdc = xno
5491 then :
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5493 printf %s "checking for $CC option to enable C11 features... " >&6; }
5494 if test ${ac_cv_prog_cc_c11+y}
5495 then :
5496 printf %s "(cached) " >&6
5497 else $as_nop
5498 ac_cv_prog_cc_c11=no
5499 ac_save_CC=$CC
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 $ac_c_conftest_c11_program
5503 _ACEOF
5504 for ac_arg in '' -std=gnu11
5506 CC="$ac_save_CC $ac_arg"
5507 if ac_fn_c_try_compile "$LINENO"
5508 then :
5509 ac_cv_prog_cc_c11=$ac_arg
5511 rm -f core conftest.err conftest.$ac_objext conftest.beam
5512 test "x$ac_cv_prog_cc_c11" != "xno" && break
5513 done
5514 rm -f conftest.$ac_ext
5515 CC=$ac_save_CC
5518 if test "x$ac_cv_prog_cc_c11" = xno
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5521 printf "%s\n" "unsupported" >&6; }
5522 else $as_nop
5523 if test "x$ac_cv_prog_cc_c11" = x
5524 then :
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5526 printf "%s\n" "none needed" >&6; }
5527 else $as_nop
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5529 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5530 CC="$CC $ac_cv_prog_cc_c11"
5532 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5533 ac_prog_cc_stdc=c11
5536 if test x$ac_prog_cc_stdc = xno
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5539 printf %s "checking for $CC option to enable C99 features... " >&6; }
5540 if test ${ac_cv_prog_cc_c99+y}
5541 then :
5542 printf %s "(cached) " >&6
5543 else $as_nop
5544 ac_cv_prog_cc_c99=no
5545 ac_save_CC=$CC
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5548 $ac_c_conftest_c99_program
5549 _ACEOF
5550 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5552 CC="$ac_save_CC $ac_arg"
5553 if ac_fn_c_try_compile "$LINENO"
5554 then :
5555 ac_cv_prog_cc_c99=$ac_arg
5557 rm -f core conftest.err conftest.$ac_objext conftest.beam
5558 test "x$ac_cv_prog_cc_c99" != "xno" && break
5559 done
5560 rm -f conftest.$ac_ext
5561 CC=$ac_save_CC
5564 if test "x$ac_cv_prog_cc_c99" = xno
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5567 printf "%s\n" "unsupported" >&6; }
5568 else $as_nop
5569 if test "x$ac_cv_prog_cc_c99" = x
5570 then :
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5572 printf "%s\n" "none needed" >&6; }
5573 else $as_nop
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5575 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5576 CC="$CC $ac_cv_prog_cc_c99"
5578 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5579 ac_prog_cc_stdc=c99
5582 if test x$ac_prog_cc_stdc = xno
5583 then :
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5585 printf %s "checking for $CC option to enable C89 features... " >&6; }
5586 if test ${ac_cv_prog_cc_c89+y}
5587 then :
5588 printf %s "(cached) " >&6
5589 else $as_nop
5590 ac_cv_prog_cc_c89=no
5591 ac_save_CC=$CC
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 $ac_c_conftest_c89_program
5595 _ACEOF
5596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5598 CC="$ac_save_CC $ac_arg"
5599 if ac_fn_c_try_compile "$LINENO"
5600 then :
5601 ac_cv_prog_cc_c89=$ac_arg
5603 rm -f core conftest.err conftest.$ac_objext conftest.beam
5604 test "x$ac_cv_prog_cc_c89" != "xno" && break
5605 done
5606 rm -f conftest.$ac_ext
5607 CC=$ac_save_CC
5610 if test "x$ac_cv_prog_cc_c89" = xno
5611 then :
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5613 printf "%s\n" "unsupported" >&6; }
5614 else $as_nop
5615 if test "x$ac_cv_prog_cc_c89" = x
5616 then :
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5618 printf "%s\n" "none needed" >&6; }
5619 else $as_nop
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5621 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5622 CC="$CC $ac_cv_prog_cc_c89"
5624 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5625 ac_prog_cc_stdc=c89
5629 ac_ext=c
5630 ac_cpp='$CPP $CPPFLAGS'
5631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 ac_ext=cpp
5642 ac_cpp='$CXXCPP $CPPFLAGS'
5643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5646 if test -z "$CXX"; then
5647 if test -n "$CCC"; then
5648 CXX=$CCC
5649 else
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_CXX+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$CXX"; then
5662 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 CXX=$ac_cv_prog_CXX
5686 if test -n "$CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5688 printf "%s\n" "$CXX" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$CXX" && break
5696 done
5698 if test -z "$CXX"; then
5699 ac_ct_CXX=$CXX
5700 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy $ac_prog; ac_word=$2
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 printf %s "checking for $ac_word... " >&6; }
5706 if test ${ac_cv_prog_ac_ct_CXX+y}
5707 then :
5708 printf %s "(cached) " >&6
5709 else $as_nop
5710 if test -n "$ac_ct_CXX"; then
5711 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 case $as_dir in #(((
5718 '') as_dir=./ ;;
5719 */) ;;
5720 *) as_dir=$as_dir/ ;;
5721 esac
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_CXX="$ac_prog"
5725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5726 break 2
5728 done
5729 done
5730 IFS=$as_save_IFS
5734 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5735 if test -n "$ac_ct_CXX"; then
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5737 printf "%s\n" "$ac_ct_CXX" >&6; }
5738 else
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 printf "%s\n" "no" >&6; }
5744 test -n "$ac_ct_CXX" && break
5745 done
5747 if test "x$ac_ct_CXX" = x; then
5748 CXX="g++"
5749 else
5750 case $cross_compiling:$ac_tool_warned in
5751 yes:)
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5755 esac
5756 CXX=$ac_ct_CXX
5762 # Provide some information about the compiler.
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5764 set X $ac_compile
5765 ac_compiler=$2
5766 for ac_option in --version -v -V -qversion; do
5767 { { ac_try="$ac_compiler $ac_option >&5"
5768 case "(($ac_try" in
5769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5771 esac
5772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5773 printf "%s\n" "$ac_try_echo"; } >&5
5774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5775 ac_status=$?
5776 if test -s conftest.err; then
5777 sed '10a\
5778 ... rest of stderr output deleted ...
5779 10q' conftest.err >conftest.er1
5780 cat conftest.er1 >&5
5782 rm -f conftest.er1 conftest.err
5783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5784 test $ac_status = 0; }
5785 done
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5788 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5789 if test ${ac_cv_cxx_compiler_gnu+y}
5790 then :
5791 printf %s "(cached) " >&6
5792 else $as_nop
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main (void)
5799 #ifndef __GNUC__
5800 choke me
5801 #endif
5804 return 0;
5806 _ACEOF
5807 if ac_fn_cxx_try_compile "$LINENO"
5808 then :
5809 ac_compiler_gnu=yes
5810 else $as_nop
5811 ac_compiler_gnu=no
5813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5814 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5818 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5821 if test $ac_compiler_gnu = yes; then
5822 GXX=yes
5823 else
5824 GXX=
5826 ac_test_CXXFLAGS=${CXXFLAGS+y}
5827 ac_save_CXXFLAGS=$CXXFLAGS
5828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5829 printf %s "checking whether $CXX accepts -g... " >&6; }
5830 if test ${ac_cv_prog_cxx_g+y}
5831 then :
5832 printf %s "(cached) " >&6
5833 else $as_nop
5834 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5835 ac_cxx_werror_flag=yes
5836 ac_cv_prog_cxx_g=no
5837 CXXFLAGS="-g"
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5842 main (void)
5846 return 0;
5848 _ACEOF
5849 if ac_fn_cxx_try_compile "$LINENO"
5850 then :
5851 ac_cv_prog_cxx_g=yes
5852 else $as_nop
5853 CXXFLAGS=""
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5858 main (void)
5862 return 0;
5864 _ACEOF
5865 if ac_fn_cxx_try_compile "$LINENO"
5866 then :
5868 else $as_nop
5869 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5870 CXXFLAGS="-g"
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5875 main (void)
5879 return 0;
5881 _ACEOF
5882 if ac_fn_cxx_try_compile "$LINENO"
5883 then :
5884 ac_cv_prog_cxx_g=yes
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
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5891 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5894 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5895 if test $ac_test_CXXFLAGS; then
5896 CXXFLAGS=$ac_save_CXXFLAGS
5897 elif test $ac_cv_prog_cxx_g = yes; then
5898 if test "$GXX" = yes; then
5899 CXXFLAGS="-g -O2"
5900 else
5901 CXXFLAGS="-g"
5903 else
5904 if test "$GXX" = yes; then
5905 CXXFLAGS="-O2"
5906 else
5907 CXXFLAGS=
5910 ac_prog_cxx_stdcxx=no
5911 if test x$ac_prog_cxx_stdcxx = xno
5912 then :
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5914 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5915 if test ${ac_cv_prog_cxx_cxx11+y}
5916 then :
5917 printf %s "(cached) " >&6
5918 else $as_nop
5919 ac_cv_prog_cxx_cxx11=no
5920 ac_save_CXX=$CXX
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5923 $ac_cxx_conftest_cxx11_program
5924 _ACEOF
5925 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5927 CXX="$ac_save_CXX $ac_arg"
5928 if ac_fn_cxx_try_compile "$LINENO"
5929 then :
5930 ac_cv_prog_cxx_cxx11=$ac_arg
5932 rm -f core conftest.err conftest.$ac_objext conftest.beam
5933 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5934 done
5935 rm -f conftest.$ac_ext
5936 CXX=$ac_save_CXX
5939 if test "x$ac_cv_prog_cxx_cxx11" = xno
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5942 printf "%s\n" "unsupported" >&6; }
5943 else $as_nop
5944 if test "x$ac_cv_prog_cxx_cxx11" = x
5945 then :
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5947 printf "%s\n" "none needed" >&6; }
5948 else $as_nop
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5950 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5951 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5953 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5954 ac_prog_cxx_stdcxx=cxx11
5957 if test x$ac_prog_cxx_stdcxx = xno
5958 then :
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5960 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5961 if test ${ac_cv_prog_cxx_cxx98+y}
5962 then :
5963 printf %s "(cached) " >&6
5964 else $as_nop
5965 ac_cv_prog_cxx_cxx98=no
5966 ac_save_CXX=$CXX
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 $ac_cxx_conftest_cxx98_program
5970 _ACEOF
5971 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5973 CXX="$ac_save_CXX $ac_arg"
5974 if ac_fn_cxx_try_compile "$LINENO"
5975 then :
5976 ac_cv_prog_cxx_cxx98=$ac_arg
5978 rm -f core conftest.err conftest.$ac_objext conftest.beam
5979 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5980 done
5981 rm -f conftest.$ac_ext
5982 CXX=$ac_save_CXX
5985 if test "x$ac_cv_prog_cxx_cxx98" = xno
5986 then :
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5988 printf "%s\n" "unsupported" >&6; }
5989 else $as_nop
5990 if test "x$ac_cv_prog_cxx_cxx98" = x
5991 then :
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5993 printf "%s\n" "none needed" >&6; }
5994 else $as_nop
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5996 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5997 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5999 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6000 ac_prog_cxx_stdcxx=cxx98
6004 ac_ext=c
6005 ac_cpp='$CPP $CPPFLAGS'
6006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 printf %s "checking for $ac_word... " >&6; }
6015 if test ${ac_cv_prog_CPPBIN+y}
6016 then :
6017 printf %s "(cached) " >&6
6018 else $as_nop
6019 if test -n "$CPPBIN"; then
6020 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 case $as_dir in #(((
6027 '') as_dir=./ ;;
6028 */) ;;
6029 *) as_dir=$as_dir/ ;;
6030 esac
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 CPPBIN=$ac_cv_prog_CPPBIN
6044 if test -n "$CPPBIN"; then
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6046 printf "%s\n" "$CPPBIN" >&6; }
6047 else
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 printf "%s\n" "no" >&6; }
6054 if test -z "$ac_cv_prog_CPPBIN"; then
6055 ac_ct_CPPBIN=$CPPBIN
6056 # Extract the first word of "cpp", so it can be a program name with args.
6057 set dummy cpp; ac_word=$2
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 printf %s "checking for $ac_word... " >&6; }
6060 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6061 then :
6062 printf %s "(cached) " >&6
6063 else $as_nop
6064 if test -n "$ac_ct_CPPBIN"; then
6065 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 case $as_dir in #(((
6072 '') as_dir=./ ;;
6073 */) ;;
6074 *) as_dir=$as_dir/ ;;
6075 esac
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ac_ct_CPPBIN="cpp"
6079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6089 if test -n "$ac_ct_CPPBIN"; then
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6091 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6092 else
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 printf "%s\n" "no" >&6; }
6097 if test "x$ac_ct_CPPBIN" = x; then
6098 CPPBIN="cpp"
6099 else
6100 case $cross_compiling:$ac_tool_warned in
6101 yes:)
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned=yes ;;
6105 esac
6106 CPPBIN=$ac_ct_CPPBIN
6108 else
6109 CPPBIN="$ac_cv_prog_CPPBIN"
6113 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}ld; ac_word=$2
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 printf %s "checking for $ac_word... " >&6; }
6120 if test ${ac_cv_prog_LD+y}
6121 then :
6122 printf %s "(cached) " >&6
6123 else $as_nop
6124 if test -n "$LD"; then
6125 ac_cv_prog_LD="$LD" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 case $as_dir in #(((
6132 '') as_dir=./ ;;
6133 */) ;;
6134 *) as_dir=$as_dir/ ;;
6135 esac
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_LD="${ac_tool_prefix}ld"
6139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 LD=$ac_cv_prog_LD
6149 if test -n "$LD"; then
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6151 printf "%s\n" "$LD" >&6; }
6152 else
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 printf "%s\n" "no" >&6; }
6159 if test -z "$ac_cv_prog_LD"; then
6160 ac_ct_LD=$LD
6161 # Extract the first word of "ld", so it can be a program name with args.
6162 set dummy ld; ac_word=$2
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 printf %s "checking for $ac_word... " >&6; }
6165 if test ${ac_cv_prog_ac_ct_LD+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else $as_nop
6169 if test -n "$ac_ct_LD"; then
6170 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 case $as_dir in #(((
6177 '') as_dir=./ ;;
6178 */) ;;
6179 *) as_dir=$as_dir/ ;;
6180 esac
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_ac_ct_LD="ld"
6184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6194 if test -n "$ac_ct_LD"; then
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6196 printf "%s\n" "$ac_ct_LD" >&6; }
6197 else
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 printf "%s\n" "no" >&6; }
6202 if test "x$ac_ct_LD" = x; then
6203 LD=""
6204 else
6205 case $cross_compiling:$ac_tool_warned in
6206 yes:)
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned=yes ;;
6210 esac
6211 LD=$ac_ct_LD
6213 else
6214 LD="$ac_cv_prog_LD"
6218 case $host in
6219 *-darwin*)
6220 with_fontconfig=${with_fontconfig:-no}
6222 *-mingw32*|*-cygwin*)
6223 enable_win16=${enable_win16:-no}
6224 with_mingw=${with_mingw:-no}
6226 esac
6229 case $host in
6230 x86_64*|amd64*)
6231 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6232 then
6233 CC="$CC -m32"
6234 CXX="$CXX -m32"
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6237 printf %s "checking whether $CC works... " >&6; }
6238 if test ${wine_cv_cc_m32+y}
6239 then :
6240 printf %s "(cached) " >&6
6241 else $as_nop
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6246 main (void)
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_link "$LINENO"
6254 then :
6255 wine_cv_cc_m32=yes
6256 else $as_nop
6257 wine_cv_cc_m32=no
6259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6260 conftest$ac_exeext conftest.$ac_ext
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6263 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6264 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
6265 host_cpu="i386"
6266 notice_platform="32-bit "
6267 TARGETFLAGS="$TARGETFLAGS -m32"
6268 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6269 export PKG_CONFIG_LIBDIR
6270 with_unwind=${with_unwind:-no}
6271 else
6272 if test "x${GCC}" = "xyes"
6273 then
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6275 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6276 if test ${wine_cv_builtin_ms_va_list+y}
6277 then :
6278 printf %s "(cached) " >&6
6279 else $as_nop
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <stdarg.h>
6284 main (void)
6286 void func(__builtin_ms_va_list *args);
6288 return 0;
6290 _ACEOF
6291 if ac_fn_c_try_compile "$LINENO"
6292 then :
6293 wine_cv_builtin_ms_va_list=yes
6294 else $as_nop
6295 wine_cv_builtin_ms_va_list=no
6297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6300 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6301 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
6303 CC="$CC -m64"
6304 CXX="$CXX -m64"
6305 host_cpu="x86_64"
6306 notice_platform="64-bit "
6307 TARGETFLAGS="$TARGETFLAGS -m64"
6310 arm*)
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6312 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6313 if test ${wine_cv_thumb2+y}
6314 then :
6315 printf %s "(cached) " >&6
6316 else $as_nop
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6321 main (void)
6323 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"
6329 then :
6330 wine_cv_thumb2=yes
6331 else $as_nop
6332 wine_cv_thumb2=no
6334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6335 conftest$ac_exeext conftest.$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6338 printf "%s\n" "$wine_cv_thumb2" >&6; }
6339 if test x"$wine_cv_thumb2" = xyes
6340 then
6341 CFLAGS="$CFLAGS -mthumb"
6342 TARGETFLAGS="$TARGETFLAGS -mthumb"
6343 else
6344 CFLAGS="$CFLAGS -marm"
6345 TARGETFLAGS="$TARGETFLAGS -marm"
6347 case $with_float_abi in
6348 soft|softfp|hard)
6349 float_abi=$with_float_abi ;;
6351 case $host_os in
6352 *eabihf)
6353 float_abi=hard ;;
6355 float_abi=softfp
6356 saved_CFLAGS=$CFLAGS
6357 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6359 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6360 if test ${wine_cv_float_abi+y}
6361 then :
6362 printf %s "(cached) " >&6
6363 else $as_nop
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6368 main (void)
6370 asm("vmrs r2,fpscr");
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_link "$LINENO"
6376 then :
6377 wine_cv_float_abi=yes
6378 else $as_nop
6379 wine_cv_float_abi=no
6381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6382 conftest$ac_exeext conftest.$ac_ext
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6385 printf "%s\n" "$wine_cv_float_abi" >&6; }
6386 if test $wine_cv_float_abi = no
6387 then
6388 float_abi=soft
6389 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6391 CFLAGS=$saved_CFLAGS
6392 esac
6394 esac
6395 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6396 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6398 i[3456789]86*)
6399 with_unwind=${with_unwind:-no}
6401 esac
6403 enable_win16=${enable_win16:-i386}
6404 enable_win64=${enable_win64:-no}
6405 enable_wow64=${enable_wow64:-aarch64,x86_64}
6406 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6407 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6409 enable_winetest=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6412 then
6413 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 case $build_os in
6418 cygwin*|mingw32*) toolsext=".exe"
6420 *) toolsext=""
6422 esac
6424 HOST_ARCH=unknown
6425 case "$host_cpu" in
6426 aarch64*) HOST_ARCH=aarch64 ;;
6427 arm*) HOST_ARCH=arm ;;
6428 i[3456789]86*) HOST_ARCH=i386 ;;
6429 x86_64) HOST_ARCH=x86_64 ;;
6430 esac
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s "checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6436 then :
6437 printf %s "(cached) " >&6
6438 else $as_nop
6439 wine_cv_toolsdir="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep=tools/makedep$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6454 enable_tools=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 else
6457 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir=$wine_cv_toolsdir
6461 MAKEDEP=$wine_makedep
6463 RUNTESTFLAGS="-q -P wine"
6465 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 then
6470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6473 for ac_prog in flex
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s "checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 case $as_dir in #(((
6491 '') as_dir=./ ;;
6492 */) ;;
6493 *) as_dir=$as_dir/ ;;
6494 esac
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 FLEX=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6511 else
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6518 done
6519 test -n "$FLEX" || FLEX="none"
6521 if test "$FLEX" = "none"
6522 then
6523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s "checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat >conftest.l <<EOF
6532 %top{
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l >/dev/null 2>&5
6538 then
6539 wine_cv_recent_flex=yes
6540 else
6541 wine_cv_recent_flex=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6548 for ac_prog in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s "checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 case $as_dir in #(((
6566 '') as_dir=./ ;;
6567 */) ;;
6568 *) as_dir=$as_dir/ ;;
6569 esac
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 BISON=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6586 else
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6593 done
6594 test -n "$BISON" || BISON="none"
6596 if test "$BISON" = "none"
6597 then
6598 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s "checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 cat >conftest.y <<EOF
6607 %define parse.error verbose
6609 empty: ;
6611 if $BISON conftest.y >/dev/null 2>&5
6612 then
6613 wine_cv_recent_bison=yes
6614 else
6615 wine_cv_recent_bison=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR="$AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 AR=$ac_cv_prog_AR
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6668 done
6670 if test -z "$AR"; then
6671 ac_ct_AR=$AR
6672 for ac_prog in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6710 else
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6717 done
6719 if test "x$ac_ct_AR" = x; then
6720 AR="ar"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 AR=$ac_ct_AR
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s "checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6738 then :
6739 printf %s "(cached) " >&6
6740 else $as_nop
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 case $as_dir in #(((
6749 '') as_dir=./ ;;
6750 */) ;;
6751 *) as_dir=$as_dir/ ;;
6752 esac
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 STRIP=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6769 else
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6777 ac_ct_STRIP=$STRIP
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x; then
6820 STRIP="strip"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 STRIP=$ac_ct_STRIP
6830 else
6831 STRIP="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s "checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6840 then :
6841 printf %s "(cached) " >&6
6842 else $as_nop
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 case $as_dir in #(((
6851 '') as_dir=./ ;;
6852 */) ;;
6853 *) as_dir=$as_dir/ ;;
6854 esac
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6871 else
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s "checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 then :
6886 printf %s "(cached) " >&6
6887 else $as_nop
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 case $as_dir in #(((
6896 '') as_dir=./ ;;
6897 */) ;;
6898 *) as_dir=$as_dir/ ;;
6899 esac
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x; then
6922 RANLIB=":"
6923 else
6924 case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930 RANLIB=$ac_ct_RANLIB
6932 else
6933 RANLIB="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s "checking whether ln -s works... " >&6; }
6938 LN_S=$as_ln_s
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6942 else
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s "checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6950 then :
6951 printf %s "(cached) " >&6
6952 else $as_nop
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6959 IFS=$as_save_IFS
6960 case $as_dir in #(((
6961 '') as_dir=./ ;;
6962 */) ;;
6963 *) as_dir=$as_dir/ ;;
6964 esac
6965 for ac_prog in grep ggrep
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p "$ac_path_GREP" || continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6973 *GNU*)
6974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6976 ac_count=0
6977 printf %s 0123456789 >"conftest.in"
6978 while :
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6986 as_fn_arith $ac_count + 1 && ac_count=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP="$ac_path_GREP"
6990 ac_path_GREP_max=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6994 done
6995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6996 esac
6998 $ac_path_GREP_found && break 3
6999 done
7000 done
7001 done
7002 IFS=$as_save_IFS
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 else
7007 ac_cv_path_GREP=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s "checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else $as_nop
7022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7023 then ac_cv_path_EGREP="$GREP -E"
7024 else
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7031 IFS=$as_save_IFS
7032 case $as_dir in #(((
7033 '') as_dir=./ ;;
7034 */) ;;
7035 *) as_dir=$as_dir/ ;;
7036 esac
7037 for ac_prog in egrep
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p "$ac_path_EGREP" || continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7045 *GNU*)
7046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7048 ac_count=0
7049 printf %s 0123456789 >"conftest.in"
7050 while :
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7058 as_fn_arith $ac_count + 1 && ac_count=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP="$ac_path_EGREP"
7062 ac_path_EGREP_max=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7066 done
7067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 esac
7070 $ac_path_EGREP_found && break 3
7071 done
7072 done
7073 done
7074 IFS=$as_save_IFS
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 else
7079 ac_cv_path_EGREP=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 case $LDCONFIG in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in /sbin /usr/sbin $PATH
7105 IFS=$as_save_IFS
7106 case $as_dir in #(((
7107 '') as_dir=./ ;;
7108 */) ;;
7109 *) as_dir=$as_dir/ ;;
7110 esac
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7123 esac
7125 LDCONFIG=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7129 else
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 MSGFMT=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7180 done
7181 test -n "$MSGFMT" || MSGFMT="false"
7183 if test ${ac_tool_prefix+y}
7184 then :
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 then :
7230 if test "x$cross_compiling" = xyes
7231 then :
7233 else $as_nop
7234 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config; ac_word=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s "checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 else
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7278 else $as_nop
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7283 then
7284 FONTFORGE=""
7285 RSVG=""
7286 CONVERT=""
7287 ICOTOOL=""
7288 else
7289 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 FONTFORGE=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7335 done
7336 test -n "$FONTFORGE" || FONTFORGE="false"
7338 for ac_prog in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 RSVG=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7383 done
7384 test -n "$RSVG" || RSVG="false"
7386 for ac_prog in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 CONVERT=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7431 done
7432 test -n "$CONVERT" || CONVERT="false"
7434 for ac_prog in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy $ac_prog; ac_word=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s "checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7441 then :
7442 printf %s "(cached) " >&6
7443 else $as_nop
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 case $as_dir in #(((
7452 '') as_dir=./ ;;
7453 */) ;;
7454 *) as_dir=$as_dir/ ;;
7455 esac
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 ICOTOOL=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7472 else
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7479 done
7480 test -n "$ICOTOOL" || ICOTOOL="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7486 then
7487 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s "checking for recent enough imagemagick... " >&6; }
7491 convert_version=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7493 then
7494 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 then
7498 CONVERT=false
7501 if test "$CONVERT" = false
7502 then
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7513 then
7514 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s "checking for recent enough icotool... " >&6; }
7518 icotool_version=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7520 then
7521 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 then
7525 ICOTOOL=false
7526 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 else
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7540 with_gettext=yes
7541 with_gettextpo=yes
7543 enable_werror=yes
7546 test "x$with_gettext" != xno || MSGFMT=false
7547 if test "$MSGFMT" != "false"
7548 then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s "checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7552 then :
7553 printf %s "(cached) " >&6
7554 else $as_nop
7555 cat >conftest.po <<EOF
7556 # comment
7557 msgctxt "ctxt"
7558 msgid "id"
7559 msgstr "str"
7561 if $MSGFMT -o /dev/null conftest.po 2>&5
7562 then
7563 wine_cv_msgfmt_contexts=yes
7564 else
7565 wine_cv_msgfmt_contexts=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7572 if test "$MSGFMT" = false
7573 then :
7574 case "x$with_gettext" in
7575 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7576 xno) ;;
7577 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 esac
7580 enable_po=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-li386 $LIBS"
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7600 main (void)
7602 return i386_set_ldt ();
7604 return 0;
7606 _ACEOF
7607 if ac_fn_c_try_link "$LINENO"
7608 then :
7609 ac_cv_lib_i386_i386_set_ldt=yes
7610 else $as_nop
7611 ac_cv_lib_i386_i386_set_ldt=no
7613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7620 then :
7621 I386_LIBS="-li386"
7626 OPENGL_LIBS=""
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7632 then :
7633 enableval=$enable_largefile;
7636 if test "$enable_largefile" != no; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s "checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 ac_cv_sys_largefile_CC=no
7645 if test "$GCC" != yes; then
7646 ac_save_CC=$CC
7647 while :; do
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam
7674 CC="$CC -n32"
7675 if ac_fn_c_try_compile "$LINENO"
7676 then :
7677 ac_cv_sys_largefile_CC=' -n32'; break
7679 rm -f core conftest.err conftest.$ac_objext conftest.beam
7680 break
7681 done
7682 CC=$ac_save_CC
7683 rm -f conftest.$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no; then
7689 CC=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7695 then :
7696 printf %s "(cached) " >&6
7697 else $as_nop
7698 while :; do
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7709 ? 1 : -1];
7711 main (void)
7715 return 0;
7717 _ACEOF
7718 if ac_fn_c_try_compile "$LINENO"
7719 then :
7720 ac_cv_sys_file_offset_bits=no; break
7722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=64; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 ac_cv_sys_file_offset_bits=unknown
7749 break
7750 done
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7755 no | unknown) ;;
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 esac
7760 rm -rf conftest*
7761 if test $ac_cv_sys_file_offset_bits = unknown; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7765 then :
7766 printf %s "(cached) " >&6
7767 else $as_nop
7768 while :; do
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7779 ? 1 : -1];
7781 main (void)
7785 return 0;
7787 _ACEOF
7788 if ac_fn_c_try_compile "$LINENO"
7789 then :
7790 ac_cv_sys_large_files=no; break
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=1; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 ac_cv_sys_large_files=unknown
7819 break
7820 done
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7825 no | unknown) ;;
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7829 esac
7830 rm -rf conftest*
7835 ac_header= ac_cache=
7836 for ac_item in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7840 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header= ac_cache=
7844 elif test $ac_header; then
7845 ac_cache=$ac_item
7846 else
7847 ac_header=$ac_item
7849 done
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 then :
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_lwp_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_mach_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_machine_cpu_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_mntent_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netdb_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_in_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_port_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_pthread_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pwd_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sched_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_sg_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_stdint_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_attr_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_auxv_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_cdio_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_epoll_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_event_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_extattr_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_filio_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_ipc_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_link_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_modem_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_mtio_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_param_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_prctl_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_queue_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_random_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_resource_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_shm_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_signal_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_sockio_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_strtio_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_syscall_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_times_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_uio_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_user_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_utsname_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_vnode_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_xattr_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_syscall_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_utime_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8341 then :
8343 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8347 if test $ac_cv_header_sys_mkdev_h = no; then
8348 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8350 then :
8352 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8358 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8359 if test ${ac_cv_header_stat_broken+y}
8360 then :
8361 printf %s "(cached) " >&6
8362 else $as_nop
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 #include <sys/types.h>
8366 #include <sys/stat.h>
8368 #if defined S_ISBLK && defined S_IFDIR
8369 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8370 #endif
8372 #if defined S_ISBLK && defined S_IFCHR
8373 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8374 #endif
8376 #if defined S_ISLNK && defined S_IFREG
8377 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8378 #endif
8380 #if defined S_ISSOCK && defined S_IFREG
8381 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8382 #endif
8384 _ACEOF
8385 if ac_fn_c_try_compile "$LINENO"
8386 then :
8387 ac_cv_header_stat_broken=no
8388 else $as_nop
8389 ac_cv_header_stat_broken=yes
8391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8394 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8395 if test $ac_cv_header_stat_broken = yes; then
8397 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8403 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8406 #endif
8408 if test "x$ac_cv_header_sys_conf_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8416 #endif
8418 if test "x$ac_cv_header_sys_mount_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_statfs_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_user_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_vfs_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8455 saved_sysctl_h_CFLAGS=$CFLAGS
8456 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8457 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8468 CFLAGS=$saved_sysctl_h_CFLAGS
8470 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8474 #endif
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8483 #endif
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8489 #endif
8491 if test "x$ac_cv_header_netinet_ip_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8500 #endif
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8509 #endif
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8515 #endif
8517 if test "x$ac_cv_header_net_if_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8526 #endif
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8535 #endif
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8541 #endif
8543 if test "x$ac_cv_header_net_if_arp_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8552 #endif
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8561 #endif
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8567 #endif
8569 if test "x$ac_cv_header_net_if_dl_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8578 #endif
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8587 #endif
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8593 #endif
8595 if test "x$ac_cv_header_net_if_types_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8604 #endif
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8613 #endif
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8619 #endif
8621 if test "x$ac_cv_header_net_route_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8630 #endif
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8639 #endif
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8645 #endif
8647 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8656 #endif
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8665 #endif
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8671 #endif
8673 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8682 #endif
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8691 #endif
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8697 #endif
8699 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8708 #endif
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8717 #endif
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8723 #endif
8725 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8734 #endif
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8743 #endif
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8749 #endif
8751 if test "x$ac_cv_header_netinet_udp_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8760 #endif
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8769 #endif
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8775 #endif
8777 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8783 #include <sys/socket.h>
8784 #ifdef HAVE_SYS_SOCKETVAR_H
8785 # include <sys/socketvar.h>
8786 #endif
8787 #ifdef HAVE_NET_ROUTE_H
8788 # include <net/route.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8795 #endif
8796 #ifdef HAVE_NET_IF_H
8797 # include <net/if.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8801 #endif
8803 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8804 then :
8805 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8808 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8809 #include <sys/socket.h>
8810 #ifdef HAVE_SYS_SOCKETVAR_H
8811 # include <sys/socketvar.h>
8812 #endif
8813 #ifdef HAVE_NET_ROUTE_H
8814 # include <net/route.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IN_H
8817 # include <netinet/in.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_SYSTM_H
8820 # include <netinet/in_systm.h>
8821 #endif
8822 #ifdef HAVE_NET_IF_H
8823 # include <net/if.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IP_H
8826 # include <netinet/ip.h>
8827 #endif
8829 if test "x$ac_cv_header_sys_un_h" = xyes
8830 then :
8831 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_H
8848 # include <netinet/ip.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_VAR_H
8851 # include <netinet/ip_var.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_ICMP_H
8854 # include <netinet/ip_icmp.h>
8855 #endif
8856 #ifdef HAVE_NETINET_UDP_H
8857 # include <netinet/udp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_TCP_H
8860 # include <netinet/tcp.h>
8861 #endif
8863 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8868 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8869 #include <sys/socket.h>
8870 #ifdef HAVE_SYS_SOCKETVAR_H
8871 # include <sys/socketvar.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_VAR_H
8883 # include <netinet/ip_var.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_ICMP_H
8886 # include <netinet/ip_icmp.h>
8887 #endif
8888 #ifdef HAVE_NETINET_UDP_H
8889 # include <netinet/udp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_TCP_H
8892 # include <netinet/tcp.h>
8893 #endif
8895 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8900 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8901 #include <sys/socket.h>
8902 #ifdef HAVE_SYS_SOCKETVAR_H
8903 # include <sys/socketvar.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_H
8912 # include <netinet/ip.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_VAR_H
8915 # include <netinet/ip_var.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_ICMP_H
8918 # include <netinet/ip_icmp.h>
8919 #endif
8920 #ifdef HAVE_NETINET_UDP_H
8921 # include <netinet/udp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_TCP_H
8924 # include <netinet/tcp.h>
8925 #endif
8927 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8933 #include <sys/socket.h>
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IN_H
8938 # include <netinet/in.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_SYSTM_H
8941 # include <netinet/in_systm.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IP_H
8944 # include <netinet/ip.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_VAR_H
8947 # include <netinet/ip_var.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_ICMP_H
8950 # include <netinet/ip_icmp.h>
8951 #endif
8952 #ifdef HAVE_NETINET_UDP_H
8953 # include <netinet/udp.h>
8954 #endif
8955 #ifdef HAVE_NETINET_TCP_H
8956 # include <netinet/tcp.h>
8957 #endif
8959 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8960 then :
8961 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_ASM_TYPES_H
8969 # include <asm/types.h>
8970 #endif
8971 #ifdef HAVE_LINUX_TYPES_H
8972 # include <linux/types.h>
8973 #endif
8975 if test "x$ac_cv_header_linux_ipx_h" = xyes
8976 then :
8977 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8984 #endif
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8987 #endif
8989 if test "x$ac_cv_header_linux_irda_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8998 #endif
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9001 #endif
9003 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9004 then :
9005 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9010 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9011 #include <sys/socket.h>
9012 #ifdef HAVE_NETINET_IN_H
9013 # include <netinet/in.h>
9014 #endif
9015 #ifdef HAVE_ARPA_NAMESER_H
9016 # include <arpa/nameser.h>
9017 #endif
9019 if test "x$ac_cv_header_resolv_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9028 if test "x$ac_cv_header_ifaddrs_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9037 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9045 #ifdef HAVE_SYS_UCONTEXT_H
9046 #include <sys/ucontext.h>
9047 #endif
9049 if test "x$ac_cv_header_sys_thr_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9057 #include <pthread.h>
9058 #endif
9060 if test "x$ac_cv_header_pthread_np_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9068 #include <sys/types.h>
9069 #ifdef HAVE_ASM_TYPES_H
9070 #include <asm/types.h>
9071 #endif
9073 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9074 then :
9075 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9081 #include <sys/param.h>
9082 #endif
9083 #include <sys/socket.h>
9084 #ifdef HAVE_SYS_QUEUE_H
9085 #include <sys/queue.h>
9086 #endif
9088 if test "x$ac_cv_header_libprocstat_h" = xyes
9089 then :
9090 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9095 if test "x$ac_cv_header_sys_xattr_h" = xyes
9096 then
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9098 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9099 if test ${wine_cv_xattr_extra_args+y}
9100 then :
9101 printf %s "(cached) " >&6
9102 else $as_nop
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <sys/xattr.h>
9107 main (void)
9109 getxattr("", "", "", 0, 0, 0);
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_compile "$LINENO"
9115 then :
9116 wine_cv_xattr_extra_args=yes
9117 else $as_nop
9118 wine_cv_xattr_extra_args=no
9120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9123 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9124 test $wine_cv_xattr_extra_args != yes ||
9125 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9130 DLLFLAGS=""
9132 LDDLLFLAGS=""
9134 LDEXECFLAGS=""
9136 EXTRACFLAGS=""
9138 UNIXDLLFLAGS="-fPIC"
9140 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9142 TOP_INSTALL_LIB=""
9144 TOP_INSTALL_DEV=""
9146 WINELOADER_LDFLAGS=""
9148 WINEPRELOADER_LDFLAGS=""
9150 DLLEXT=".so"
9152 LIBEXT="so"
9153 # Extract the first word of "ldd", so it can be a program name with args.
9154 set dummy ldd; ac_word=$2
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 printf %s "checking for $ac_word... " >&6; }
9157 if test ${ac_cv_path_LDD+y}
9158 then :
9159 printf %s "(cached) " >&6
9160 else $as_nop
9161 case $LDD in
9162 [\\/]* | ?:[\\/]*)
9163 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 as_dummy="/sbin:/usr/sbin:$PATH"
9168 for as_dir in $as_dummy
9170 IFS=$as_save_IFS
9171 case $as_dir in #(((
9172 '') as_dir=./ ;;
9173 */) ;;
9174 *) as_dir=$as_dir/ ;;
9175 esac
9176 for ac_exec_ext in '' $ac_executable_extensions; do
9177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9178 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9180 break 2
9182 done
9183 done
9184 IFS=$as_save_IFS
9186 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9188 esac
9190 LDD=$ac_cv_path_LDD
9191 if test -n "$LDD"; then
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9193 printf "%s\n" "$LDD" >&6; }
9194 else
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 printf "%s\n" "no" >&6; }
9200 if test -n "$ac_tool_prefix"; then
9201 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9202 set dummy ${ac_tool_prefix}otool; ac_word=$2
9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9204 printf %s "checking for $ac_word... " >&6; }
9205 if test ${ac_cv_prog_OTOOL+y}
9206 then :
9207 printf %s "(cached) " >&6
9208 else $as_nop
9209 if test -n "$OTOOL"; then
9210 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9211 else
9212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9213 for as_dir in $PATH
9215 IFS=$as_save_IFS
9216 case $as_dir in #(((
9217 '') as_dir=./ ;;
9218 */) ;;
9219 *) as_dir=$as_dir/ ;;
9220 esac
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9223 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9225 break 2
9227 done
9228 done
9229 IFS=$as_save_IFS
9233 OTOOL=$ac_cv_prog_OTOOL
9234 if test -n "$OTOOL"; then
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9236 printf "%s\n" "$OTOOL" >&6; }
9237 else
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 printf "%s\n" "no" >&6; }
9244 if test -z "$ac_cv_prog_OTOOL"; then
9245 ac_ct_OTOOL=$OTOOL
9246 # Extract the first word of "otool", so it can be a program name with args.
9247 set dummy otool; ac_word=$2
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 printf %s "checking for $ac_word... " >&6; }
9250 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9251 then :
9252 printf %s "(cached) " >&6
9253 else $as_nop
9254 if test -n "$ac_ct_OTOOL"; then
9255 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9256 else
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 for as_dir in $PATH
9260 IFS=$as_save_IFS
9261 case $as_dir in #(((
9262 '') as_dir=./ ;;
9263 */) ;;
9264 *) as_dir=$as_dir/ ;;
9265 esac
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_ac_ct_OTOOL="otool"
9269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9270 break 2
9272 done
9273 done
9274 IFS=$as_save_IFS
9278 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9279 if test -n "$ac_ct_OTOOL"; then
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9281 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9282 else
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 printf "%s\n" "no" >&6; }
9287 if test "x$ac_ct_OTOOL" = x; then
9288 OTOOL="otool"
9289 else
9290 case $cross_compiling:$ac_tool_warned in
9291 yes:)
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9293 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9294 ac_tool_warned=yes ;;
9295 esac
9296 OTOOL=$ac_ct_OTOOL
9298 else
9299 OTOOL="$ac_cv_prog_OTOOL"
9302 if test -n "$ac_tool_prefix"; then
9303 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9304 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306 printf %s "checking for $ac_word... " >&6; }
9307 if test ${ac_cv_prog_READELF+y}
9308 then :
9309 printf %s "(cached) " >&6
9310 else $as_nop
9311 if test -n "$READELF"; then
9312 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9313 else
9314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9315 for as_dir in $PATH
9317 IFS=$as_save_IFS
9318 case $as_dir in #(((
9319 '') as_dir=./ ;;
9320 */) ;;
9321 *) as_dir=$as_dir/ ;;
9322 esac
9323 for ac_exec_ext in '' $ac_executable_extensions; do
9324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9327 break 2
9329 done
9330 done
9331 IFS=$as_save_IFS
9335 READELF=$ac_cv_prog_READELF
9336 if test -n "$READELF"; then
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9338 printf "%s\n" "$READELF" >&6; }
9339 else
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9341 printf "%s\n" "no" >&6; }
9346 if test -z "$ac_cv_prog_READELF"; then
9347 ac_ct_READELF=$READELF
9348 # Extract the first word of "readelf", so it can be a program name with args.
9349 set dummy readelf; ac_word=$2
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 printf %s "checking for $ac_word... " >&6; }
9352 if test ${ac_cv_prog_ac_ct_READELF+y}
9353 then :
9354 printf %s "(cached) " >&6
9355 else $as_nop
9356 if test -n "$ac_ct_READELF"; then
9357 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9358 else
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9360 for as_dir in $PATH
9362 IFS=$as_save_IFS
9363 case $as_dir in #(((
9364 '') as_dir=./ ;;
9365 */) ;;
9366 *) as_dir=$as_dir/ ;;
9367 esac
9368 for ac_exec_ext in '' $ac_executable_extensions; do
9369 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9370 ac_cv_prog_ac_ct_READELF="readelf"
9371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9372 break 2
9374 done
9375 done
9376 IFS=$as_save_IFS
9380 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9381 if test -n "$ac_ct_READELF"; then
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9383 printf "%s\n" "$ac_ct_READELF" >&6; }
9384 else
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9386 printf "%s\n" "no" >&6; }
9389 if test "x$ac_ct_READELF" = x; then
9390 READELF="true"
9391 else
9392 case $cross_compiling:$ac_tool_warned in
9393 yes:)
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9395 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9396 ac_tool_warned=yes ;;
9397 esac
9398 READELF=$ac_ct_READELF
9400 else
9401 READELF="$ac_cv_prog_READELF"
9404 wine_rules="all:"
9405 SUBDIRS=""
9407 DISABLED_SUBDIRS=""
9409 CONFIGURE_TARGETS=""
9412 wine_fn_config_makefile ()
9414 as_fn_append SUBDIRS " \\$as_nl $1"
9415 eval enable=\$$2
9416 case "$enable" in
9417 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9418 *aarch64*|*arm*|*i386*|*x86_64*)
9419 if test -n "$PE_ARCHS"
9420 then
9421 for i in $PE_ARCHS
9423 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9424 done
9425 else
9426 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9427 fi;;
9428 esac
9431 wine_fn_config_symlink ()
9433 ac_links=$@
9434 as_fn_append wine_rules "
9435 $ac_links:
9436 @./config.status \$@"
9437 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9440 case $host_os in
9441 cygwin*|mingw32*)
9442 LIBEXT="dll"
9443 DLLEXT=""
9444 EXTRACFLAGS="-D__WINE_PE_BUILD"
9445 case $host_cpu in
9446 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9447 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9448 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9449 then :
9450 printf %s "(cached) " >&6
9451 else $as_nop
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"
9459 then :
9460 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9461 else $as_nop
9462 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9469 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9470 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9471 then :
9472 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9473 fi ;;
9474 esac
9475 enable_loader=${enable_loader:-no}
9476 enable_server=${enable_server:-no}
9477 with_x=${with_x:-no}
9478 with_pthread=${with_pthread:-no}
9481 darwin*|macosx*)
9482 LIBEXT="dylib"
9483 DLLFLAGS="$DLLFLAGS -fPIC"
9484 LDDLLFLAGS="-fPIC"
9485 enable_winemac_drv=${enable_winemac_drv:-yes}
9486 CARBON_LIBS="-framework Carbon"
9488 COREFOUNDATION_LIBS="-framework CoreFoundation"
9490 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9492 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9494 METAL_LIBS="-framework Metal"
9496 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9498 CORESERVICES_LIBS="-framework CoreServices"
9500 APPKIT_LIBS="-framework AppKit"
9502 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9504 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9507 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9509 wine_can_build_preloader=yes
9510 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"
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9512 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9513 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9514 then :
9515 printf %s "(cached) " >&6
9516 else $as_nop
9517 ac_wine_try_cflags_saved=$CFLAGS
9518 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"
9524 then :
9525 ac_cv_cflags__Wl__no_new_main__e__main=yes
9526 else $as_nop
9527 ac_cv_cflags__Wl__no_new_main__e__main=no
9529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9530 conftest$ac_exeext conftest.$ac_ext
9531 CFLAGS=$ac_wine_try_cflags_saved
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9534 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9535 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9536 then :
9537 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9538 { 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
9539 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9540 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9541 then :
9542 printf %s "(cached) " >&6
9543 else $as_nop
9544 ac_wine_try_cflags_saved=$CFLAGS
9545 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"
9551 then :
9552 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9553 else $as_nop
9554 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9557 conftest$ac_exeext conftest.$ac_ext
9558 CFLAGS=$ac_wine_try_cflags_saved
9560 { 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
9561 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9562 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9563 then :
9564 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9565 else $as_nop
9566 wine_can_build_preloader=no
9568 else $as_nop
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9570 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9571 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9572 then :
9573 printf %s "(cached) " >&6
9574 else $as_nop
9575 ac_wine_try_cflags_saved=$CFLAGS
9576 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9579 int main(int argc, char **argv) { return 0; }
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"
9582 then :
9583 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9584 else $as_nop
9585 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9592 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9593 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9594 then :
9595 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9596 else $as_nop
9597 wine_can_build_preloader=no
9600 if test "$wine_can_build_preloader" = "yes"
9601 then
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9603 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9604 if test ${ac_cv_cflags__Wl__no_pie+y}
9605 then :
9606 printf %s "(cached) " >&6
9607 else $as_nop
9608 ac_wine_try_cflags_saved=$CFLAGS
9609 CFLAGS="$CFLAGS -Wl,-no_pie"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612 int main(int argc, char **argv) { return 0; }
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"
9615 then :
9616 ac_cv_cflags__Wl__no_pie=yes
9617 else $as_nop
9618 ac_cv_cflags__Wl__no_pie=no
9620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9621 conftest$ac_exeext conftest.$ac_ext
9622 CFLAGS=$ac_wine_try_cflags_saved
9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9625 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9626 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9627 then :
9628 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9630 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9631 else
9632 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9635 if test "x$with_coreaudio" != "xno";
9636 then
9637 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9639 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9641 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9642 then
9643 OPENCL_LIBS="-framework OpenCL"
9645 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9649 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9650 ac_ext=m
9651 ac_cpp='$OBJCPP $CPPFLAGS'
9652 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9653 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9654 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9656 ac_ext=m
9657 ac_cpp='$OBJCPP $CPPFLAGS'
9658 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9659 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9660 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9661 if test -n "$ac_tool_prefix"; then
9662 for ac_prog in gcc objcc objc cc CC clang
9664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9667 printf %s "checking for $ac_word... " >&6; }
9668 if test ${ac_cv_prog_OBJC+y}
9669 then :
9670 printf %s "(cached) " >&6
9671 else $as_nop
9672 if test -n "$OBJC"; then
9673 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9674 else
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 for as_dir in $PATH
9678 IFS=$as_save_IFS
9679 case $as_dir in #(((
9680 '') as_dir=./ ;;
9681 */) ;;
9682 *) as_dir=$as_dir/ ;;
9683 esac
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9686 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9688 break 2
9690 done
9691 done
9692 IFS=$as_save_IFS
9696 OBJC=$ac_cv_prog_OBJC
9697 if test -n "$OBJC"; then
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9699 printf "%s\n" "$OBJC" >&6; }
9700 else
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 printf "%s\n" "no" >&6; }
9706 test -n "$OBJC" && break
9707 done
9709 if test -z "$OBJC"; then
9710 ac_ct_OBJC=$OBJC
9711 for ac_prog in gcc objcc objc cc CC clang
9713 # Extract the first word of "$ac_prog", so it can be a program name with args.
9714 set dummy $ac_prog; ac_word=$2
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9716 printf %s "checking for $ac_word... " >&6; }
9717 if test ${ac_cv_prog_ac_ct_OBJC+y}
9718 then :
9719 printf %s "(cached) " >&6
9720 else $as_nop
9721 if test -n "$ac_ct_OBJC"; then
9722 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9723 else
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9725 for as_dir in $PATH
9727 IFS=$as_save_IFS
9728 case $as_dir in #(((
9729 '') as_dir=./ ;;
9730 */) ;;
9731 *) as_dir=$as_dir/ ;;
9732 esac
9733 for ac_exec_ext in '' $ac_executable_extensions; do
9734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9735 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9737 break 2
9739 done
9740 done
9741 IFS=$as_save_IFS
9745 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9746 if test -n "$ac_ct_OBJC"; then
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9748 printf "%s\n" "$ac_ct_OBJC" >&6; }
9749 else
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 printf "%s\n" "no" >&6; }
9755 test -n "$ac_ct_OBJC" && break
9756 done
9758 if test "x$ac_ct_OBJC" = x; then
9759 OBJC="gcc"
9760 else
9761 case $cross_compiling:$ac_tool_warned in
9762 yes:)
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9765 ac_tool_warned=yes ;;
9766 esac
9767 OBJC=$ac_ct_OBJC
9771 # Provide some information about the compiler.
9772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9773 set X $ac_compile
9774 ac_compiler=$2
9775 for ac_option in --version -v -V -qversion; do
9776 { { ac_try="$ac_compiler $ac_option >&5"
9777 case "(($ac_try" in
9778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9780 esac
9781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9782 printf "%s\n" "$ac_try_echo"; } >&5
9783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9784 ac_status=$?
9785 if test -s conftest.err; then
9786 sed '10a\
9787 ... rest of stderr output deleted ...
9788 10q' conftest.err >conftest.er1
9789 cat conftest.er1 >&5
9791 rm -f conftest.er1 conftest.err
9792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9794 done
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9797 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9798 if test ${ac_cv_objc_compiler_gnu+y}
9799 then :
9800 printf %s "(cached) " >&6
9801 else $as_nop
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9806 main (void)
9808 #ifndef __GNUC__
9809 choke me
9810 #endif
9813 return 0;
9815 _ACEOF
9816 if ac_fn_objc_try_compile "$LINENO"
9817 then :
9818 ac_compiler_gnu=yes
9819 else $as_nop
9820 ac_compiler_gnu=no
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9823 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9827 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9828 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9830 if test $ac_compiler_gnu = yes; then
9831 GOBJC=yes
9832 else
9833 GOBJC=
9835 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9836 ac_save_OBJCFLAGS=$OBJCFLAGS
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9838 printf %s "checking whether $OBJC accepts -g... " >&6; }
9839 if test ${ac_cv_prog_objc_g+y}
9840 then :
9841 printf %s "(cached) " >&6
9842 else $as_nop
9843 ac_save_objc_werror_flag=$ac_objc_werror_flag
9844 ac_objc_werror_flag=yes
9845 ac_cv_prog_objc_g=no
9846 OBJCFLAGS="-g"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9851 main (void)
9855 return 0;
9857 _ACEOF
9858 if ac_fn_objc_try_compile "$LINENO"
9859 then :
9860 ac_cv_prog_objc_g=yes
9861 else $as_nop
9862 OBJCFLAGS=""
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9867 main (void)
9871 return 0;
9873 _ACEOF
9874 if ac_fn_objc_try_compile "$LINENO"
9875 then :
9877 else $as_nop
9878 ac_objc_werror_flag=$ac_save_objc_werror_flag
9879 OBJCFLAGS="-g"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9884 main (void)
9888 return 0;
9890 _ACEOF
9891 if ac_fn_objc_try_compile "$LINENO"
9892 then :
9893 ac_cv_prog_objc_g=yes
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 ac_objc_werror_flag=$ac_save_objc_werror_flag
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9903 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9904 if test $ac_test_OBJCFLAGS; then
9905 OBJCFLAGS=$ac_save_OBJCFLAGS
9906 elif test $ac_cv_prog_objc_g = yes; then
9907 if test "$GOBJC" = yes; then
9908 OBJCFLAGS="-g -O2"
9909 else
9910 OBJCFLAGS="-g"
9912 else
9913 if test "$GOBJC" = yes; then
9914 OBJCFLAGS="-O2"
9915 else
9916 OBJCFLAGS=
9919 ac_ext=m
9920 ac_cpp='$OBJCPP $CPPFLAGS'
9921 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9922 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9923 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 #include <Metal/Metal.h>
9930 main (void)
9932 id<MTLDevice> device; device.registryID;
9934 return 0;
9936 _ACEOF
9937 if ac_fn_objc_try_compile "$LINENO"
9938 then :
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9940 printf "%s\n" "yes" >&6; }
9942 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9944 else $as_nop
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 printf "%s\n" "no" >&6; }
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9949 ac_ext=c
9950 ac_cpp='$CPP $CPPFLAGS'
9951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9956 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9957 WINELOADER_DEPENDS="wine_info.plist"
9961 linux-android*)
9963 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9965 DLLFLAGS="$DLLFLAGS -fPIC"
9966 LDDLLFLAGS="-fPIC"
9967 LDEXECFLAGS="-Wl,-pie"
9968 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9970 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9971 if test ${ac_cv_cflags__Wl__z_defs+y}
9972 then :
9973 printf %s "(cached) " >&6
9974 else $as_nop
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 CFLAGS="$CFLAGS -Wl,-z,defs"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"
9982 then :
9983 ac_cv_cflags__Wl__z_defs=yes
9984 else $as_nop
9985 ac_cv_cflags__Wl__z_defs=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9992 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9993 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9994 then :
9995 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9998 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9999 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10000 then :
10001 printf %s "(cached) " >&6
10002 else $as_nop
10003 ac_wine_try_cflags_saved=$CFLAGS
10004 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 int main(int argc, char **argv) { return 0; }
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"
10010 then :
10011 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10012 else $as_nop
10013 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10020 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10021 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10022 then :
10023 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10025 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10028 printf %s "checking for -lEGL... " >&6; }
10029 if test ${ac_cv_lib_soname_EGL+y}
10030 then :
10031 printf %s "(cached) " >&6
10032 else $as_nop
10033 ac_check_soname_save_LIBS=$LIBS
10034 LIBS="-lEGL $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 char eglGetProcAddress ();
10043 main (void)
10045 return eglGetProcAddress ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"
10051 then :
10052 case "$LIBEXT" in
10053 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10054 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'` ;;
10055 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10056 if ${ac_cv_lib_soname_EGL:+false} :
10057 then :
10058 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10059 fi ;;
10060 esac
10061 else $as_nop
10062 ac_cv_lib_soname_EGL=
10064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_soname_save_LIBS
10068 if ${ac_cv_lib_soname_EGL:+false} :
10069 then :
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10071 printf "%s\n" "not found" >&6; }
10073 else $as_nop
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10075 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10077 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10082 printf %s "checking for -lGLESv2... " >&6; }
10083 if test ${ac_cv_lib_soname_GLESv2+y}
10084 then :
10085 printf %s "(cached) " >&6
10086 else $as_nop
10087 ac_check_soname_save_LIBS=$LIBS
10088 LIBS="-lGLESv2 $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 char glFlush ();
10097 main (void)
10099 return glFlush ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"
10105 then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_GLESv2:+false} :
10111 then :
10112 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10115 else $as_nop
10116 ac_cv_lib_soname_GLESv2=
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_GLESv2:+false} :
10123 then :
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10125 printf "%s\n" "not found" >&6; }
10127 else $as_nop
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10129 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10131 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10136 if test "x$exec_prefix" = xNONE
10137 then
10138 case $host_cpu in
10139 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10140 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10141 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10142 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10143 esac
10149 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10151 test "$ac_cv_sys_file_offset_bits" = 64 &&
10152 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10154 case $host_cpu in
10155 *i[3456789]86*)
10156 DLLFLAGS="$DLLFLAGS -fno-PIC"
10157 LDDLLFLAGS="-fno-PIC"
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10159 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10160 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10161 then :
10162 printf %s "(cached) " >&6
10163 else $as_nop
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"
10171 then :
10172 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10173 else $as_nop
10174 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10181 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10182 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10183 then :
10184 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10188 DLLFLAGS="$DLLFLAGS -fPIC"
10189 LDDLLFLAGS="-fPIC" ;;
10190 esac
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10193 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10194 if test ${ac_cv_cflags__Wl__z_defs+y}
10195 then :
10196 printf %s "(cached) " >&6
10197 else $as_nop
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 CFLAGS="$CFLAGS -Wl,-z,defs"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"
10205 then :
10206 ac_cv_cflags__Wl__z_defs=yes
10207 else $as_nop
10208 ac_cv_cflags__Wl__z_defs=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10215 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10216 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10217 then :
10218 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10221 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10222 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10223 then :
10224 printf %s "(cached) " >&6
10225 else $as_nop
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"
10233 then :
10234 ac_cv_cflags__Wl___export_dynamic=yes
10235 else $as_nop
10236 ac_cv_cflags__Wl___export_dynamic=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10244 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10245 then :
10246 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10248 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10250 case $host_os in
10251 linux*)
10252 as_fn_append WINELOADER_LDFLAGS " -pie"
10253 case $HOST_ARCH in
10254 i386|arm)
10255 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10258 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10259 if test ${ac_cv_cflags__static_pie+y}
10260 then :
10261 printf %s "(cached) " >&6
10262 else $as_nop
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 CFLAGS="$CFLAGS -static-pie"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int main(int argc, char **argv) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"
10270 then :
10271 ac_cv_cflags__static_pie=yes
10272 else $as_nop
10273 ac_cv_cflags__static_pie=no
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 CFLAGS=$ac_wine_try_cflags_saved
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10280 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10281 if test "x$ac_cv_cflags__static_pie" = xyes
10282 then :
10283 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10284 else $as_nop
10285 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10288 esac
10291 case $HOST_ARCH in
10292 i386|arm)
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10294 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10295 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10296 then :
10297 printf %s "(cached) " >&6
10298 else $as_nop
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int main(int argc, char **argv) { return 0; }
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"
10306 then :
10307 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10308 else $as_nop
10309 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10316 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10317 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10318 then :
10319 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10320 else $as_nop
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10322 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10323 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10324 then :
10325 printf %s "(cached) " >&6
10326 else $as_nop
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int main(int argc, char **argv) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"
10334 then :
10335 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10336 else $as_nop
10337 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10344 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10345 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10346 then :
10347 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10352 as_fn_append WINELOADER_LDFLAGS " -pie"
10354 esac
10356 esac
10358 esac
10360 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10361 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10362 enable_winemac_drv=${enable_winemac_drv:-no}
10364 PE_ARCHS=""
10366 cross_archs=
10367 if test ${enable_archs+y}
10368 then :
10369 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10370 ac_save_IFS=$IFS
10371 IFS=' ,'
10372 set x $enable_archs
10373 IFS=$ac_save_IFS
10374 shift
10375 for arch
10377 case $arch in
10378 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10379 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10380 esac
10381 done
10382 else $as_nop
10383 if test "x$with_mingw" != xno
10384 then
10385 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10386 case "x$with_mingw" in
10387 x|xyes) ;;
10388 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10389 esac
10393 for wine_arch in $cross_archs
10395 if eval \${${wine_arch}_CC:+false} :
10396 then :
10397 case $wine_arch in
10398 aarch64)
10399 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10401 # Extract the first word of "$ac_prog", so it can be a program name with args.
10402 set dummy $ac_prog; ac_word=$2
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 printf %s "checking for $ac_word... " >&6; }
10405 if test ${ac_cv_prog_aarch64_CC+y}
10406 then :
10407 printf %s "(cached) " >&6
10408 else $as_nop
10409 if test -n "$aarch64_CC"; then
10410 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10411 else
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10415 IFS=$as_save_IFS
10416 case $as_dir in #(((
10417 '') as_dir=./ ;;
10418 */) ;;
10419 *) as_dir=$as_dir/ ;;
10420 esac
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10423 ac_cv_prog_aarch64_CC="$ac_prog"
10424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10425 break 2
10427 done
10428 done
10429 IFS=$as_save_IFS
10433 aarch64_CC=$ac_cv_prog_aarch64_CC
10434 if test -n "$aarch64_CC"; then
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10436 printf "%s\n" "$aarch64_CC" >&6; }
10437 else
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 printf "%s\n" "no" >&6; }
10443 test -n "$aarch64_CC" && break
10444 done
10445 test -n "$aarch64_CC" || aarch64_CC="false"
10448 arm)
10449 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10451 # Extract the first word of "$ac_prog", so it can be a program name with args.
10452 set dummy $ac_prog; ac_word=$2
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 printf %s "checking for $ac_word... " >&6; }
10455 if test ${ac_cv_prog_arm_CC+y}
10456 then :
10457 printf %s "(cached) " >&6
10458 else $as_nop
10459 if test -n "$arm_CC"; then
10460 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10461 else
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10465 IFS=$as_save_IFS
10466 case $as_dir in #(((
10467 '') as_dir=./ ;;
10468 */) ;;
10469 *) as_dir=$as_dir/ ;;
10470 esac
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_arm_CC="$ac_prog"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10475 break 2
10477 done
10478 done
10479 IFS=$as_save_IFS
10483 arm_CC=$ac_cv_prog_arm_CC
10484 if test -n "$arm_CC"; then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10486 printf "%s\n" "$arm_CC" >&6; }
10487 else
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 printf "%s\n" "no" >&6; }
10493 test -n "$arm_CC" && break
10494 done
10495 test -n "$arm_CC" || arm_CC="false"
10498 i386)
10499 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 "
10500 for ac_prog in $ac_prefix_list clang
10502 # Extract the first word of "$ac_prog", so it can be a program name with args.
10503 set dummy $ac_prog; ac_word=$2
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 printf %s "checking for $ac_word... " >&6; }
10506 if test ${ac_cv_prog_i386_CC+y}
10507 then :
10508 printf %s "(cached) " >&6
10509 else $as_nop
10510 if test -n "$i386_CC"; then
10511 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10512 else
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10516 IFS=$as_save_IFS
10517 case $as_dir in #(((
10518 '') as_dir=./ ;;
10519 */) ;;
10520 *) as_dir=$as_dir/ ;;
10521 esac
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10524 ac_cv_prog_i386_CC="$ac_prog"
10525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10526 break 2
10528 done
10529 done
10530 IFS=$as_save_IFS
10534 i386_CC=$ac_cv_prog_i386_CC
10535 if test -n "$i386_CC"; then
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10537 printf "%s\n" "$i386_CC" >&6; }
10538 else
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540 printf "%s\n" "no" >&6; }
10544 test -n "$i386_CC" && break
10545 done
10546 test -n "$i386_CC" || i386_CC="false"
10549 x86_64)
10550 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10551 for ac_prog in $ac_prefix_list clang
10553 # Extract the first word of "$ac_prog", so it can be a program name with args.
10554 set dummy $ac_prog; ac_word=$2
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10556 printf %s "checking for $ac_word... " >&6; }
10557 if test ${ac_cv_prog_x86_64_CC+y}
10558 then :
10559 printf %s "(cached) " >&6
10560 else $as_nop
10561 if test -n "$x86_64_CC"; then
10562 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10563 else
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10567 IFS=$as_save_IFS
10568 case $as_dir in #(((
10569 '') as_dir=./ ;;
10570 */) ;;
10571 *) as_dir=$as_dir/ ;;
10572 esac
10573 for ac_exec_ext in '' $ac_executable_extensions; do
10574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10575 ac_cv_prog_x86_64_CC="$ac_prog"
10576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10577 break 2
10579 done
10580 done
10581 IFS=$as_save_IFS
10585 x86_64_CC=$ac_cv_prog_x86_64_CC
10586 if test -n "$x86_64_CC"; then
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10588 printf "%s\n" "$x86_64_CC" >&6; }
10589 else
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10591 printf "%s\n" "no" >&6; }
10595 test -n "$x86_64_CC" && break
10596 done
10597 test -n "$x86_64_CC" || x86_64_CC="false"
10600 esac
10603 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10604 then :
10605 continue
10608 saved_CC=$CC
10609 saved_CFLAGS=$CFLAGS
10610 saved_LDFLAGS=$LDFLAGS
10612 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10613 LDFLAGS=$CROSSLDFLAGS
10614 eval CC=\$${wine_arch}_CC
10615 eval ${wine_arch}_CFLAGS=\$CFLAGS
10616 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10617 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10619 target=""
10620 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10623 printf %s "checking whether $CC works... " >&6; }
10624 if eval test \${$as_wine_cv_crosscc+y}
10625 then :
10626 printf %s "(cached) " >&6
10627 else $as_nop
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10632 main (void)
10636 return 0;
10638 _ACEOF
10639 if ac_fn_c_try_compile "$LINENO"
10640 then :
10641 eval "$as_wine_cv_crosscc=yes"
10642 else $as_nop
10643 eval "$as_wine_cv_crosscc=no"
10645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10647 eval ac_res=\$$as_wine_cv_crosscc
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10649 printf "%s\n" "$ac_res" >&6; }
10650 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10651 then :
10652 set x $CC
10653 shift
10654 while test $# -ge 1
10656 case "$1" in
10657 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10658 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10659 esac
10660 shift
10661 done
10663 llvm_target=$target
10664 if test -z "$llvm_target"
10665 then
10666 case $wine_arch in
10667 i386) llvm_target=i686-windows ;;
10668 arm) llvm_target=armv7-windows ;;
10669 *) llvm_target=$wine_arch-windows ;;
10670 esac
10672 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10673 case $llvm_target in
10674 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10675 esac
10676 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10678 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10679 if eval test \${$as_ac_var+y}
10680 then :
10681 printf %s "(cached) " >&6
10682 else $as_nop
10683 ac_wine_try_cflags_saved=$CFLAGS
10684 ac_wine_try_cflags_saved_exeext=$ac_exeext
10685 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10686 ac_exeext=".exe"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int __cdecl mainCRTStartup(void) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"
10692 then :
10693 eval "$as_ac_var=yes"
10694 else $as_nop
10695 eval "$as_ac_var=no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10700 ac_exeext=$ac_wine_try_cflags_saved_exeext
10702 eval ac_res=\$$as_ac_var
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10704 printf "%s\n" "$ac_res" >&6; }
10705 if eval test \"x\$"$as_ac_var"\" = x"yes"
10706 then :
10707 target=$llvm_target
10708 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10709 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10710 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10711 fi }
10712 eval "${wine_arch}_TARGET=\$target"
10716 if test -z "$target"
10717 then
10718 CC=$saved_CC
10719 CFLAGS=$saved_CFLAGS
10720 LDFLAGS=$saved_LDFLAGS
10721 continue
10723 as_fn_append PE_ARCHS " $wine_arch"
10725 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10728 printf %s "checking for $CC option to enable C99 features... " >&6; }
10729 if eval test \${$as_wine_cv_crosscc_c99+y}
10730 then :
10731 printf %s "(cached) " >&6
10732 else $as_nop
10733 eval "$as_wine_cv_crosscc_c99=no"
10734 for arg in '' '-std=gnu99'
10736 test -z "$arg" || CC="$CC $arg"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 $ac_c_conftest_c99_program
10740 _ACEOF
10741 if ac_fn_c_try_compile "$LINENO"
10742 then :
10743 eval "$as_wine_cv_crosscc_c99=\$arg"
10744 else $as_nop
10745 eval "$as_wine_cv_crosscc_c99=no"
10747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10748 eval CC=\$${wine_arch}_CC
10749 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10750 then :
10752 else $as_nop
10753 break
10755 done
10758 eval res=\$$as_wine_cv_crosscc_c99
10759 case "x$res" in
10760 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10761 printf "%s\n" "none needed" >&6; } ;;
10762 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10763 printf "%s\n" "unsupported" >&6; } ;;
10764 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10765 printf "%s\n" "$res" >&6; }
10766 as_fn_append ${wine_arch}_CC " $res" ;;
10767 esac
10770 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10772 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10773 if eval test \${$as_ac_var+y}
10774 then :
10775 printf %s "(cached) " >&6
10776 else $as_nop
10777 ac_wine_try_cflags_saved=$CFLAGS
10778 ac_wine_try_cflags_saved_exeext=$ac_exeext
10779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10780 ac_exeext=".exe"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 int __cdecl mainCRTStartup(void) { return 0; }
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"
10786 then :
10787 eval "$as_ac_var=yes"
10788 else $as_nop
10789 eval "$as_ac_var=no"
10791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10792 conftest$ac_exeext conftest.$ac_ext
10793 CFLAGS=$ac_wine_try_cflags_saved
10794 ac_exeext=$ac_wine_try_cflags_saved_exeext
10796 eval ac_res=\$$as_ac_var
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10798 printf "%s\n" "$ac_res" >&6; }
10799 if eval test \"x\$"$as_ac_var"\" = x"yes"
10800 then :
10801 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10802 fi }
10803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10805 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10806 if eval test \${$as_ac_var+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 ac_wine_try_cflags_saved=$CFLAGS
10811 ac_wine_try_cflags_saved_exeext=$ac_exeext
10812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10813 ac_exeext=".exe"
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 int __cdecl mainCRTStartup(void) { return 0; }
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"
10819 then :
10820 eval "$as_ac_var=yes"
10821 else $as_nop
10822 eval "$as_ac_var=no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10825 conftest$ac_exeext conftest.$ac_ext
10826 CFLAGS=$ac_wine_try_cflags_saved
10827 ac_exeext=$ac_wine_try_cflags_saved_exeext
10829 eval ac_res=\$$as_ac_var
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_ac_var"\" = x"yes"
10833 then :
10834 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10835 fi }
10836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10838 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10839 if eval test \${$as_ac_var+y}
10840 then :
10841 printf %s "(cached) " >&6
10842 else $as_nop
10843 ac_wine_try_cflags_saved=$CFLAGS
10844 ac_wine_try_cflags_saved_exeext=$ac_exeext
10845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10846 ac_exeext=".exe"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 int __cdecl mainCRTStartup(void) { return 0; }
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"
10852 then :
10853 eval "$as_ac_var=yes"
10854 else $as_nop
10855 eval "$as_ac_var=no"
10857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10858 conftest$ac_exeext conftest.$ac_ext
10859 CFLAGS=$ac_wine_try_cflags_saved
10860 ac_exeext=$ac_wine_try_cflags_saved_exeext
10862 eval ac_res=\$$as_ac_var
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10864 printf "%s\n" "$ac_res" >&6; }
10865 if eval test \"x\$"$as_ac_var"\" = x"yes"
10866 then :
10867 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10868 fi }
10869 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10871 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10872 if eval test \${$as_ac_var+y}
10873 then :
10874 printf %s "(cached) " >&6
10875 else $as_nop
10876 ac_wine_try_cflags_saved=$CFLAGS
10877 ac_wine_try_cflags_saved_exeext=$ac_exeext
10878 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10879 ac_exeext=".exe"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10882 int __cdecl mainCRTStartup(void) { return 0; }
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"
10885 then :
10886 eval "$as_ac_var=yes"
10887 else $as_nop
10888 eval "$as_ac_var=no"
10890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10891 conftest$ac_exeext conftest.$ac_ext
10892 CFLAGS=$ac_wine_try_cflags_saved
10893 ac_exeext=$ac_wine_try_cflags_saved_exeext
10895 eval ac_res=\$$as_ac_var
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10897 printf "%s\n" "$ac_res" >&6; }
10898 if eval test \"x\$"$as_ac_var"\" = x"yes"
10899 then :
10900 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10901 fi }
10902 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10904 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10905 if eval test \${$as_ac_var+y}
10906 then :
10907 printf %s "(cached) " >&6
10908 else $as_nop
10909 ac_wine_try_cflags_saved=$CFLAGS
10910 ac_wine_try_cflags_saved_exeext=$ac_exeext
10911 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10912 ac_exeext=".exe"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 int __cdecl mainCRTStartup(void) { return 0; }
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"
10918 then :
10919 eval "$as_ac_var=yes"
10920 else $as_nop
10921 eval "$as_ac_var=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10924 conftest$ac_exeext conftest.$ac_ext
10925 CFLAGS=$ac_wine_try_cflags_saved
10926 ac_exeext=$ac_wine_try_cflags_saved_exeext
10928 eval ac_res=\$$as_ac_var
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10930 printf "%s\n" "$ac_res" >&6; }
10931 if eval test \"x\$"$as_ac_var"\" = x"yes"
10932 then :
10933 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10934 fi }
10935 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10937 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10938 if eval test \${$as_ac_var+y}
10939 then :
10940 printf %s "(cached) " >&6
10941 else $as_nop
10942 ac_wine_try_cflags_saved=$CFLAGS
10943 ac_wine_try_cflags_saved_exeext=$ac_exeext
10944 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10945 ac_exeext=".exe"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 int __cdecl mainCRTStartup(void) { return 0; }
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"
10951 then :
10952 eval "$as_ac_var=yes"
10953 else $as_nop
10954 eval "$as_ac_var=no"
10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10957 conftest$ac_exeext conftest.$ac_ext
10958 CFLAGS=$ac_wine_try_cflags_saved
10959 ac_exeext=$ac_wine_try_cflags_saved_exeext
10961 eval ac_res=\$$as_ac_var
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10963 printf "%s\n" "$ac_res" >&6; }
10964 if eval test \"x\$"$as_ac_var"\" = x"yes"
10965 then :
10966 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10967 fi }
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10970 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10971 if eval test \${$as_ac_var+y}
10972 then :
10973 printf %s "(cached) " >&6
10974 else $as_nop
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10978 ac_exeext=".exe"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"
10984 then :
10985 eval "$as_ac_var=yes"
10986 else $as_nop
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 then :
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11000 fi }
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11003 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"
11017 then :
11018 eval "$as_ac_var=yes"
11019 else $as_nop
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11031 then :
11032 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11033 fi }
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11036 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11037 if eval test \${$as_ac_var+y}
11038 then :
11039 printf %s "(cached) " >&6
11040 else $as_nop
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11044 ac_exeext=".exe"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"
11050 then :
11051 eval "$as_ac_var=yes"
11052 else $as_nop
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 then :
11065 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11066 fi }
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11069 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11070 if eval test \${$as_ac_var+y}
11071 then :
11072 printf %s "(cached) " >&6
11073 else $as_nop
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11077 ac_exeext=".exe"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"
11083 then :
11084 eval "$as_ac_var=yes"
11085 else $as_nop
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 then :
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11099 fi }
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11102 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11103 if eval test \${$as_ac_var+y}
11104 then :
11105 printf %s "(cached) " >&6
11106 else $as_nop
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11110 ac_exeext=".exe"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"
11116 then :
11117 eval "$as_ac_var=yes"
11118 else $as_nop
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11130 then :
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11132 fi }
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11135 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11136 if eval test \${$as_ac_var+y}
11137 then :
11138 printf %s "(cached) " >&6
11139 else $as_nop
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11143 ac_exeext=".exe"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"
11149 then :
11150 eval "$as_ac_var=yes"
11151 else $as_nop
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11163 then :
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11165 fi }
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11168 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11169 if eval test \${$as_ac_var+y}
11170 then :
11171 printf %s "(cached) " >&6
11172 else $as_nop
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11176 ac_exeext=".exe"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"
11182 then :
11183 eval "$as_ac_var=yes"
11184 else $as_nop
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11196 then :
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11198 fi }
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11201 printf %s "checking whether $CC supports -Wvla... " >&6; }
11202 if eval test \${$as_ac_var+y}
11203 then :
11204 printf %s "(cached) " >&6
11205 else $as_nop
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11209 ac_exeext=".exe"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"
11215 then :
11216 eval "$as_ac_var=yes"
11217 else $as_nop
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 then :
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11231 fi }
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11234 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11235 if eval test \${$as_ac_var+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11242 ac_exeext=".exe"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"
11248 then :
11249 eval "$as_ac_var=yes"
11250 else $as_nop
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 then :
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11264 fi }
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11267 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11268 if eval test \${$as_ac_var+y}
11269 then :
11270 printf %s "(cached) " >&6
11271 else $as_nop
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11275 ac_exeext=".exe"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 int __cdecl mainCRTStartup(void) { return 0; }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"
11281 then :
11282 eval "$as_ac_var=yes"
11283 else $as_nop
11284 eval "$as_ac_var=no"
11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11287 conftest$ac_exeext conftest.$ac_ext
11288 CFLAGS=$ac_wine_try_cflags_saved
11289 ac_exeext=$ac_wine_try_cflags_saved_exeext
11291 eval ac_res=\$$as_ac_var
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11293 printf "%s\n" "$ac_res" >&6; }
11294 if eval test \"x\$"$as_ac_var"\" = x"yes"
11295 then :
11296 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11297 fi }
11298 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11300 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11301 if eval test \${$as_ac_var+y}
11302 then :
11303 printf %s "(cached) " >&6
11304 else $as_nop
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_exeext=$ac_exeext
11307 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11308 ac_exeext=".exe"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 int __cdecl mainCRTStartup(void) { return 0; }
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"
11314 then :
11315 eval "$as_ac_var=yes"
11316 else $as_nop
11317 eval "$as_ac_var=no"
11319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11320 conftest$ac_exeext conftest.$ac_ext
11321 CFLAGS=$ac_wine_try_cflags_saved
11322 ac_exeext=$ac_wine_try_cflags_saved_exeext
11324 eval ac_res=\$$as_ac_var
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11326 printf "%s\n" "$ac_res" >&6; }
11327 if eval test \"x\$"$as_ac_var"\" = x"yes"
11328 then :
11329 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11330 fi }
11331 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11333 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11334 if eval test \${$as_ac_var+y}
11335 then :
11336 printf %s "(cached) " >&6
11337 else $as_nop
11338 ac_wine_try_cflags_saved=$CFLAGS
11339 ac_wine_try_cflags_saved_exeext=$ac_exeext
11340 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11341 ac_exeext=".exe"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344 int __cdecl mainCRTStartup(void) { return 0; }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"
11347 then :
11348 eval "$as_ac_var=yes"
11349 else $as_nop
11350 eval "$as_ac_var=no"
11352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11353 conftest$ac_exeext conftest.$ac_ext
11354 CFLAGS=$ac_wine_try_cflags_saved
11355 ac_exeext=$ac_wine_try_cflags_saved_exeext
11357 eval ac_res=\$$as_ac_var
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11359 printf "%s\n" "$ac_res" >&6; }
11360 if eval test \"x\$"$as_ac_var"\" = x"yes"
11361 then :
11362 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11363 fi }
11365 case $wine_arch in
11366 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11368 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11369 if eval test \${$as_ac_var+y}
11370 then :
11371 printf %s "(cached) " >&6
11372 else $as_nop
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11376 ac_exeext=".exe"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"
11382 then :
11383 eval "$as_ac_var=yes"
11384 else $as_nop
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11396 then :
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11398 fi }
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11401 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11402 if eval test \${$as_ac_var+y}
11403 then :
11404 printf %s "(cached) " >&6
11405 else $as_nop
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11409 ac_exeext=".exe"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"
11415 then :
11416 eval "$as_ac_var=yes"
11417 else $as_nop
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11429 then :
11430 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11431 fi } ;;
11432 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11434 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11435 if eval test \${$as_ac_var+y}
11436 then :
11437 printf %s "(cached) " >&6
11438 else $as_nop
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11442 ac_exeext=".exe"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"
11448 then :
11449 eval "$as_ac_var=yes"
11450 else $as_nop
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11462 then :
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11464 fi }
11465 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11467 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11468 if eval test \${$as_ac_var+y}
11469 then :
11470 printf %s "(cached) " >&6
11471 else $as_nop
11472 ac_wine_try_cflags_saved=$CFLAGS
11473 ac_wine_try_cflags_saved_exeext=$ac_exeext
11474 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11475 ac_exeext=".exe"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478 int __cdecl mainCRTStartup(void) { return 0; }
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"
11481 then :
11482 eval "$as_ac_var=yes"
11483 else $as_nop
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11495 then :
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11497 fi }
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11500 printf %s "checking whether $CC supports -mcx16... " >&6; }
11501 if eval test \${$as_ac_var+y}
11502 then :
11503 printf %s "(cached) " >&6
11504 else $as_nop
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"
11514 then :
11515 eval "$as_ac_var=yes"
11516 else $as_nop
11517 eval "$as_ac_var=no"
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 eval ac_res=\$$as_ac_var
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11526 printf "%s\n" "$ac_res" >&6; }
11527 if eval test \"x\$"$as_ac_var"\" = x"yes"
11528 then :
11529 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11530 fi } ;;
11531 esac
11533 wine_crossdebug=$CROSSDEBUG
11534 if test -z "$wine_crossdebug"
11535 then
11536 for ac_flag in $CFLAGS; do
11537 case $ac_flag in
11538 -gdwarf*) wine_crossdebug=dwarf ;;
11539 -gcodeview) wine_crossdebug=pdb ;;
11540 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11541 esac
11542 done
11545 ac_debug_format_seen=""
11546 for ac_flag in $CFLAGS; do
11547 case $ac_flag in
11548 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11549 esac
11550 done
11551 if test "x$ac_debug_format_seen" = x
11552 then
11553 case $wine_crossdebug in
11554 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11556 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11557 if eval test \${$as_ac_var+y}
11558 then :
11559 printf %s "(cached) " >&6
11560 else $as_nop
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_exeext=$ac_exeext
11563 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11564 ac_exeext=".exe"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 int __cdecl mainCRTStartup(void) { return 0; }
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"
11570 then :
11571 eval "$as_ac_var=yes"
11572 else $as_nop
11573 eval "$as_ac_var=no"
11575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11576 conftest$ac_exeext conftest.$ac_ext
11577 CFLAGS=$ac_wine_try_cflags_saved
11578 ac_exeext=$ac_wine_try_cflags_saved_exeext
11580 eval ac_res=\$$as_ac_var
11581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11582 printf "%s\n" "$ac_res" >&6; }
11583 if eval test \"x\$"$as_ac_var"\" = x"yes"
11584 then :
11585 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11586 fi } ;;
11587 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11589 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11590 if eval test \${$as_ac_var+y}
11591 then :
11592 printf %s "(cached) " >&6
11593 else $as_nop
11594 ac_wine_try_cflags_saved=$CFLAGS
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11597 ac_exeext=".exe"
11598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 int __cdecl mainCRTStartup(void) { return 0; }
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"
11603 then :
11604 eval "$as_ac_var=yes"
11605 else $as_nop
11606 eval "$as_ac_var=no"
11608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11609 conftest$ac_exeext conftest.$ac_ext
11610 CFLAGS=$ac_wine_try_cflags_saved
11611 ac_exeext=$ac_wine_try_cflags_saved_exeext
11613 eval ac_res=\$$as_ac_var
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11615 printf "%s\n" "$ac_res" >&6; }
11616 if eval test \"x\$"$as_ac_var"\" = x"yes"
11617 then :
11618 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11619 fi } ;;
11620 esac
11622 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11624 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11626 printf %s "checking whether $CC supports -Werror... " >&6; }
11627 if eval test \${$as_ac_var+y}
11628 then :
11629 printf %s "(cached) " >&6
11630 else $as_nop
11631 ac_wine_try_cflags_saved=$CFLAGS
11632 ac_wine_try_cflags_saved_exeext=$ac_exeext
11633 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11634 ac_exeext=".exe"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11637 int __cdecl mainCRTStartup(void) { return 0; }
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"
11640 then :
11641 eval "$as_ac_var=yes"
11642 else $as_nop
11643 eval "$as_ac_var=no"
11645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11646 conftest$ac_exeext conftest.$ac_ext
11647 CFLAGS=$ac_wine_try_cflags_saved
11648 ac_exeext=$ac_wine_try_cflags_saved_exeext
11650 eval ac_res=\$$as_ac_var
11651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11652 printf "%s\n" "$ac_res" >&6; }
11653 if eval test \"x\$"$as_ac_var"\" = x"yes"
11654 then :
11655 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11656 fi }
11657 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11659 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11660 if eval test \${$as_ac_var+y}
11661 then :
11662 printf %s "(cached) " >&6
11663 else $as_nop
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11667 ac_exeext=".exe"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 int __cdecl mainCRTStartup(void) { return 0; }
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"
11673 then :
11674 eval "$as_ac_var=yes"
11675 else $as_nop
11676 eval "$as_ac_var=no"
11678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11679 conftest$ac_exeext conftest.$ac_ext
11680 CFLAGS=$ac_wine_try_cflags_saved
11681 ac_exeext=$ac_wine_try_cflags_saved_exeext
11683 eval ac_res=\$$as_ac_var
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11685 printf "%s\n" "$ac_res" >&6; }
11686 if eval test \"x\$"$as_ac_var"\" = x"yes"
11687 then :
11688 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11689 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11690 fi }
11692 CC=$saved_CC
11693 CFLAGS=$saved_CFLAGS
11694 LDFLAGS=$saved_LDFLAGS
11695 done
11697 if test $HOST_ARCH = aarch64
11698 then
11699 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11700 DLLEXT=""
11701 else
11702 if test "x$PE_ARCHS" = "x"
11703 then :
11704 case "x$with_mingw" in
11705 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11706 xno) ;;
11707 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11708 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11709 esac
11715 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11716 then
11717 case "$host_cpu" in
11718 i[3456789]86*)
11719 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11721 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11722 esac
11723 for ac_prog in $ac_prefix_list
11725 # Extract the first word of "$ac_prog", so it can be a program name with args.
11726 set dummy $ac_prog; ac_word=$2
11727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 printf %s "checking for $ac_word... " >&6; }
11729 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11730 then :
11731 printf %s "(cached) " >&6
11732 else $as_nop
11733 if test -n "$MINGW_PKG_CONFIG"; then
11734 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11735 else
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11739 IFS=$as_save_IFS
11740 case $as_dir in #(((
11741 '') as_dir=./ ;;
11742 */) ;;
11743 *) as_dir=$as_dir/ ;;
11744 esac
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11747 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11749 break 2
11751 done
11752 done
11753 IFS=$as_save_IFS
11757 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11758 if test -n "$MINGW_PKG_CONFIG"; then
11759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11760 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11761 else
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 printf "%s\n" "no" >&6; }
11767 test -n "$MINGW_PKG_CONFIG" && break
11768 done
11769 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11771 if ${FAUDIO_PE_CFLAGS:+false} :
11772 then :
11773 if test ${MINGW_PKG_CONFIG+y}
11774 then :
11775 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11778 if ${FAUDIO_PE_LIBS:+false} :
11779 then :
11780 if test ${MINGW_PKG_CONFIG+y}
11781 then :
11782 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11785 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11786 ac_save_CPPFLAGS=$CPPFLAGS
11787 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11789 printf %s "checking for MinGW FAudio.h... " >&6; }
11790 if test ${ac_cv_mingw_header_FAudio_h+y}
11791 then :
11792 printf %s "(cached) " >&6
11793 else $as_nop
11794 ac_wine_check_headers_saved_cc=$CC
11795 ac_wine_check_headers_saved_exeext=$ac_exeext
11796 eval CC=\$${wine_arch}_CC
11797 ac_exeext=".exe"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 #include <FAudio.h>
11803 main (void)
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_compile "$LINENO"
11811 then :
11812 ac_cv_mingw_header_FAudio_h=yes
11813 else $as_nop
11814 ac_cv_mingw_header_FAudio_h=no
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11817 CC=$ac_wine_check_headers_saved_cc
11818 ac_exeext=$ac_wine_check_headers_saved_exeext
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11821 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11822 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11823 then :
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11825 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11826 if test ${ac_cv_mingw_lib_FAudio+y}
11827 then :
11828 printf %s "(cached) " >&6
11829 else $as_nop
11830 ac_wine_check_headers_saved_cc=$CC
11831 ac_wine_check_headers_saved_exeext=$ac_exeext
11832 ac_wine_check_headers_saved_libs=$LIBS
11833 eval CC=\$${wine_arch}_CC
11834 ac_exeext=".exe"
11835 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 char FAudio_CommitOperationSet ();
11844 main (void)
11846 return FAudio_CommitOperationSet ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"
11852 then :
11853 ac_cv_mingw_lib_FAudio=yes
11854 else $as_nop
11855 ac_cv_mingw_lib_FAudio=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11858 conftest$ac_exeext conftest.$ac_ext
11859 CC=$ac_wine_check_headers_saved_cc
11860 ac_exeext=$ac_wine_check_headers_saved_exeext
11861 LIBS=$ac_wine_check_headers_saved_libs
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11864 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11865 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11866 then :
11868 else $as_nop
11869 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11871 else $as_nop
11872 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11874 CPPFLAGS=$ac_save_CPPFLAGS
11876 if test "x$FAUDIO_PE_LIBS" = "x"
11877 then
11878 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11881 if ${JPEG_PE_CFLAGS:+false} :
11882 then :
11883 if test ${MINGW_PKG_CONFIG+y}
11884 then :
11885 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11888 if ${JPEG_PE_LIBS:+false} :
11889 then :
11890 if test ${MINGW_PKG_CONFIG+y}
11891 then :
11892 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11896 ac_save_CPPFLAGS=$CPPFLAGS
11897 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11899 printf %s "checking for MinGW jpeglib.h... " >&6; }
11900 if test ${ac_cv_mingw_header_jpeglib_h+y}
11901 then :
11902 printf %s "(cached) " >&6
11903 else $as_nop
11904 ac_wine_check_headers_saved_cc=$CC
11905 ac_wine_check_headers_saved_exeext=$ac_exeext
11906 eval CC=\$${wine_arch}_CC
11907 ac_exeext=".exe"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <stddef.h>
11911 #include <stdio.h>
11912 #include <jpeglib.h>
11914 main (void)
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_compile "$LINENO"
11922 then :
11923 ac_cv_mingw_header_jpeglib_h=yes
11924 else $as_nop
11925 ac_cv_mingw_header_jpeglib_h=no
11927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11928 CC=$ac_wine_check_headers_saved_cc
11929 ac_exeext=$ac_wine_check_headers_saved_exeext
11931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11932 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11933 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11934 then :
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11936 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11937 if test ${ac_cv_mingw_lib_jpeg+y}
11938 then :
11939 printf %s "(cached) " >&6
11940 else $as_nop
11941 ac_wine_check_headers_saved_cc=$CC
11942 ac_wine_check_headers_saved_exeext=$ac_exeext
11943 ac_wine_check_headers_saved_libs=$LIBS
11944 eval CC=\$${wine_arch}_CC
11945 ac_exeext=".exe"
11946 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11953 char jpeg_start_decompress ();
11955 main (void)
11957 return jpeg_start_decompress ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"
11963 then :
11964 ac_cv_mingw_lib_jpeg=yes
11965 else $as_nop
11966 ac_cv_mingw_lib_jpeg=no
11968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11969 conftest$ac_exeext conftest.$ac_ext
11970 CC=$ac_wine_check_headers_saved_cc
11971 ac_exeext=$ac_wine_check_headers_saved_exeext
11972 LIBS=$ac_wine_check_headers_saved_libs
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11975 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11976 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11977 then :
11979 else $as_nop
11980 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11982 else $as_nop
11983 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11985 CPPFLAGS=$ac_save_CPPFLAGS
11987 if test "x$JPEG_PE_LIBS" = "x"
11988 then
11989 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11992 if ${LCMS2_PE_CFLAGS:+false} :
11993 then :
11994 if test ${MINGW_PKG_CONFIG+y}
11995 then :
11996 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11999 if ${LCMS2_PE_LIBS:+false} :
12000 then :
12001 if test ${MINGW_PKG_CONFIG+y}
12002 then :
12003 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12006 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12007 ac_save_CPPFLAGS=$CPPFLAGS
12008 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12010 printf %s "checking for MinGW lcms2.h... " >&6; }
12011 if test ${ac_cv_mingw_header_lcms2_h+y}
12012 then :
12013 printf %s "(cached) " >&6
12014 else $as_nop
12015 ac_wine_check_headers_saved_cc=$CC
12016 ac_wine_check_headers_saved_exeext=$ac_exeext
12017 eval CC=\$${wine_arch}_CC
12018 ac_exeext=".exe"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 #include <lcms2.h>
12024 main (void)
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_compile "$LINENO"
12032 then :
12033 ac_cv_mingw_header_lcms2_h=yes
12034 else $as_nop
12035 ac_cv_mingw_header_lcms2_h=no
12037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12038 CC=$ac_wine_check_headers_saved_cc
12039 ac_exeext=$ac_wine_check_headers_saved_exeext
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12042 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12043 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12044 then :
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12046 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12047 if test ${ac_cv_mingw_lib_lcms2+y}
12048 then :
12049 printf %s "(cached) " >&6
12050 else $as_nop
12051 ac_wine_check_headers_saved_cc=$CC
12052 ac_wine_check_headers_saved_exeext=$ac_exeext
12053 ac_wine_check_headers_saved_libs=$LIBS
12054 eval CC=\$${wine_arch}_CC
12055 ac_exeext=".exe"
12056 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 char cmsOpenProfileFromFile ();
12065 main (void)
12067 return cmsOpenProfileFromFile ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"
12073 then :
12074 ac_cv_mingw_lib_lcms2=yes
12075 else $as_nop
12076 ac_cv_mingw_lib_lcms2=no
12078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12079 conftest$ac_exeext conftest.$ac_ext
12080 CC=$ac_wine_check_headers_saved_cc
12081 ac_exeext=$ac_wine_check_headers_saved_exeext
12082 LIBS=$ac_wine_check_headers_saved_libs
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12085 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12086 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12087 then :
12089 else $as_nop
12090 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12092 else $as_nop
12093 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12095 CPPFLAGS=$ac_save_CPPFLAGS
12097 if test "x$LCMS2_PE_LIBS" = "x"
12098 then
12099 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12102 if ${MPG123_PE_CFLAGS:+false} :
12103 then :
12104 if test ${MINGW_PKG_CONFIG+y}
12105 then :
12106 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12109 if ${MPG123_PE_LIBS:+false} :
12110 then :
12111 if test ${MINGW_PKG_CONFIG+y}
12112 then :
12113 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12116 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12117 ac_save_CPPFLAGS=$CPPFLAGS
12118 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12120 printf %s "checking for MinGW mpg123.h... " >&6; }
12121 if test ${ac_cv_mingw_header_mpg123_h+y}
12122 then :
12123 printf %s "(cached) " >&6
12124 else $as_nop
12125 ac_wine_check_headers_saved_cc=$CC
12126 ac_wine_check_headers_saved_exeext=$ac_exeext
12127 eval CC=\$${wine_arch}_CC
12128 ac_exeext=".exe"
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 #include <mpg123.h>
12134 main (void)
12138 return 0;
12140 _ACEOF
12141 if ac_fn_c_try_compile "$LINENO"
12142 then :
12143 ac_cv_mingw_header_mpg123_h=yes
12144 else $as_nop
12145 ac_cv_mingw_header_mpg123_h=no
12147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12148 CC=$ac_wine_check_headers_saved_cc
12149 ac_exeext=$ac_wine_check_headers_saved_exeext
12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12152 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12153 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12154 then :
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12156 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12157 if test ${ac_cv_mingw_lib_mpg123+y}
12158 then :
12159 printf %s "(cached) " >&6
12160 else $as_nop
12161 ac_wine_check_headers_saved_cc=$CC
12162 ac_wine_check_headers_saved_exeext=$ac_exeext
12163 ac_wine_check_headers_saved_libs=$LIBS
12164 eval CC=\$${wine_arch}_CC
12165 ac_exeext=".exe"
12166 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 char mpg123_feed ();
12175 main (void)
12177 return mpg123_feed ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"
12183 then :
12184 ac_cv_mingw_lib_mpg123=yes
12185 else $as_nop
12186 ac_cv_mingw_lib_mpg123=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12189 conftest$ac_exeext conftest.$ac_ext
12190 CC=$ac_wine_check_headers_saved_cc
12191 ac_exeext=$ac_wine_check_headers_saved_exeext
12192 LIBS=$ac_wine_check_headers_saved_libs
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12195 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12196 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12197 then :
12199 else $as_nop
12200 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12202 else $as_nop
12203 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12205 CPPFLAGS=$ac_save_CPPFLAGS
12207 if test "x$MPG123_PE_LIBS" = "x"
12208 then
12209 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12212 if ${PNG_PE_CFLAGS:+false} :
12213 then :
12214 if test ${MINGW_PKG_CONFIG+y}
12215 then :
12216 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12219 if ${PNG_PE_LIBS:+false} :
12220 then :
12221 if test ${MINGW_PKG_CONFIG+y}
12222 then :
12223 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12227 ac_save_CPPFLAGS=$CPPFLAGS
12228 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12230 printf %s "checking for MinGW png.h... " >&6; }
12231 if test ${ac_cv_mingw_header_png_h+y}
12232 then :
12233 printf %s "(cached) " >&6
12234 else $as_nop
12235 ac_wine_check_headers_saved_cc=$CC
12236 ac_wine_check_headers_saved_exeext=$ac_exeext
12237 eval CC=\$${wine_arch}_CC
12238 ac_exeext=".exe"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12242 #include <png.h>
12244 main (void)
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_compile "$LINENO"
12252 then :
12253 ac_cv_mingw_header_png_h=yes
12254 else $as_nop
12255 ac_cv_mingw_header_png_h=no
12257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12258 CC=$ac_wine_check_headers_saved_cc
12259 ac_exeext=$ac_wine_check_headers_saved_exeext
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12262 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12263 if test "x$ac_cv_mingw_header_png_h" = xyes
12264 then :
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12266 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12267 if test ${ac_cv_mingw_lib_png+y}
12268 then :
12269 printf %s "(cached) " >&6
12270 else $as_nop
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 ac_wine_check_headers_saved_libs=$LIBS
12274 eval CC=\$${wine_arch}_CC
12275 ac_exeext=".exe"
12276 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 char png_create_read_struct ();
12285 main (void)
12287 return png_create_read_struct ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"
12293 then :
12294 ac_cv_mingw_lib_png=yes
12295 else $as_nop
12296 ac_cv_mingw_lib_png=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12299 conftest$ac_exeext conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 LIBS=$ac_wine_check_headers_saved_libs
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12305 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12306 if test "x$ac_cv_mingw_lib_png" = xyes
12307 then :
12309 else $as_nop
12310 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12312 else $as_nop
12313 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12317 if test "x$PNG_PE_LIBS" = "x"
12318 then
12319 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12322 if ${TIFF_PE_CFLAGS:+false} :
12323 then :
12324 if test ${MINGW_PKG_CONFIG+y}
12325 then :
12326 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12329 if ${TIFF_PE_LIBS:+false} :
12330 then :
12331 if test ${MINGW_PKG_CONFIG+y}
12332 then :
12333 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12337 ac_save_CPPFLAGS=$CPPFLAGS
12338 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12340 printf %s "checking for MinGW tiffio.h... " >&6; }
12341 if test ${ac_cv_mingw_header_tiffio_h+y}
12342 then :
12343 printf %s "(cached) " >&6
12344 else $as_nop
12345 ac_wine_check_headers_saved_cc=$CC
12346 ac_wine_check_headers_saved_exeext=$ac_exeext
12347 eval CC=\$${wine_arch}_CC
12348 ac_exeext=".exe"
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 #include <tiffio.h>
12354 main (void)
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_compile "$LINENO"
12362 then :
12363 ac_cv_mingw_header_tiffio_h=yes
12364 else $as_nop
12365 ac_cv_mingw_header_tiffio_h=no
12367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12368 CC=$ac_wine_check_headers_saved_cc
12369 ac_exeext=$ac_wine_check_headers_saved_exeext
12371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12372 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12373 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12374 then :
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12376 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12377 if test ${ac_cv_mingw_lib_tiff+y}
12378 then :
12379 printf %s "(cached) " >&6
12380 else $as_nop
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 ac_wine_check_headers_saved_libs=$LIBS
12384 eval CC=\$${wine_arch}_CC
12385 ac_exeext=".exe"
12386 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 char TIFFClientOpen ();
12395 main (void)
12397 return TIFFClientOpen ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"
12403 then :
12404 ac_cv_mingw_lib_tiff=yes
12405 else $as_nop
12406 ac_cv_mingw_lib_tiff=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12409 conftest$ac_exeext conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 LIBS=$ac_wine_check_headers_saved_libs
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12415 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12416 if test "x$ac_cv_mingw_lib_tiff" = xyes
12417 then :
12419 else $as_nop
12420 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12422 else $as_nop
12423 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12425 CPPFLAGS=$ac_save_CPPFLAGS
12427 if test "x$TIFF_PE_LIBS" = "x"
12428 then
12429 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12432 if ${XML2_PE_CFLAGS:+false} :
12433 then :
12434 if test ${MINGW_PKG_CONFIG+y}
12435 then :
12436 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12439 if ${XML2_PE_LIBS:+false} :
12440 then :
12441 if test ${MINGW_PKG_CONFIG+y}
12442 then :
12443 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12446 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12447 ac_save_CPPFLAGS=$CPPFLAGS
12448 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12450 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12451 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12452 then :
12453 printf %s "(cached) " >&6
12454 else $as_nop
12455 ac_wine_check_headers_saved_cc=$CC
12456 ac_wine_check_headers_saved_exeext=$ac_exeext
12457 eval CC=\$${wine_arch}_CC
12458 ac_exeext=".exe"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 #include <libxml/parser.h>
12464 main (void)
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_compile "$LINENO"
12472 then :
12473 ac_cv_mingw_header_libxml_parser_h=yes
12474 else $as_nop
12475 ac_cv_mingw_header_libxml_parser_h=no
12477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12478 CC=$ac_wine_check_headers_saved_cc
12479 ac_exeext=$ac_wine_check_headers_saved_exeext
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12482 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12483 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12484 then :
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12488 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12489 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12490 then :
12491 printf %s "(cached) " >&6
12492 else $as_nop
12493 ac_wine_check_headers_saved_cc=$CC
12494 ac_wine_check_headers_saved_exeext=$ac_exeext
12495 eval CC=\$${wine_arch}_CC
12496 ac_exeext=".exe"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 #include <libxml/xmlsave.h>
12502 main (void)
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_compile "$LINENO"
12510 then :
12511 ac_cv_mingw_header_libxml_xmlsave_h=yes
12512 else $as_nop
12513 ac_cv_mingw_header_libxml_xmlsave_h=no
12515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12516 CC=$ac_wine_check_headers_saved_cc
12517 ac_exeext=$ac_wine_check_headers_saved_exeext
12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12520 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12521 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12522 then :
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12526 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12527 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12528 then :
12529 printf %s "(cached) " >&6
12530 else $as_nop
12531 ac_wine_check_headers_saved_cc=$CC
12532 ac_wine_check_headers_saved_exeext=$ac_exeext
12533 eval CC=\$${wine_arch}_CC
12534 ac_exeext=".exe"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 #include <libxml/SAX2.h>
12540 main (void)
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_compile "$LINENO"
12548 then :
12549 ac_cv_mingw_header_libxml_SAX2_h=yes
12550 else $as_nop
12551 ac_cv_mingw_header_libxml_SAX2_h=no
12553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12554 CC=$ac_wine_check_headers_saved_cc
12555 ac_exeext=$ac_wine_check_headers_saved_exeext
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12558 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12559 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12560 then :
12563 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"
12564 then
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12566 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12567 if test ${ac_cv_mingw_lib_xml2+y}
12568 then :
12569 printf %s "(cached) " >&6
12570 else $as_nop
12571 ac_wine_check_headers_saved_cc=$CC
12572 ac_wine_check_headers_saved_exeext=$ac_exeext
12573 ac_wine_check_headers_saved_libs=$LIBS
12574 eval CC=\$${wine_arch}_CC
12575 ac_exeext=".exe"
12576 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12583 char xmlFirstElementChild ();
12585 main (void)
12587 return xmlFirstElementChild ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"
12593 then :
12594 ac_cv_mingw_lib_xml2=yes
12595 else $as_nop
12596 ac_cv_mingw_lib_xml2=no
12598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12599 conftest$ac_exeext conftest.$ac_ext
12600 CC=$ac_wine_check_headers_saved_cc
12601 ac_exeext=$ac_wine_check_headers_saved_exeext
12602 LIBS=$ac_wine_check_headers_saved_libs
12604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12605 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12606 if test "x$ac_cv_mingw_lib_xml2" = xyes
12607 then :
12609 else $as_nop
12610 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12612 else
12613 XML2_PE_CFLAGS=""
12614 XML2_PE_LIBS=""
12616 CPPFLAGS=$ac_save_CPPFLAGS
12618 if test "x$XML2_PE_LIBS" = "x"
12619 then
12620 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12623 if ${XSLT_PE_CFLAGS:+false} :
12624 then :
12625 if test ${MINGW_PKG_CONFIG+y}
12626 then :
12627 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12630 if ${XSLT_PE_LIBS:+false} :
12631 then :
12632 if test ${MINGW_PKG_CONFIG+y}
12633 then :
12634 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12637 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12638 ac_save_CPPFLAGS=$CPPFLAGS
12639 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12641 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12642 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12643 then :
12644 printf %s "(cached) " >&6
12645 else $as_nop
12646 ac_wine_check_headers_saved_cc=$CC
12647 ac_wine_check_headers_saved_exeext=$ac_exeext
12648 eval CC=\$${wine_arch}_CC
12649 ac_exeext=".exe"
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 #include <libxslt/pattern.h>
12655 main (void)
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_compile "$LINENO"
12663 then :
12664 ac_cv_mingw_header_libxslt_pattern_h=yes
12665 else $as_nop
12666 ac_cv_mingw_header_libxslt_pattern_h=no
12668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12669 CC=$ac_wine_check_headers_saved_cc
12670 ac_exeext=$ac_wine_check_headers_saved_exeext
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12673 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12674 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12675 then :
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12679 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12680 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12681 then :
12682 printf %s "(cached) " >&6
12683 else $as_nop
12684 ac_wine_check_headers_saved_cc=$CC
12685 ac_wine_check_headers_saved_exeext=$ac_exeext
12686 eval CC=\$${wine_arch}_CC
12687 ac_exeext=".exe"
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 #include <libxslt/transform.h>
12693 main (void)
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_compile "$LINENO"
12701 then :
12702 ac_cv_mingw_header_libxslt_transform_h=yes
12703 else $as_nop
12704 ac_cv_mingw_header_libxslt_transform_h=no
12706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12707 CC=$ac_wine_check_headers_saved_cc
12708 ac_exeext=$ac_wine_check_headers_saved_exeext
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12711 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12712 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12713 then :
12716 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12717 then
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12719 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12720 if test ${ac_cv_mingw_lib_xslt+y}
12721 then :
12722 printf %s "(cached) " >&6
12723 else $as_nop
12724 ac_wine_check_headers_saved_cc=$CC
12725 ac_wine_check_headers_saved_exeext=$ac_exeext
12726 ac_wine_check_headers_saved_libs=$LIBS
12727 eval CC=\$${wine_arch}_CC
12728 ac_exeext=".exe"
12729 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 char xsltCompilePattern ();
12738 main (void)
12740 return xsltCompilePattern ();
12742 return 0;
12744 _ACEOF
12745 if ac_fn_c_try_link "$LINENO"
12746 then :
12747 ac_cv_mingw_lib_xslt=yes
12748 else $as_nop
12749 ac_cv_mingw_lib_xslt=no
12751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12752 conftest$ac_exeext conftest.$ac_ext
12753 CC=$ac_wine_check_headers_saved_cc
12754 ac_exeext=$ac_wine_check_headers_saved_exeext
12755 LIBS=$ac_wine_check_headers_saved_libs
12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12758 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12759 if test "x$ac_cv_mingw_lib_xslt" = xyes
12760 then :
12762 else $as_nop
12763 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12765 else
12766 XSLT_PE_CFLAGS=""
12767 XSLT_PE_LIBS=""
12769 CPPFLAGS=$ac_save_CPPFLAGS
12771 if test "x$XSLT_PE_LIBS" = "x"
12772 then
12773 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12776 if ${VKD3D_PE_CFLAGS:+false} :
12777 then :
12778 if test ${MINGW_PKG_CONFIG+y}
12779 then :
12780 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12783 if ${VKD3D_PE_LIBS:+false} :
12784 then :
12785 if test ${MINGW_PKG_CONFIG+y}
12786 then :
12787 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12790 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12791 ac_save_CPPFLAGS=$CPPFLAGS
12792 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12794 printf %s "checking for MinGW vkd3d.h... " >&6; }
12795 if test ${ac_cv_mingw_header_vkd3d_h+y}
12796 then :
12797 printf %s "(cached) " >&6
12798 else $as_nop
12799 ac_wine_check_headers_saved_cc=$CC
12800 ac_wine_check_headers_saved_exeext=$ac_exeext
12801 eval CC=\$${wine_arch}_CC
12802 ac_exeext=".exe"
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12806 #include <vkd3d.h>
12808 main (void)
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_compile "$LINENO"
12816 then :
12817 ac_cv_mingw_header_vkd3d_h=yes
12818 else $as_nop
12819 ac_cv_mingw_header_vkd3d_h=no
12821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12822 CC=$ac_wine_check_headers_saved_cc
12823 ac_exeext=$ac_wine_check_headers_saved_exeext
12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12826 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12827 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12828 then :
12831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12832 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12833 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12834 then :
12835 printf %s "(cached) " >&6
12836 else $as_nop
12837 ac_wine_check_headers_saved_cc=$CC
12838 ac_wine_check_headers_saved_exeext=$ac_exeext
12839 eval CC=\$${wine_arch}_CC
12840 ac_exeext=".exe"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 #include <vkd3d_shader.h>
12846 main (void)
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_compile "$LINENO"
12854 then :
12855 ac_cv_mingw_header_vkd3d_shader_h=yes
12856 else $as_nop
12857 ac_cv_mingw_header_vkd3d_shader_h=no
12859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12860 CC=$ac_wine_check_headers_saved_cc
12861 ac_exeext=$ac_wine_check_headers_saved_exeext
12863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12864 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12865 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12866 then :
12869 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12870 then
12871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12872 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12873 if test ${ac_cv_mingw_lib_vkd3d+y}
12874 then :
12875 printf %s "(cached) " >&6
12876 else $as_nop
12877 ac_wine_check_headers_saved_cc=$CC
12878 ac_wine_check_headers_saved_exeext=$ac_exeext
12879 ac_wine_check_headers_saved_libs=$LIBS
12880 eval CC=\$${wine_arch}_CC
12881 ac_exeext=".exe"
12882 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 char vkd3d_set_log_callback ();
12891 main (void)
12893 return vkd3d_set_log_callback ();
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_link "$LINENO"
12899 then :
12900 ac_cv_mingw_lib_vkd3d=yes
12901 else $as_nop
12902 ac_cv_mingw_lib_vkd3d=no
12904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12905 conftest$ac_exeext conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12908 LIBS=$ac_wine_check_headers_saved_libs
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12911 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12912 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12913 then :
12915 else $as_nop
12918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12919 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12920 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12921 then :
12922 printf %s "(cached) " >&6
12923 else $as_nop
12924 ac_wine_check_headers_saved_cc=$CC
12925 ac_wine_check_headers_saved_exeext=$ac_exeext
12926 ac_wine_check_headers_saved_libs=$LIBS
12927 eval CC=\$${wine_arch}_CC
12928 ac_exeext=".exe"
12929 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 char vkd3d_shader_serialize_dxbc ();
12938 main (void)
12940 return vkd3d_shader_serialize_dxbc ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"
12946 then :
12947 ac_cv_mingw_lib_vkd3d_shader=yes
12948 else $as_nop
12949 ac_cv_mingw_lib_vkd3d_shader=no
12951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12952 conftest$ac_exeext conftest.$ac_ext
12953 CC=$ac_wine_check_headers_saved_cc
12954 ac_exeext=$ac_wine_check_headers_saved_exeext
12955 LIBS=$ac_wine_check_headers_saved_libs
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12958 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12959 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12960 then :
12962 else $as_nop
12965 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12966 then
12967 VKD3D_PE_CFLAGS=""
12968 VKD3D_PE_LIBS=""
12970 else
12971 VKD3D_PE_CFLAGS=""
12972 VKD3D_PE_LIBS=""
12974 CPPFLAGS=$ac_save_CPPFLAGS
12976 if test "x$VKD3D_PE_LIBS" = "x"
12977 then
12978 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12981 if ${ZLIB_PE_CFLAGS:+false} :
12982 then :
12983 if test ${MINGW_PKG_CONFIG+y}
12984 then :
12985 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12988 if ${ZLIB_PE_LIBS:+false} :
12989 then :
12990 if test ${MINGW_PKG_CONFIG+y}
12991 then :
12992 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12995 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12996 ac_save_CPPFLAGS=$CPPFLAGS
12997 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12999 printf %s "checking for MinGW zlib.h... " >&6; }
13000 if test ${ac_cv_mingw_header_zlib_h+y}
13001 then :
13002 printf %s "(cached) " >&6
13003 else $as_nop
13004 ac_wine_check_headers_saved_cc=$CC
13005 ac_wine_check_headers_saved_exeext=$ac_exeext
13006 eval CC=\$${wine_arch}_CC
13007 ac_exeext=".exe"
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 #include <zlib.h>
13013 main (void)
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_compile "$LINENO"
13021 then :
13022 ac_cv_mingw_header_zlib_h=yes
13023 else $as_nop
13024 ac_cv_mingw_header_zlib_h=no
13026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13027 CC=$ac_wine_check_headers_saved_cc
13028 ac_exeext=$ac_wine_check_headers_saved_exeext
13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13031 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13032 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13033 then :
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13035 printf %s "checking for inflate in MinGW -lz... " >&6; }
13036 if test ${ac_cv_mingw_lib_z+y}
13037 then :
13038 printf %s "(cached) " >&6
13039 else $as_nop
13040 ac_wine_check_headers_saved_cc=$CC
13041 ac_wine_check_headers_saved_exeext=$ac_exeext
13042 ac_wine_check_headers_saved_libs=$LIBS
13043 eval CC=\$${wine_arch}_CC
13044 ac_exeext=".exe"
13045 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13049 /* Override any GCC internal prototype to avoid an error.
13050 Use char because int might match the return type of a GCC
13051 builtin and then its argument prototype would still apply. */
13052 char inflate ();
13054 main (void)
13056 return inflate ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"
13062 then :
13063 ac_cv_mingw_lib_z=yes
13064 else $as_nop
13065 ac_cv_mingw_lib_z=no
13067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13068 conftest$ac_exeext conftest.$ac_ext
13069 CC=$ac_wine_check_headers_saved_cc
13070 ac_exeext=$ac_wine_check_headers_saved_exeext
13071 LIBS=$ac_wine_check_headers_saved_libs
13073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13074 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13075 if test "x$ac_cv_mingw_lib_z" = xyes
13076 then :
13078 else $as_nop
13079 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13081 else $as_nop
13082 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13084 CPPFLAGS=$ac_save_CPPFLAGS
13086 if test "x$ZLIB_PE_LIBS" = "x"
13087 then
13088 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13092 if ${FAUDIO_PE_LIBS:+false} :
13093 then :
13094 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13095 if ${FAUDIO_PE_CFLAGS:+false} :
13096 then :
13097 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13098 else $as_nop
13099 enable_faudio=no
13101 else $as_nop
13102 enable_faudio=no
13104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13107 if ${GSM_PE_LIBS:+false} :
13108 then :
13109 GSM_PE_LIBS=gsm
13110 if ${GSM_PE_CFLAGS:+false} :
13111 then :
13112 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13113 else $as_nop
13114 enable_gsm=no
13116 else $as_nop
13117 enable_gsm=no
13119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13122 if ${JPEG_PE_LIBS:+false} :
13123 then :
13124 JPEG_PE_LIBS=jpeg
13125 if ${JPEG_PE_CFLAGS:+false} :
13126 then :
13127 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13128 else $as_nop
13129 enable_jpeg=no
13131 else $as_nop
13132 enable_jpeg=no
13134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13137 if ${JXR_PE_LIBS:+false} :
13138 then :
13139 JXR_PE_LIBS=jxr
13140 if ${JXR_PE_CFLAGS:+false} :
13141 then :
13142 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13143 else $as_nop
13144 enable_jxr=no
13146 else $as_nop
13147 enable_jxr=no
13149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13152 if ${LCMS2_PE_LIBS:+false} :
13153 then :
13154 LCMS2_PE_LIBS=lcms2
13155 if ${LCMS2_PE_CFLAGS:+false} :
13156 then :
13157 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13158 else $as_nop
13159 enable_lcms2=no
13161 else $as_nop
13162 enable_lcms2=no
13164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13167 if ${LDAP_PE_LIBS:+false} :
13168 then :
13169 LDAP_PE_LIBS=ldap
13170 if ${LDAP_PE_CFLAGS:+false} :
13171 then :
13172 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13173 else $as_nop
13174 enable_ldap=no
13176 else $as_nop
13177 enable_ldap=no
13179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13182 if ${MPG123_PE_LIBS:+false} :
13183 then :
13184 MPG123_PE_LIBS=mpg123
13185 if ${MPG123_PE_CFLAGS:+false} :
13186 then :
13187 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13188 else $as_nop
13189 enable_mpg123=no
13191 else $as_nop
13192 enable_mpg123=no
13194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13197 if ${MUSL_PE_LIBS:+false} :
13198 then :
13199 MUSL_PE_LIBS=musl
13200 if ${MUSL_PE_CFLAGS:+false} :
13201 then :
13202 MUSL_PE_CFLAGS=
13203 else $as_nop
13204 enable_musl=no
13206 else $as_nop
13207 enable_musl=no
13209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13212 if ${PNG_PE_LIBS:+false} :
13213 then :
13214 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13215 if ${PNG_PE_CFLAGS:+false} :
13216 then :
13217 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13218 else $as_nop
13219 enable_png=no
13221 else $as_nop
13222 enable_png=no
13224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13227 if ${TIFF_PE_LIBS:+false} :
13228 then :
13229 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13230 if ${TIFF_PE_CFLAGS:+false} :
13231 then :
13232 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13233 else $as_nop
13234 enable_tiff=no
13236 else $as_nop
13237 enable_tiff=no
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13242 if ${VKD3D_PE_LIBS:+false} :
13243 then :
13244 VKD3D_PE_LIBS=vkd3d
13245 if ${VKD3D_PE_CFLAGS:+false} :
13246 then :
13247 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13248 else $as_nop
13249 enable_vkd3d=no
13251 else $as_nop
13252 enable_vkd3d=no
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13257 if ${XML2_PE_LIBS:+false} :
13258 then :
13259 XML2_PE_LIBS=xml2
13260 if ${XML2_PE_CFLAGS:+false} :
13261 then :
13262 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13263 else $as_nop
13264 enable_xml2=no
13266 else $as_nop
13267 enable_xml2=no
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13272 if ${XSLT_PE_LIBS:+false} :
13273 then :
13274 XSLT_PE_LIBS=xslt
13275 if ${XSLT_PE_CFLAGS:+false} :
13276 then :
13277 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13278 else $as_nop
13279 enable_xslt=no
13281 else $as_nop
13282 enable_xslt=no
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13287 if ${ZLIB_PE_LIBS:+false} :
13288 then :
13289 ZLIB_PE_LIBS=z
13290 if ${ZLIB_PE_CFLAGS:+false} :
13291 then :
13292 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13293 else $as_nop
13294 enable_zlib=no
13296 else $as_nop
13297 enable_zlib=no
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13302 if ${ZYDIS_PE_LIBS:+false} :
13303 then :
13304 ZYDIS_PE_LIBS=zydis
13305 if ${ZYDIS_PE_CFLAGS:+false} :
13306 then :
13307 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13308 else $as_nop
13309 enable_zydis=no
13311 else $as_nop
13312 enable_zydis=no
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13319 if test "$ac_cv_header_pthread_h" = "yes"
13320 then
13321 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13322 if test "x$ac_cv_func_pthread_create" = xyes
13323 then :
13325 else $as_nop
13326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13327 printf %s "checking for pthread_create in -lpthread... " >&6; }
13328 if test ${ac_cv_lib_pthread_pthread_create+y}
13329 then :
13330 printf %s "(cached) " >&6
13331 else $as_nop
13332 ac_check_lib_save_LIBS=$LIBS
13333 LIBS="-lpthread $LIBS"
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13337 /* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13340 char pthread_create ();
13342 main (void)
13344 return pthread_create ();
13346 return 0;
13348 _ACEOF
13349 if ac_fn_c_try_link "$LINENO"
13350 then :
13351 ac_cv_lib_pthread_pthread_create=yes
13352 else $as_nop
13353 ac_cv_lib_pthread_pthread_create=no
13355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_lib_save_LIBS
13359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13360 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13361 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13362 then :
13363 PTHREAD_LIBS="-lpthread"
13370 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13371 then :
13372 case "x$with_pthread" in
13373 xno) ;;
13374 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13375 Wine cannot support threads without libpthread.
13376 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13377 esac
13382 ac_ext=c
13383 ac_cpp='$CPP $CPPFLAGS'
13384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13388 printf %s "checking how to run the C preprocessor... " >&6; }
13389 # On Suns, sometimes $CPP names a directory.
13390 if test -n "$CPP" && test -d "$CPP"; then
13391 CPP=
13393 if test -z "$CPP"; then
13394 if test ${ac_cv_prog_CPP+y}
13395 then :
13396 printf %s "(cached) " >&6
13397 else $as_nop
13398 # Double quotes because $CC needs to be expanded
13399 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13401 ac_preproc_ok=false
13402 for ac_c_preproc_warn_flag in '' yes
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # On the NeXT, cc -E runs the code through the compiler's parser,
13407 # not just through cpp. "Syntax error" is here to catch this case.
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #include <limits.h>
13411 Syntax error
13412 _ACEOF
13413 if ac_fn_c_try_cpp "$LINENO"
13414 then :
13416 else $as_nop
13417 # Broken: fails on valid input.
13418 continue
13420 rm -f conftest.err conftest.i conftest.$ac_ext
13422 # OK, works on sane cases. Now check whether nonexistent headers
13423 # can be detected and how.
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 #include <ac_nonexistent.h>
13427 _ACEOF
13428 if ac_fn_c_try_cpp "$LINENO"
13429 then :
13430 # Broken: success on invalid input.
13431 continue
13432 else $as_nop
13433 # Passes both tests.
13434 ac_preproc_ok=:
13435 break
13437 rm -f conftest.err conftest.i conftest.$ac_ext
13439 done
13440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13441 rm -f conftest.i conftest.err conftest.$ac_ext
13442 if $ac_preproc_ok
13443 then :
13444 break
13447 done
13448 ac_cv_prog_CPP=$CPP
13451 CPP=$ac_cv_prog_CPP
13452 else
13453 ac_cv_prog_CPP=$CPP
13455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13456 printf "%s\n" "$CPP" >&6; }
13457 ac_preproc_ok=false
13458 for ac_c_preproc_warn_flag in '' yes
13460 # Use a header file that comes with gcc, so configuring glibc
13461 # with a fresh cross-compiler works.
13462 # On the NeXT, cc -E runs the code through the compiler's parser,
13463 # not just through cpp. "Syntax error" is here to catch this case.
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13466 #include <limits.h>
13467 Syntax error
13468 _ACEOF
13469 if ac_fn_c_try_cpp "$LINENO"
13470 then :
13472 else $as_nop
13473 # Broken: fails on valid input.
13474 continue
13476 rm -f conftest.err conftest.i conftest.$ac_ext
13478 # OK, works on sane cases. Now check whether nonexistent headers
13479 # can be detected and how.
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13482 #include <ac_nonexistent.h>
13483 _ACEOF
13484 if ac_fn_c_try_cpp "$LINENO"
13485 then :
13486 # Broken: success on invalid input.
13487 continue
13488 else $as_nop
13489 # Passes both tests.
13490 ac_preproc_ok=:
13491 break
13493 rm -f conftest.err conftest.i conftest.$ac_ext
13495 done
13496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13497 rm -f conftest.i conftest.err conftest.$ac_ext
13498 if $ac_preproc_ok
13499 then :
13501 else $as_nop
13502 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13503 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13504 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13505 See \`config.log' for more details" "$LINENO" 5; }
13508 ac_ext=c
13509 ac_cpp='$CPP $CPPFLAGS'
13510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13516 printf %s "checking for X... " >&6; }
13519 # Check whether --with-x was given.
13520 if test ${with_x+y}
13521 then :
13522 withval=$with_x;
13525 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13526 if test "x$with_x" = xno; then
13527 # The user explicitly disabled X.
13528 have_x=disabled
13529 else
13530 case $x_includes,$x_libraries in #(
13531 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13532 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13533 then :
13534 printf %s "(cached) " >&6
13535 else $as_nop
13536 # One or both of the vars are not set, and there is no cached value.
13537 ac_x_includes=no
13538 ac_x_libraries=no
13539 # Do we need to do anything special at all?
13540 ac_save_LIBS=$LIBS
13541 LIBS="-lX11 $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13544 #include <X11/Xlib.h>
13546 main (void)
13548 XrmInitialize ()
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"
13554 then :
13555 # We can compile and link X programs with no special options.
13556 ac_x_includes=
13557 ac_x_libraries=
13559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS="$ac_save_LIBS"
13562 # If that didn't work, only try xmkmf and file system searches
13563 # for native compilation.
13564 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13565 then :
13566 rm -f -r conftest.dir
13567 if mkdir conftest.dir; then
13568 cd conftest.dir
13569 cat >Imakefile <<'_ACEOF'
13570 incroot:
13571 @echo incroot='${INCROOT}'
13572 usrlibdir:
13573 @echo usrlibdir='${USRLIBDIR}'
13574 libdir:
13575 @echo libdir='${LIBDIR}'
13576 _ACEOF
13577 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13579 for ac_var in incroot usrlibdir libdir; do
13580 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13581 done
13582 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13583 for ac_extension in a so sl dylib la dll; do
13584 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13585 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13586 ac_im_usrlibdir=$ac_im_libdir; break
13588 done
13589 # Screen out bogus values from the imake configuration. They are
13590 # bogus both because they are the default anyway, and because
13591 # using them would break gcc on systems where it needs fixed includes.
13592 case $ac_im_incroot in
13593 /usr/include) ac_x_includes= ;;
13594 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13595 esac
13596 case $ac_im_usrlibdir in
13597 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13598 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13599 esac
13601 cd ..
13602 rm -f -r conftest.dir
13605 # Standard set of common directories for X headers.
13606 # Check X11 before X11Rn because it is often a symlink to the current release.
13607 ac_x_header_dirs='
13608 /usr/X11/include
13609 /usr/X11R7/include
13610 /usr/X11R6/include
13611 /usr/X11R5/include
13612 /usr/X11R4/include
13614 /usr/include/X11
13615 /usr/include/X11R7
13616 /usr/include/X11R6
13617 /usr/include/X11R5
13618 /usr/include/X11R4
13620 /usr/local/X11/include
13621 /usr/local/X11R7/include
13622 /usr/local/X11R6/include
13623 /usr/local/X11R5/include
13624 /usr/local/X11R4/include
13626 /usr/local/include/X11
13627 /usr/local/include/X11R7
13628 /usr/local/include/X11R6
13629 /usr/local/include/X11R5
13630 /usr/local/include/X11R4
13632 /opt/X11/include
13634 /usr/X386/include
13635 /usr/x386/include
13636 /usr/XFree86/include/X11
13638 /usr/include
13639 /usr/local/include
13640 /usr/unsupported/include
13641 /usr/athena/include
13642 /usr/local/x11r5/include
13643 /usr/lpp/Xamples/include
13645 /usr/openwin/include
13646 /usr/openwin/share/include'
13648 if test "$ac_x_includes" = no; then
13649 # Guess where to find include files, by looking for Xlib.h.
13650 # First, try using that file with no special directory specified.
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13653 #include <X11/Xlib.h>
13654 _ACEOF
13655 if ac_fn_c_try_cpp "$LINENO"
13656 then :
13657 # We can compile using X headers with no special include directory.
13658 ac_x_includes=
13659 else $as_nop
13660 for ac_dir in $ac_x_header_dirs; do
13661 if test -r "$ac_dir/X11/Xlib.h"; then
13662 ac_x_includes=$ac_dir
13663 break
13665 done
13667 rm -f conftest.err conftest.i conftest.$ac_ext
13668 fi # $ac_x_includes = no
13670 if test "$ac_x_libraries" = no; then
13671 # Check for the libraries.
13672 # See if we find them without any special options.
13673 # Don't add to $LIBS permanently.
13674 ac_save_LIBS=$LIBS
13675 LIBS="-lX11 $LIBS"
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13678 #include <X11/Xlib.h>
13680 main (void)
13682 XrmInitialize ()
13684 return 0;
13686 _ACEOF
13687 if ac_fn_c_try_link "$LINENO"
13688 then :
13689 LIBS=$ac_save_LIBS
13690 # We can link X programs with no special library path.
13691 ac_x_libraries=
13692 else $as_nop
13693 LIBS=$ac_save_LIBS
13694 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13696 # Don't even attempt the hair of trying to link an X program!
13697 for ac_extension in a so sl dylib la dll; do
13698 if test -r "$ac_dir/libX11.$ac_extension"; then
13699 ac_x_libraries=$ac_dir
13700 break 2
13702 done
13703 done
13705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13706 conftest$ac_exeext conftest.$ac_ext
13707 fi # $ac_x_libraries = no
13710 # Record the results.
13711 case $ac_x_includes,$ac_x_libraries in #(
13712 no,* | *,no | *\'*) :
13713 # Didn't find X, or a directory has "'" in its name.
13714 ac_cv_have_x="have_x=no" ;; #(
13715 *) :
13716 # Record where we found X for the cache.
13717 ac_cv_have_x="have_x=yes\
13718 ac_x_includes='$ac_x_includes'\
13719 ac_x_libraries='$ac_x_libraries'" ;;
13720 esac
13722 ;; #(
13723 *) have_x=yes;;
13724 esac
13725 eval "$ac_cv_have_x"
13726 fi # $with_x != no
13728 if test "$have_x" != yes; then
13729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13730 printf "%s\n" "$have_x" >&6; }
13731 no_x=yes
13732 else
13733 # If each of the values was on the command line, it overrides each guess.
13734 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13735 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13736 # Update the cache value to reflect the command line values.
13737 ac_cv_have_x="have_x=yes\
13738 ac_x_includes='$x_includes'\
13739 ac_x_libraries='$x_libraries'"
13740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13741 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13744 if test "$no_x" = yes; then
13745 # Not all programs may use this symbol, but it does not hurt to define it.
13747 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13749 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13750 else
13751 if test -n "$x_includes"; then
13752 X_CFLAGS="$X_CFLAGS -I$x_includes"
13755 # It would also be nice to do this for all -L options, not just this one.
13756 if test -n "$x_libraries"; then
13757 X_LIBS="$X_LIBS -L$x_libraries"
13758 # For Solaris; some versions of Sun CC require a space after -R and
13759 # others require no space. Words are not sufficient . . . .
13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13761 printf %s "checking whether -R must be followed by a space... " >&6; }
13762 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13763 ac_xsave_c_werror_flag=$ac_c_werror_flag
13764 ac_c_werror_flag=yes
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13769 main (void)
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"
13777 then :
13778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779 printf "%s\n" "no" >&6; }
13780 X_LIBS="$X_LIBS -R$x_libraries"
13781 else $as_nop
13782 LIBS="$ac_xsave_LIBS -R $x_libraries"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13787 main (void)
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"
13795 then :
13796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13797 printf "%s\n" "yes" >&6; }
13798 X_LIBS="$X_LIBS -R $x_libraries"
13799 else $as_nop
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13801 printf "%s\n" "neither works" >&6; }
13803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13804 conftest$ac_exeext conftest.$ac_ext
13806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13807 conftest$ac_exeext conftest.$ac_ext
13808 ac_c_werror_flag=$ac_xsave_c_werror_flag
13809 LIBS=$ac_xsave_LIBS
13812 # Check for system-dependent libraries X programs must link with.
13813 # Do this before checking for the system-independent R6 libraries
13814 # (-lICE), since we may need -lsocket or whatever for X linking.
13816 if test "$ISC" = yes; then
13817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13818 else
13819 # Martyn Johnson says this is needed for Ultrix, if the X
13820 # libraries were built with DECnet support. And Karl Berry says
13821 # the Alpha needs dnet_stub (dnet does not exist).
13822 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 char XOpenDisplay ();
13831 main (void)
13833 return XOpenDisplay ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"
13839 then :
13841 else $as_nop
13842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13843 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13844 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13845 then :
13846 printf %s "(cached) " >&6
13847 else $as_nop
13848 ac_check_lib_save_LIBS=$LIBS
13849 LIBS="-ldnet $LIBS"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13853 /* Override any GCC internal prototype to avoid an error.
13854 Use char because int might match the return type of a GCC
13855 builtin and then its argument prototype would still apply. */
13856 char dnet_ntoa ();
13858 main (void)
13860 return dnet_ntoa ();
13862 return 0;
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"
13866 then :
13867 ac_cv_lib_dnet_dnet_ntoa=yes
13868 else $as_nop
13869 ac_cv_lib_dnet_dnet_ntoa=no
13871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_lib_save_LIBS
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13876 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13877 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13878 then :
13879 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13882 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13884 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13885 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13886 then :
13887 printf %s "(cached) " >&6
13888 else $as_nop
13889 ac_check_lib_save_LIBS=$LIBS
13890 LIBS="-ldnet_stub $LIBS"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 char dnet_ntoa ();
13899 main (void)
13901 return dnet_ntoa ();
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"
13907 then :
13908 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13909 else $as_nop
13910 ac_cv_lib_dnet_stub_dnet_ntoa=no
13912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13913 conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_lib_save_LIBS
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13917 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13918 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13919 then :
13920 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS="$ac_xsave_LIBS"
13929 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13930 # to get the SysV transport functions.
13931 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13932 # needs -lnsl.
13933 # The nsl library prevents programs from opening the X display
13934 # on Irix 5.2, according to T.E. Dickey.
13935 # The functions gethostbyname, getservbyname, and inet_addr are
13936 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13937 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13938 if test "x$ac_cv_func_gethostbyname" = xyes
13939 then :
13943 if test $ac_cv_func_gethostbyname = no; then
13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13945 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13946 if test ${ac_cv_lib_nsl_gethostbyname+y}
13947 then :
13948 printf %s "(cached) " >&6
13949 else $as_nop
13950 ac_check_lib_save_LIBS=$LIBS
13951 LIBS="-lnsl $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 char gethostbyname ();
13960 main (void)
13962 return gethostbyname ();
13964 return 0;
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"
13968 then :
13969 ac_cv_lib_nsl_gethostbyname=yes
13970 else $as_nop
13971 ac_cv_lib_nsl_gethostbyname=no
13973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13974 conftest$ac_exeext conftest.$ac_ext
13975 LIBS=$ac_check_lib_save_LIBS
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13978 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13979 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13980 then :
13981 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13984 if test $ac_cv_lib_nsl_gethostbyname = no; then
13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13986 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13987 if test ${ac_cv_lib_bsd_gethostbyname+y}
13988 then :
13989 printf %s "(cached) " >&6
13990 else $as_nop
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-lbsd $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 char gethostbyname ();
14001 main (void)
14003 return gethostbyname ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"
14009 then :
14010 ac_cv_lib_bsd_gethostbyname=yes
14011 else $as_nop
14012 ac_cv_lib_bsd_gethostbyname=no
14014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_lib_save_LIBS
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14019 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14020 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14021 then :
14022 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14028 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14029 # socket/setsockopt and other routines are undefined under SCO ODT
14030 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14031 # on later versions), says Simon Leinen: it contains gethostby*
14032 # variants that don't use the name server (or something). -lsocket
14033 # must be given before -lnsl if both are needed. We assume that
14034 # if connect needs -lnsl, so does gethostbyname.
14035 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14036 if test "x$ac_cv_func_connect" = xyes
14037 then :
14041 if test $ac_cv_func_connect = no; then
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14043 printf %s "checking for connect in -lsocket... " >&6; }
14044 if test ${ac_cv_lib_socket_connect+y}
14045 then :
14046 printf %s "(cached) " >&6
14047 else $as_nop
14048 ac_check_lib_save_LIBS=$LIBS
14049 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14051 /* end confdefs.h. */
14053 /* Override any GCC internal prototype to avoid an error.
14054 Use char because int might match the return type of a GCC
14055 builtin and then its argument prototype would still apply. */
14056 char connect ();
14058 main (void)
14060 return connect ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"
14066 then :
14067 ac_cv_lib_socket_connect=yes
14068 else $as_nop
14069 ac_cv_lib_socket_connect=no
14071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14072 conftest$ac_exeext conftest.$ac_ext
14073 LIBS=$ac_check_lib_save_LIBS
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14076 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14077 if test "x$ac_cv_lib_socket_connect" = xyes
14078 then :
14079 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14084 # Guillermo Gomez says -lposix is necessary on A/UX.
14085 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14086 if test "x$ac_cv_func_remove" = xyes
14087 then :
14091 if test $ac_cv_func_remove = no; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14093 printf %s "checking for remove in -lposix... " >&6; }
14094 if test ${ac_cv_lib_posix_remove+y}
14095 then :
14096 printf %s "(cached) " >&6
14097 else $as_nop
14098 ac_check_lib_save_LIBS=$LIBS
14099 LIBS="-lposix $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 char remove ();
14108 main (void)
14110 return remove ();
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"
14116 then :
14117 ac_cv_lib_posix_remove=yes
14118 else $as_nop
14119 ac_cv_lib_posix_remove=no
14121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14126 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14127 if test "x$ac_cv_lib_posix_remove" = xyes
14128 then :
14129 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14134 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14135 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14136 if test "x$ac_cv_func_shmat" = xyes
14137 then :
14141 if test $ac_cv_func_shmat = no; then
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14143 printf %s "checking for shmat in -lipc... " >&6; }
14144 if test ${ac_cv_lib_ipc_shmat+y}
14145 then :
14146 printf %s "(cached) " >&6
14147 else $as_nop
14148 ac_check_lib_save_LIBS=$LIBS
14149 LIBS="-lipc $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 char shmat ();
14158 main (void)
14160 return shmat ();
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"
14166 then :
14167 ac_cv_lib_ipc_shmat=yes
14168 else $as_nop
14169 ac_cv_lib_ipc_shmat=no
14171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_lib_save_LIBS
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14176 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14177 if test "x$ac_cv_lib_ipc_shmat" = xyes
14178 then :
14179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14185 # Check for libraries that X11R6 Xt/Xaw programs need.
14186 ac_save_LDFLAGS=$LDFLAGS
14187 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14189 # check for ICE first), but we must link in the order -lSM -lICE or
14190 # we get undefined symbols. So assume we have SM if we have ICE.
14191 # These have to be linked with before -lX11, unlike the other
14192 # libraries we check for below, so use a different variable.
14193 # John Interrante, Karl Berry
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14195 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14196 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14197 then :
14198 printf %s "(cached) " >&6
14199 else $as_nop
14200 ac_check_lib_save_LIBS=$LIBS
14201 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char IceConnectionNumber ();
14210 main (void)
14212 return IceConnectionNumber ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"
14218 then :
14219 ac_cv_lib_ICE_IceConnectionNumber=yes
14220 else $as_nop
14221 ac_cv_lib_ICE_IceConnectionNumber=no
14223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14228 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14229 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14230 then :
14231 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14234 LDFLAGS=$ac_save_LDFLAGS
14239 if test "$have_x" = "yes"
14240 then
14241 ac_save_CPPFLAGS="$CPPFLAGS"
14242 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14245 printf %s "checking for -lX11... " >&6; }
14246 if test ${ac_cv_lib_soname_X11+y}
14247 then :
14248 printf %s "(cached) " >&6
14249 else $as_nop
14250 ac_check_soname_save_LIBS=$LIBS
14251 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char XCreateWindow ();
14260 main (void)
14262 return XCreateWindow ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"
14268 then :
14269 case "$LIBEXT" in
14270 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14271 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'` ;;
14272 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14273 if ${ac_cv_lib_soname_X11:+false} :
14274 then :
14275 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14276 fi ;;
14277 esac
14278 else $as_nop
14279 ac_cv_lib_soname_X11=
14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_soname_save_LIBS
14285 if ${ac_cv_lib_soname_X11:+false} :
14286 then :
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14288 printf "%s\n" "not found" >&6; }
14290 else $as_nop
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14292 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14294 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14299 printf %s "checking for -lXext... " >&6; }
14300 if test ${ac_cv_lib_soname_Xext+y}
14301 then :
14302 printf %s "(cached) " >&6
14303 else $as_nop
14304 ac_check_soname_save_LIBS=$LIBS
14305 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 char XextCreateExtension ();
14314 main (void)
14316 return XextCreateExtension ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"
14322 then :
14323 case "$LIBEXT" in
14324 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14325 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'` ;;
14326 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14327 if ${ac_cv_lib_soname_Xext:+false} :
14328 then :
14329 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14330 fi ;;
14331 esac
14332 else $as_nop
14333 ac_cv_lib_soname_Xext=
14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_check_soname_save_LIBS
14339 if ${ac_cv_lib_soname_Xext:+false} :
14340 then :
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14342 printf "%s\n" "not found" >&6; }
14344 else $as_nop
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14346 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14348 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14350 X_LIBS="$X_LIBS -lXext"
14352 X_LIBS="$X_LIBS -lX11"
14354 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14355 # include <X11/Xlib.h>
14356 #endif
14357 #ifdef HAVE_X11_XUTIL_H
14358 # include <X11/Xutil.h>
14359 #endif
14361 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14362 then :
14363 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14367 # include <X11/Xlib.h>
14368 #endif
14369 #ifdef HAVE_X11_XUTIL_H
14370 # include <X11/Xutil.h>
14371 #endif
14373 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14374 then :
14375 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14378 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14379 # include <X11/Xlib.h>
14380 #endif
14381 #ifdef HAVE_X11_XUTIL_H
14382 # include <X11/Xutil.h>
14383 #endif
14385 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14386 then :
14387 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14390 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14391 # include <X11/Xlib.h>
14392 #endif
14393 #ifdef HAVE_X11_XUTIL_H
14394 # include <X11/Xutil.h>
14395 #endif
14397 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14398 then :
14399 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14402 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14403 # include <X11/Xlib.h>
14404 #endif
14405 #ifdef HAVE_X11_XUTIL_H
14406 # include <X11/Xutil.h>
14407 #endif
14409 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14410 then :
14411 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14414 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14415 # include <X11/Xlib.h>
14416 #endif
14417 #ifdef HAVE_X11_XUTIL_H
14418 # include <X11/Xutil.h>
14419 #endif
14421 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14422 then :
14423 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14426 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14427 # include <X11/Xlib.h>
14428 #endif
14429 #ifdef HAVE_X11_XUTIL_H
14430 # include <X11/Xutil.h>
14431 #endif
14433 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14434 then :
14435 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14438 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14439 # include <X11/Xlib.h>
14440 #endif
14441 #ifdef HAVE_X11_XUTIL_H
14442 # include <X11/Xutil.h>
14443 #endif
14445 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14446 then :
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14451 # include <X11/Xlib.h>
14452 #endif
14453 #ifdef HAVE_X11_XUTIL_H
14454 # include <X11/Xutil.h>
14455 #endif
14457 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14458 then :
14459 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14462 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14464 #endif
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14467 #endif
14469 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14470 then :
14471 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14476 #endif
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14479 #endif
14481 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14482 then :
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14487 # include <X11/Xlib.h>
14488 #endif
14489 #ifdef HAVE_X11_XUTIL_H
14490 # include <X11/Xutil.h>
14491 #endif
14493 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14494 then :
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14499 # include <X11/Xlib.h>
14500 #endif
14501 #ifdef HAVE_X11_XUTIL_H
14502 # include <X11/Xutil.h>
14503 #endif
14505 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14506 then :
14507 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14510 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14511 # include <X11/Xlib.h>
14512 #endif
14513 #ifdef HAVE_X11_XUTIL_H
14514 # include <X11/Xutil.h>
14515 #endif
14517 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14518 then :
14519 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14522 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14523 # include <X11/Xlib.h>
14524 #endif
14525 #ifdef HAVE_X11_XUTIL_H
14526 # include <X11/Xutil.h>
14527 #endif
14529 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14530 then :
14531 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14536 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14537 then
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14539 printf %s "checking for -lXcursor... " >&6; }
14540 if test ${ac_cv_lib_soname_Xcursor+y}
14541 then :
14542 printf %s "(cached) " >&6
14543 else $as_nop
14544 ac_check_soname_save_LIBS=$LIBS
14545 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 char XcursorImageLoadCursor ();
14554 main (void)
14556 return XcursorImageLoadCursor ();
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"
14562 then :
14563 case "$LIBEXT" in
14564 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14565 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'` ;;
14566 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14567 if ${ac_cv_lib_soname_Xcursor:+false} :
14568 then :
14569 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14570 fi ;;
14571 esac
14572 else $as_nop
14573 ac_cv_lib_soname_Xcursor=
14575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14576 conftest$ac_exeext conftest.$ac_ext
14577 LIBS=$ac_check_soname_save_LIBS
14579 if ${ac_cv_lib_soname_Xcursor:+false} :
14580 then :
14581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14582 printf "%s\n" "not found" >&6; }
14584 else $as_nop
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14586 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14588 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14593 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14594 then :
14595 case "x$with_xcursor" in
14596 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14597 xno) ;;
14598 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14599 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14600 esac
14604 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14605 then
14606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14607 printf %s "checking for -lXi... " >&6; }
14608 if test ${ac_cv_lib_soname_Xi+y}
14609 then :
14610 printf %s "(cached) " >&6
14611 else $as_nop
14612 ac_check_soname_save_LIBS=$LIBS
14613 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14617 /* Override any GCC internal prototype to avoid an error.
14618 Use char because int might match the return type of a GCC
14619 builtin and then its argument prototype would still apply. */
14620 char XOpenDevice ();
14622 main (void)
14624 return XOpenDevice ();
14626 return 0;
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"
14630 then :
14631 case "$LIBEXT" in
14632 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14633 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'` ;;
14634 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14635 if ${ac_cv_lib_soname_Xi:+false} :
14636 then :
14637 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14638 fi ;;
14639 esac
14640 else $as_nop
14641 ac_cv_lib_soname_Xi=
14643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_check_soname_save_LIBS
14647 if ${ac_cv_lib_soname_Xi:+false} :
14648 then :
14649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14650 printf "%s\n" "not found" >&6; }
14652 else $as_nop
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14654 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14656 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14661 if test "x$ac_cv_lib_soname_Xi" = "x"
14662 then :
14663 case "x$with_xinput" in
14664 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14665 xno) ;;
14666 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14667 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14668 esac
14672 if test "x$ac_cv_lib_soname_Xi" != x
14673 then
14674 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14675 then :
14676 case "x$with_xinput2" in
14677 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14678 xno) ;;
14679 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14680 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14681 esac
14686 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14687 then
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14689 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14690 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14691 then :
14692 printf %s "(cached) " >&6
14693 else $as_nop
14694 ac_check_lib_save_LIBS=$LIBS
14695 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14702 char XShmQueryExtension ();
14704 main (void)
14706 return XShmQueryExtension ();
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"
14712 then :
14713 ac_cv_lib_Xext_XShmQueryExtension=yes
14714 else $as_nop
14715 ac_cv_lib_Xext_XShmQueryExtension=no
14717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14718 conftest$ac_exeext conftest.$ac_ext
14719 LIBS=$ac_check_lib_save_LIBS
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14722 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14723 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14724 then :
14726 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14731 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14732 then :
14733 case "x$with_xshm" in
14734 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14735 xno) ;;
14736 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14737 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14738 esac
14742 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14743 then
14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14745 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14746 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14747 then :
14748 printf %s "(cached) " >&6
14749 else $as_nop
14750 ac_check_lib_save_LIBS=$LIBS
14751 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 char XShapeQueryExtension ();
14760 main (void)
14762 return XShapeQueryExtension ();
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"
14768 then :
14769 ac_cv_lib_Xext_XShapeQueryExtension=yes
14770 else $as_nop
14771 ac_cv_lib_Xext_XShapeQueryExtension=no
14773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14774 conftest$ac_exeext conftest.$ac_ext
14775 LIBS=$ac_check_lib_save_LIBS
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14778 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14779 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14780 then :
14782 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14787 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14788 then :
14789 case "x$with_xshape" in
14790 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14791 xno) ;;
14792 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14793 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14794 esac
14798 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14799 then
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14801 printf %s "checking for -lXxf86vm... " >&6; }
14802 if test ${ac_cv_lib_soname_Xxf86vm+y}
14803 then :
14804 printf %s "(cached) " >&6
14805 else $as_nop
14806 ac_check_soname_save_LIBS=$LIBS
14807 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XF86VidModeQueryExtension ();
14816 main (void)
14818 return XF86VidModeQueryExtension ();
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"
14824 then :
14825 case "$LIBEXT" in
14826 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14827 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'` ;;
14828 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14829 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14830 then :
14831 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14832 fi ;;
14833 esac
14834 else $as_nop
14835 ac_cv_lib_soname_Xxf86vm=
14837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_soname_save_LIBS
14841 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14842 then :
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14844 printf "%s\n" "not found" >&6; }
14846 else $as_nop
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14848 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14850 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14855 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14856 then :
14857 case "x$with_xxf86vm" in
14858 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14859 xno) ;;
14860 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14861 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14862 esac
14866 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14867 then
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14869 printf %s "checking for -lXrender... " >&6; }
14870 if test ${ac_cv_lib_soname_Xrender+y}
14871 then :
14872 printf %s "(cached) " >&6
14873 else $as_nop
14874 ac_check_soname_save_LIBS=$LIBS
14875 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XRenderQueryExtension ();
14884 main (void)
14886 return XRenderQueryExtension ();
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"
14892 then :
14893 case "$LIBEXT" in
14894 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_Xrender:+false} :
14898 then :
14899 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14900 fi ;;
14901 esac
14902 else $as_nop
14903 ac_cv_lib_soname_Xrender=
14905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_Xrender:+false} :
14910 then :
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 printf "%s\n" "not found" >&6; }
14914 else $as_nop
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14916 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14918 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14921 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14922 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14923 then :
14924 printf %s "(cached) " >&6
14925 else $as_nop
14926 ac_check_lib_save_LIBS=$LIBS
14927 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 char XRenderSetPictureTransform ();
14936 main (void)
14938 return XRenderSetPictureTransform ();
14940 return 0;
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"
14944 then :
14945 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14946 else $as_nop
14947 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14954 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14955 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14956 then :
14958 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14963 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14964 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14965 then :
14966 printf %s "(cached) " >&6
14967 else $as_nop
14968 ac_check_lib_save_LIBS=$LIBS
14969 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 char XRenderCreateLinearGradient ();
14978 main (void)
14980 return XRenderCreateLinearGradient ();
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"
14986 then :
14987 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14988 else $as_nop
14989 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14992 conftest$ac_exeext conftest.$ac_ext
14993 LIBS=$ac_check_lib_save_LIBS
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14996 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14997 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14998 then :
15000 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15007 if test "x$ac_cv_lib_soname_Xrender" = "x"
15008 then :
15009 case "x$with_xrender" in
15010 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15011 xno) ;;
15012 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15013 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15014 esac
15018 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15019 then
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15022 #include <X11/Xlib.h>
15023 #include <X11/extensions/Xrandr.h>
15025 main (void)
15027 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15029 return 0;
15031 _ACEOF
15032 if ac_fn_c_try_compile "$LINENO"
15033 then :
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15035 printf %s "checking for -lXrandr... " >&6; }
15036 if test ${ac_cv_lib_soname_Xrandr+y}
15037 then :
15038 printf %s "(cached) " >&6
15039 else $as_nop
15040 ac_check_soname_save_LIBS=$LIBS
15041 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 char XRRQueryExtension ();
15050 main (void)
15052 return XRRQueryExtension ();
15054 return 0;
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"
15058 then :
15059 case "$LIBEXT" in
15060 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15061 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'` ;;
15062 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15063 if ${ac_cv_lib_soname_Xrandr:+false} :
15064 then :
15065 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15066 fi ;;
15067 esac
15068 else $as_nop
15069 ac_cv_lib_soname_Xrandr=
15071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15072 conftest$ac_exeext conftest.$ac_ext
15073 LIBS=$ac_check_soname_save_LIBS
15075 if ${ac_cv_lib_soname_Xrandr:+false} :
15076 then :
15077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15078 printf "%s\n" "not found" >&6; }
15080 else $as_nop
15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15082 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15084 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15088 #include <X11/Xlib.h>
15089 #include <X11/extensions/Xrandr.h>
15091 main (void)
15093 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_compile "$LINENO"
15099 then :
15101 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15103 else $as_nop
15104 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15111 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15112 then :
15113 case "x$with_xrandr" in
15114 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15115 xno) ;;
15116 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15117 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15118 esac
15122 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15123 then
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <X11/Xlib.h>
15127 #include <X11/extensions/Xfixes.h>
15129 main (void)
15131 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15133 return 0;
15135 _ACEOF
15136 if ac_fn_c_try_compile "$LINENO"
15137 then :
15138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15139 printf %s "checking for -lXfixes... " >&6; }
15140 if test ${ac_cv_lib_soname_Xfixes+y}
15141 then :
15142 printf %s "(cached) " >&6
15143 else $as_nop
15144 ac_check_soname_save_LIBS=$LIBS
15145 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15149 /* Override any GCC internal prototype to avoid an error.
15150 Use char because int might match the return type of a GCC
15151 builtin and then its argument prototype would still apply. */
15152 char XFixesQueryVersion ();
15154 main (void)
15156 return XFixesQueryVersion ();
15158 return 0;
15160 _ACEOF
15161 if ac_fn_c_try_link "$LINENO"
15162 then :
15163 case "$LIBEXT" in
15164 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15165 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'` ;;
15166 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15167 if ${ac_cv_lib_soname_Xfixes:+false} :
15168 then :
15169 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15170 fi ;;
15171 esac
15172 else $as_nop
15173 ac_cv_lib_soname_Xfixes=
15175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15176 conftest$ac_exeext conftest.$ac_ext
15177 LIBS=$ac_check_soname_save_LIBS
15179 if ${ac_cv_lib_soname_Xfixes:+false} :
15180 then :
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15182 printf "%s\n" "not found" >&6; }
15184 else $as_nop
15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15186 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15188 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15195 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15196 then :
15197 case "x$with_xfixes" in
15198 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15199 xno) ;;
15200 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15201 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15202 esac
15206 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15207 then
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 #include <X11/Xlib.h>
15211 #include <X11/extensions/Xinerama.h>
15213 main (void)
15215 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15217 return 0;
15219 _ACEOF
15220 if ac_fn_c_try_compile "$LINENO"
15221 then :
15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15223 printf %s "checking for -lXinerama... " >&6; }
15224 if test ${ac_cv_lib_soname_Xinerama+y}
15225 then :
15226 printf %s "(cached) " >&6
15227 else $as_nop
15228 ac_check_soname_save_LIBS=$LIBS
15229 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15233 /* Override any GCC internal prototype to avoid an error.
15234 Use char because int might match the return type of a GCC
15235 builtin and then its argument prototype would still apply. */
15236 char XineramaQueryScreens ();
15238 main (void)
15240 return XineramaQueryScreens ();
15242 return 0;
15244 _ACEOF
15245 if ac_fn_c_try_link "$LINENO"
15246 then :
15247 case "$LIBEXT" in
15248 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15249 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'` ;;
15250 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15251 if ${ac_cv_lib_soname_Xinerama:+false} :
15252 then :
15253 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15254 fi ;;
15255 esac
15256 else $as_nop
15257 ac_cv_lib_soname_Xinerama=
15259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15260 conftest$ac_exeext conftest.$ac_ext
15261 LIBS=$ac_check_soname_save_LIBS
15263 if ${ac_cv_lib_soname_Xinerama:+false} :
15264 then :
15265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15266 printf "%s\n" "not found" >&6; }
15268 else $as_nop
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15270 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15272 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15279 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15280 then :
15281 case "x$with_xinerama" in
15282 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15283 xno) ;;
15284 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15285 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15286 esac
15290 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15291 then
15292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15293 printf %s "checking for -lXcomposite... " >&6; }
15294 if test ${ac_cv_lib_soname_Xcomposite+y}
15295 then :
15296 printf %s "(cached) " >&6
15297 else $as_nop
15298 ac_check_soname_save_LIBS=$LIBS
15299 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 char XCompositeRedirectWindow ();
15308 main (void)
15310 return XCompositeRedirectWindow ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"
15316 then :
15317 case "$LIBEXT" in
15318 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15319 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'` ;;
15320 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15321 if ${ac_cv_lib_soname_Xcomposite:+false} :
15322 then :
15323 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15324 fi ;;
15325 esac
15326 else $as_nop
15327 ac_cv_lib_soname_Xcomposite=
15329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_Xcomposite:+false} :
15334 then :
15335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15336 printf "%s\n" "not found" >&6; }
15338 else $as_nop
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15340 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15342 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15347 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15348 then :
15349 case "x$with_xcomposite" in
15350 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15351 xno) ;;
15352 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15353 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15354 esac
15358 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15359 #include <X11/Xlib.h>
15360 #endif
15362 if test "x$ac_cv_member_XICCallback_callback" = xyes
15363 then :
15365 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15369 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15370 #include <X11/Xlib.h>
15371 #endif
15373 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15374 then :
15376 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15383 opengl_msg=""
15384 if test "x$with_opengl" != "xno"
15385 then
15386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15387 printf %s "checking for -lGL... " >&6; }
15388 if test ${ac_cv_lib_soname_GL+y}
15389 then :
15390 printf %s "(cached) " >&6
15391 else $as_nop
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 char glXCreateContext ();
15402 main (void)
15404 return glXCreateContext ();
15406 return 0;
15408 _ACEOF
15409 if ac_fn_c_try_link "$LINENO"
15410 then :
15411 case "$LIBEXT" in
15412 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15413 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'` ;;
15414 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15415 if ${ac_cv_lib_soname_GL:+false} :
15416 then :
15417 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15418 fi ;;
15419 esac
15420 else $as_nop
15421 ac_cv_lib_soname_GL=
15423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15424 conftest$ac_exeext conftest.$ac_ext
15425 LIBS=$ac_check_soname_save_LIBS
15427 if ${ac_cv_lib_soname_GL:+false} :
15428 then :
15429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15430 printf "%s\n" "not found" >&6; }
15431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15432 printf %s "checking for -lGL... " >&6; }
15433 if test ${ac_cv_lib_soname_GL+y}
15434 then :
15435 printf %s "(cached) " >&6
15436 else $as_nop
15437 ac_check_soname_save_LIBS=$LIBS
15438 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"
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15442 /* Override any GCC internal prototype to avoid an error.
15443 Use char because int might match the return type of a GCC
15444 builtin and then its argument prototype would still apply. */
15445 char glXCreateContext ();
15447 main (void)
15449 return glXCreateContext ();
15451 return 0;
15453 _ACEOF
15454 if ac_fn_c_try_link "$LINENO"
15455 then :
15456 case "$LIBEXT" in
15457 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15460 if ${ac_cv_lib_soname_GL:+false} :
15461 then :
15462 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15463 fi ;;
15464 esac
15465 else $as_nop
15466 ac_cv_lib_soname_GL=
15468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_soname_save_LIBS
15472 if ${ac_cv_lib_soname_GL:+false} :
15473 then :
15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15475 printf "%s\n" "not found" >&6; }
15476 if test -f /usr/X11R6/lib/libGL.a
15477 then
15478 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15479 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15480 else
15481 opengl_msg="No OpenGL library found on this system."
15483 else $as_nop
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15485 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15487 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15489 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"
15491 else $as_nop
15492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15493 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15495 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15497 OPENGL_LIBS="-lGL"
15499 if test "x$with_osmesa" != "xno"
15500 then
15501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15502 printf %s "checking for -lOSMesa... " >&6; }
15503 if test ${ac_cv_lib_soname_OSMesa+y}
15504 then :
15505 printf %s "(cached) " >&6
15506 else $as_nop
15507 ac_check_soname_save_LIBS=$LIBS
15508 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15515 char OSMesaGetProcAddress ();
15517 main (void)
15519 return OSMesaGetProcAddress ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"
15525 then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_OSMesa:+false} :
15531 then :
15532 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15533 fi ;;
15534 esac
15535 else $as_nop
15536 ac_cv_lib_soname_OSMesa=
15538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_OSMesa:+false} :
15543 then :
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 printf "%s\n" "not found" >&6; }
15547 else $as_nop
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15549 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15551 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15555 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15556 then :
15557 case "x$with_osmesa" in
15558 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15559 xno) ;;
15560 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15561 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15562 esac
15567 if test -n "$opengl_msg"
15568 then :
15569 case "x$with_opengl" in
15570 x) as_fn_append wine_warnings "|$opengl_msg
15571 OpenGL and Direct3D won't be supported." ;;
15572 xno) ;;
15573 *) as_fn_error $? "$opengl_msg
15574 OpenGL and Direct3D won't be supported.
15575 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15576 esac
15580 CPPFLAGS="$ac_save_CPPFLAGS"
15581 else
15582 X_CFLAGS=""
15583 X_LIBS=""
15586 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15587 then
15588 if test "x$X_LIBS" = "x"
15589 then :
15590 case "x$with_x" in
15591 xno) ;;
15592 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15593 without X support, which probably isn't what you want. You will need
15594 to install ${notice_platform}development packages of Xlib at the very least.
15595 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15596 esac
15597 enable_winex11_drv=${enable_winex11_drv:-no}
15599 else
15600 if test "x$X_LIBS" = "x"
15601 then :
15602 case "x$with_x" in
15603 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15604 xno) ;;
15605 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15606 This is an error since --with-x was requested." "$LINENO" 5 ;;
15607 esac
15608 enable_winex11_drv=${enable_winex11_drv:-no}
15612 if test "x$with_wayland" != "xno"
15613 then
15614 rm -f conftest.err
15615 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15616 then :
15617 if test ${PKG_CONFIG+y}
15618 then :
15619 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15623 if ${WAYLAND_CLIENT_LIBS:+false} :
15624 then :
15625 if test ${PKG_CONFIG+y}
15626 then :
15627 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15634 if test -s conftest.err; then
15635 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15636 cat conftest.err >&5
15638 rm -f conftest.err
15639 ac_save_CPPFLAGS=$CPPFLAGS
15640 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15641 for ac_header in wayland-client.h
15642 do :
15643 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15644 if test "x$ac_cv_header_wayland_client_h" = xyes
15645 then :
15646 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15648 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15649 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15650 then :
15651 printf %s "(cached) " >&6
15652 else $as_nop
15653 ac_check_lib_save_LIBS=$LIBS
15654 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 /* Override any GCC internal prototype to avoid an error.
15659 Use char because int might match the return type of a GCC
15660 builtin and then its argument prototype would still apply. */
15661 char wl_display_connect ();
15663 main (void)
15665 return wl_display_connect ();
15667 return 0;
15669 _ACEOF
15670 if ac_fn_c_try_link "$LINENO"
15671 then :
15672 ac_cv_lib_wayland_client_wl_display_connect=yes
15673 else $as_nop
15674 ac_cv_lib_wayland_client_wl_display_connect=no
15676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_check_lib_save_LIBS
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15681 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15682 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15683 then :
15684 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15685 set dummy wayland-scanner; ac_word=$2
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15687 printf %s "checking for $ac_word... " >&6; }
15688 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15689 then :
15690 printf %s "(cached) " >&6
15691 else $as_nop
15692 case $WAYLAND_SCANNER in
15693 [\\/]* | ?:[\\/]*)
15694 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15698 for as_dir in $PATH
15700 IFS=$as_save_IFS
15701 case $as_dir in #(((
15702 '') as_dir=./ ;;
15703 */) ;;
15704 *) as_dir=$as_dir/ ;;
15705 esac
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15708 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15710 break 2
15712 done
15713 done
15714 IFS=$as_save_IFS
15716 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`"
15718 esac
15720 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15721 if test -n "$WAYLAND_SCANNER"; then
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15723 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15724 else
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15726 printf "%s\n" "no" >&6; }
15730 else $as_nop
15731 WAYLAND_CLIENT_LIBS=""
15736 done
15737 CPPFLAGS=$ac_save_CPPFLAGS
15740 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15741 then :
15742 case "x$with_wayland" in
15743 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15744 xno) ;;
15745 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15746 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15747 esac
15748 enable_winewayland_drv=${enable_winewayland_drv:-no}
15751 if test "$ac_cv_header_CL_cl_h" = "yes"
15752 then
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15754 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15755 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15756 then :
15757 printf %s "(cached) " >&6
15758 else $as_nop
15759 ac_check_lib_save_LIBS=$LIBS
15760 LIBS="-lOpenCL $LIBS"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15767 char clGetPlatformInfo ();
15769 main (void)
15771 return clGetPlatformInfo ();
15773 return 0;
15775 _ACEOF
15776 if ac_fn_c_try_link "$LINENO"
15777 then :
15778 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15779 else $as_nop
15780 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15787 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15789 then :
15790 OPENCL_LIBS="-lOpenCL"
15795 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15796 then :
15797 case "x$with_opencl" in
15798 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15799 xno) ;;
15800 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15801 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15802 esac
15803 enable_opencl=${enable_opencl:-no}
15806 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15807 then
15808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15809 printf %s "checking for pcap_init in -lpcap... " >&6; }
15810 if test ${ac_cv_lib_pcap_pcap_init+y}
15811 then :
15812 printf %s "(cached) " >&6
15813 else $as_nop
15814 ac_check_lib_save_LIBS=$LIBS
15815 LIBS="-lpcap $LIBS"
15816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15817 /* end confdefs.h. */
15819 /* Override any GCC internal prototype to avoid an error.
15820 Use char because int might match the return type of a GCC
15821 builtin and then its argument prototype would still apply. */
15822 char pcap_init ();
15824 main (void)
15826 return pcap_init ();
15828 return 0;
15830 _ACEOF
15831 if ac_fn_c_try_link "$LINENO"
15832 then :
15833 ac_cv_lib_pcap_pcap_init=yes
15834 else $as_nop
15835 ac_cv_lib_pcap_pcap_init=no
15837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15838 conftest$ac_exeext conftest.$ac_ext
15839 LIBS=$ac_check_lib_save_LIBS
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15842 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15843 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15844 then :
15845 PCAP_LIBS="-lpcap"
15850 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15851 then :
15852 case "x$with_pcap" in
15853 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15854 xno) ;;
15855 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15856 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15857 esac
15858 enable_wpcap=${enable_wpcap:-no}
15861 if test "x$with_pcsclite" != "xno"
15862 then
15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15864 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15865 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15866 then :
15867 printf %s "(cached) " >&6
15868 else $as_nop
15869 ac_check_lib_save_LIBS=$LIBS
15870 LIBS="-lpcsclite $LIBS"
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15874 /* Override any GCC internal prototype to avoid an error.
15875 Use char because int might match the return type of a GCC
15876 builtin and then its argument prototype would still apply. */
15877 char SCardEstablishContext ();
15879 main (void)
15881 return SCardEstablishContext ();
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"
15887 then :
15888 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15889 else $as_nop
15890 ac_cv_lib_pcsclite_SCardEstablishContext=no
15892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15893 conftest$ac_exeext conftest.$ac_ext
15894 LIBS=$ac_check_lib_save_LIBS
15896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15897 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15898 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15899 then :
15900 PCSCLITE_LIBS="-lpcsclite"
15905 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15906 then :
15907 case "x$with_pcsclite" in
15908 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15909 xno) ;;
15910 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15911 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15912 esac
15913 enable_winscard=${enable_winscard:-no}
15916 if test "x$with_inotify" != "xno"
15917 then
15918 rm -f conftest.err
15919 if ${INOTIFY_CFLAGS:+false} :
15920 then :
15921 if test ${PKG_CONFIG+y}
15922 then :
15923 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15927 if ${INOTIFY_LIBS:+false} :
15928 then :
15929 if test ${PKG_CONFIG+y}
15930 then :
15931 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15938 if test -s conftest.err; then
15939 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15940 cat conftest.err >&5
15942 rm -f conftest.err
15943 ac_save_CPPFLAGS=$CPPFLAGS
15944 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15945 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15946 if test "x$ac_cv_header_sys_inotify_h" = xyes
15947 then :
15948 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15953 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15954 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15955 then :
15956 printf %s "(cached) " >&6
15957 else $as_nop
15958 ac_check_lib_save_LIBS=$LIBS
15959 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15966 char inotify_add_watch ();
15968 main (void)
15970 return inotify_add_watch ();
15972 return 0;
15974 _ACEOF
15975 if ac_fn_c_try_link "$LINENO"
15976 then :
15977 ac_cv_lib_inotify_inotify_add_watch=yes
15978 else $as_nop
15979 ac_cv_lib_inotify_inotify_add_watch=no
15981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15982 conftest$ac_exeext conftest.$ac_ext
15983 LIBS=$ac_check_lib_save_LIBS
15985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15986 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15987 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15988 then :
15990 else $as_nop
15991 INOTIFY_LIBS=""
15994 CPPFLAGS=$ac_save_CPPFLAGS
15997 if test "$ac_cv_header_sys_inotify_h" != "yes"
15998 then :
15999 case "x$with_inotify" in
16000 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16001 xno) ;;
16002 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16003 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16004 esac
16008 if test "x$with_dbus" != "xno"
16009 then
16010 rm -f conftest.err
16011 if ${DBUS_CFLAGS:+false} :
16012 then :
16013 if test ${PKG_CONFIG+y}
16014 then :
16015 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16019 if ${DBUS_LIBS:+false} :
16020 then :
16021 if test ${PKG_CONFIG+y}
16022 then :
16023 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16030 if test -s conftest.err; then
16031 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16032 cat conftest.err >&5
16034 rm -f conftest.err
16035 ac_save_CPPFLAGS=$CPPFLAGS
16036 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16037 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16038 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16039 then :
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16041 printf %s "checking for -ldbus-1... " >&6; }
16042 if test ${ac_cv_lib_soname_dbus_1+y}
16043 then :
16044 printf %s "(cached) " >&6
16045 else $as_nop
16046 ac_check_soname_save_LIBS=$LIBS
16047 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 char dbus_connection_close ();
16056 main (void)
16058 return dbus_connection_close ();
16060 return 0;
16062 _ACEOF
16063 if ac_fn_c_try_link "$LINENO"
16064 then :
16065 case "$LIBEXT" in
16066 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16067 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'` ;;
16068 *) 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'`
16069 if ${ac_cv_lib_soname_dbus_1:+false} :
16070 then :
16071 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16072 fi ;;
16073 esac
16074 else $as_nop
16075 ac_cv_lib_soname_dbus_1=
16077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16078 conftest$ac_exeext conftest.$ac_ext
16079 LIBS=$ac_check_soname_save_LIBS
16081 if ${ac_cv_lib_soname_dbus_1:+false} :
16082 then :
16083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16084 printf "%s\n" "not found" >&6; }
16085 DBUS_CFLAGS=""
16086 else $as_nop
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16088 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16090 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16094 else $as_nop
16095 DBUS_CFLAGS=""
16098 CPPFLAGS=$ac_save_CPPFLAGS
16101 case $host_os in
16102 darwin*|macosx*) ;;
16103 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16104 then :
16105 case "x$with_dbus" in
16106 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16107 xno) ;;
16108 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16109 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16110 esac
16112 fi ;;
16113 esac
16115 if test "x$with_gnutls" != "xno"
16116 then
16117 rm -f conftest.err
16118 if ${GNUTLS_CFLAGS:+false} :
16119 then :
16120 if test ${PKG_CONFIG+y}
16121 then :
16122 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16126 if ${GNUTLS_LIBS:+false} :
16127 then :
16128 if test ${PKG_CONFIG+y}
16129 then :
16130 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16134 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16137 if test -s conftest.err; then
16138 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16139 cat conftest.err >&5
16141 rm -f conftest.err
16142 ac_save_CPPFLAGS=$CPPFLAGS
16143 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16144 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16145 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16146 then :
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16149 #include <gnutls/gnutls.h>
16150 #include <gnutls/crypto.h>
16152 main (void)
16154 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_compile "$LINENO"
16160 then :
16161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16162 printf %s "checking for -lgnutls... " >&6; }
16163 if test ${ac_cv_lib_soname_gnutls+y}
16164 then :
16165 printf %s "(cached) " >&6
16166 else $as_nop
16167 ac_check_soname_save_LIBS=$LIBS
16168 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 char gnutls_global_init ();
16177 main (void)
16179 return gnutls_global_init ();
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_link "$LINENO"
16185 then :
16186 case "$LIBEXT" in
16187 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16188 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'` ;;
16189 *) 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'`
16190 if ${ac_cv_lib_soname_gnutls:+false} :
16191 then :
16192 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'`
16193 fi ;;
16194 esac
16195 else $as_nop
16196 ac_cv_lib_soname_gnutls=
16198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16199 conftest$ac_exeext conftest.$ac_ext
16200 LIBS=$ac_check_soname_save_LIBS
16202 if ${ac_cv_lib_soname_gnutls:+false} :
16203 then :
16204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16205 printf "%s\n" "not found" >&6; }
16206 GNUTLS_CFLAGS=""
16207 else $as_nop
16208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16209 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16211 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16215 ac_wine_check_funcs_save_LIBS="$LIBS"
16216 LIBS="$LIBS $GNUTLS_LIBS"
16218 for ac_func in gnutls_cipher_init
16219 do :
16220 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16221 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16222 then :
16223 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16225 else $as_nop
16226 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16229 done
16230 LIBS="$ac_wine_check_funcs_save_LIBS"
16232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16233 else $as_nop
16234 GNUTLS_CFLAGS=""
16237 CPPFLAGS=$ac_save_CPPFLAGS
16240 if test "x$ac_cv_lib_soname_gnutls" = "x"
16241 then :
16242 case "x$with_gnutls" in
16243 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16244 xno) ;;
16245 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16246 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16247 esac
16251 if test "x$with_sane" != "xno"
16252 then
16253 rm -f conftest.err
16254 if ${SANE_CFLAGS:+false} :
16255 then :
16256 if test ${PKG_CONFIG+y}
16257 then :
16258 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16261 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16262 if ${SANE_LIBS:+false} :
16263 then :
16264 if test ${PKG_CONFIG+y}
16265 then :
16266 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16269 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16273 if test -s conftest.err; then
16274 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16275 cat conftest.err >&5
16277 rm -f conftest.err
16278 ac_save_CPPFLAGS=$CPPFLAGS
16279 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16280 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_sane_sane_h" = xyes
16282 then :
16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16284 printf %s "checking for sane_init in -lsane... " >&6; }
16285 if test ${ac_cv_lib_sane_sane_init+y}
16286 then :
16287 printf %s "(cached) " >&6
16288 else $as_nop
16289 ac_check_lib_save_LIBS=$LIBS
16290 LIBS="-lsane $SANE_LIBS $LIBS"
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 char sane_init ();
16299 main (void)
16301 return sane_init ();
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"
16307 then :
16308 ac_cv_lib_sane_sane_init=yes
16309 else $as_nop
16310 ac_cv_lib_sane_sane_init=no
16312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16313 conftest$ac_exeext conftest.$ac_ext
16314 LIBS=$ac_check_lib_save_LIBS
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16317 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16318 if test "x$ac_cv_lib_sane_sane_init" = xyes
16319 then :
16325 CPPFLAGS=$ac_save_CPPFLAGS
16328 if test "$ac_cv_lib_sane_sane_init" != "yes"
16329 then :
16330 case "x$with_sane" in
16331 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16332 xno) ;;
16333 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16334 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16335 esac
16336 enable_sane_ds=${enable_sane_ds:-no}
16339 if test "x$with_usb" != "xno"
16340 then
16341 rm -f conftest.err
16342 if ${USB_CFLAGS:+false} :
16343 then :
16344 if test ${PKG_CONFIG+y}
16345 then :
16346 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16350 if ${USB_LIBS:+false} :
16351 then :
16352 if test ${PKG_CONFIG+y}
16353 then :
16354 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16358 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16361 if test -s conftest.err; then
16362 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16363 cat conftest.err >&5
16365 rm -f conftest.err
16366 ac_save_CPPFLAGS=$CPPFLAGS
16367 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16368 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16369 if test "x$ac_cv_header_libusb_h" = xyes
16370 then :
16371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16372 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16373 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16374 then :
16375 printf %s "(cached) " >&6
16376 else $as_nop
16377 ac_check_lib_save_LIBS=$LIBS
16378 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 char libusb_interrupt_event_handler ();
16387 main (void)
16389 return libusb_interrupt_event_handler ();
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"
16395 then :
16396 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16397 else $as_nop
16398 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16401 conftest$ac_exeext conftest.$ac_ext
16402 LIBS=$ac_check_lib_save_LIBS
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16405 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16406 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16407 then :
16409 else $as_nop
16410 USB_LIBS=""
16413 else $as_nop
16414 USB_LIBS=""
16417 CPPFLAGS=$ac_save_CPPFLAGS
16420 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16421 then :
16422 case "x$with_usb" in
16423 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16424 xno) ;;
16425 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16426 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16427 esac
16428 enable_wineusb_sys=${enable_wineusb_sys:-no}
16431 if test "x$with_v4l2" != "xno"
16432 then
16433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16434 printf %s "checking for -lv4l2... " >&6; }
16435 if test ${ac_cv_lib_soname_v4l2+y}
16436 then :
16437 printf %s "(cached) " >&6
16438 else $as_nop
16439 ac_check_soname_save_LIBS=$LIBS
16440 LIBS="-lv4l2 $LIBS"
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16447 char v4l2_open ();
16449 main (void)
16451 return v4l2_open ();
16453 return 0;
16455 _ACEOF
16456 if ac_fn_c_try_link "$LINENO"
16457 then :
16458 case "$LIBEXT" in
16459 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16460 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'` ;;
16461 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16462 if ${ac_cv_lib_soname_v4l2:+false} :
16463 then :
16464 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16465 fi ;;
16466 esac
16467 else $as_nop
16468 ac_cv_lib_soname_v4l2=
16470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16471 conftest$ac_exeext conftest.$ac_ext
16472 LIBS=$ac_check_soname_save_LIBS
16474 if ${ac_cv_lib_soname_v4l2:+false} :
16475 then :
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16477 printf "%s\n" "not found" >&6; }
16479 else $as_nop
16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16481 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16483 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16488 if test "x$ac_cv_lib_soname_v4l2" = "x"
16489 then :
16490 case "x$with_v4l2" in
16491 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16492 xno) ;;
16493 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16494 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16495 esac
16499 if test "x$with_gphoto" != "xno"
16500 then
16501 rm -f conftest.err
16502 if ${GPHOTO2_CFLAGS:+false} :
16503 then :
16504 if test ${PKG_CONFIG+y}
16505 then :
16506 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16509 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16510 if ${GPHOTO2_LIBS:+false} :
16511 then :
16512 if test ${PKG_CONFIG+y}
16513 then :
16514 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16517 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16518 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16521 if test -s conftest.err; then
16522 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16523 cat conftest.err >&5
16525 rm -f conftest.err
16526 ac_save_CPPFLAGS=$CPPFLAGS
16527 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16528 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16529 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16530 then :
16531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16532 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16533 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16534 then :
16535 printf %s "(cached) " >&6
16536 else $as_nop
16537 ac_check_lib_save_LIBS=$LIBS
16538 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 char gp_camera_new ();
16547 main (void)
16549 return gp_camera_new ();
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_link "$LINENO"
16555 then :
16556 ac_cv_lib_gphoto2_gp_camera_new=yes
16557 else $as_nop
16558 ac_cv_lib_gphoto2_gp_camera_new=no
16560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16561 conftest$ac_exeext conftest.$ac_ext
16562 LIBS=$ac_check_lib_save_LIBS
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16565 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16566 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16567 then :
16573 CPPFLAGS=$ac_save_CPPFLAGS
16575 rm -f conftest.err
16576 if ${GPHOTO2_PORT_CFLAGS:+false} :
16577 then :
16578 if test ${PKG_CONFIG+y}
16579 then :
16580 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16583 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16584 if ${GPHOTO2_PORT_LIBS:+false} :
16585 then :
16586 if test ${PKG_CONFIG+y}
16587 then :
16588 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16591 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16592 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16595 if test -s conftest.err; then
16596 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16597 cat conftest.err >&5
16599 rm -f conftest.err
16600 ac_save_CPPFLAGS=$CPPFLAGS
16601 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16602 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16603 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16604 then :
16605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16606 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16607 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16608 then :
16609 printf %s "(cached) " >&6
16610 else $as_nop
16611 ac_check_lib_save_LIBS=$LIBS
16612 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16616 /* Override any GCC internal prototype to avoid an error.
16617 Use char because int might match the return type of a GCC
16618 builtin and then its argument prototype would still apply. */
16619 char gp_port_info_list_new ();
16621 main (void)
16623 return gp_port_info_list_new ();
16625 return 0;
16627 _ACEOF
16628 if ac_fn_c_try_link "$LINENO"
16629 then :
16630 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16631 else $as_nop
16632 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16635 conftest$ac_exeext conftest.$ac_ext
16636 LIBS=$ac_check_lib_save_LIBS
16638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16639 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16640 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16641 then :
16643 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16645 else $as_nop
16646 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16649 else $as_nop
16650 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16653 CPPFLAGS=$ac_save_CPPFLAGS
16656 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16657 then :
16658 case "x$with_gphoto" in
16659 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16660 xno) ;;
16661 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16662 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16663 esac
16664 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16666 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16667 then :
16668 case "x$with_gphoto" in
16669 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16670 xno) ;;
16671 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16672 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16673 esac
16678 if test "$ac_cv_header_resolv_h" = "yes"
16679 then
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16681 printf %s "checking for resolver library... " >&6; }
16682 if test ${ac_cv_have_resolv+y}
16683 then :
16684 printf %s "(cached) " >&6
16685 else $as_nop
16686 ac_save_LIBS="$LIBS"
16687 for lib in '' -lresolv
16689 LIBS="$lib $ac_save_LIBS"
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16692 #ifdef HAVE_NETINET_IN_H
16693 #include <netinet/in.h>
16694 #endif
16695 #include <resolv.h>
16697 main (void)
16699 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16701 return 0;
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"
16705 then :
16706 ac_cv_have_resolv=${lib:-"none required"}
16707 else $as_nop
16708 ac_cv_have_resolv="not found"
16710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16711 conftest$ac_exeext conftest.$ac_ext
16712 test "x$ac_cv_have_resolv" = "xnot found" || break
16713 done
16714 LIBS="$ac_save_LIBS"
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16717 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16719 case "$ac_cv_have_resolv" in
16720 "not found") ;;
16721 "none required")
16723 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16726 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16728 RESOLV_LIBS=$ac_cv_have_resolv
16730 esac
16732 if test "x$ac_cv_have_resolv" != "xnot found"
16733 then
16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16735 printf %s "checking for res_getservers... " >&6; }
16736 if test ${ac_cv_have_res_getservers+y}
16737 then :
16738 printf %s "(cached) " >&6
16739 else $as_nop
16740 ac_save_LIBS="$LIBS"
16741 LIBS="$RESOLV_LIBS $LIBS"
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <resolv.h>
16746 main (void)
16748 res_getservers(NULL, NULL, 0);
16750 return 0;
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"
16754 then :
16755 ac_cv_have_res_getservers=yes
16756 else $as_nop
16757 ac_cv_have_res_getservers=no
16759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16760 conftest$ac_exeext conftest.$ac_ext
16761 LIBS="$ac_save_LIBS"
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16764 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16765 if test "$ac_cv_have_res_getservers" = "yes"
16766 then
16768 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16774 if test "x$with_freetype" != "xno"
16775 then
16776 rm -f conftest.err
16777 if ${FREETYPE_CFLAGS:+false} :
16778 then :
16779 if test ${PKG_CONFIG+y}
16780 then :
16781 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16784 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16785 if ${FREETYPE_LIBS:+false} :
16786 then :
16787 if test ${PKG_CONFIG+y}
16788 then :
16789 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16792 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16793 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16796 if test -s conftest.err; then
16797 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16798 cat conftest.err >&5
16800 rm -f conftest.err
16801 ac_save_CPPFLAGS=$CPPFLAGS
16802 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16803 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16804 if test "x$ac_cv_header_ft2build_h" = xyes
16805 then :
16806 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16810 if test "$ac_cv_header_ft2build_h" = "yes"
16811 then
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16813 printf %s "checking for -lfreetype... " >&6; }
16814 if test ${ac_cv_lib_soname_freetype+y}
16815 then :
16816 printf %s "(cached) " >&6
16817 else $as_nop
16818 ac_check_soname_save_LIBS=$LIBS
16819 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 char FT_Init_FreeType ();
16828 main (void)
16830 return FT_Init_FreeType ();
16832 return 0;
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"
16836 then :
16837 case "$LIBEXT" in
16838 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16839 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'` ;;
16840 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16841 if ${ac_cv_lib_soname_freetype:+false} :
16842 then :
16843 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16844 fi ;;
16845 esac
16846 else $as_nop
16847 ac_cv_lib_soname_freetype=
16849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16850 conftest$ac_exeext conftest.$ac_ext
16851 LIBS=$ac_check_soname_save_LIBS
16853 if ${ac_cv_lib_soname_freetype:+false} :
16854 then :
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16856 printf "%s\n" "not found" >&6; }
16857 FREETYPE_LIBS=""
16858 else $as_nop
16859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16860 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16862 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16865 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16867 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16868 #include FT_MODULE_H
16870 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16871 then :
16873 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16879 else
16880 FREETYPE_CFLAGS=""
16881 FREETYPE_LIBS=""
16883 CPPFLAGS=$ac_save_CPPFLAGS
16886 if test "x$ac_cv_lib_soname_freetype" = x
16887 then :
16888 case "x$with_freetype" in
16889 xno) ;;
16890 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16891 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16892 esac
16893 enable_fonts=${enable_fonts:-no}
16896 ac_wine_check_funcs_save_LIBS="$LIBS"
16897 LIBS="$LIBS $PTHREAD_LIBS"
16898 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16899 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16900 then :
16901 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16905 LIBS="$ac_wine_check_funcs_save_LIBS"
16907 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16908 then
16909 if test "$ac_cv_header_gettext_po_h" = "yes"
16910 then
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16912 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16913 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16914 then :
16915 printf %s "(cached) " >&6
16916 else $as_nop
16917 ac_check_lib_save_LIBS=$LIBS
16918 LIBS="-lgettextpo $LIBS"
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 /* Override any GCC internal prototype to avoid an error.
16923 Use char because int might match the return type of a GCC
16924 builtin and then its argument prototype would still apply. */
16925 char po_message_msgctxt ();
16927 main (void)
16929 return po_message_msgctxt ();
16931 return 0;
16933 _ACEOF
16934 if ac_fn_c_try_link "$LINENO"
16935 then :
16936 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16937 else $as_nop
16938 ac_cv_lib_gettextpo_po_message_msgctxt=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16941 conftest$ac_exeext conftest.$ac_ext
16942 LIBS=$ac_check_lib_save_LIBS
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16945 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16946 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16947 then :
16949 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16951 GETTEXTPO_LIBS="-lgettextpo"
16956 if test "x$GETTEXTPO_LIBS" = "x"
16957 then :
16958 case "x$with_gettextpo" in
16959 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16960 xno) ;;
16961 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16962 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16963 esac
16966 if test "$srcdir" != .
16967 then :
16968 case "x$with_gettextpo" in
16969 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16970 xno) ;;
16971 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16972 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16973 esac
16978 if test "x$with_pulse" != "xno";
16979 then
16980 rm -f conftest.err
16981 if ${PULSE_CFLAGS:+false} :
16982 then :
16983 if test ${PKG_CONFIG+y}
16984 then :
16985 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16989 if ${PULSE_LIBS:+false} :
16990 then :
16991 if test ${PKG_CONFIG+y}
16992 then :
16993 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17000 if test -s conftest.err; then
17001 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17002 cat conftest.err >&5
17004 rm -f conftest.err
17005 ac_save_CPPFLAGS=$CPPFLAGS
17006 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17007 for ac_header in pulse/pulseaudio.h
17008 do :
17009 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17010 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17011 then :
17012 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17014 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17015 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17016 then :
17017 printf %s "(cached) " >&6
17018 else $as_nop
17019 ac_check_lib_save_LIBS=$LIBS
17020 LIBS="-lpulse $PULSE_LIBS $LIBS"
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17024 /* Override any GCC internal prototype to avoid an error.
17025 Use char because int might match the return type of a GCC
17026 builtin and then its argument prototype would still apply. */
17027 char pa_stream_is_corked ();
17029 main (void)
17031 return pa_stream_is_corked ();
17033 return 0;
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"
17037 then :
17038 ac_cv_lib_pulse_pa_stream_is_corked=yes
17039 else $as_nop
17040 ac_cv_lib_pulse_pa_stream_is_corked=no
17042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17043 conftest$ac_exeext conftest.$ac_ext
17044 LIBS=$ac_check_lib_save_LIBS
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17047 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17048 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17049 then :
17051 else $as_nop
17052 PULSE_LIBS=""
17055 else $as_nop
17056 PULSE_LIBS=""
17059 done
17060 CPPFLAGS=$ac_save_CPPFLAGS
17063 if test -z "$PULSE_LIBS"
17064 then :
17065 case "x$with_pulse" in
17066 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17067 xno) ;;
17068 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17069 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17070 esac
17071 enable_winepulse_drv=${enable_winepulse_drv:-no}
17074 if test "x$with_gstreamer" != "xno"
17075 then
17076 rm -f conftest.err
17077 if ${GSTREAMER_CFLAGS:+false} :
17078 then :
17079 if test ${PKG_CONFIG+y}
17080 then :
17081 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17085 if ${GSTREAMER_LIBS:+false} :
17086 then :
17087 if test ${PKG_CONFIG+y}
17088 then :
17089 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17094 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
17095 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
17096 if test -s conftest.err; then
17097 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17098 cat conftest.err >&5
17100 rm -f conftest.err
17101 ac_save_CPPFLAGS=$CPPFLAGS
17102 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17103 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17104 if test "x$ac_cv_header_gst_gst_h" = xyes
17105 then :
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17107 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #include <gst/gst.h>
17112 main (void)
17114 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_compile "$LINENO"
17120 then :
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17122 printf "%s\n" "yes" >&6; }
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17124 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17125 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17126 then :
17127 printf %s "(cached) " >&6
17128 else $as_nop
17129 ac_check_lib_save_LIBS=$LIBS
17130 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17137 char gst_pad_new ();
17139 main (void)
17141 return gst_pad_new ();
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"
17147 then :
17148 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17149 else $as_nop
17150 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17153 conftest$ac_exeext conftest.$ac_ext
17154 LIBS=$ac_check_lib_save_LIBS
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17157 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17158 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17159 then :
17163 else $as_nop
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17165 printf "%s\n" "no" >&6; }
17166 ac_glib2_broken=yes
17167 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17172 CPPFLAGS=$ac_save_CPPFLAGS
17175 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17176 then :
17177 case "x$with_gstreamer" in
17178 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17179 xno) ;;
17180 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17182 esac
17183 enable_winegstreamer=${enable_winegstreamer:-no}
17186 ALSA_LIBS=""
17188 if test "x$with_alsa" != "xno"
17189 then
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17191 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17192 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17193 then :
17194 printf %s "(cached) " >&6
17195 else $as_nop
17196 ac_check_lib_save_LIBS=$LIBS
17197 LIBS="-lasound $LIBS"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17201 /* Override any GCC internal prototype to avoid an error.
17202 Use char because int might match the return type of a GCC
17203 builtin and then its argument prototype would still apply. */
17204 char snd_pcm_hw_params_get_access_mask ();
17206 main (void)
17208 return snd_pcm_hw_params_get_access_mask ();
17210 return 0;
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"
17214 then :
17215 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17216 else $as_nop
17217 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17220 conftest$ac_exeext conftest.$ac_ext
17221 LIBS=$ac_check_lib_save_LIBS
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17224 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17225 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17226 then :
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #include <alsa/asoundlib.h>
17231 main (void)
17233 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17235 return 0;
17237 _ACEOF
17238 if ac_fn_c_try_compile "$LINENO"
17239 then :
17240 ALSA_LIBS="-lasound"
17242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17246 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17248 if test "x$with_oss" != xno
17249 then
17250 ac_save_CPPFLAGS="$CPPFLAGS"
17251 if test -f /etc/oss.conf
17252 then
17253 . /etc/oss.conf
17255 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17256 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17257 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17258 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17259 then :
17260 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17262 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17263 then :
17265 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17267 OSS4_CFLAGS="$ac_oss_incl"
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17270 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17271 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17272 then :
17273 printf %s "(cached) " >&6
17274 else $as_nop
17275 ac_check_lib_save_LIBS=$LIBS
17276 LIBS="-lossaudio $LIBS"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 char _oss_ioctl ();
17285 main (void)
17287 return _oss_ioctl ();
17289 return 0;
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"
17293 then :
17294 ac_cv_lib_ossaudio__oss_ioctl=yes
17295 else $as_nop
17296 ac_cv_lib_ossaudio__oss_ioctl=no
17298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17299 conftest$ac_exeext conftest.$ac_ext
17300 LIBS=$ac_check_lib_save_LIBS
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17303 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17304 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17305 then :
17306 OSS4_LIBS="-lossaudio"
17314 CPPFLAGS="$ac_save_CPPFLAGS"
17316 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17317 then :
17318 case "x$with_oss" in
17319 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17320 xno) ;;
17321 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17322 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17323 esac
17324 enable_wineoss_drv=${enable_wineoss_drv:-no}
17327 if test "x$with_udev" != "xno"
17328 then
17329 rm -f conftest.err
17330 if ${UDEV_CFLAGS:+false} :
17331 then :
17332 if test ${PKG_CONFIG+y}
17333 then :
17334 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17338 if ${UDEV_LIBS:+false} :
17339 then :
17340 if test ${PKG_CONFIG+y}
17341 then :
17342 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17346 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17349 if test -s conftest.err; then
17350 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17351 cat conftest.err >&5
17353 rm -f conftest.err
17354 ac_save_CPPFLAGS=$CPPFLAGS
17355 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17356 for ac_header in libudev.h
17357 do :
17358 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17359 if test "x$ac_cv_header_libudev_h" = xyes
17360 then :
17361 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17363 printf %s "checking for udev_new in -ludev... " >&6; }
17364 if test ${ac_cv_lib_udev_udev_new+y}
17365 then :
17366 printf %s "(cached) " >&6
17367 else $as_nop
17368 ac_check_lib_save_LIBS=$LIBS
17369 LIBS="-ludev $UDEV_LIBS $LIBS"
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17373 /* Override any GCC internal prototype to avoid an error.
17374 Use char because int might match the return type of a GCC
17375 builtin and then its argument prototype would still apply. */
17376 char udev_new ();
17378 main (void)
17380 return udev_new ();
17382 return 0;
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"
17386 then :
17387 ac_cv_lib_udev_udev_new=yes
17388 else $as_nop
17389 ac_cv_lib_udev_udev_new=no
17391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17392 conftest$ac_exeext conftest.$ac_ext
17393 LIBS=$ac_check_lib_save_LIBS
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17396 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17397 if test "x$ac_cv_lib_udev_udev_new" = xyes
17398 then :
17400 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17402 else $as_nop
17403 UDEV_LIBS=""
17406 else $as_nop
17407 UDEV_LIBS=""
17410 done
17411 CPPFLAGS=$ac_save_CPPFLAGS
17414 if test "x$UDEV_LIBS" = "x"
17415 then :
17416 case "x$with_udev" in
17417 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17418 xno) ;;
17419 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17420 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17421 esac
17425 if test "x$with_unwind" != xno
17426 then
17427 rm -f conftest.err
17428 if ${UNWIND_CFLAGS:+false} :
17429 then :
17430 if test ${PKG_CONFIG+y}
17431 then :
17432 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17436 if ${UNWIND_LIBS:+false} :
17437 then :
17438 if test ${PKG_CONFIG+y}
17439 then :
17440 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17444 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17447 if test -s conftest.err; then
17448 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17449 cat conftest.err >&5
17451 rm -f conftest.err
17452 ac_save_CPPFLAGS=$CPPFLAGS
17453 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17455 printf %s "checking for unw_step... " >&6; }
17456 if test ${wine_cv_have_unw_step+y}
17457 then :
17458 printf %s "(cached) " >&6
17459 else $as_nop
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 #define UNW_LOCAL_ONLY
17463 #include <libunwind.h>
17465 main (void)
17467 unw_cursor_t cursor; unw_step( &cursor );
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"
17473 then :
17474 wine_cv_have_unw_step="yes"
17475 else $as_nop
17476 wine_cv_have_unw_step="no"
17478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17479 conftest$ac_exeext conftest.$ac_ext
17481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17482 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17483 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17484 then
17485 save_libs=$LIBS
17486 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17487 LIBS="$UNWIND_LIBS $LIBS"
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17489 printf %s "checking for unw_step in libunwind... " >&6; }
17490 if test ${wine_cv_have_libunwind_unw_step+y}
17491 then :
17492 printf %s "(cached) " >&6
17493 else $as_nop
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #define UNW_LOCAL_ONLY
17497 #include <libunwind.h>
17499 main (void)
17501 unw_cursor_t cursor; unw_step( &cursor );
17503 return 0;
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"
17507 then :
17508 wine_cv_have_libunwind_unw_step="yes"
17509 else $as_nop
17510 wine_cv_have_libunwind_unw_step="no"
17512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17513 conftest$ac_exeext conftest.$ac_ext
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17516 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17517 LIBS=$save_libs
17519 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17520 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17521 then
17523 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17526 CPPFLAGS=$ac_save_CPPFLAGS
17529 case $host in
17530 aarch64*|*-darwin*)
17531 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17532 then :
17533 case "x$with_unwind" in
17534 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17535 xno) ;;
17536 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17537 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17538 esac
17540 fi ;;
17541 esac
17543 if test "x$with_sdl" != "xno"
17544 then
17545 rm -f conftest.err
17546 if ${SDL2_CFLAGS:+false} :
17547 then :
17548 if test ${PKG_CONFIG+y}
17549 then :
17550 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17554 if ${SDL2_LIBS:+false} :
17555 then :
17556 if test ${PKG_CONFIG+y}
17557 then :
17558 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17562 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17565 if test -s conftest.err; then
17566 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17567 cat conftest.err >&5
17569 rm -f conftest.err
17570 ac_save_CPPFLAGS=$CPPFLAGS
17571 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17572 for ac_header in SDL.h
17573 do :
17574 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17575 if test "x$ac_cv_header_SDL_h" = xyes
17576 then :
17577 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17579 printf %s "checking for -lSDL2... " >&6; }
17580 if test ${ac_cv_lib_soname_SDL2+y}
17581 then :
17582 printf %s "(cached) " >&6
17583 else $as_nop
17584 ac_check_soname_save_LIBS=$LIBS
17585 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 /* Override any GCC internal prototype to avoid an error.
17590 Use char because int might match the return type of a GCC
17591 builtin and then its argument prototype would still apply. */
17592 char SDL_Init ();
17594 main (void)
17596 return SDL_Init ();
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"
17602 then :
17603 case "$LIBEXT" in
17604 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17605 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'` ;;
17606 *) 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'`
17607 if ${ac_cv_lib_soname_SDL2:+false} :
17608 then :
17609 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17610 fi ;;
17611 esac
17612 else $as_nop
17613 ac_cv_lib_soname_SDL2=
17615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17616 conftest$ac_exeext conftest.$ac_ext
17617 LIBS=$ac_check_soname_save_LIBS
17619 if ${ac_cv_lib_soname_SDL2:+false} :
17620 then :
17621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17622 printf "%s\n" "not found" >&6; }
17624 else $as_nop
17625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17626 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17628 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17634 done
17635 CPPFLAGS=$ac_save_CPPFLAGS
17638 if test "x$ac_cv_lib_soname_SDL2" = "x"
17639 then :
17640 case "x$with_sdl" in
17641 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17642 xno) ;;
17643 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17644 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17645 esac
17649 if test "x$with_capi" != "xno"
17650 then
17651 rm -f conftest.err
17652 if ${CAPI20_CFLAGS:+false} :
17653 then :
17654 if test ${PKG_CONFIG+y}
17655 then :
17656 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17660 if ${CAPI20_LIBS:+false} :
17661 then :
17662 if test ${PKG_CONFIG+y}
17663 then :
17664 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17671 if test -s conftest.err; then
17672 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17673 cat conftest.err >&5
17675 rm -f conftest.err
17676 ac_save_CPPFLAGS=$CPPFLAGS
17677 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17678 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17680 if test "x$ac_cv_header_capi20_h" = xyes
17681 then :
17682 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17685 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17687 if test "x$ac_cv_header_linux_capi_h" = xyes
17688 then :
17689 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17693 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17694 then
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17696 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17697 if test ${ac_cv_lib_capi20_capi20_register+y}
17698 then :
17699 printf %s "(cached) " >&6
17700 else $as_nop
17701 ac_check_lib_save_LIBS=$LIBS
17702 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17706 /* Override any GCC internal prototype to avoid an error.
17707 Use char because int might match the return type of a GCC
17708 builtin and then its argument prototype would still apply. */
17709 char capi20_register ();
17711 main (void)
17713 return capi20_register ();
17715 return 0;
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"
17719 then :
17720 ac_cv_lib_capi20_capi20_register=yes
17721 else $as_nop
17722 ac_cv_lib_capi20_capi20_register=no
17724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17725 conftest$ac_exeext conftest.$ac_ext
17726 LIBS=$ac_check_lib_save_LIBS
17728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17729 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17730 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17731 then :
17733 else $as_nop
17734 CAPI20_LIBS=""
17738 CPPFLAGS=$ac_save_CPPFLAGS
17741 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17742 then :
17743 case "x$with_capi" in
17744 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17745 xno) ;;
17746 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17747 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17748 esac
17749 enable_capi2032=${enable_capi2032:-no}
17752 if test "x$with_cups" != "xno"
17753 then
17754 rm -f conftest.err
17755 if ${CUPS_CFLAGS:+false} :
17756 then :
17757 if test ${PKG_CONFIG+y}
17758 then :
17759 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17762 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17763 if ${CUPS_LIBS:+false} :
17764 then :
17765 if test ${PKG_CONFIG+y}
17766 then :
17767 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17770 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17771 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17774 if test -s conftest.err; then
17775 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17776 cat conftest.err >&5
17778 rm -f conftest.err
17779 ac_save_CPPFLAGS=$CPPFLAGS
17780 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17781 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17782 if test "x$ac_cv_header_cups_cups_h" = xyes
17783 then :
17784 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17787 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17788 if test "x$ac_cv_header_cups_ppd_h" = xyes
17789 then :
17790 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17794 if test "$ac_cv_header_cups_cups_h" = "yes"
17795 then
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17797 printf %s "checking for -lcups... " >&6; }
17798 if test ${ac_cv_lib_soname_cups+y}
17799 then :
17800 printf %s "(cached) " >&6
17801 else $as_nop
17802 ac_check_soname_save_LIBS=$LIBS
17803 LIBS="-lcups $CUPS_LIBS $LIBS"
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17807 /* Override any GCC internal prototype to avoid an error.
17808 Use char because int might match the return type of a GCC
17809 builtin and then its argument prototype would still apply. */
17810 char cupsGetDefault ();
17812 main (void)
17814 return cupsGetDefault ();
17816 return 0;
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"
17820 then :
17821 case "$LIBEXT" in
17822 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17823 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'` ;;
17824 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17825 if ${ac_cv_lib_soname_cups:+false} :
17826 then :
17827 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17828 fi ;;
17829 esac
17830 else $as_nop
17831 ac_cv_lib_soname_cups=
17833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17834 conftest$ac_exeext conftest.$ac_ext
17835 LIBS=$ac_check_soname_save_LIBS
17837 if ${ac_cv_lib_soname_cups:+false} :
17838 then :
17839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17840 printf "%s\n" "not found" >&6; }
17841 CUPS_LIBS=""
17842 else $as_nop
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17844 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17846 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17850 else
17851 CUPS_CFLAGS=""
17852 CUPS_LIBS=""
17854 CPPFLAGS=$ac_save_CPPFLAGS
17857 if test "x$ac_cv_lib_soname_cups" = "x"
17858 then :
17859 case "x$with_cups" in
17860 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17861 xno) ;;
17862 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17863 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17864 esac
17868 if test "x$with_fontconfig" != "xno"
17869 then
17870 rm -f conftest.err
17871 if ${FONTCONFIG_CFLAGS:+false} :
17872 then :
17873 if test ${PKG_CONFIG+y}
17874 then :
17875 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17878 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17879 if ${FONTCONFIG_LIBS:+false} :
17880 then :
17881 if test ${PKG_CONFIG+y}
17882 then :
17883 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17886 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17890 if test -s conftest.err; then
17891 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17892 cat conftest.err >&5
17894 rm -f conftest.err
17895 ac_save_CPPFLAGS=$CPPFLAGS
17896 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17897 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17898 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17899 then :
17900 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17904 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17905 then
17906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17907 printf %s "checking for -lfontconfig... " >&6; }
17908 if test ${ac_cv_lib_soname_fontconfig+y}
17909 then :
17910 printf %s "(cached) " >&6
17911 else $as_nop
17912 ac_check_soname_save_LIBS=$LIBS
17913 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 /* Override any GCC internal prototype to avoid an error.
17918 Use char because int might match the return type of a GCC
17919 builtin and then its argument prototype would still apply. */
17920 char FcInit ();
17922 main (void)
17924 return FcInit ();
17926 return 0;
17928 _ACEOF
17929 if ac_fn_c_try_link "$LINENO"
17930 then :
17931 case "$LIBEXT" in
17932 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17933 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'` ;;
17934 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17935 if ${ac_cv_lib_soname_fontconfig:+false} :
17936 then :
17937 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17938 fi ;;
17939 esac
17940 else $as_nop
17941 ac_cv_lib_soname_fontconfig=
17943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17944 conftest$ac_exeext conftest.$ac_ext
17945 LIBS=$ac_check_soname_save_LIBS
17947 if ${ac_cv_lib_soname_fontconfig:+false} :
17948 then :
17949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17950 printf "%s\n" "not found" >&6; }
17951 FONTCONFIG_CFLAGS=""
17952 else $as_nop
17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17954 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17956 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17960 else
17961 FONTCONFIG_CFLAGS=""
17963 CPPFLAGS=$ac_save_CPPFLAGS
17966 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17967 then :
17968 case "x$with_fontconfig" in
17969 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17970 xno) ;;
17971 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17972 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17973 esac
17977 if test "x$with_krb5" != "xno"
17978 then
17979 rm -f conftest.err
17980 if ${KRB5_CFLAGS:+false} :
17981 then :
17982 if test ${PKG_CONFIG+y}
17983 then :
17984 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17987 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17988 if ${KRB5_LIBS:+false} :
17989 then :
17990 if test ${PKG_CONFIG+y}
17991 then :
17992 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17995 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17999 if test -s conftest.err; then
18000 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18001 cat conftest.err >&5
18003 rm -f conftest.err
18004 ac_save_CPPFLAGS=$CPPFLAGS
18005 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18006 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18007 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18008 then :
18009 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18013 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18014 then
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18016 printf %s "checking for -lkrb5... " >&6; }
18017 if test ${ac_cv_lib_soname_krb5+y}
18018 then :
18019 printf %s "(cached) " >&6
18020 else $as_nop
18021 ac_check_soname_save_LIBS=$LIBS
18022 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 /* Override any GCC internal prototype to avoid an error.
18027 Use char because int might match the return type of a GCC
18028 builtin and then its argument prototype would still apply. */
18029 char krb5_is_config_principal ();
18031 main (void)
18033 return krb5_is_config_principal ();
18035 return 0;
18037 _ACEOF
18038 if ac_fn_c_try_link "$LINENO"
18039 then :
18040 case "$LIBEXT" in
18041 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18042 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'` ;;
18043 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18044 if ${ac_cv_lib_soname_krb5:+false} :
18045 then :
18046 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18047 fi ;;
18048 esac
18049 else $as_nop
18050 ac_cv_lib_soname_krb5=
18052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18053 conftest$ac_exeext conftest.$ac_ext
18054 LIBS=$ac_check_soname_save_LIBS
18056 if ${ac_cv_lib_soname_krb5:+false} :
18057 then :
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18059 printf "%s\n" "not found" >&6; }
18060 KRB5_CFLAGS=""
18061 else $as_nop
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18063 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18065 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18069 else
18070 KRB5_CFLAGS=""
18072 CPPFLAGS=$ac_save_CPPFLAGS
18075 if test "x$ac_cv_lib_soname_krb5" = "x"
18076 then :
18077 case "x$with_krb5" in
18078 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18079 xno) ;;
18080 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18081 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18082 esac
18085 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18087 if test "x$with_gssapi" != "xno"
18088 then
18089 rm -f conftest.err
18090 if ${GSSAPI_CFLAGS:+false} :
18091 then :
18092 if test ${PKG_CONFIG+y}
18093 then :
18094 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18097 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18098 if ${GSSAPI_LIBS:+false} :
18099 then :
18100 if test ${PKG_CONFIG+y}
18101 then :
18102 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18105 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18109 if test -s conftest.err; then
18110 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18111 cat conftest.err >&5
18113 rm -f conftest.err
18114 ac_save_CPPFLAGS=$CPPFLAGS
18115 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18116 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18117 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18118 then :
18119 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18122 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18123 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18124 then :
18125 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18129 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18130 then
18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18132 printf %s "checking for -lgssapi_krb5... " >&6; }
18133 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18134 then :
18135 printf %s "(cached) " >&6
18136 else $as_nop
18137 ac_check_soname_save_LIBS=$LIBS
18138 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18145 char gss_init_sec_context ();
18147 main (void)
18149 return gss_init_sec_context ();
18151 return 0;
18153 _ACEOF
18154 if ac_fn_c_try_link "$LINENO"
18155 then :
18156 case "$LIBEXT" in
18157 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18158 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'` ;;
18159 *) 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'`
18160 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18161 then :
18162 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18163 fi ;;
18164 esac
18165 else $as_nop
18166 ac_cv_lib_soname_gssapi_krb5=
18168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18169 conftest$ac_exeext conftest.$ac_ext
18170 LIBS=$ac_check_soname_save_LIBS
18172 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18173 then :
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18175 printf "%s\n" "not found" >&6; }
18176 GSSAPI_CFLAGS=""
18177 else $as_nop
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18179 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18181 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18185 else
18186 GSSAPI_CFLAGS=""
18188 CPPFLAGS=$ac_save_CPPFLAGS
18191 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18192 then :
18193 case "x$with_gssapi" in
18194 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18195 xno) ;;
18196 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18197 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18198 esac
18202 if test "$ac_cv_header_libprocstat_h" = "yes"
18203 then
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18205 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18206 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18207 then :
18208 printf %s "(cached) " >&6
18209 else $as_nop
18210 ac_check_lib_save_LIBS=$LIBS
18211 LIBS="-lprocstat $LIBS"
18212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18215 /* Override any GCC internal prototype to avoid an error.
18216 Use char because int might match the return type of a GCC
18217 builtin and then its argument prototype would still apply. */
18218 char procstat_open_sysctl ();
18220 main (void)
18222 return procstat_open_sysctl ();
18224 return 0;
18226 _ACEOF
18227 if ac_fn_c_try_link "$LINENO"
18228 then :
18229 ac_cv_lib_procstat_procstat_open_sysctl=yes
18230 else $as_nop
18231 ac_cv_lib_procstat_procstat_open_sysctl=no
18233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18234 conftest$ac_exeext conftest.$ac_ext
18235 LIBS=$ac_check_lib_save_LIBS
18237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18238 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18239 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18240 then :
18242 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18244 PROCSTAT_LIBS="-lprocstat"
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18251 printf %s "checking for -lodbc... " >&6; }
18252 if test ${ac_cv_lib_soname_odbc+y}
18253 then :
18254 printf %s "(cached) " >&6
18255 else $as_nop
18256 ac_check_soname_save_LIBS=$LIBS
18257 LIBS="-lodbc $LIBS"
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18264 char SQLConnect ();
18266 main (void)
18268 return SQLConnect ();
18270 return 0;
18272 _ACEOF
18273 if ac_fn_c_try_link "$LINENO"
18274 then :
18275 case "$LIBEXT" in
18276 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18277 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'` ;;
18278 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18279 if ${ac_cv_lib_soname_odbc:+false} :
18280 then :
18281 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18282 fi ;;
18283 esac
18284 else $as_nop
18285 ac_cv_lib_soname_odbc=
18287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18288 conftest$ac_exeext conftest.$ac_ext
18289 LIBS=$ac_check_soname_save_LIBS
18291 if ${ac_cv_lib_soname_odbc:+false} :
18292 then :
18293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18294 printf "%s\n" "not found" >&6; }
18295 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18297 else $as_nop
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18299 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18301 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18306 if test "x$with_netapi" != "xno"
18307 then
18308 rm -f conftest.err
18309 if ${NETAPI_CFLAGS:+false} :
18310 then :
18311 if test ${PKG_CONFIG+y}
18312 then :
18313 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18317 if ${NETAPI_LIBS:+false} :
18318 then :
18319 if test ${PKG_CONFIG+y}
18320 then :
18321 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18328 if test -s conftest.err; then
18329 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18330 cat conftest.err >&5
18332 rm -f conftest.err
18333 ac_save_CPPFLAGS=$CPPFLAGS
18334 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18336 printf %s "checking for -lnetapi... " >&6; }
18337 if test ${ac_cv_lib_soname_netapi+y}
18338 then :
18339 printf %s "(cached) " >&6
18340 else $as_nop
18341 ac_check_soname_save_LIBS=$LIBS
18342 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18346 /* Override any GCC internal prototype to avoid an error.
18347 Use char because int might match the return type of a GCC
18348 builtin and then its argument prototype would still apply. */
18349 char libnetapi_init ();
18351 main (void)
18353 return libnetapi_init ();
18355 return 0;
18357 _ACEOF
18358 if ac_fn_c_try_link "$LINENO"
18359 then :
18360 case "$LIBEXT" in
18361 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18362 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'` ;;
18363 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18364 if ${ac_cv_lib_soname_netapi:+false} :
18365 then :
18366 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18367 fi ;;
18368 esac
18369 else $as_nop
18370 ac_cv_lib_soname_netapi=
18372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18373 conftest$ac_exeext conftest.$ac_ext
18374 LIBS=$ac_check_soname_save_LIBS
18376 if ${ac_cv_lib_soname_netapi:+false} :
18377 then :
18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18379 printf "%s\n" "not found" >&6; }
18380 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18382 else $as_nop
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18384 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18386 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18390 CPPFLAGS=$ac_save_CPPFLAGS
18393 if test "x$ac_cv_lib_soname_netapi" = "x"
18394 then :
18395 case "x$with_netapi" in
18396 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18397 xno) ;;
18398 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18399 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18400 esac
18401 enable_netapi=${enable_netapi:-no}
18405 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18406 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18407 then
18408 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18411 if test "x$with_vulkan" != "xno"
18412 then
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18414 printf %s "checking for -lvulkan... " >&6; }
18415 if test ${ac_cv_lib_soname_vulkan+y}
18416 then :
18417 printf %s "(cached) " >&6
18418 else $as_nop
18419 ac_check_soname_save_LIBS=$LIBS
18420 LIBS="-lvulkan $LIBS"
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18424 /* Override any GCC internal prototype to avoid an error.
18425 Use char because int might match the return type of a GCC
18426 builtin and then its argument prototype would still apply. */
18427 char vkGetInstanceProcAddr ();
18429 main (void)
18431 return vkGetInstanceProcAddr ();
18433 return 0;
18435 _ACEOF
18436 if ac_fn_c_try_link "$LINENO"
18437 then :
18438 case "$LIBEXT" in
18439 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18440 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'` ;;
18441 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18442 if ${ac_cv_lib_soname_vulkan:+false} :
18443 then :
18444 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18445 fi ;;
18446 esac
18447 else $as_nop
18448 ac_cv_lib_soname_vulkan=
18450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18451 conftest$ac_exeext conftest.$ac_ext
18452 LIBS=$ac_check_soname_save_LIBS
18454 if ${ac_cv_lib_soname_vulkan:+false} :
18455 then :
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18457 printf "%s\n" "not found" >&6; }
18459 else $as_nop
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18461 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18463 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18467 if test "x$ac_cv_lib_soname_vulkan" = "x"
18468 then
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18470 printf %s "checking for -lMoltenVK... " >&6; }
18471 if test ${ac_cv_lib_soname_MoltenVK+y}
18472 then :
18473 printf %s "(cached) " >&6
18474 else $as_nop
18475 ac_check_soname_save_LIBS=$LIBS
18476 LIBS="-lMoltenVK $LIBS"
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18480 /* Override any GCC internal prototype to avoid an error.
18481 Use char because int might match the return type of a GCC
18482 builtin and then its argument prototype would still apply. */
18483 char vkGetInstanceProcAddr ();
18485 main (void)
18487 return vkGetInstanceProcAddr ();
18489 return 0;
18491 _ACEOF
18492 if ac_fn_c_try_link "$LINENO"
18493 then :
18494 case "$LIBEXT" in
18495 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18496 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'` ;;
18497 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18498 if ${ac_cv_lib_soname_MoltenVK:+false} :
18499 then :
18500 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18501 fi ;;
18502 esac
18503 else $as_nop
18504 ac_cv_lib_soname_MoltenVK=
18506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18507 conftest$ac_exeext conftest.$ac_ext
18508 LIBS=$ac_check_soname_save_LIBS
18510 if ${ac_cv_lib_soname_MoltenVK:+false} :
18511 then :
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18513 printf "%s\n" "not found" >&6; }
18515 else $as_nop
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18517 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18519 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18525 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18526 then :
18527 case "x$with_vulkan" in
18528 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18529 xno) ;;
18530 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18531 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18532 esac
18537 if test "x${GCC}" = "xyes"
18538 then
18539 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18541 saved_CFLAGS=$CFLAGS
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18543 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18544 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18545 then :
18546 printf %s "(cached) " >&6
18547 else $as_nop
18548 ac_wine_try_cflags_saved=$CFLAGS
18549 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552 int main(int argc, char **argv) { return 0; }
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"
18555 then :
18556 ac_cv_cflags__Werror_unknown_warning_option=yes
18557 else $as_nop
18558 ac_cv_cflags__Werror_unknown_warning_option=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18561 conftest$ac_exeext conftest.$ac_ext
18562 CFLAGS=$ac_wine_try_cflags_saved
18564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18565 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18566 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18567 then :
18568 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18571 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18572 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18573 then :
18574 printf %s "(cached) " >&6
18575 else $as_nop
18576 ac_wine_try_cflags_saved=$CFLAGS
18577 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18581 _ACEOF
18582 if ac_fn_c_try_link "$LINENO"
18583 then :
18584 ac_cv_cflags__Werror_unused_command_line_argument=yes
18585 else $as_nop
18586 ac_cv_cflags__Werror_unused_command_line_argument=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18589 conftest$ac_exeext conftest.$ac_ext
18590 CFLAGS=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18593 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18594 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18595 then :
18596 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18599 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18600 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18601 then :
18602 printf %s "(cached) " >&6
18603 else $as_nop
18604 ac_wine_try_cflags_saved=$CFLAGS
18605 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"
18611 then :
18612 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18613 else $as_nop
18614 ac_cv_cflags__Werror_ignored_optimization_argument=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18617 conftest$ac_exeext conftest.$ac_ext
18618 CFLAGS=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18621 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18622 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18623 then :
18624 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18627 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18628 if test ${ac_cv_cflags__fcf_protection_none+y}
18629 then :
18630 printf %s "(cached) " >&6
18631 else $as_nop
18632 ac_wine_try_cflags_saved=$CFLAGS
18633 CFLAGS="$CFLAGS -fcf-protection=none"
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"
18639 then :
18640 ac_cv_cflags__fcf_protection_none=yes
18641 else $as_nop
18642 ac_cv_cflags__fcf_protection_none=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18645 conftest$ac_exeext conftest.$ac_ext
18646 CFLAGS=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18649 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18650 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18651 then :
18652 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18655 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18656 if test ${ac_cv_cflags__fno_stack_protector+y}
18657 then :
18658 printf %s "(cached) " >&6
18659 else $as_nop
18660 ac_wine_try_cflags_saved=$CFLAGS
18661 CFLAGS="$CFLAGS -fno-stack-protector"
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"
18667 then :
18668 ac_cv_cflags__fno_stack_protector=yes
18669 else $as_nop
18670 ac_cv_cflags__fno_stack_protector=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18673 conftest$ac_exeext conftest.$ac_ext
18674 CFLAGS=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18677 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18678 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18679 then :
18680 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18683 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18684 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18685 then :
18686 printf %s "(cached) " >&6
18687 else $as_nop
18688 ac_wine_try_cflags_saved=$CFLAGS
18689 CFLAGS="$CFLAGS -fno-strict-aliasing"
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18693 _ACEOF
18694 if ac_fn_c_try_link "$LINENO"
18695 then :
18696 ac_cv_cflags__fno_strict_aliasing=yes
18697 else $as_nop
18698 ac_cv_cflags__fno_strict_aliasing=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18701 conftest$ac_exeext conftest.$ac_ext
18702 CFLAGS=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18705 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18706 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18707 then :
18708 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18711 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18712 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18713 then :
18714 printf %s "(cached) " >&6
18715 else $as_nop
18716 ac_wine_try_cflags_saved=$CFLAGS
18717 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"
18723 then :
18724 ac_cv_cflags__Wdeclaration_after_statement=yes
18725 else $as_nop
18726 ac_cv_cflags__Wdeclaration_after_statement=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729 conftest$ac_exeext conftest.$ac_ext
18730 CFLAGS=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18733 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18734 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18735 then :
18736 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18739 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18740 if test ${ac_cv_cflags__Wempty_body+y}
18741 then :
18742 printf %s "(cached) " >&6
18743 else $as_nop
18744 ac_wine_try_cflags_saved=$CFLAGS
18745 CFLAGS="$CFLAGS -Wempty-body"
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18749 _ACEOF
18750 if ac_fn_c_try_link "$LINENO"
18751 then :
18752 ac_cv_cflags__Wempty_body=yes
18753 else $as_nop
18754 ac_cv_cflags__Wempty_body=no
18756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18757 conftest$ac_exeext conftest.$ac_ext
18758 CFLAGS=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18762 if test "x$ac_cv_cflags__Wempty_body" = xyes
18763 then :
18764 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18767 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18768 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18769 then :
18770 printf %s "(cached) " >&6
18771 else $as_nop
18772 ac_wine_try_cflags_saved=$CFLAGS
18773 CFLAGS="$CFLAGS -Wignored-qualifiers"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18777 _ACEOF
18778 if ac_fn_c_try_link "$LINENO"
18779 then :
18780 ac_cv_cflags__Wignored_qualifiers=yes
18781 else $as_nop
18782 ac_cv_cflags__Wignored_qualifiers=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18785 conftest$ac_exeext conftest.$ac_ext
18786 CFLAGS=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18790 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18791 then :
18792 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18795 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18796 if test ${ac_cv_cflags__Winit_self+y}
18797 then :
18798 printf %s "(cached) " >&6
18799 else $as_nop
18800 ac_wine_try_cflags_saved=$CFLAGS
18801 CFLAGS="$CFLAGS -Winit-self"
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18805 _ACEOF
18806 if ac_fn_c_try_link "$LINENO"
18807 then :
18808 ac_cv_cflags__Winit_self=yes
18809 else $as_nop
18810 ac_cv_cflags__Winit_self=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18813 conftest$ac_exeext conftest.$ac_ext
18814 CFLAGS=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18817 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18818 if test "x$ac_cv_cflags__Winit_self" = xyes
18819 then :
18820 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18823 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18824 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18825 then :
18826 printf %s "(cached) " >&6
18827 else $as_nop
18828 ac_wine_try_cflags_saved=$CFLAGS
18829 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"
18835 then :
18836 ac_cv_cflags__Wpacked_not_aligned=yes
18837 else $as_nop
18838 ac_cv_cflags__Wpacked_not_aligned=no
18840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18841 conftest$ac_exeext conftest.$ac_ext
18842 CFLAGS=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18845 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18846 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18847 then :
18848 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18851 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18852 if test ${ac_cv_cflags__Wpragma_pack+y}
18853 then :
18854 printf %s "(cached) " >&6
18855 else $as_nop
18856 ac_wine_try_cflags_saved=$CFLAGS
18857 CFLAGS="$CFLAGS -Wpragma-pack"
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 int main(int argc, char **argv) { return 0; }
18861 _ACEOF
18862 if ac_fn_c_try_link "$LINENO"
18863 then :
18864 ac_cv_cflags__Wpragma_pack=yes
18865 else $as_nop
18866 ac_cv_cflags__Wpragma_pack=no
18868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18869 conftest$ac_exeext conftest.$ac_ext
18870 CFLAGS=$ac_wine_try_cflags_saved
18872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18873 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18874 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18875 then :
18876 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18879 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18880 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18881 then :
18882 printf %s "(cached) " >&6
18883 else $as_nop
18884 ac_wine_try_cflags_saved=$CFLAGS
18885 CFLAGS="$CFLAGS -Wshift-overflow=2"
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 int main(int argc, char **argv) { return 0; }
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"
18891 then :
18892 ac_cv_cflags__Wshift_overflow_2=yes
18893 else $as_nop
18894 ac_cv_cflags__Wshift_overflow_2=no
18896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18897 conftest$ac_exeext conftest.$ac_ext
18898 CFLAGS=$ac_wine_try_cflags_saved
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18901 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18902 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18903 then :
18904 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18907 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18908 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18909 then :
18910 printf %s "(cached) " >&6
18911 else $as_nop
18912 ac_wine_try_cflags_saved=$CFLAGS
18913 CFLAGS="$CFLAGS -Wstrict-prototypes"
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18916 int main(int argc, char **argv) { return 0; }
18917 _ACEOF
18918 if ac_fn_c_try_link "$LINENO"
18919 then :
18920 ac_cv_cflags__Wstrict_prototypes=yes
18921 else $as_nop
18922 ac_cv_cflags__Wstrict_prototypes=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18925 conftest$ac_exeext conftest.$ac_ext
18926 CFLAGS=$ac_wine_try_cflags_saved
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18929 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18930 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18931 then :
18932 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18935 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18936 if test ${ac_cv_cflags__Wtype_limits+y}
18937 then :
18938 printf %s "(cached) " >&6
18939 else $as_nop
18940 ac_wine_try_cflags_saved=$CFLAGS
18941 CFLAGS="$CFLAGS -Wtype-limits"
18942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18945 _ACEOF
18946 if ac_fn_c_try_link "$LINENO"
18947 then :
18948 ac_cv_cflags__Wtype_limits=yes
18949 else $as_nop
18950 ac_cv_cflags__Wtype_limits=no
18952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18953 conftest$ac_exeext conftest.$ac_ext
18954 CFLAGS=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18958 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18959 then :
18960 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18963 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18964 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18965 then :
18966 printf %s "(cached) " >&6
18967 else $as_nop
18968 ac_wine_try_cflags_saved=$CFLAGS
18969 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 int main(int argc, char **argv) { return 0; }
18973 _ACEOF
18974 if ac_fn_c_try_link "$LINENO"
18975 then :
18976 ac_cv_cflags__Wunused_but_set_parameter=yes
18977 else $as_nop
18978 ac_cv_cflags__Wunused_but_set_parameter=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18981 conftest$ac_exeext conftest.$ac_ext
18982 CFLAGS=$ac_wine_try_cflags_saved
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18985 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18986 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18987 then :
18988 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18991 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18992 if test ${ac_cv_cflags__Wvla+y}
18993 then :
18994 printf %s "(cached) " >&6
18995 else $as_nop
18996 ac_wine_try_cflags_saved=$CFLAGS
18997 CFLAGS="$CFLAGS -Wvla"
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19001 _ACEOF
19002 if ac_fn_c_try_link "$LINENO"
19003 then :
19004 ac_cv_cflags__Wvla=yes
19005 else $as_nop
19006 ac_cv_cflags__Wvla=no
19008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19009 conftest$ac_exeext conftest.$ac_ext
19010 CFLAGS=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19014 if test "x$ac_cv_cflags__Wvla" = xyes
19015 then :
19016 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19019 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19020 if test ${ac_cv_cflags__Wwrite_strings+y}
19021 then :
19022 printf %s "(cached) " >&6
19023 else $as_nop
19024 ac_wine_try_cflags_saved=$CFLAGS
19025 CFLAGS="$CFLAGS -Wwrite-strings"
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 int main(int argc, char **argv) { return 0; }
19029 _ACEOF
19030 if ac_fn_c_try_link "$LINENO"
19031 then :
19032 ac_cv_cflags__Wwrite_strings=yes
19033 else $as_nop
19034 ac_cv_cflags__Wwrite_strings=no
19036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19037 conftest$ac_exeext conftest.$ac_ext
19038 CFLAGS=$ac_wine_try_cflags_saved
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19041 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19042 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19043 then :
19044 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19048 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19049 if test ${ac_cv_cflags__Wpointer_arith+y}
19050 then :
19051 printf %s "(cached) " >&6
19052 else $as_nop
19053 ac_wine_try_cflags_saved=$CFLAGS
19054 CFLAGS="$CFLAGS -Wpointer-arith"
19055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19056 /* end confdefs.h. */
19057 int main(int argc, char **argv) { return 0; }
19058 _ACEOF
19059 if ac_fn_c_try_link "$LINENO"
19060 then :
19061 ac_cv_cflags__Wpointer_arith=yes
19062 else $as_nop
19063 ac_cv_cflags__Wpointer_arith=no
19065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19066 conftest$ac_exeext conftest.$ac_ext
19067 CFLAGS=$ac_wine_try_cflags_saved
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19070 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19071 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19072 then :
19073 saved_string_h_CFLAGS=$CFLAGS
19074 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19076 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19077 if test ${ac_cv_c_string_h_warnings+y}
19078 then :
19079 printf %s "(cached) " >&6
19080 else $as_nop
19081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19082 /* end confdefs.h. */
19083 #include <string.h>
19085 main (void)
19089 return 0;
19091 _ACEOF
19092 if ac_fn_c_try_compile "$LINENO"
19093 then :
19094 ac_cv_c_string_h_warnings=no
19095 else $as_nop
19096 ac_cv_c_string_h_warnings=yes
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19101 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19102 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19103 CFLAGS=$saved_string_h_CFLAGS
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19107 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19108 if test ${ac_cv_cflags__Wlogical_op+y}
19109 then :
19110 printf %s "(cached) " >&6
19111 else $as_nop
19112 ac_wine_try_cflags_saved=$CFLAGS
19113 CFLAGS="$CFLAGS -Wlogical-op"
19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 int main(int argc, char **argv) { return 0; }
19117 _ACEOF
19118 if ac_fn_c_try_link "$LINENO"
19119 then :
19120 ac_cv_cflags__Wlogical_op=yes
19121 else $as_nop
19122 ac_cv_cflags__Wlogical_op=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19125 conftest$ac_exeext conftest.$ac_ext
19126 CFLAGS=$ac_wine_try_cflags_saved
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19129 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19130 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19131 then :
19132 saved_string_h_CFLAGS=$CFLAGS
19133 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19135 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19136 if test ${ac_cv_c_logicalop_noisy+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #include <string.h>
19143 char*f(const char *h,char n) {return strchr(h,n);}
19145 main (void)
19149 return 0;
19151 _ACEOF
19152 if ac_fn_c_try_compile "$LINENO"
19153 then :
19154 ac_cv_c_logicalop_noisy=no
19155 else $as_nop
19156 ac_cv_c_logicalop_noisy=yes
19158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19161 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19162 CFLAGS=$saved_string_h_CFLAGS
19163 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19167 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19168 if test ${wine_cv_64bit_compare_swap+y}
19169 then :
19170 printf %s "(cached) " >&6
19171 else $as_nop
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19175 #error no
19176 #endif
19178 main (void)
19182 return 0;
19184 _ACEOF
19185 if ac_fn_c_try_compile "$LINENO"
19186 then :
19187 wine_cv_64bit_compare_swap="none needed"
19188 else $as_nop
19189 case $host_cpu in
19190 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19191 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19192 *) wine_cv_64bit_compare_swap="unknown" ;;
19193 esac
19194 if test "x$wine_cv_64bit_compare_swap" != xunknown
19195 then
19196 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19200 #error no
19201 #endif
19203 main (void)
19207 return 0;
19209 _ACEOF
19210 if ac_fn_c_try_compile "$LINENO"
19211 then :
19213 else $as_nop
19214 wine_cv_64bit_compare_swap="unknown"
19216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19217 CFLAGS=$saved_CFLAGS
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19223 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19224 case "$wine_cv_64bit_compare_swap" in
19225 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19226 "none needed") ;;
19227 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19228 esac
19230 ac_debug_format_seen=""
19231 for ac_flag in $CFLAGS; do
19232 case $ac_flag in
19233 -gdwarf*) ac_debug_format_seen=yes ;;
19234 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19235 esac
19236 done
19237 if test "x$ac_debug_format_seen" = xdefault
19238 then
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19240 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19241 if test ${ac_cv_cflags__gdwarf_4+y}
19242 then :
19243 printf %s "(cached) " >&6
19244 else $as_nop
19245 ac_wine_try_cflags_saved=$CFLAGS
19246 CFLAGS="$CFLAGS -gdwarf-4"
19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19248 /* end confdefs.h. */
19249 int main(int argc, char **argv) { return 0; }
19250 _ACEOF
19251 if ac_fn_c_try_link "$LINENO"
19252 then :
19253 ac_cv_cflags__gdwarf_4=yes
19254 else $as_nop
19255 ac_cv_cflags__gdwarf_4=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19258 conftest$ac_exeext conftest.$ac_ext
19259 CFLAGS=$ac_wine_try_cflags_saved
19261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19262 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19263 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19264 then :
19265 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19269 MSVCRTFLAGS=""
19271 case $host_os in
19272 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19273 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19274 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19275 then :
19276 printf %s "(cached) " >&6
19277 else $as_nop
19278 ac_wine_try_cflags_saved=$CFLAGS
19279 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19283 _ACEOF
19284 if ac_fn_c_try_link "$LINENO"
19285 then :
19286 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19287 else $as_nop
19288 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19291 conftest$ac_exeext conftest.$ac_ext
19292 CFLAGS=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19295 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19296 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19297 then :
19298 DELAYLOADFLAG="-Wl,-delayload,"
19300 fi ;;
19301 *) MSVCRTFLAGS="-D_WIN32"
19302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19303 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19304 if test ${ac_cv_cflags__fno_builtin+y}
19305 then :
19306 printf %s "(cached) " >&6
19307 else $as_nop
19308 ac_wine_try_cflags_saved=$CFLAGS
19309 CFLAGS="$CFLAGS -fno-builtin"
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 int main(int argc, char **argv) { return 0; }
19313 _ACEOF
19314 if ac_fn_c_try_link "$LINENO"
19315 then :
19316 ac_cv_cflags__fno_builtin=yes
19317 else $as_nop
19318 ac_cv_cflags__fno_builtin=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19321 conftest$ac_exeext conftest.$ac_ext
19322 CFLAGS=$ac_wine_try_cflags_saved
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19325 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19326 if test "x$ac_cv_cflags__fno_builtin" = xyes
19327 then :
19328 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19331 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19332 if test ${ac_cv_cflags__fshort_wchar+y}
19333 then :
19334 printf %s "(cached) " >&6
19335 else $as_nop
19336 ac_wine_try_cflags_saved=$CFLAGS
19337 CFLAGS="$CFLAGS -fshort-wchar"
19338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19339 /* end confdefs.h. */
19340 int main(int argc, char **argv) { return 0; }
19341 _ACEOF
19342 if ac_fn_c_try_link "$LINENO"
19343 then :
19344 ac_cv_cflags__fshort_wchar=yes
19345 else $as_nop
19346 ac_cv_cflags__fshort_wchar=no
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19349 conftest$ac_exeext conftest.$ac_ext
19350 CFLAGS=$ac_wine_try_cflags_saved
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19353 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19354 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19355 then :
19356 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19359 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19360 if test ${ac_cv_cflags__Wno_format+y}
19361 then :
19362 printf %s "(cached) " >&6
19363 else $as_nop
19364 ac_wine_try_cflags_saved=$CFLAGS
19365 CFLAGS="$CFLAGS -Wno-format"
19366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19367 /* end confdefs.h. */
19368 int main(int argc, char **argv) { return 0; }
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"
19371 then :
19372 ac_cv_cflags__Wno_format=yes
19373 else $as_nop
19374 ac_cv_cflags__Wno_format=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19377 conftest$ac_exeext conftest.$ac_ext
19378 CFLAGS=$ac_wine_try_cflags_saved
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19381 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19382 if test "x$ac_cv_cflags__Wno_format" = xyes
19383 then :
19384 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19385 fi ;;
19386 esac
19388 case $host_cpu in
19389 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19390 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19391 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19392 then :
19393 printf %s "(cached) " >&6
19394 else $as_nop
19395 ac_wine_try_cflags_saved=$CFLAGS
19396 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399 int main(int argc, char **argv) { return 0; }
19400 _ACEOF
19401 if ac_fn_c_try_link "$LINENO"
19402 then :
19403 ac_cv_cflags__fno_omit_frame_pointer=yes
19404 else $as_nop
19405 ac_cv_cflags__fno_omit_frame_pointer=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19408 conftest$ac_exeext conftest.$ac_ext
19409 CFLAGS=$ac_wine_try_cflags_saved
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19412 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19413 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19414 then :
19415 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19416 fi ;;
19417 *x86_64*)
19418 case $host_os in
19419 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19420 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19421 if test ${ac_cv_cflags__Wno_format+y}
19422 then :
19423 printf %s "(cached) " >&6
19424 else $as_nop
19425 ac_wine_try_cflags_saved=$CFLAGS
19426 CFLAGS="$CFLAGS -Wno-format"
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 int main(int argc, char **argv) { return 0; }
19430 _ACEOF
19431 if ac_fn_c_try_link "$LINENO"
19432 then :
19433 ac_cv_cflags__Wno_format=yes
19434 else $as_nop
19435 ac_cv_cflags__Wno_format=no
19437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19438 conftest$ac_exeext conftest.$ac_ext
19439 CFLAGS=$ac_wine_try_cflags_saved
19441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19442 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19443 if test "x$ac_cv_cflags__Wno_format" = xyes
19444 then :
19445 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19446 fi ;;
19447 *) if test -z "$PE_ARCHS"
19448 then
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19450 printf %s "checking for working -mabi=ms... " >&6; }
19451 if test ${ac_cv_mabi_ms+y}
19452 then :
19453 printf %s "(cached) " >&6
19454 else $as_nop
19455 CFLAGS="$CFLAGS -mabi=ms"
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19458 #include <stdarg.h>
19459 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19461 main (void)
19465 return 0;
19467 _ACEOF
19468 if ac_fn_c_try_compile "$LINENO"
19469 then :
19470 ac_cv_mabi_ms=yes
19471 else $as_nop
19472 ac_cv_mabi_ms=no
19474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19475 CFLAGS=$saved_CFLAGS
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19478 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19479 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
19481 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19482 esac ;;
19483 arm*)
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19485 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19486 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19487 then :
19488 printf %s "(cached) " >&6
19489 else $as_nop
19490 ac_wine_try_cflags_saved=$CFLAGS
19491 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 int main(int argc, char **argv) { return 0; }
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"
19497 then :
19498 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19499 else $as_nop
19500 ac_cv_cflags__Wincompatible_function_pointer_types=no
19502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19503 conftest$ac_exeext conftest.$ac_ext
19504 CFLAGS=$ac_wine_try_cflags_saved
19506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19507 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19508 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19509 then :
19510 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19511 fi ;;
19512 esac
19514 CFLAGS=$saved_CFLAGS
19516 if test "x$enable_werror" = "xyes"
19517 then
19518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19519 printf %s "checking whether the compiler supports -Werror... " >&6; }
19520 if test ${ac_cv_cflags__Werror+y}
19521 then :
19522 printf %s "(cached) " >&6
19523 else $as_nop
19524 ac_wine_try_cflags_saved=$CFLAGS
19525 CFLAGS="$CFLAGS -Werror"
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19528 int main(int argc, char **argv) { return 0; }
19529 _ACEOF
19530 if ac_fn_c_try_link "$LINENO"
19531 then :
19532 ac_cv_cflags__Werror=yes
19533 else $as_nop
19534 ac_cv_cflags__Werror=no
19536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19537 conftest$ac_exeext conftest.$ac_ext
19538 CFLAGS=$ac_wine_try_cflags_saved
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19541 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19542 if test "x$ac_cv_cflags__Werror" = xyes
19543 then :
19544 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19547 if test "x$enable_build_id" = "xyes"
19548 then
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19550 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19551 if test ${ac_cv_cflags__Wl___build_id+y}
19552 then :
19553 printf %s "(cached) " >&6
19554 else $as_nop
19555 ac_wine_try_cflags_saved=$CFLAGS
19556 CFLAGS="$CFLAGS -Wl,--build-id"
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 int main(int argc, char **argv) { return 0; }
19560 _ACEOF
19561 if ac_fn_c_try_link "$LINENO"
19562 then :
19563 ac_cv_cflags__Wl___build_id=yes
19564 else $as_nop
19565 ac_cv_cflags__Wl___build_id=no
19567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19568 conftest$ac_exeext conftest.$ac_ext
19569 CFLAGS=$ac_wine_try_cflags_saved
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19572 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19573 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19574 then :
19575 CFLAGS="$CFLAGS -Wl,--build-id"
19576 LDFLAGS="$LDFLAGS -Wl,--build-id"
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19583 printf %s "checking for the need to disable Fortify... " >&6; }
19584 if test ${ac_cv_c_fortify_enabled+y}
19585 then :
19586 printf %s "(cached) " >&6
19587 else $as_nop
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 #include <string.h>
19592 main (void)
19594 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19595 #error Fortify enabled
19596 #endif
19598 return 0;
19600 _ACEOF
19601 if ac_fn_c_try_compile "$LINENO"
19602 then :
19603 ac_cv_c_fortify_enabled=no
19604 else $as_nop
19605 ac_cv_c_fortify_enabled=yes
19607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19610 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19611 if test "$ac_cv_c_fortify_enabled" = yes
19612 then
19613 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19618 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19619 if test ${ac_cv_c_cfi_support+y}
19620 then :
19621 printf %s "(cached) " >&6
19622 else $as_nop
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19627 main (void)
19631 return 0;
19633 _ACEOF
19634 if ac_fn_c_try_compile "$LINENO"
19635 then :
19636 ac_cv_c_cfi_support="yes"
19637 else $as_nop
19638 ac_cv_c_cfi_support="no"
19640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19643 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19644 if test "$ac_cv_c_cfi_support" = "yes"
19645 then
19646 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19647 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19648 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19649 elif test $HOST_ARCH = x86_64
19650 then
19651 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19655 case "$HOST_ARCH,$PE_ARCHS" in
19656 x86_64,*i386*) wine_binary="wine" ;;
19657 x86_64,*) wine_binary="wine64" ;;
19658 *) wine_binary="wine" ;;
19659 esac
19660 WINELOADER_PROGRAMS="$wine_binary"
19663 case $host_os in
19664 linux*)
19665 case $host_cpu in
19666 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19667 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19668 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19670 esac
19672 darwin*|macosx*)
19673 if test "$wine_can_build_preloader" = "yes"
19674 then
19675 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19676 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19679 esac
19682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19683 printf %s "checking for library containing dlopen... " >&6; }
19684 if test ${ac_cv_search_dlopen+y}
19685 then :
19686 printf %s "(cached) " >&6
19687 else $as_nop
19688 ac_func_search_save_LIBS=$LIBS
19689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19690 /* end confdefs.h. */
19692 /* Override any GCC internal prototype to avoid an error.
19693 Use char because int might match the return type of a GCC
19694 builtin and then its argument prototype would still apply. */
19695 char dlopen ();
19697 main (void)
19699 return dlopen ();
19701 return 0;
19703 _ACEOF
19704 for ac_lib in '' dl
19706 if test -z "$ac_lib"; then
19707 ac_res="none required"
19708 else
19709 ac_res=-l$ac_lib
19710 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19712 if ac_fn_c_try_link "$LINENO"
19713 then :
19714 ac_cv_search_dlopen=$ac_res
19716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19717 conftest$ac_exeext
19718 if test ${ac_cv_search_dlopen+y}
19719 then :
19720 break
19722 done
19723 if test ${ac_cv_search_dlopen+y}
19724 then :
19726 else $as_nop
19727 ac_cv_search_dlopen=no
19729 rm conftest.$ac_ext
19730 LIBS=$ac_func_search_save_LIBS
19732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19733 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19734 ac_res=$ac_cv_search_dlopen
19735 if test "$ac_res" != no
19736 then :
19737 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19743 printf %s "checking for library containing gethostbyname... " >&6; }
19744 if test ${ac_cv_search_gethostbyname+y}
19745 then :
19746 printf %s "(cached) " >&6
19747 else $as_nop
19748 ac_func_search_save_LIBS=$LIBS
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19752 /* Override any GCC internal prototype to avoid an error.
19753 Use char because int might match the return type of a GCC
19754 builtin and then its argument prototype would still apply. */
19755 char gethostbyname ();
19757 main (void)
19759 return gethostbyname ();
19761 return 0;
19763 _ACEOF
19764 for ac_lib in '' nsl
19766 if test -z "$ac_lib"; then
19767 ac_res="none required"
19768 else
19769 ac_res=-l$ac_lib
19770 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19772 if ac_fn_c_try_link "$LINENO"
19773 then :
19774 ac_cv_search_gethostbyname=$ac_res
19776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19777 conftest$ac_exeext
19778 if test ${ac_cv_search_gethostbyname+y}
19779 then :
19780 break
19782 done
19783 if test ${ac_cv_search_gethostbyname+y}
19784 then :
19786 else $as_nop
19787 ac_cv_search_gethostbyname=no
19789 rm conftest.$ac_ext
19790 LIBS=$ac_func_search_save_LIBS
19792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19793 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19794 ac_res=$ac_cv_search_gethostbyname
19795 if test "$ac_res" != no
19796 then :
19797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19803 printf %s "checking for library containing connect... " >&6; }
19804 if test ${ac_cv_search_connect+y}
19805 then :
19806 printf %s "(cached) " >&6
19807 else $as_nop
19808 ac_func_search_save_LIBS=$LIBS
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19815 char connect ();
19817 main (void)
19819 return connect ();
19821 return 0;
19823 _ACEOF
19824 for ac_lib in '' socket
19826 if test -z "$ac_lib"; then
19827 ac_res="none required"
19828 else
19829 ac_res=-l$ac_lib
19830 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19832 if ac_fn_c_try_link "$LINENO"
19833 then :
19834 ac_cv_search_connect=$ac_res
19836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19837 conftest$ac_exeext
19838 if test ${ac_cv_search_connect+y}
19839 then :
19840 break
19842 done
19843 if test ${ac_cv_search_connect+y}
19844 then :
19846 else $as_nop
19847 ac_cv_search_connect=no
19849 rm conftest.$ac_ext
19850 LIBS=$ac_func_search_save_LIBS
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19853 printf "%s\n" "$ac_cv_search_connect" >&6; }
19854 ac_res=$ac_cv_search_connect
19855 if test "$ac_res" != no
19856 then :
19857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19863 printf %s "checking for library containing inet_aton... " >&6; }
19864 if test ${ac_cv_search_inet_aton+y}
19865 then :
19866 printf %s "(cached) " >&6
19867 else $as_nop
19868 ac_func_search_save_LIBS=$LIBS
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19872 /* Override any GCC internal prototype to avoid an error.
19873 Use char because int might match the return type of a GCC
19874 builtin and then its argument prototype would still apply. */
19875 char inet_aton ();
19877 main (void)
19879 return inet_aton ();
19881 return 0;
19883 _ACEOF
19884 for ac_lib in '' resolv
19886 if test -z "$ac_lib"; then
19887 ac_res="none required"
19888 else
19889 ac_res=-l$ac_lib
19890 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19892 if ac_fn_c_try_link "$LINENO"
19893 then :
19894 ac_cv_search_inet_aton=$ac_res
19896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19897 conftest$ac_exeext
19898 if test ${ac_cv_search_inet_aton+y}
19899 then :
19900 break
19902 done
19903 if test ${ac_cv_search_inet_aton+y}
19904 then :
19906 else $as_nop
19907 ac_cv_search_inet_aton=no
19909 rm conftest.$ac_ext
19910 LIBS=$ac_func_search_save_LIBS
19912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19913 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19914 ac_res=$ac_cv_search_inet_aton
19915 if test "$ac_res" != no
19916 then :
19917 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19922 ac_save_CFLAGS="$CFLAGS"
19923 CFLAGS="$CFLAGS $BUILTINFLAG"
19924 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19925 if test "x$ac_cv_func_dladdr1" = xyes
19926 then :
19927 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19930 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19931 if test "x$ac_cv_func_dlinfo" = xyes
19932 then :
19933 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19936 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19937 if test "x$ac_cv_func_epoll_create" = xyes
19938 then :
19939 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19942 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19943 if test "x$ac_cv_func_fstatfs" = xyes
19944 then :
19945 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19948 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19949 if test "x$ac_cv_func_futimens" = xyes
19950 then :
19951 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19954 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19955 if test "x$ac_cv_func_futimes" = xyes
19956 then :
19957 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19960 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19961 if test "x$ac_cv_func_futimesat" = xyes
19962 then :
19963 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19966 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19967 if test "x$ac_cv_func_getaddrinfo" = xyes
19968 then :
19969 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19972 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19973 if test "x$ac_cv_func_getattrlist" = xyes
19974 then :
19975 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19978 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19979 if test "x$ac_cv_func_getauxval" = xyes
19980 then :
19981 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19984 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19985 if test "x$ac_cv_func_getifaddrs" = xyes
19986 then :
19987 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19990 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19991 if test "x$ac_cv_func_getrandom" = xyes
19992 then :
19993 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19996 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19997 if test "x$ac_cv_func_kqueue" = xyes
19998 then :
19999 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20002 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20003 if test "x$ac_cv_func_mach_continuous_time" = xyes
20004 then :
20005 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20008 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20009 if test "x$ac_cv_func_pipe2" = xyes
20010 then :
20011 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20014 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20015 if test "x$ac_cv_func_port_create" = xyes
20016 then :
20017 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20020 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20021 if test "x$ac_cv_func_posix_fadvise" = xyes
20022 then :
20023 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20026 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20027 if test "x$ac_cv_func_posix_fallocate" = xyes
20028 then :
20029 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20032 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20033 if test "x$ac_cv_func_prctl" = xyes
20034 then :
20035 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20038 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20039 if test "x$ac_cv_func_proc_pidinfo" = xyes
20040 then :
20041 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20044 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20045 if test "x$ac_cv_func_sched_yield" = xyes
20046 then :
20047 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20050 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20051 if test "x$ac_cv_func_setproctitle" = xyes
20052 then :
20053 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20056 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20057 if test "x$ac_cv_func_setprogname" = xyes
20058 then :
20059 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20062 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20063 if test "x$ac_cv_func_sigprocmask" = xyes
20064 then :
20065 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20068 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20069 if test "x$ac_cv_func_sysinfo" = xyes
20070 then :
20071 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20074 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20075 if test "x$ac_cv_func_tcdrain" = xyes
20076 then :
20077 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20080 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20081 if test "x$ac_cv_func_thr_kill2" = xyes
20082 then :
20083 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20087 CFLAGS="$ac_save_CFLAGS"
20089 case $host_os in
20090 darwin*|macosx*) ;;
20091 *) ac_save_LIBS=$LIBS
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20093 printf %s "checking for library containing clock_gettime... " >&6; }
20094 if test ${ac_cv_search_clock_gettime+y}
20095 then :
20096 printf %s "(cached) " >&6
20097 else $as_nop
20098 ac_func_search_save_LIBS=$LIBS
20099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 /* Override any GCC internal prototype to avoid an error.
20103 Use char because int might match the return type of a GCC
20104 builtin and then its argument prototype would still apply. */
20105 char clock_gettime ();
20107 main (void)
20109 return clock_gettime ();
20111 return 0;
20113 _ACEOF
20114 for ac_lib in '' rt
20116 if test -z "$ac_lib"; then
20117 ac_res="none required"
20118 else
20119 ac_res=-l$ac_lib
20120 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20122 if ac_fn_c_try_link "$LINENO"
20123 then :
20124 ac_cv_search_clock_gettime=$ac_res
20126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20127 conftest$ac_exeext
20128 if test ${ac_cv_search_clock_gettime+y}
20129 then :
20130 break
20132 done
20133 if test ${ac_cv_search_clock_gettime+y}
20134 then :
20136 else $as_nop
20137 ac_cv_search_clock_gettime=no
20139 rm conftest.$ac_ext
20140 LIBS=$ac_func_search_save_LIBS
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20143 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20144 ac_res=$ac_cv_search_clock_gettime
20145 if test "$ac_res" != no
20146 then :
20147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20149 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20151 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20155 LIBS=$ac_save_LIBS
20157 esac
20159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20160 printf %s "checking for sched_setaffinity... " >&6; }
20161 if test ${wine_cv_have_sched_setaffinity+y}
20162 then :
20163 printf %s "(cached) " >&6
20164 else $as_nop
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #include <sched.h>
20169 main (void)
20171 sched_setaffinity(0, 0, 0);
20173 return 0;
20175 _ACEOF
20176 if ac_fn_c_try_link "$LINENO"
20177 then :
20178 wine_cv_have_sched_setaffinity=yes
20179 else $as_nop
20180 wine_cv_have_sched_setaffinity=no
20182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20183 conftest$ac_exeext conftest.$ac_ext
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20186 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20187 if test "$wine_cv_have_sched_setaffinity" = "yes"
20188 then
20190 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20196 printf %s "checking for inline... " >&6; }
20197 if test ${ac_cv_c_inline+y}
20198 then :
20199 printf %s "(cached) " >&6
20200 else $as_nop
20201 ac_cv_c_inline=no
20202 for ac_kw in inline __inline__ __inline; do
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #ifndef __cplusplus
20206 typedef int foo_t;
20207 static $ac_kw foo_t static_foo (void) {return 0; }
20208 $ac_kw foo_t foo (void) {return 0; }
20209 #endif
20211 _ACEOF
20212 if ac_fn_c_try_compile "$LINENO"
20213 then :
20214 ac_cv_c_inline=$ac_kw
20216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20217 test "$ac_cv_c_inline" != no && break
20218 done
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20222 printf "%s\n" "$ac_cv_c_inline" >&6; }
20224 case $ac_cv_c_inline in
20225 inline | yes) ;;
20227 case $ac_cv_c_inline in
20228 no) ac_val=;;
20229 *) ac_val=$ac_cv_c_inline;;
20230 esac
20231 cat >>confdefs.h <<_ACEOF
20232 #ifndef __cplusplus
20233 #define inline $ac_val
20234 #endif
20235 _ACEOF
20237 esac
20239 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20241 if test "x$ac_cv_type_request_sense" = xyes
20242 then :
20244 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20250 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20251 #include <sys/socket.h>
20252 #ifdef HAVE_SYS_SOCKETVAR_H
20253 #include <sys/socketvar.h>
20254 #endif
20255 #ifdef HAVE_NET_ROUTE_H
20256 #include <net/route.h>
20257 #endif
20258 #ifdef HAVE_NETINET_IN_H
20259 #include <netinet/in.h>
20260 #endif
20261 #ifdef HAVE_NETINET_IN_SYSTM_H
20262 #include <netinet/in_systm.h>
20263 #endif
20264 #ifdef HAVE_NETINET_IP_H
20265 #include <netinet/ip.h>
20266 #endif
20267 #ifdef HAVE_NETINET_IN_PCB_H
20268 #include <netinet/in_pcb.h>
20269 #endif
20271 if test "x$ac_cv_type_struct_xinpgen" = xyes
20272 then :
20274 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20281 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20282 if test ${wine_cv_linux_gethostbyname_r_6+y}
20283 then :
20284 printf %s "(cached) " >&6
20285 else $as_nop
20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20288 #include <netdb.h>
20290 main (void)
20293 char *name=0;
20294 struct hostent he;
20295 struct hostent *result;
20296 char *buf=0;
20297 int bufsize=0;
20298 int errnr;
20299 char *addr=0;
20300 int addrlen=0;
20301 int addrtype=0;
20302 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20303 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20306 return 0;
20308 _ACEOF
20309 if ac_fn_c_try_link "$LINENO"
20310 then :
20311 wine_cv_linux_gethostbyname_r_6=yes
20312 else $as_nop
20313 wine_cv_linux_gethostbyname_r_6=no
20316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20317 conftest$ac_exeext conftest.$ac_ext
20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20321 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20322 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20323 then
20325 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20329 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20330 #include <sys/socket.h>
20331 #ifdef HAVE_SYS_UN_H
20332 # include <sys/un.h>
20333 #endif
20335 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20336 then :
20338 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20342 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20343 #include <sys/socket.h>
20344 #ifdef HAVE_SYS_UN_H
20345 # include <sys/un.h>
20346 #endif
20348 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20349 then :
20351 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20357 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20358 #ifdef HAVE_SCSI_SG_H
20359 #include <scsi/sg.h>
20360 #endif
20362 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20369 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>
20370 #ifdef HAVE_SCSI_SG_H
20371 #include <scsi/sg.h>
20372 #endif
20374 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20385 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20394 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20395 #ifdef HAVE_SYS_MTIO_H
20396 #include <sys/mtio.h>
20397 #endif
20399 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20400 then :
20402 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20406 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20407 #ifdef HAVE_SYS_MTIO_H
20408 #include <sys/mtio.h>
20409 #endif
20411 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20419 #ifdef HAVE_SYS_MTIO_H
20420 #include <sys/mtio.h>
20421 #endif
20423 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20424 then :
20426 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20432 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20433 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20434 then :
20436 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20440 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20441 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20442 then :
20444 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20448 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20449 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20450 then :
20452 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20456 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20457 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20458 then :
20460 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20464 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20465 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20466 then :
20468 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20472 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20473 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20474 then :
20476 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20480 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20481 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20482 then :
20484 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20488 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20489 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20490 then :
20492 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20496 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20497 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20498 then :
20500 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20504 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20505 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20512 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20513 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20514 then :
20516 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20522 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>
20523 #ifdef HAVE_NETINET_IN_H
20524 #include <netinet/in.h>
20525 #endif
20527 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20536 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
20537 #include <resolv.h>
20538 #endif
20540 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20553 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20554 then :
20556 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20562 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20563 #ifdef HAVE_SYS_SOCKETVAR_H
20564 #include <sys/socketvar.h>
20565 #endif
20566 #ifdef HAVE_NETINET_IN_H
20567 #include <netinet/in.h>
20568 #endif
20569 #ifdef HAVE_NETINET_IP_VAR_H
20570 #include <netinet/ip_var.h>
20571 #endif
20573 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20582 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
20583 #include <netinet/ip_var.h>
20584 #endif
20586 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20587 then :
20589 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20595 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20596 #ifdef HAVE_SYS_SOCKETVAR_H
20597 #include <sys/socketvar.h>
20598 #endif
20599 #ifdef HAVE_NETINET_IN_H
20600 #include <netinet/in.h>
20601 #endif
20602 #ifdef HAVE_NETINET6_IP6_VAR_H
20603 #include <netinet6/ip6_var.h>
20604 #endif
20606 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20607 then :
20609 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20615 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20616 #ifdef HAVE_SYS_SOCKETVAR_H
20617 #include <sys/socketvar.h>
20618 #endif
20619 #ifdef HAVE_NETINET_IN_H
20620 #include <netinet/in.h>
20621 #endif
20622 #ifdef HAVE_NETINET_IP_H
20623 #include <netinet/ip.h>
20624 #endif
20625 #ifdef HAVE_NETINET_IP_ICMP_H
20626 #include <netinet/ip_icmp.h>
20627 #endif
20628 #ifdef HAVE_NETINET_ICMP_VAR_H
20629 #include <netinet/icmp_var.h>
20630 #endif
20632 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20633 then :
20635 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20641 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20642 #ifdef HAVE_SYS_SOCKETVAR_H
20643 #include <sys/socketvar.h>
20644 #endif
20645 #ifdef HAVE_NETINET_IN_H
20646 #include <netinet/in.h>
20647 #endif
20648 #ifdef HAVE_NETINET_ICMP6_H
20649 #include <netinet/icmp6.h>
20650 #endif
20652 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20653 then :
20655 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20661 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20662 #ifdef HAVE_SYS_SOCKETVAR_H
20663 #include <sys/socketvar.h>
20664 #endif
20665 #ifdef HAVE_NETINET_IN_H
20666 #include <netinet/in.h>
20667 #endif
20668 #ifdef HAVE_NETINET_TCP_H
20669 #include <netinet/tcp.h>
20670 #endif
20671 #ifdef HAVE_NETINET_TCP_VAR_H
20672 #include <netinet/tcp_var.h>
20673 #endif
20675 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20676 then :
20678 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20684 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
20685 #include <netinet/tcp_var.h>
20686 #endif
20688 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20689 then :
20691 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20698 #ifdef HAVE_NETINET_IN_H
20699 #include <netinet/in.h>
20700 #endif
20701 #ifdef HAVE_NETINET_IP_VAR_H
20702 #include <netinet/ip_var.h>
20703 #endif
20704 #ifdef HAVE_NETINET_UDP_H
20705 #include <netinet/udp.h>
20706 #endif
20707 #ifdef HAVE_NETINET_UDP_VAR_H
20708 #include <netinet/udp_var.h>
20709 #endif
20711 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20712 then :
20714 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20720 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20721 #ifdef HAVE_NET_IF_H
20722 # include <net/if.h>
20723 #endif
20725 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20726 then :
20728 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20734 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20735 # include <sys/sysinfo.h>
20736 #endif
20738 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20739 then :
20741 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20745 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20746 # include <sys/sysinfo.h>
20747 #endif
20749 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20750 then :
20752 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20758 LIBS="$ac_save_LIBS"
20760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20761 printf %s "checking for __builtin_popcount... " >&6; }
20762 if test ${ac_cv_have___builtin_popcount+y}
20763 then :
20764 printf %s "(cached) " >&6
20765 else $as_nop
20766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20770 main (void)
20772 return __builtin_popcount(1)
20774 return 0;
20776 _ACEOF
20777 if ac_fn_c_try_link "$LINENO"
20778 then :
20779 ac_cv_have___builtin_popcount="yes"
20780 else $as_nop
20781 ac_cv_have___builtin_popcount="no"
20783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20784 conftest$ac_exeext conftest.$ac_ext
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20787 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20788 if test "$ac_cv_have___builtin_popcount" = "yes"
20789 then
20791 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20796 printf %s "checking for __clear_cache... " >&6; }
20797 if test ${ac_cv_have___clear_cache+y}
20798 then :
20799 printf %s "(cached) " >&6
20800 else $as_nop
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20805 main (void)
20807 __clear_cache((void*)0, (void*)0); return 0;
20809 return 0;
20811 _ACEOF
20812 if ac_fn_c_try_link "$LINENO"
20813 then :
20814 ac_cv_have___clear_cache="yes"
20815 else $as_nop
20816 ac_cv_have___clear_cache="no"
20818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20819 conftest$ac_exeext conftest.$ac_ext
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20822 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20823 if test "$ac_cv_have___clear_cache" = "yes"
20824 then
20826 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20831 case $host_cpu in
20832 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20833 printf %s "checking whether we need to define __i386__... " >&6; }
20834 if test ${ac_cv_cpp_def___i386__+y}
20835 then :
20836 printf %s "(cached) " >&6
20837 else $as_nop
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #ifndef __i386__
20842 #endif
20843 _ACEOF
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev/null 2>&1
20846 then :
20847 ac_cv_cpp_def___i386__=yes
20848 else $as_nop
20849 ac_cv_cpp_def___i386__=no
20851 rm -rf conftest*
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20856 if test "x$ac_cv_cpp_def___i386__" = xyes
20857 then :
20858 CFLAGS="$CFLAGS -D__i386__"
20859 LINTFLAGS="$LINTFLAGS -D__i386__"
20860 fi ;;
20861 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20862 printf %s "checking whether we need to define __x86_64__... " >&6; }
20863 if test ${ac_cv_cpp_def___x86_64__+y}
20864 then :
20865 printf %s "(cached) " >&6
20866 else $as_nop
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __x86_64__
20871 #endif
20872 _ACEOF
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev/null 2>&1
20875 then :
20876 ac_cv_cpp_def___x86_64__=yes
20877 else $as_nop
20878 ac_cv_cpp_def___x86_64__=no
20880 rm -rf conftest*
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20885 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20886 then :
20887 CFLAGS="$CFLAGS -D__x86_64__"
20888 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20889 fi ;;
20890 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20891 printf %s "checking whether we need to define __sparc64__... " >&6; }
20892 if test ${ac_cv_cpp_def___sparc64__+y}
20893 then :
20894 printf %s "(cached) " >&6
20895 else $as_nop
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #ifndef __sparc64__
20900 #endif
20901 _ACEOF
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev/null 2>&1
20904 then :
20905 ac_cv_cpp_def___sparc64__=yes
20906 else $as_nop
20907 ac_cv_cpp_def___sparc64__=no
20909 rm -rf conftest*
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20914 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20915 then :
20916 CFLAGS="$CFLAGS -D__sparc64__"
20917 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20918 fi ;;
20919 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20920 printf %s "checking whether we need to define __sparc__... " >&6; }
20921 if test ${ac_cv_cpp_def___sparc__+y}
20922 then :
20923 printf %s "(cached) " >&6
20924 else $as_nop
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #ifndef __sparc__
20929 #endif
20930 _ACEOF
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev/null 2>&1
20933 then :
20934 ac_cv_cpp_def___sparc__=yes
20935 else $as_nop
20936 ac_cv_cpp_def___sparc__=no
20938 rm -rf conftest*
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20943 if test "x$ac_cv_cpp_def___sparc__" = xyes
20944 then :
20945 CFLAGS="$CFLAGS -D__sparc__"
20946 LINTFLAGS="$LINTFLAGS -D__sparc__"
20947 fi ;;
20948 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20949 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20950 if test ${ac_cv_cpp_def___powerpc64__+y}
20951 then :
20952 printf %s "(cached) " >&6
20953 else $as_nop
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __powerpc64__
20958 #endif
20959 _ACEOF
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev/null 2>&1
20962 then :
20963 ac_cv_cpp_def___powerpc64__=yes
20964 else $as_nop
20965 ac_cv_cpp_def___powerpc64__=no
20967 rm -rf conftest*
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20972 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20973 then :
20974 CFLAGS="$CFLAGS -D__powerpc64__"
20975 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20976 fi ;;
20977 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20978 printf %s "checking whether we need to define __powerpc__... " >&6; }
20979 if test ${ac_cv_cpp_def___powerpc__+y}
20980 then :
20981 printf %s "(cached) " >&6
20982 else $as_nop
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #ifndef __powerpc__
20987 #endif
20988 _ACEOF
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev/null 2>&1
20991 then :
20992 ac_cv_cpp_def___powerpc__=yes
20993 else $as_nop
20994 ac_cv_cpp_def___powerpc__=no
20996 rm -rf conftest*
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21001 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21002 then :
21003 CFLAGS="$CFLAGS -D__powerpc__"
21004 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21005 fi ;;
21006 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21007 printf %s "checking whether we need to define __aarch64__... " >&6; }
21008 if test ${ac_cv_cpp_def___aarch64__+y}
21009 then :
21010 printf %s "(cached) " >&6
21011 else $as_nop
21012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #ifndef __aarch64__
21016 #endif
21017 _ACEOF
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev/null 2>&1
21020 then :
21021 ac_cv_cpp_def___aarch64__=yes
21022 else $as_nop
21023 ac_cv_cpp_def___aarch64__=no
21025 rm -rf conftest*
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21030 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21031 then :
21032 CFLAGS="$CFLAGS -D__aarch64__"
21033 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21034 fi ;;
21035 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21036 printf %s "checking whether we need to define __arm__... " >&6; }
21037 if test ${ac_cv_cpp_def___arm__+y}
21038 then :
21039 printf %s "(cached) " >&6
21040 else $as_nop
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #ifndef __arm__
21045 #endif
21046 _ACEOF
21047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21048 $EGREP "yes" >/dev/null 2>&1
21049 then :
21050 ac_cv_cpp_def___arm__=yes
21051 else $as_nop
21052 ac_cv_cpp_def___arm__=no
21054 rm -rf conftest*
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21058 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21059 if test "x$ac_cv_cpp_def___arm__" = xyes
21060 then :
21061 CFLAGS="$CFLAGS -D__arm__"
21062 LINTFLAGS="$LINTFLAGS -D__arm__"
21063 fi ;;
21064 esac
21066 case $host_vendor in
21067 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21068 printf %s "checking whether we need to define __sun__... " >&6; }
21069 if test ${ac_cv_cpp_def___sun__+y}
21070 then :
21071 printf %s "(cached) " >&6
21072 else $as_nop
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21075 #ifndef __sun__
21077 #endif
21078 _ACEOF
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev/null 2>&1
21081 then :
21082 ac_cv_cpp_def___sun__=yes
21083 else $as_nop
21084 ac_cv_cpp_def___sun__=no
21086 rm -rf conftest*
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21091 if test "x$ac_cv_cpp_def___sun__" = xyes
21092 then :
21093 CFLAGS="$CFLAGS -D__sun__"
21094 LINTFLAGS="$LINTFLAGS -D__sun__"
21095 fi ;;
21096 esac
21102 ac_config_commands="$ac_config_commands include/stamp-h"
21104 printf %s "creating Makefile rules..." >&6
21106 makedep_flags=""
21107 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21109 wine_srcdir=
21110 test "$srcdir" = . || wine_srcdir="$srcdir/"
21112 ac_config_links="$ac_config_links wine:tools/winewrapper"
21113 wine_fn_config_symlink wine
21114 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21115 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21116 wine_fn_config_symlink wine64
21119 wine_fn_config_makefile dlls/acledit enable_acledit
21120 wine_fn_config_makefile dlls/aclui enable_aclui
21121 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21122 wine_fn_config_makefile dlls/activeds enable_activeds
21123 wine_fn_config_makefile dlls/activeds/tests enable_tests
21124 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21125 wine_fn_config_makefile dlls/adsldp enable_adsldp
21126 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21127 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21128 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21129 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21130 wine_fn_config_makefile dlls/advpack enable_advpack
21131 wine_fn_config_makefile dlls/advpack/tests enable_tests
21132 wine_fn_config_makefile dlls/amsi enable_amsi
21133 wine_fn_config_makefile dlls/amstream enable_amstream
21134 wine_fn_config_makefile dlls/amstream/tests enable_tests
21135 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21136 wine_fn_config_makefile dlls/apphelp enable_apphelp
21137 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21138 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21139 wine_fn_config_makefile dlls/atl enable_atl
21140 wine_fn_config_makefile dlls/atl/tests enable_tests
21141 wine_fn_config_makefile dlls/atl100 enable_atl100
21142 wine_fn_config_makefile dlls/atl100/tests enable_tests
21143 wine_fn_config_makefile dlls/atl110 enable_atl110
21144 wine_fn_config_makefile dlls/atl110/tests enable_tests
21145 wine_fn_config_makefile dlls/atl80 enable_atl80
21146 wine_fn_config_makefile dlls/atl80/tests enable_tests
21147 wine_fn_config_makefile dlls/atl90 enable_atl90
21148 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21149 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21150 wine_fn_config_makefile dlls/atmlib enable_atmlib
21151 wine_fn_config_makefile dlls/authz enable_authz
21152 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21153 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21154 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21155 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21156 wine_fn_config_makefile dlls/avrt enable_avrt
21157 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21158 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21159 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21160 wine_fn_config_makefile dlls/browseui enable_browseui
21161 wine_fn_config_makefile dlls/browseui/tests enable_tests
21162 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21163 wine_fn_config_makefile dlls/cabinet enable_cabinet
21164 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21165 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21166 wine_fn_config_makefile dlls/cards enable_cards
21167 wine_fn_config_makefile dlls/cdosys enable_cdosys
21168 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21169 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21170 wine_fn_config_makefile dlls/clusapi enable_clusapi
21171 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21172 wine_fn_config_makefile dlls/combase enable_combase
21173 wine_fn_config_makefile dlls/combase/tests enable_tests
21174 wine_fn_config_makefile dlls/comcat enable_comcat
21175 wine_fn_config_makefile dlls/comcat/tests enable_tests
21176 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21177 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21178 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21179 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21180 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21181 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21182 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21183 wine_fn_config_makefile dlls/compstui enable_compstui
21184 wine_fn_config_makefile dlls/compstui/tests enable_tests
21185 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21186 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21187 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21188 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21189 wine_fn_config_makefile dlls/connect enable_connect
21190 wine_fn_config_makefile dlls/credui enable_credui
21191 wine_fn_config_makefile dlls/credui/tests enable_tests
21192 wine_fn_config_makefile dlls/crtdll enable_crtdll
21193 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21194 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21195 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21196 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21197 wine_fn_config_makefile dlls/cryptext enable_cryptext
21198 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21199 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21200 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21201 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21202 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21203 wine_fn_config_makefile dlls/cryptui enable_cryptui
21204 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21205 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21206 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21207 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21208 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21209 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21210 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21211 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21212 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21213 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21214 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21215 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21216 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21217 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21218 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21219 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21220 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21221 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21222 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21223 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21224 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21225 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21226 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21228 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21229 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21230 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21231 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21232 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21233 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21234 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21235 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21236 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21237 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21238 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21240 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21242 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dim enable_d3dim
21244 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21245 wine_fn_config_makefile dlls/d3drm enable_d3drm
21246 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21248 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21249 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21250 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21251 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21252 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21253 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21254 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21255 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21256 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21257 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21258 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21259 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21260 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21261 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21262 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21263 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21264 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21265 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21266 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21267 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21268 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21269 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21270 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21271 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21272 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21273 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21274 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21275 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21276 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21277 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21278 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21279 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21280 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21281 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21282 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21283 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21284 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21285 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21286 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21287 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21288 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21289 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21290 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21291 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21292 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21293 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21294 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21295 wine_fn_config_makefile dlls/davclnt enable_davclnt
21296 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21297 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21298 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21299 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21300 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21301 wine_fn_config_makefile dlls/dcomp enable_dcomp
21302 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21303 wine_fn_config_makefile dlls/ddraw enable_ddraw
21304 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21305 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21306 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21307 wine_fn_config_makefile dlls/devenum enable_devenum
21308 wine_fn_config_makefile dlls/devenum/tests enable_tests
21309 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21310 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21311 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21312 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21313 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21314 wine_fn_config_makefile dlls/difxapi enable_difxapi
21315 wine_fn_config_makefile dlls/dinput enable_dinput
21316 wine_fn_config_makefile dlls/dinput/tests enable_tests
21317 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21318 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21319 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21320 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21321 wine_fn_config_makefile dlls/dispex enable_dispex
21322 wine_fn_config_makefile dlls/dispex/tests enable_tests
21323 wine_fn_config_makefile dlls/display.drv16 enable_win16
21324 wine_fn_config_makefile dlls/dmband enable_dmband
21325 wine_fn_config_makefile dlls/dmband/tests enable_tests
21326 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21327 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21328 wine_fn_config_makefile dlls/dmime enable_dmime
21329 wine_fn_config_makefile dlls/dmime/tests enable_tests
21330 wine_fn_config_makefile dlls/dmloader enable_dmloader
21331 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21332 wine_fn_config_makefile dlls/dmscript enable_dmscript
21333 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21334 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21335 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21336 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21337 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21338 wine_fn_config_makefile dlls/dmusic enable_dmusic
21339 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21340 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21341 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21342 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21343 wine_fn_config_makefile dlls/dplay enable_dplay
21344 wine_fn_config_makefile dlls/dplayx enable_dplayx
21345 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21346 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21347 wine_fn_config_makefile dlls/dpnet enable_dpnet
21348 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21349 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21350 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21351 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21352 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21353 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21354 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21355 wine_fn_config_makefile dlls/drmclien enable_drmclien
21356 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21357 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21358 wine_fn_config_makefile dlls/dsound enable_dsound
21359 wine_fn_config_makefile dlls/dsound/tests enable_tests
21360 wine_fn_config_makefile dlls/dsquery enable_dsquery
21361 wine_fn_config_makefile dlls/dssenh enable_dssenh
21362 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21363 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21364 wine_fn_config_makefile dlls/dswave enable_dswave
21365 wine_fn_config_makefile dlls/dswave/tests enable_tests
21366 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21367 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21368 wine_fn_config_makefile dlls/dwrite enable_dwrite
21369 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21370 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21371 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21372 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21373 wine_fn_config_makefile dlls/dxgi enable_dxgi
21374 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21375 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21376 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21377 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21378 wine_fn_config_makefile dlls/esent enable_esent
21379 wine_fn_config_makefile dlls/evr enable_evr
21380 wine_fn_config_makefile dlls/evr/tests enable_tests
21381 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21382 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21383 wine_fn_config_makefile dlls/faultrep enable_faultrep
21384 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21385 wine_fn_config_makefile dlls/feclient enable_feclient
21386 wine_fn_config_makefile dlls/fltlib enable_fltlib
21387 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21388 wine_fn_config_makefile dlls/fntcache enable_fntcache
21389 wine_fn_config_makefile dlls/fontsub enable_fontsub
21390 wine_fn_config_makefile dlls/fusion enable_fusion
21391 wine_fn_config_makefile dlls/fusion/tests enable_tests
21392 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21393 wine_fn_config_makefile dlls/gameux enable_gameux
21394 wine_fn_config_makefile dlls/gameux/tests enable_tests
21395 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21396 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21397 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21398 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21399 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21400 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21401 wine_fn_config_makefile dlls/glu32 enable_glu32
21402 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21403 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21404 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21405 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21406 wine_fn_config_makefile dlls/hal enable_hal
21407 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21408 wine_fn_config_makefile dlls/hid enable_hid
21409 wine_fn_config_makefile dlls/hid/tests enable_tests
21410 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21411 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21412 wine_fn_config_makefile dlls/hlink enable_hlink
21413 wine_fn_config_makefile dlls/hlink/tests enable_tests
21414 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21415 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21416 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21417 wine_fn_config_makefile dlls/http.sys enable_http_sys
21418 wine_fn_config_makefile dlls/httpapi enable_httpapi
21419 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21420 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21421 wine_fn_config_makefile dlls/iccvid enable_iccvid
21422 wine_fn_config_makefile dlls/icmp enable_icmp
21423 wine_fn_config_makefile dlls/ieframe enable_ieframe
21424 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21425 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21426 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21427 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21428 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21429 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21430 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21431 wine_fn_config_makefile dlls/imm32 enable_imm32
21432 wine_fn_config_makefile dlls/imm32/tests enable_tests
21433 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21434 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21435 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21436 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21437 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21438 wine_fn_config_makefile dlls/infosoft enable_infosoft
21439 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21440 wine_fn_config_makefile dlls/initpki enable_initpki
21441 wine_fn_config_makefile dlls/inkobj enable_inkobj
21442 wine_fn_config_makefile dlls/inseng enable_inseng
21443 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21444 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21445 wine_fn_config_makefile dlls/iprop enable_iprop
21446 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21447 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21448 wine_fn_config_makefile dlls/itircl enable_itircl
21449 wine_fn_config_makefile dlls/itss enable_itss
21450 wine_fn_config_makefile dlls/itss/tests enable_tests
21451 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21452 wine_fn_config_makefile dlls/jscript enable_jscript
21453 wine_fn_config_makefile dlls/jscript/tests enable_tests
21454 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21455 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21456 wine_fn_config_makefile dlls/kerberos enable_kerberos
21457 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21458 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21459 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21460 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21461 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21462 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21463 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21464 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21465 wine_fn_config_makefile dlls/ksuser enable_ksuser
21466 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21467 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21468 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21469 wine_fn_config_makefile dlls/loadperf enable_loadperf
21470 wine_fn_config_makefile dlls/localspl enable_localspl
21471 wine_fn_config_makefile dlls/localspl/tests enable_tests
21472 wine_fn_config_makefile dlls/localui enable_localui
21473 wine_fn_config_makefile dlls/localui/tests enable_tests
21474 wine_fn_config_makefile dlls/lz32 enable_lz32
21475 wine_fn_config_makefile dlls/lz32/tests enable_tests
21476 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21477 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21478 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21479 wine_fn_config_makefile dlls/mapistub enable_mapistub
21480 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21481 wine_fn_config_makefile dlls/mcicda enable_mcicda
21482 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21483 wine_fn_config_makefile dlls/mciseq enable_mciseq
21484 wine_fn_config_makefile dlls/mciwave enable_mciwave
21485 wine_fn_config_makefile dlls/mf enable_mf
21486 wine_fn_config_makefile dlls/mf/tests enable_tests
21487 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21488 wine_fn_config_makefile dlls/mferror enable_mferror
21489 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21490 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21491 wine_fn_config_makefile dlls/mfplat enable_mfplat
21492 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21493 wine_fn_config_makefile dlls/mfplay enable_mfplay
21494 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21495 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21496 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21497 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21498 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21499 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21500 wine_fn_config_makefile dlls/midimap enable_midimap
21501 wine_fn_config_makefile dlls/mlang enable_mlang
21502 wine_fn_config_makefile dlls/mlang/tests enable_tests
21503 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21504 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21505 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21506 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21507 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21508 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21509 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21510 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21511 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21512 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21513 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21514 wine_fn_config_makefile dlls/mpr enable_mpr
21515 wine_fn_config_makefile dlls/mpr/tests enable_tests
21516 wine_fn_config_makefile dlls/mprapi enable_mprapi
21517 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21518 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21519 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21520 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21521 wine_fn_config_makefile dlls/msado15 enable_msado15
21522 wine_fn_config_makefile dlls/msado15/tests enable_tests
21523 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21524 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21525 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21526 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21527 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21528 wine_fn_config_makefile dlls/mscms enable_mscms
21529 wine_fn_config_makefile dlls/mscms/tests enable_tests
21530 wine_fn_config_makefile dlls/mscoree enable_mscoree
21531 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21532 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21533 wine_fn_config_makefile dlls/msctf enable_msctf
21534 wine_fn_config_makefile dlls/msctf/tests enable_tests
21535 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21536 wine_fn_config_makefile dlls/msctfp enable_msctfp
21537 wine_fn_config_makefile dlls/msdaps enable_msdaps
21538 wine_fn_config_makefile dlls/msdasql enable_msdasql
21539 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21540 wine_fn_config_makefile dlls/msdelta enable_msdelta
21541 wine_fn_config_makefile dlls/msdmo enable_msdmo
21542 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21543 wine_fn_config_makefile dlls/msdrm enable_msdrm
21544 wine_fn_config_makefile dlls/msftedit enable_msftedit
21545 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21546 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21547 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21548 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21549 wine_fn_config_makefile dlls/mshtml enable_mshtml
21550 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21551 wine_fn_config_makefile dlls/msi enable_msi
21552 wine_fn_config_makefile dlls/msi/tests enable_tests
21553 wine_fn_config_makefile dlls/msident enable_msident
21554 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21555 wine_fn_config_makefile dlls/msimsg enable_msimsg
21556 wine_fn_config_makefile dlls/msimtf enable_msimtf
21557 wine_fn_config_makefile dlls/msisip enable_msisip
21558 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21559 wine_fn_config_makefile dlls/msls31 enable_msls31
21560 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21561 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21562 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21563 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21564 wine_fn_config_makefile dlls/msports enable_msports
21565 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21566 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21567 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21568 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21569 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21570 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21571 wine_fn_config_makefile dlls/mstask enable_mstask
21572 wine_fn_config_makefile dlls/mstask/tests enable_tests
21573 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21574 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21575 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21576 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21577 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21578 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21579 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21581 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21582 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21583 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21584 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21585 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21586 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21588 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21589 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21590 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21591 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21593 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21595 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21596 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21597 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21598 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21600 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21601 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21602 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21603 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21604 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21605 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21606 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21607 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21608 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21609 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21610 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21611 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21612 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21613 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21614 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21616 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21618 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21619 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21620 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21621 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21622 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21623 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21624 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21625 wine_fn_config_makefile dlls/mswsock enable_mswsock
21626 wine_fn_config_makefile dlls/msxml enable_msxml
21627 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21628 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21629 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21630 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21631 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21632 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21633 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21634 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21635 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21636 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21637 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21638 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21639 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21640 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21641 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21642 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21643 wine_fn_config_makefile dlls/netprofm enable_netprofm
21644 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21645 wine_fn_config_makefile dlls/netutils enable_netutils
21646 wine_fn_config_makefile dlls/newdev enable_newdev
21647 wine_fn_config_makefile dlls/ninput enable_ninput
21648 wine_fn_config_makefile dlls/ninput/tests enable_tests
21649 wine_fn_config_makefile dlls/normaliz enable_normaliz
21650 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21651 wine_fn_config_makefile dlls/npptools enable_npptools
21652 wine_fn_config_makefile dlls/nsi enable_nsi
21653 wine_fn_config_makefile dlls/nsi/tests enable_tests
21654 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21655 wine_fn_config_makefile dlls/ntdll enable_ntdll
21656 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21657 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21658 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21659 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21660 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21661 wine_fn_config_makefile dlls/ntprint enable_ntprint
21662 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21663 wine_fn_config_makefile dlls/objsel enable_objsel
21664 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21665 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21666 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21667 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21668 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21669 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21670 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21671 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21672 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21673 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21674 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21675 wine_fn_config_makefile dlls/ole32 enable_ole32
21676 wine_fn_config_makefile dlls/ole32/tests enable_tests
21677 wine_fn_config_makefile dlls/oleacc enable_oleacc
21678 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21679 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21680 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21681 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21682 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21683 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21684 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21685 wine_fn_config_makefile dlls/oledlg enable_oledlg
21686 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21687 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21688 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21689 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21690 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21691 wine_fn_config_makefile dlls/opcservices enable_opcservices
21692 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21693 wine_fn_config_makefile dlls/opencl enable_opencl
21694 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21695 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21696 wine_fn_config_makefile dlls/packager enable_packager
21697 wine_fn_config_makefile dlls/packager/tests enable_tests
21698 wine_fn_config_makefile dlls/pdh enable_pdh
21699 wine_fn_config_makefile dlls/pdh/tests enable_tests
21700 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21701 wine_fn_config_makefile dlls/pidgen enable_pidgen
21702 wine_fn_config_makefile dlls/powrprof enable_powrprof
21703 wine_fn_config_makefile dlls/printui enable_printui
21704 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21705 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21706 wine_fn_config_makefile dlls/propsys enable_propsys
21707 wine_fn_config_makefile dlls/propsys/tests enable_tests
21708 wine_fn_config_makefile dlls/psapi enable_psapi
21709 wine_fn_config_makefile dlls/psapi/tests enable_tests
21710 wine_fn_config_makefile dlls/pstorec enable_pstorec
21711 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21712 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21713 wine_fn_config_makefile dlls/qasf enable_qasf
21714 wine_fn_config_makefile dlls/qasf/tests enable_tests
21715 wine_fn_config_makefile dlls/qcap enable_qcap
21716 wine_fn_config_makefile dlls/qcap/tests enable_tests
21717 wine_fn_config_makefile dlls/qdvd enable_qdvd
21718 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21719 wine_fn_config_makefile dlls/qedit enable_qedit
21720 wine_fn_config_makefile dlls/qedit/tests enable_tests
21721 wine_fn_config_makefile dlls/qmgr enable_qmgr
21722 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21723 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21724 wine_fn_config_makefile dlls/quartz enable_quartz
21725 wine_fn_config_makefile dlls/quartz/tests enable_tests
21726 wine_fn_config_makefile dlls/query enable_query
21727 wine_fn_config_makefile dlls/qwave enable_qwave
21728 wine_fn_config_makefile dlls/qwave/tests enable_tests
21729 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21730 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21731 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21732 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21733 wine_fn_config_makefile dlls/regapi enable_regapi
21734 wine_fn_config_makefile dlls/resutils enable_resutils
21735 wine_fn_config_makefile dlls/riched20 enable_riched20
21736 wine_fn_config_makefile dlls/riched20/tests enable_tests
21737 wine_fn_config_makefile dlls/riched32 enable_riched32
21738 wine_fn_config_makefile dlls/riched32/tests enable_tests
21739 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21740 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21741 wine_fn_config_makefile dlls/rsabase enable_rsabase
21742 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21743 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21744 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21745 wine_fn_config_makefile dlls/rtutils enable_rtutils
21746 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21747 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21748 wine_fn_config_makefile dlls/samlib enable_samlib
21749 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21750 wine_fn_config_makefile dlls/sapi enable_sapi
21751 wine_fn_config_makefile dlls/sapi/tests enable_tests
21752 wine_fn_config_makefile dlls/sas enable_sas
21753 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21754 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21755 wine_fn_config_makefile dlls/sccbase enable_sccbase
21756 wine_fn_config_makefile dlls/schannel enable_schannel
21757 wine_fn_config_makefile dlls/schannel/tests enable_tests
21758 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21759 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21760 wine_fn_config_makefile dlls/scrobj enable_scrobj
21761 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21762 wine_fn_config_makefile dlls/scrrun enable_scrrun
21763 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21764 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21765 wine_fn_config_makefile dlls/sechost enable_sechost
21766 wine_fn_config_makefile dlls/secur32 enable_secur32
21767 wine_fn_config_makefile dlls/secur32/tests enable_tests
21768 wine_fn_config_makefile dlls/security enable_security
21769 wine_fn_config_makefile dlls/sensapi enable_sensapi
21770 wine_fn_config_makefile dlls/serialui enable_serialui
21771 wine_fn_config_makefile dlls/serialui/tests enable_tests
21772 wine_fn_config_makefile dlls/setupapi enable_setupapi
21773 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21774 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21775 wine_fn_config_makefile dlls/sfc enable_sfc
21776 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21777 wine_fn_config_makefile dlls/shcore enable_shcore
21778 wine_fn_config_makefile dlls/shcore/tests enable_tests
21779 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21780 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21781 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21782 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21783 wine_fn_config_makefile dlls/shell32 enable_shell32
21784 wine_fn_config_makefile dlls/shell32/tests enable_tests
21785 wine_fn_config_makefile dlls/shfolder enable_shfolder
21786 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21787 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21788 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21789 wine_fn_config_makefile dlls/slc enable_slc
21790 wine_fn_config_makefile dlls/slc/tests enable_tests
21791 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21792 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21793 wine_fn_config_makefile dlls/softpub enable_softpub
21794 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21795 wine_fn_config_makefile dlls/spoolss enable_spoolss
21796 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21797 wine_fn_config_makefile dlls/sppc enable_sppc
21798 wine_fn_config_makefile dlls/srclient enable_srclient
21799 wine_fn_config_makefile dlls/srvcli enable_srvcli
21800 wine_fn_config_makefile dlls/sspicli enable_sspicli
21801 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21802 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21803 wine_fn_config_makefile dlls/sti enable_sti
21804 wine_fn_config_makefile dlls/sti/tests enable_tests
21805 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21806 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21807 wine_fn_config_makefile dlls/strmdll enable_strmdll
21808 wine_fn_config_makefile dlls/svrapi enable_svrapi
21809 wine_fn_config_makefile dlls/sxs enable_sxs
21810 wine_fn_config_makefile dlls/sxs/tests enable_tests
21811 wine_fn_config_makefile dlls/system.drv16 enable_win16
21812 wine_fn_config_makefile dlls/t2embed enable_t2embed
21813 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21814 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21815 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21816 wine_fn_config_makefile dlls/taskschd enable_taskschd
21817 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21818 wine_fn_config_makefile dlls/tbs enable_tbs
21819 wine_fn_config_makefile dlls/tdh enable_tdh
21820 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21821 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21822 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21823 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21824 wine_fn_config_makefile dlls/traffic enable_traffic
21825 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21826 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21827 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21828 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21829 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21830 wine_fn_config_makefile dlls/tzres enable_tzres
21831 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21832 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21833 wine_fn_config_makefile dlls/uianimation enable_uianimation
21834 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21835 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21836 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21837 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21838 wine_fn_config_makefile dlls/unicows enable_unicows
21839 wine_fn_config_makefile dlls/updspapi enable_updspapi
21840 wine_fn_config_makefile dlls/url enable_url
21841 wine_fn_config_makefile dlls/urlmon enable_urlmon
21842 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21843 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21844 wine_fn_config_makefile dlls/user.exe16 enable_win16
21845 wine_fn_config_makefile dlls/user32 enable_user32
21846 wine_fn_config_makefile dlls/user32/tests enable_tests
21847 wine_fn_config_makefile dlls/userenv enable_userenv
21848 wine_fn_config_makefile dlls/userenv/tests enable_tests
21849 wine_fn_config_makefile dlls/usp10 enable_usp10
21850 wine_fn_config_makefile dlls/usp10/tests enable_tests
21851 wine_fn_config_makefile dlls/utildll enable_utildll
21852 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21853 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21854 wine_fn_config_makefile dlls/vbscript enable_vbscript
21855 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21856 wine_fn_config_makefile dlls/vcomp enable_vcomp
21857 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21858 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21859 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21860 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21861 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21862 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21863 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21864 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21865 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21866 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21867 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21868 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21869 wine_fn_config_makefile dlls/version enable_version
21870 wine_fn_config_makefile dlls/version/tests enable_tests
21871 wine_fn_config_makefile dlls/vga enable_vga
21872 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21873 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21874 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21875 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21876 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21877 wine_fn_config_makefile dlls/vssapi enable_vssapi
21878 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21879 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21880 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21881 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21882 wine_fn_config_makefile dlls/w32skrnl enable_win16
21883 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21884 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21885 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21886 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21887 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21888 wine_fn_config_makefile dlls/wdscore enable_wdscore
21889 wine_fn_config_makefile dlls/webservices enable_webservices
21890 wine_fn_config_makefile dlls/webservices/tests enable_tests
21891 wine_fn_config_makefile dlls/websocket enable_websocket
21892 wine_fn_config_makefile dlls/wer enable_wer
21893 wine_fn_config_makefile dlls/wer/tests enable_tests
21894 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21895 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21896 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21897 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21898 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21899 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21900 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21901 wine_fn_config_makefile dlls/win32u enable_win32u
21902 wine_fn_config_makefile dlls/win32u/tests enable_tests
21903 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21904 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21905 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21906 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21907 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21908 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21909 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21910 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21911 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21912 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21913 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21914 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21915 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21916 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21917 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21918 wine_fn_config_makefile dlls/windows.media enable_windows_media
21919 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21920 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21921 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21922 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21923 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21924 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21925 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21926 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21927 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21928 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21929 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21930 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21931 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21932 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21933 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21934 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21935 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21936 wine_fn_config_makefile dlls/wined3d enable_wined3d
21937 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21938 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21939 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21940 wine_fn_config_makefile dlls/winemapi enable_winemapi
21941 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21942 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21943 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21944 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21945 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21946 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21947 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21948 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21949 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21950 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21951 wine_fn_config_makefile dlls/wing32 enable_wing32
21952 wine_fn_config_makefile dlls/winhttp enable_winhttp
21953 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21954 wine_fn_config_makefile dlls/wininet enable_wininet
21955 wine_fn_config_makefile dlls/wininet/tests enable_tests
21956 wine_fn_config_makefile dlls/winmm enable_winmm
21957 wine_fn_config_makefile dlls/winmm/tests enable_tests
21958 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21959 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21960 wine_fn_config_makefile dlls/winprint enable_winprint
21961 wine_fn_config_makefile dlls/winscard enable_winscard
21962 wine_fn_config_makefile dlls/winscard/tests enable_tests
21963 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21964 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21965 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21966 wine_fn_config_makefile dlls/winsta enable_winsta
21967 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21968 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21969 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21970 wine_fn_config_makefile dlls/wintrust enable_wintrust
21971 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21972 wine_fn_config_makefile dlls/wintypes enable_wintypes
21973 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21974 wine_fn_config_makefile dlls/winusb enable_winusb
21975 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21976 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21977 wine_fn_config_makefile dlls/wlanui enable_wlanui
21978 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21979 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21980 wine_fn_config_makefile dlls/wmasf enable_wmasf
21981 wine_fn_config_makefile dlls/wmi enable_wmi
21982 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21983 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21984 wine_fn_config_makefile dlls/wmp enable_wmp
21985 wine_fn_config_makefile dlls/wmp/tests enable_tests
21986 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21987 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21988 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21989 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21990 wine_fn_config_makefile dlls/wofutil enable_wofutil
21991 wine_fn_config_makefile dlls/wow32 enable_win16
21992 wine_fn_config_makefile dlls/wow64 enable_wow64
21993 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21994 wine_fn_config_makefile dlls/wow64win enable_wow64win
21995 wine_fn_config_makefile dlls/wpc enable_wpc
21996 wine_fn_config_makefile dlls/wpc/tests enable_tests
21997 wine_fn_config_makefile dlls/wpcap enable_wpcap
21998 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21999 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22000 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22001 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22002 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22003 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22004 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22005 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22006 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22007 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22008 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22009 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22010 wine_fn_config_makefile dlls/wuapi enable_wuapi
22011 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22012 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22013 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22014 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22015 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22016 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22017 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22018 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22019 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22020 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22021 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22022 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22023 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22024 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22025 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22026 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22027 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22028 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22029 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22030 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22031 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22032 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22033 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22034 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22035 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22036 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22037 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22038 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22039 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22040 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22041 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22042 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22043 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22044 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22045 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22046 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22047 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22048 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22049 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22050 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22051 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22052 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22053 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22054 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22055 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22056 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22057 wine_fn_config_makefile dlls/xmllite enable_xmllite
22058 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22059 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22060 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22061 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22062 wine_fn_config_makefile fonts enable_fonts
22063 wine_fn_config_makefile include enable_include
22064 wine_fn_config_makefile libs/adsiid enable_adsiid
22065 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22066 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22067 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22068 wine_fn_config_makefile libs/dxguid enable_dxguid
22069 wine_fn_config_makefile libs/faudio enable_faudio
22070 wine_fn_config_makefile libs/gsm enable_gsm
22071 wine_fn_config_makefile libs/jpeg enable_jpeg
22072 wine_fn_config_makefile libs/jxr enable_jxr
22073 wine_fn_config_makefile libs/lcms2 enable_lcms2
22074 wine_fn_config_makefile libs/ldap enable_ldap
22075 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22076 wine_fn_config_makefile libs/mpg123 enable_mpg123
22077 wine_fn_config_makefile libs/musl enable_musl
22078 wine_fn_config_makefile libs/png enable_png
22079 wine_fn_config_makefile libs/strmbase enable_strmbase
22080 wine_fn_config_makefile libs/strmiids enable_strmiids
22081 wine_fn_config_makefile libs/tiff enable_tiff
22082 wine_fn_config_makefile libs/uuid enable_uuid
22083 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22084 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22085 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22086 wine_fn_config_makefile libs/xml2 enable_xml2
22087 wine_fn_config_makefile libs/xslt enable_xslt
22088 wine_fn_config_makefile libs/zlib enable_zlib
22089 wine_fn_config_makefile libs/zydis enable_zydis
22090 wine_fn_config_makefile loader enable_loader
22091 wine_fn_config_makefile nls enable_nls
22092 wine_fn_config_makefile po enable_po
22093 wine_fn_config_makefile programs/arp enable_arp
22094 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22095 wine_fn_config_makefile programs/attrib enable_attrib
22096 wine_fn_config_makefile programs/cabarc enable_cabarc
22097 wine_fn_config_makefile programs/cacls enable_cacls
22098 wine_fn_config_makefile programs/certutil enable_certutil
22099 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22100 wine_fn_config_makefile programs/clock enable_clock
22101 wine_fn_config_makefile programs/cmd enable_cmd
22102 wine_fn_config_makefile programs/cmd/tests enable_tests
22103 wine_fn_config_makefile programs/conhost enable_conhost
22104 wine_fn_config_makefile programs/conhost/tests enable_tests
22105 wine_fn_config_makefile programs/control enable_control
22106 wine_fn_config_makefile programs/cscript enable_cscript
22107 wine_fn_config_makefile programs/dism enable_dism
22108 wine_fn_config_makefile programs/dllhost enable_dllhost
22109 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22110 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22111 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22112 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22113 wine_fn_config_makefile programs/eject enable_eject
22114 wine_fn_config_makefile programs/expand enable_expand
22115 wine_fn_config_makefile programs/explorer enable_explorer
22116 wine_fn_config_makefile programs/explorer/tests enable_tests
22117 wine_fn_config_makefile programs/extrac32 enable_extrac32
22118 wine_fn_config_makefile programs/fc enable_fc
22119 wine_fn_config_makefile programs/find enable_find
22120 wine_fn_config_makefile programs/find/tests enable_tests
22121 wine_fn_config_makefile programs/findstr enable_findstr
22122 wine_fn_config_makefile programs/findstr/tests enable_tests
22123 wine_fn_config_makefile programs/fsutil enable_fsutil
22124 wine_fn_config_makefile programs/fsutil/tests enable_tests
22125 wine_fn_config_makefile programs/hh enable_hh
22126 wine_fn_config_makefile programs/hostname enable_hostname
22127 wine_fn_config_makefile programs/icacls enable_icacls
22128 wine_fn_config_makefile programs/icinfo enable_icinfo
22129 wine_fn_config_makefile programs/iexplore enable_iexplore
22130 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22131 wine_fn_config_makefile programs/lodctr enable_lodctr
22132 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22133 wine_fn_config_makefile programs/mshta enable_mshta
22134 wine_fn_config_makefile programs/msidb enable_msidb
22135 wine_fn_config_makefile programs/msiexec enable_msiexec
22136 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22137 wine_fn_config_makefile programs/net enable_net
22138 wine_fn_config_makefile programs/netsh enable_netsh
22139 wine_fn_config_makefile programs/netstat enable_netstat
22140 wine_fn_config_makefile programs/ngen enable_ngen
22141 wine_fn_config_makefile programs/notepad enable_notepad
22142 wine_fn_config_makefile programs/oleview enable_oleview
22143 wine_fn_config_makefile programs/ping enable_ping
22144 wine_fn_config_makefile programs/plugplay enable_plugplay
22145 wine_fn_config_makefile programs/powershell enable_powershell
22146 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22147 wine_fn_config_makefile programs/progman enable_progman
22148 wine_fn_config_makefile programs/reg enable_reg
22149 wine_fn_config_makefile programs/reg/tests enable_tests
22150 wine_fn_config_makefile programs/regasm enable_regasm
22151 wine_fn_config_makefile programs/regedit enable_regedit
22152 wine_fn_config_makefile programs/regedit/tests enable_tests
22153 wine_fn_config_makefile programs/regini enable_regini
22154 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22155 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22156 wine_fn_config_makefile programs/robocopy enable_robocopy
22157 wine_fn_config_makefile programs/rpcss enable_rpcss
22158 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22159 wine_fn_config_makefile programs/rundll32 enable_rundll32
22160 wine_fn_config_makefile programs/sc enable_sc
22161 wine_fn_config_makefile programs/sc/tests enable_tests
22162 wine_fn_config_makefile programs/schtasks enable_schtasks
22163 wine_fn_config_makefile programs/schtasks/tests enable_tests
22164 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22165 wine_fn_config_makefile programs/secedit enable_secedit
22166 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22167 wine_fn_config_makefile programs/services enable_services
22168 wine_fn_config_makefile programs/services/tests enable_tests
22169 wine_fn_config_makefile programs/setx enable_setx
22170 wine_fn_config_makefile programs/shutdown enable_shutdown
22171 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22172 wine_fn_config_makefile programs/start enable_start
22173 wine_fn_config_makefile programs/subst enable_subst
22174 wine_fn_config_makefile programs/svchost enable_svchost
22175 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22176 wine_fn_config_makefile programs/taskkill enable_taskkill
22177 wine_fn_config_makefile programs/tasklist enable_tasklist
22178 wine_fn_config_makefile programs/tasklist/tests enable_tests
22179 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22180 wine_fn_config_makefile programs/termsv enable_termsv
22181 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22182 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22183 wine_fn_config_makefile programs/view enable_view
22184 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22185 wine_fn_config_makefile programs/where enable_where
22186 wine_fn_config_makefile programs/whoami enable_whoami
22187 wine_fn_config_makefile programs/wineboot enable_wineboot
22188 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22189 wine_fn_config_makefile programs/winecfg enable_winecfg
22190 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22191 wine_fn_config_makefile programs/winedbg enable_winedbg
22192 wine_fn_config_makefile programs/winedevice enable_winedevice
22193 wine_fn_config_makefile programs/winefile enable_winefile
22194 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22195 wine_fn_config_makefile programs/winemine enable_winemine
22196 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22197 wine_fn_config_makefile programs/winepath enable_winepath
22198 wine_fn_config_makefile programs/winetest enable_winetest
22199 wine_fn_config_makefile programs/winevdm enable_win16
22200 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22201 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22202 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22203 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22204 wine_fn_config_makefile programs/winver enable_winver
22205 wine_fn_config_makefile programs/wmic enable_wmic
22206 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22207 wine_fn_config_makefile programs/wordpad enable_wordpad
22208 wine_fn_config_makefile programs/write enable_write
22209 wine_fn_config_makefile programs/wscript enable_wscript
22210 wine_fn_config_makefile programs/wscript/tests enable_tests
22211 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22212 wine_fn_config_makefile programs/wusa enable_wusa
22213 wine_fn_config_makefile programs/xcopy enable_xcopy
22214 wine_fn_config_makefile programs/xcopy/tests enable_tests
22215 wine_fn_config_makefile server enable_server
22216 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22217 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22218 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22219 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22220 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22221 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22222 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22223 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22224 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22227 as_fn_append CONFIGURE_TARGETS " TAGS"
22228 as_fn_append CONFIGURE_TARGETS " tags"
22229 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22230 as_fn_append CONFIGURE_TARGETS " config.log"
22231 as_fn_append CONFIGURE_TARGETS " config.status"
22232 as_fn_append CONFIGURE_TARGETS " include/config.h"
22233 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22234 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22236 if test "x$enable_tools" != xno
22237 then
22238 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22239 ac_config_commands="$ac_config_commands tools/makedep"
22243 ac_config_commands="$ac_config_commands Makefile"
22247 SHELL=/bin/sh
22250 as_fn_append wine_rules "
22251 all: wine
22252 @echo \"Wine build complete.\"
22253 .INIT: Makefile
22254 .MAKEFILEDEPS:
22255 all: Makefile
22256 Makefile: config.status \$(MAKEDEP)
22257 @./config.status Makefile
22258 depend: \$(MAKEDEP)
22259 \$(MAKEDEP)$makedep_flags"
22262 as_fn_append wine_rules "
22263 config.status: ${wine_srcdir}configure
22264 @./config.status --recheck
22265 include/config.h: include/stamp-h
22266 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22267 @./config.status include/config.h include/stamp-h"
22269 if test "x$enable_maintainer_mode" = xyes
22270 then
22271 as_fn_append wine_rules "
22272 configure: configure.ac aclocal.m4
22273 autoconf --warnings=all
22274 include/config.h.in: include/stamp-h.in
22275 include/stamp-h.in: configure.ac aclocal.m4
22276 autoheader --warnings=all
22277 @echo timestamp > \$@"
22280 if test "x$enable_tools" != xno
22281 then
22282 as_fn_append wine_rules "
22283 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22284 @./config.status tools/makedep
22285 Makefile: tools/makedep$ac_exeext"
22286 else
22287 as_fn_append wine_rules "
22288 \$(MAKEDEP):
22289 @echo \"You need to run make in $toolsdir first\" && false"
22293 if test -n "$with_wine64"
22294 then
22295 case "$with_wine64" in
22296 /*) reldir="" ;;
22297 *) reldir="../" ;;
22298 esac
22299 rm -f fonts server 2>/dev/null
22300 as_fn_append wine_rules "
22301 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22302 loader/wine64 loader/wine64-preloader:
22303 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22304 $with_wine64/loader/wine:
22305 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22306 $with_wine64/loader/wine-preloader:
22307 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22308 clean::
22309 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22310 else
22311 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22312 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22313 fonts \
22314 loader/wine.inf \
22315 nls \
22316 programs/msidb/msidb \
22317 programs/msiexec/msiexec \
22318 programs/notepad/notepad \
22319 programs/regedit/regedit \
22320 programs/regsvr32/regsvr32 \
22321 programs/wineboot/wineboot \
22322 programs/winecfg/winecfg \
22323 programs/wineconsole/wineconsole \
22324 programs/winedbg/winedbg \
22325 programs/winefile/winefile \
22326 programs/winemine/winemine \
22327 programs/winepath/winepath \
22328 server/wineserver"
22330 case $host_os in
22331 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22332 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22333 esac
22337 as_fn_append wine_rules "
22338 distclean:: clean
22339 rm -rf autom4te.cache
22340 maintainer-clean::
22341 rm -f configure include/config.h.in"
22344 as_fn_append wine_rules "
22345 dlls/ntdll/unix/version.c: dummy
22346 @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)
22347 programs/winetest/build.rc: dummy
22348 @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)
22349 programs/winetest/build.nfo:
22350 @-\$(CC) -v 2>\$@
22351 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
22352 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22353 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22356 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22358 as_fn_append wine_rules "
22359 TAGS etags:
22360 rm -f TAGS
22361 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22362 tags ctags:
22363 rm -f tags
22364 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22365 dummy:
22366 .PHONY: depend dummy install-manpages"
22368 printf "%s\n" " done" >&6
22369 cat >confcache <<\_ACEOF
22370 # This file is a shell script that caches the results of configure
22371 # tests run on this system so they can be shared between configure
22372 # scripts and configure runs, see configure's option --config-cache.
22373 # It is not useful on other systems. If it contains results you don't
22374 # want to keep, you may remove or edit it.
22376 # config.status only pays attention to the cache file if you give it
22377 # the --recheck option to rerun configure.
22379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22381 # following values.
22383 _ACEOF
22385 # The following way of writing the cache mishandles newlines in values,
22386 # but we know of no workaround that is simple, portable, and efficient.
22387 # So, we kill variables containing newlines.
22388 # Ultrix sh set writes to stderr and can't be redirected directly,
22389 # and sets the high bit in the cache file unless we assign to the vars.
22391 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22392 eval ac_val=\$$ac_var
22393 case $ac_val in #(
22394 *${as_nl}*)
22395 case $ac_var in #(
22396 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22397 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22398 esac
22399 case $ac_var in #(
22400 _ | IFS | as_nl) ;; #(
22401 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22402 *) { eval $ac_var=; unset $ac_var;} ;;
22403 esac ;;
22404 esac
22405 done
22407 (set) 2>&1 |
22408 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22409 *${as_nl}ac_space=\ *)
22410 # `set' does not quote correctly, so add quotes: double-quote
22411 # substitution turns \\\\ into \\, and sed turns \\ into \.
22412 sed -n \
22413 "s/'/'\\\\''/g;
22414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22415 ;; #(
22417 # `set' quotes correctly as required by POSIX, so do not add quotes.
22418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22420 esac |
22421 sort
22423 sed '
22424 /^ac_cv_env_/b end
22425 t clear
22426 :clear
22427 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22428 t end
22429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22430 :end' >>confcache
22431 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22432 if test -w "$cache_file"; then
22433 if test "x$cache_file" != "x/dev/null"; then
22434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22435 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22436 if test ! -f "$cache_file" || test -h "$cache_file"; then
22437 cat confcache >"$cache_file"
22438 else
22439 case $cache_file in #(
22440 */* | ?:*)
22441 mv -f confcache "$cache_file"$$ &&
22442 mv -f "$cache_file"$$ "$cache_file" ;; #(
22444 mv -f confcache "$cache_file" ;;
22445 esac
22448 else
22449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22450 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22453 rm -f confcache
22455 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22456 # Let make expand exec_prefix.
22457 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22459 DEFS=-DHAVE_CONFIG_H
22461 ac_libobjs=
22462 ac_ltlibobjs=
22464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22465 # 1. Remove the extension, and $U if already installed.
22466 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22467 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22469 # will be set to the directory where LIBOBJS objects are built.
22470 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22471 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22472 done
22473 LIBOBJS=$ac_libobjs
22475 LTLIBOBJS=$ac_ltlibobjs
22479 : "${CONFIG_STATUS=./config.status}"
22480 ac_write_fail=0
22481 ac_clean_files_save=$ac_clean_files
22482 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22484 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22485 as_write_fail=0
22486 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22487 #! $SHELL
22488 # Generated by $as_me.
22489 # Run this file to recreate the current configuration.
22490 # Compiler output produced by configure, useful for debugging
22491 # configure, is in config.log if it exists.
22493 debug=false
22494 ac_cs_recheck=false
22495 ac_cs_silent=false
22497 SHELL=\${CONFIG_SHELL-$SHELL}
22498 export SHELL
22499 _ASEOF
22500 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22501 ## -------------------- ##
22502 ## M4sh Initialization. ##
22503 ## -------------------- ##
22505 # Be more Bourne compatible
22506 DUALCASE=1; export DUALCASE # for MKS sh
22507 as_nop=:
22508 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22509 then :
22510 emulate sh
22511 NULLCMD=:
22512 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22513 # is contrary to our usage. Disable this feature.
22514 alias -g '${1+"$@"}'='"$@"'
22515 setopt NO_GLOB_SUBST
22516 else $as_nop
22517 case `(set -o) 2>/dev/null` in #(
22518 *posix*) :
22519 set -o posix ;; #(
22520 *) :
22522 esac
22527 # Reset variables that may have inherited troublesome values from
22528 # the environment.
22530 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22531 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22532 # side effect of setting IFS to empty, thus disabling word splitting.)
22533 # Quoting is to prevent editors from complaining about space-tab.
22534 as_nl='
22536 export as_nl
22537 IFS=" "" $as_nl"
22539 PS1='$ '
22540 PS2='> '
22541 PS4='+ '
22543 # Ensure predictable behavior from utilities with locale-dependent output.
22544 LC_ALL=C
22545 export LC_ALL
22546 LANGUAGE=C
22547 export LANGUAGE
22549 # We cannot yet rely on "unset" to work, but we need these variables
22550 # to be unset--not just set to an empty or harmless value--now, to
22551 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22552 # also avoids known problems related to "unset" and subshell syntax
22553 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22554 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22555 do eval test \${$as_var+y} \
22556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22557 done
22559 # Ensure that fds 0, 1, and 2 are open.
22560 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22561 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22562 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22564 # The user is always right.
22565 if ${PATH_SEPARATOR+false} :; then
22566 PATH_SEPARATOR=:
22567 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22568 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22569 PATH_SEPARATOR=';'
22574 # Find who we are. Look in the path if we contain no directory separator.
22575 as_myself=
22576 case $0 in #((
22577 *[\\/]* ) as_myself=$0 ;;
22578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22579 for as_dir in $PATH
22581 IFS=$as_save_IFS
22582 case $as_dir in #(((
22583 '') as_dir=./ ;;
22584 */) ;;
22585 *) as_dir=$as_dir/ ;;
22586 esac
22587 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22588 done
22589 IFS=$as_save_IFS
22592 esac
22593 # We did not find ourselves, most probably we were run as `sh COMMAND'
22594 # in which case we are not to be found in the path.
22595 if test "x$as_myself" = x; then
22596 as_myself=$0
22598 if test ! -f "$as_myself"; then
22599 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22600 exit 1
22605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22606 # ----------------------------------------
22607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22609 # script with STATUS, using 1 if that was 0.
22610 as_fn_error ()
22612 as_status=$1; test $as_status -eq 0 && as_status=1
22613 if test "$4"; then
22614 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22617 printf "%s\n" "$as_me: error: $2" >&2
22618 as_fn_exit $as_status
22619 } # as_fn_error
22623 # as_fn_set_status STATUS
22624 # -----------------------
22625 # Set $? to STATUS, without forking.
22626 as_fn_set_status ()
22628 return $1
22629 } # as_fn_set_status
22631 # as_fn_exit STATUS
22632 # -----------------
22633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22634 as_fn_exit ()
22636 set +e
22637 as_fn_set_status $1
22638 exit $1
22639 } # as_fn_exit
22641 # as_fn_unset VAR
22642 # ---------------
22643 # Portably unset VAR.
22644 as_fn_unset ()
22646 { eval $1=; unset $1;}
22648 as_unset=as_fn_unset
22650 # as_fn_append VAR VALUE
22651 # ----------------------
22652 # Append the text in VALUE to the end of the definition contained in VAR. Take
22653 # advantage of any shell optimizations that allow amortized linear growth over
22654 # repeated appends, instead of the typical quadratic growth present in naive
22655 # implementations.
22656 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22657 then :
22658 eval 'as_fn_append ()
22660 eval $1+=\$2
22662 else $as_nop
22663 as_fn_append ()
22665 eval $1=\$$1\$2
22667 fi # as_fn_append
22669 # as_fn_arith ARG...
22670 # ------------------
22671 # Perform arithmetic evaluation on the ARGs, and store the result in the
22672 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22673 # must be portable across $(()) and expr.
22674 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22675 then :
22676 eval 'as_fn_arith ()
22678 as_val=$(( $* ))
22680 else $as_nop
22681 as_fn_arith ()
22683 as_val=`expr "$@" || test $? -eq 1`
22685 fi # as_fn_arith
22688 if expr a : '\(a\)' >/dev/null 2>&1 &&
22689 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22690 as_expr=expr
22691 else
22692 as_expr=false
22695 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22696 as_basename=basename
22697 else
22698 as_basename=false
22701 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22702 as_dirname=dirname
22703 else
22704 as_dirname=false
22707 as_me=`$as_basename -- "$0" ||
22708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22709 X"$0" : 'X\(//\)$' \| \
22710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22711 printf "%s\n" X/"$0" |
22712 sed '/^.*\/\([^/][^/]*\)\/*$/{
22713 s//\1/
22716 /^X\/\(\/\/\)$/{
22717 s//\1/
22720 /^X\/\(\/\).*/{
22721 s//\1/
22724 s/.*/./; q'`
22726 # Avoid depending upon Character Ranges.
22727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22730 as_cr_digits='0123456789'
22731 as_cr_alnum=$as_cr_Letters$as_cr_digits
22734 # Determine whether it's possible to make 'echo' print without a newline.
22735 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22736 # for compatibility with existing Makefiles.
22737 ECHO_C= ECHO_N= ECHO_T=
22738 case `echo -n x` in #(((((
22739 -n*)
22740 case `echo 'xy\c'` in
22741 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22742 xy) ECHO_C='\c';;
22743 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22744 ECHO_T=' ';;
22745 esac;;
22747 ECHO_N='-n';;
22748 esac
22750 # For backward compatibility with old third-party macros, we provide
22751 # the shell variables $as_echo and $as_echo_n. New code should use
22752 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22753 as_echo='printf %s\n'
22754 as_echo_n='printf %s'
22756 rm -f conf$$ conf$$.exe conf$$.file
22757 if test -d conf$$.dir; then
22758 rm -f conf$$.dir/conf$$.file
22759 else
22760 rm -f conf$$.dir
22761 mkdir conf$$.dir 2>/dev/null
22763 if (echo >conf$$.file) 2>/dev/null; then
22764 if ln -s conf$$.file conf$$ 2>/dev/null; then
22765 as_ln_s='ln -s'
22766 # ... but there are two gotchas:
22767 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22768 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22769 # In both cases, we have to default to `cp -pR'.
22770 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22771 as_ln_s='cp -pR'
22772 elif ln conf$$.file conf$$ 2>/dev/null; then
22773 as_ln_s=ln
22774 else
22775 as_ln_s='cp -pR'
22777 else
22778 as_ln_s='cp -pR'
22780 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22781 rmdir conf$$.dir 2>/dev/null
22784 # as_fn_mkdir_p
22785 # -------------
22786 # Create "$as_dir" as a directory, including parents if necessary.
22787 as_fn_mkdir_p ()
22790 case $as_dir in #(
22791 -*) as_dir=./$as_dir;;
22792 esac
22793 test -d "$as_dir" || eval $as_mkdir_p || {
22794 as_dirs=
22795 while :; do
22796 case $as_dir in #(
22797 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22798 *) as_qdir=$as_dir;;
22799 esac
22800 as_dirs="'$as_qdir' $as_dirs"
22801 as_dir=`$as_dirname -- "$as_dir" ||
22802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22803 X"$as_dir" : 'X\(//\)[^/]' \| \
22804 X"$as_dir" : 'X\(//\)$' \| \
22805 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22806 printf "%s\n" X"$as_dir" |
22807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22808 s//\1/
22811 /^X\(\/\/\)[^/].*/{
22812 s//\1/
22815 /^X\(\/\/\)$/{
22816 s//\1/
22819 /^X\(\/\).*/{
22820 s//\1/
22823 s/.*/./; q'`
22824 test -d "$as_dir" && break
22825 done
22826 test -z "$as_dirs" || eval "mkdir $as_dirs"
22827 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22830 } # as_fn_mkdir_p
22831 if mkdir -p . 2>/dev/null; then
22832 as_mkdir_p='mkdir -p "$as_dir"'
22833 else
22834 test -d ./-p && rmdir ./-p
22835 as_mkdir_p=false
22839 # as_fn_executable_p FILE
22840 # -----------------------
22841 # Test if FILE is an executable regular file.
22842 as_fn_executable_p ()
22844 test -f "$1" && test -x "$1"
22845 } # as_fn_executable_p
22846 as_test_x='test -x'
22847 as_executable_p=as_fn_executable_p
22849 # Sed expression to map a string onto a valid CPP name.
22850 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22852 # Sed expression to map a string onto a valid variable name.
22853 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22856 exec 6>&1
22857 ## ----------------------------------- ##
22858 ## Main body of $CONFIG_STATUS script. ##
22859 ## ----------------------------------- ##
22860 _ASEOF
22861 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22864 # Save the log message, to keep $0 and so on meaningful, and to
22865 # report actual input values of CONFIG_FILES etc. instead of their
22866 # values after options handling.
22867 ac_log="
22868 This file was extended by Wine $as_me 8.10, which was
22869 generated by GNU Autoconf 2.71. Invocation command line was
22871 CONFIG_FILES = $CONFIG_FILES
22872 CONFIG_HEADERS = $CONFIG_HEADERS
22873 CONFIG_LINKS = $CONFIG_LINKS
22874 CONFIG_COMMANDS = $CONFIG_COMMANDS
22875 $ $0 $@
22877 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22880 _ACEOF
22883 case $ac_config_headers in *"
22884 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22885 esac
22888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22889 # Files that config.status was made for.
22890 config_headers="$ac_config_headers"
22891 config_links="$ac_config_links"
22892 config_commands="$ac_config_commands"
22894 _ACEOF
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22897 ac_cs_usage="\
22898 \`$as_me' instantiates files and other configuration actions
22899 from templates according to the current configuration. Unless the files
22900 and actions are specified as TAGs, all are instantiated by default.
22902 Usage: $0 [OPTION]... [TAG]...
22904 -h, --help print this help, then exit
22905 -V, --version print version number and configuration settings, then exit
22906 --config print configuration, then exit
22907 -q, --quiet, --silent
22908 do not print progress messages
22909 -d, --debug don't remove temporary files
22910 --recheck update $as_me by reconfiguring in the same conditions
22911 --header=FILE[:TEMPLATE]
22912 instantiate the configuration header FILE
22914 Configuration headers:
22915 $config_headers
22917 Configuration links:
22918 $config_links
22920 Configuration commands:
22921 $config_commands
22923 Report bugs to <wine-devel@winehq.org>.
22924 Wine home page: <https://www.winehq.org>."
22926 _ACEOF
22927 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22928 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22930 ac_cs_config='$ac_cs_config_escaped'
22931 ac_cs_version="\\
22932 Wine config.status 8.10
22933 configured by $0, generated by GNU Autoconf 2.71,
22934 with options \\"\$ac_cs_config\\"
22936 Copyright (C) 2021 Free Software Foundation, Inc.
22937 This config.status script is free software; the Free Software Foundation
22938 gives unlimited permission to copy, distribute and modify it."
22940 ac_pwd='$ac_pwd'
22941 srcdir='$srcdir'
22942 test -n "\$AWK" || AWK=awk
22943 _ACEOF
22945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22946 # The default lists apply if the user does not specify any file.
22947 ac_need_defaults=:
22948 while test $# != 0
22950 case $1 in
22951 --*=?*)
22952 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22953 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22954 ac_shift=:
22956 --*=)
22957 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22958 ac_optarg=
22959 ac_shift=:
22962 ac_option=$1
22963 ac_optarg=$2
22964 ac_shift=shift
22966 esac
22968 case $ac_option in
22969 # Handling of the options.
22970 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22971 ac_cs_recheck=: ;;
22972 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22973 printf "%s\n" "$ac_cs_version"; exit ;;
22974 --config | --confi | --conf | --con | --co | --c )
22975 printf "%s\n" "$ac_cs_config"; exit ;;
22976 --debug | --debu | --deb | --de | --d | -d )
22977 debug=: ;;
22978 --header | --heade | --head | --hea )
22979 $ac_shift
22980 case $ac_optarg in
22981 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22982 esac
22983 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22984 ac_need_defaults=false;;
22985 --he | --h)
22986 # Conflict between --help and --header
22987 as_fn_error $? "ambiguous option: \`$1'
22988 Try \`$0 --help' for more information.";;
22989 --help | --hel | -h )
22990 printf "%s\n" "$ac_cs_usage"; exit ;;
22991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22992 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22993 ac_cs_silent=: ;;
22995 # This is an error.
22996 -*) as_fn_error $? "unrecognized option: \`$1'
22997 Try \`$0 --help' for more information." ;;
22999 *) as_fn_append ac_config_targets " $1"
23000 ac_need_defaults=false ;;
23002 esac
23003 shift
23004 done
23006 ac_configure_extra_args=
23008 if $ac_cs_silent; then
23009 exec 6>/dev/null
23010 ac_configure_extra_args="$ac_configure_extra_args --silent"
23013 _ACEOF
23014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23015 if \$ac_cs_recheck; then
23016 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23017 shift
23018 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23019 CONFIG_SHELL='$SHELL'
23020 export CONFIG_SHELL
23021 exec "\$@"
23024 _ACEOF
23025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23026 exec 5>>config.log
23028 echo
23029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23030 ## Running $as_me. ##
23031 _ASBOX
23032 printf "%s\n" "$ac_log"
23033 } >&5
23035 _ACEOF
23036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23038 # INIT-COMMANDS
23040 wine_fn_output_makedep ()
23042 as_dir=tools; as_fn_mkdir_p
23043 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23045 wine_fn_output_makefile ()
23047 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23048 # This Makefile understands the following targets:
23050 # all (default): build wine
23051 # clean: remove all intermediate files
23052 # distclean: also remove all files created by configure
23053 # test: run tests
23054 # testclean: clean test results to force running all tests again
23055 # install-lib: install libraries needed to run applications
23056 # install-dev: install development environment
23057 # install: install everything
23058 # uninstall: uninstall everything
23059 # ctags: create a tags file for vim and others.
23060 # etags: create a TAGS file for Emacs.
23062 SHELL = $SHELL
23063 PATH_SEPARATOR = $PATH_SEPARATOR
23064 PACKAGE_NAME = $PACKAGE_NAME
23065 PACKAGE_TARNAME = $PACKAGE_TARNAME
23066 PACKAGE_VERSION = $PACKAGE_VERSION
23067 PACKAGE_STRING = $PACKAGE_STRING
23068 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23069 PACKAGE_URL = $PACKAGE_URL
23070 exec_prefix = $exec_prefix
23071 prefix = $prefix
23072 program_transform_name = $program_transform_name
23073 bindir = $bindir
23074 sbindir = $sbindir
23075 libexecdir = $libexecdir
23076 datarootdir = $datarootdir
23077 datadir = $datadir
23078 sysconfdir = $sysconfdir
23079 sharedstatedir = $sharedstatedir
23080 localstatedir = $localstatedir
23081 runstatedir = $runstatedir
23082 includedir = $includedir
23083 oldincludedir = $oldincludedir
23084 docdir = $docdir
23085 infodir = $infodir
23086 htmldir = $htmldir
23087 dvidir = $dvidir
23088 pdfdir = $pdfdir
23089 psdir = $psdir
23090 libdir = $libdir
23091 localedir = $localedir
23092 mandir = $mandir
23093 DEFS = $DEFS
23094 ECHO_C = $ECHO_C
23095 ECHO_N = $ECHO_N
23096 ECHO_T = $ECHO_T
23097 LIBS = $LIBS
23098 build_alias = $build_alias
23099 host_alias = $host_alias
23100 target_alias = $target_alias
23101 system_dllpath = $system_dllpath
23102 build = $build
23103 build_cpu = $build_cpu
23104 build_vendor = $build_vendor
23105 build_os = $build_os
23106 host = $host
23107 host_cpu = $host_cpu
23108 host_vendor = $host_vendor
23109 host_os = $host_os
23110 dlldir = $dlldir
23111 fontdir = $fontdir
23112 nlsdir = $nlsdir
23113 srcdir = $srcdir
23114 SET_MAKE = $SET_MAKE
23115 CC = $CC
23116 CFLAGS = $CFLAGS
23117 LDFLAGS = $LDFLAGS
23118 CPPFLAGS = $CPPFLAGS
23119 ac_ct_CC = $ac_ct_CC
23120 EXEEXT = $EXEEXT
23121 OBJEXT = $OBJEXT
23122 CXX = $CXX
23123 CXXFLAGS = $CXXFLAGS
23124 ac_ct_CXX = $ac_ct_CXX
23125 CPPBIN = $CPPBIN
23126 LD = $LD
23127 TARGETFLAGS = $TARGETFLAGS
23128 toolsext = $toolsext
23129 HOST_ARCH = $HOST_ARCH
23130 aarch64_CC = $aarch64_CC
23131 aarch64_CFLAGS = $aarch64_CFLAGS
23132 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23133 aarch64_LDFLAGS = $aarch64_LDFLAGS
23134 aarch64_DEBUG = $aarch64_DEBUG
23135 aarch64_TARGET = $aarch64_TARGET
23136 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23137 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23138 arm_CC = $arm_CC
23139 arm_CFLAGS = $arm_CFLAGS
23140 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23141 arm_LDFLAGS = $arm_LDFLAGS
23142 arm_DEBUG = $arm_DEBUG
23143 arm_TARGET = $arm_TARGET
23144 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23145 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23146 i386_CC = $i386_CC
23147 i386_CFLAGS = $i386_CFLAGS
23148 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23149 i386_LDFLAGS = $i386_LDFLAGS
23150 i386_DEBUG = $i386_DEBUG
23151 i386_TARGET = $i386_TARGET
23152 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23153 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23154 x86_64_CC = $x86_64_CC
23155 x86_64_CFLAGS = $x86_64_CFLAGS
23156 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23157 x86_64_LDFLAGS = $x86_64_LDFLAGS
23158 x86_64_DEBUG = $x86_64_DEBUG
23159 x86_64_TARGET = $x86_64_TARGET
23160 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23161 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23162 toolsdir = $toolsdir
23163 MAKEDEP = $MAKEDEP
23164 RUNTESTFLAGS = $RUNTESTFLAGS
23165 SED_CMD = $SED_CMD
23166 FLEX = $FLEX
23167 BISON = $BISON
23168 AR = $AR
23169 ac_ct_AR = $ac_ct_AR
23170 STRIP = $STRIP
23171 RANLIB = $RANLIB
23172 LN_S = $LN_S
23173 GREP = $GREP
23174 EGREP = $EGREP
23175 LDCONFIG = $LDCONFIG
23176 MSGFMT = $MSGFMT
23177 PKG_CONFIG = $PKG_CONFIG
23178 FONTFORGE = $FONTFORGE
23179 RSVG = $RSVG
23180 CONVERT = $CONVERT
23181 ICOTOOL = $ICOTOOL
23182 I386_LIBS = $I386_LIBS
23183 OPENGL_LIBS = $OPENGL_LIBS
23184 DLLFLAGS = $DLLFLAGS
23185 LDDLLFLAGS = $LDDLLFLAGS
23186 LDEXECFLAGS = $LDEXECFLAGS
23187 EXTRACFLAGS = $EXTRACFLAGS
23188 UNIXDLLFLAGS = $UNIXDLLFLAGS
23189 UNIXLDFLAGS = $UNIXLDFLAGS
23190 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23191 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23192 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23193 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23194 DLLEXT = $DLLEXT
23195 LDD = $LDD
23196 OTOOL = $OTOOL
23197 READELF = $READELF
23198 SUBDIRS = $SUBDIRS
23199 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23200 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23201 CARBON_LIBS = $CARBON_LIBS
23202 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23203 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23204 IOKIT_LIBS = $IOKIT_LIBS
23205 METAL_LIBS = $METAL_LIBS
23206 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23207 CORESERVICES_LIBS = $CORESERVICES_LIBS
23208 APPKIT_LIBS = $APPKIT_LIBS
23209 SECURITY_LIBS = $SECURITY_LIBS
23210 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23211 COREAUDIO_LIBS = $COREAUDIO_LIBS
23212 OPENCL_LIBS = $OPENCL_LIBS
23213 OBJC = $OBJC
23214 OBJCFLAGS = $OBJCFLAGS
23215 ac_ct_OBJC = $ac_ct_OBJC
23216 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23217 PE_ARCHS = $PE_ARCHS
23218 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23219 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23220 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23221 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23222 GSM_PE_LIBS = $GSM_PE_LIBS
23223 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23224 JPEG_PE_LIBS = $JPEG_PE_LIBS
23225 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23226 JXR_PE_LIBS = $JXR_PE_LIBS
23227 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23228 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23229 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23230 LDAP_PE_LIBS = $LDAP_PE_LIBS
23231 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23232 MPG123_PE_LIBS = $MPG123_PE_LIBS
23233 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23234 MUSL_PE_LIBS = $MUSL_PE_LIBS
23235 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23236 PNG_PE_LIBS = $PNG_PE_LIBS
23237 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23238 TIFF_PE_LIBS = $TIFF_PE_LIBS
23239 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23240 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23241 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23242 XML2_PE_LIBS = $XML2_PE_LIBS
23243 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23244 XSLT_PE_LIBS = $XSLT_PE_LIBS
23245 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23246 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23247 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23248 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23249 PTHREAD_LIBS = $PTHREAD_LIBS
23250 XMKMF = $XMKMF
23251 CPP = $CPP
23252 X_CFLAGS = $X_CFLAGS
23253 X_PRE_LIBS = $X_PRE_LIBS
23254 X_LIBS = $X_LIBS
23255 X_EXTRA_LIBS = $X_EXTRA_LIBS
23256 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23257 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23258 WAYLAND_SCANNER = $WAYLAND_SCANNER
23259 PCAP_LIBS = $PCAP_LIBS
23260 PCSCLITE_LIBS = $PCSCLITE_LIBS
23261 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23262 INOTIFY_LIBS = $INOTIFY_LIBS
23263 DBUS_CFLAGS = $DBUS_CFLAGS
23264 DBUS_LIBS = $DBUS_LIBS
23265 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23266 GNUTLS_LIBS = $GNUTLS_LIBS
23267 SANE_CFLAGS = $SANE_CFLAGS
23268 SANE_LIBS = $SANE_LIBS
23269 USB_CFLAGS = $USB_CFLAGS
23270 USB_LIBS = $USB_LIBS
23271 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23272 GPHOTO2_LIBS = $GPHOTO2_LIBS
23273 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23274 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23275 RESOLV_LIBS = $RESOLV_LIBS
23276 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23277 FREETYPE_LIBS = $FREETYPE_LIBS
23278 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23279 PULSE_CFLAGS = $PULSE_CFLAGS
23280 PULSE_LIBS = $PULSE_LIBS
23281 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23282 GSTREAMER_LIBS = $GSTREAMER_LIBS
23283 ALSA_LIBS = $ALSA_LIBS
23284 OSS4_CFLAGS = $OSS4_CFLAGS
23285 OSS4_LIBS = $OSS4_LIBS
23286 UDEV_CFLAGS = $UDEV_CFLAGS
23287 UDEV_LIBS = $UDEV_LIBS
23288 UNWIND_CFLAGS = $UNWIND_CFLAGS
23289 UNWIND_LIBS = $UNWIND_LIBS
23290 SDL2_CFLAGS = $SDL2_CFLAGS
23291 SDL2_LIBS = $SDL2_LIBS
23292 CAPI20_CFLAGS = $CAPI20_CFLAGS
23293 CAPI20_LIBS = $CAPI20_LIBS
23294 CUPS_CFLAGS = $CUPS_CFLAGS
23295 CUPS_LIBS = $CUPS_LIBS
23296 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23297 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23298 KRB5_CFLAGS = $KRB5_CFLAGS
23299 KRB5_LIBS = $KRB5_LIBS
23300 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23301 GSSAPI_LIBS = $GSSAPI_LIBS
23302 PROCSTAT_LIBS = $PROCSTAT_LIBS
23303 NETAPI_CFLAGS = $NETAPI_CFLAGS
23304 NETAPI_LIBS = $NETAPI_LIBS
23305 MSVCRTFLAGS = $MSVCRTFLAGS
23306 DELAYLOADFLAG = $DELAYLOADFLAG
23307 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23308 RT_LIBS = $RT_LIBS
23309 TAGSFLAGS = $TAGSFLAGS
23310 LIBOBJS = $LIBOBJS
23311 LTLIBOBJS = $LTLIBOBJS
23312 $SET_MAKE
23313 $wine_rules
23314 _WINE_EOF
23315 as_fn_error $? "could not create Makefile" "$LINENO" 5
23318 _ACEOF
23320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23322 # Handling of arguments.
23323 for ac_config_target in $ac_config_targets
23325 case $ac_config_target in
23326 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23327 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23328 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23329 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23330 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23331 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23333 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23334 esac
23335 done
23338 # If the user did not use the arguments to specify the items to instantiate,
23339 # then the envvar interface is used. Set only those that are not.
23340 # We use the long form for the default assignment because of an extremely
23341 # bizarre bug on SunOS 4.1.3.
23342 if $ac_need_defaults; then
23343 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23344 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23345 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23348 # Have a temporary directory for convenience. Make it in the build tree
23349 # simply because there is no reason against having it here, and in addition,
23350 # creating and moving files from /tmp can sometimes cause problems.
23351 # Hook for its removal unless debugging.
23352 # Note that there is a small window in which the directory will not be cleaned:
23353 # after its creation but before its name has been assigned to `$tmp'.
23354 $debug ||
23356 tmp= ac_tmp=
23357 trap 'exit_status=$?
23358 : "${ac_tmp:=$tmp}"
23359 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23361 trap 'as_fn_exit 1' 1 2 13 15
23363 # Create a (secure) tmp directory for tmp files.
23366 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23367 test -d "$tmp"
23368 } ||
23370 tmp=./conf$$-$RANDOM
23371 (umask 077 && mkdir "$tmp")
23372 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23373 ac_tmp=$tmp
23375 # Set up the scripts for CONFIG_HEADERS section.
23376 # No need to generate them if there are no CONFIG_HEADERS.
23377 # This happens for instance with `./config.status Makefile'.
23378 if test -n "$CONFIG_HEADERS"; then
23379 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23380 BEGIN {
23381 _ACEOF
23383 # Transform confdefs.h into an awk script `defines.awk', embedded as
23384 # here-document in config.status, that substitutes the proper values into
23385 # config.h.in to produce config.h.
23387 # Create a delimiter string that does not exist in confdefs.h, to ease
23388 # handling of long lines.
23389 ac_delim='%!_!# '
23390 for ac_last_try in false false :; do
23391 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23392 if test -z "$ac_tt"; then
23393 break
23394 elif $ac_last_try; then
23395 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23396 else
23397 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23399 done
23401 # For the awk script, D is an array of macro values keyed by name,
23402 # likewise P contains macro parameters if any. Preserve backslash
23403 # newline sequences.
23405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23406 sed -n '
23407 s/.\{148\}/&'"$ac_delim"'/g
23408 t rset
23409 :rset
23410 s/^[ ]*#[ ]*define[ ][ ]*/ /
23411 t def
23413 :def
23414 s/\\$//
23415 t bsnl
23416 s/["\\]/\\&/g
23417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23418 D["\1"]=" \3"/p
23419 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23421 :bsnl
23422 s/["\\]/\\&/g
23423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23424 D["\1"]=" \3\\\\\\n"\\/p
23425 t cont
23426 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23427 t cont
23429 :cont
23431 s/.\{148\}/&'"$ac_delim"'/g
23432 t clear
23433 :clear
23434 s/\\$//
23435 t bsnlc
23436 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23438 :bsnlc
23439 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23440 b cont
23441 ' <confdefs.h | sed '
23442 s/'"$ac_delim"'/"\\\
23443 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23446 for (key in D) D_is_set[key] = 1
23447 FS = "\a"
23449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23450 line = \$ 0
23451 split(line, arg, " ")
23452 if (arg[1] == "#") {
23453 defundef = arg[2]
23454 mac1 = arg[3]
23455 } else {
23456 defundef = substr(arg[1], 2)
23457 mac1 = arg[2]
23459 split(mac1, mac2, "(") #)
23460 macro = mac2[1]
23461 prefix = substr(line, 1, index(line, defundef) - 1)
23462 if (D_is_set[macro]) {
23463 # Preserve the white space surrounding the "#".
23464 print prefix "define", macro P[macro] D[macro]
23465 next
23466 } else {
23467 # Replace #undef with comments. This is necessary, for example,
23468 # in the case of _POSIX_SOURCE, which is predefined and required
23469 # on some systems where configure will not decide to define it.
23470 if (defundef == "undef") {
23471 print "/*", prefix defundef, macro, "*/"
23472 next
23476 { print }
23477 _ACAWK
23478 _ACEOF
23479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23480 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23481 fi # test -n "$CONFIG_HEADERS"
23484 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23485 shift
23486 for ac_tag
23488 case $ac_tag in
23489 :[FHLC]) ac_mode=$ac_tag; continue;;
23490 esac
23491 case $ac_mode$ac_tag in
23492 :[FHL]*:*);;
23493 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23494 :[FH]-) ac_tag=-:-;;
23495 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23496 esac
23497 ac_save_IFS=$IFS
23498 IFS=:
23499 set x $ac_tag
23500 IFS=$ac_save_IFS
23501 shift
23502 ac_file=$1
23503 shift
23505 case $ac_mode in
23506 :L) ac_source=$1;;
23507 :[FH])
23508 ac_file_inputs=
23509 for ac_f
23511 case $ac_f in
23512 -) ac_f="$ac_tmp/stdin";;
23513 *) # Look for the file first in the build tree, then in the source tree
23514 # (if the path is not absolute). The absolute path cannot be DOS-style,
23515 # because $ac_f cannot contain `:'.
23516 test -f "$ac_f" ||
23517 case $ac_f in
23518 [\\/$]*) false;;
23519 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23520 esac ||
23521 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23522 esac
23523 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23524 as_fn_append ac_file_inputs " '$ac_f'"
23525 done
23527 # Let's still pretend it is `configure' which instantiates (i.e., don't
23528 # use $as_me), people would be surprised to read:
23529 # /* config.h. Generated by config.status. */
23530 configure_input='Generated from '`
23531 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23532 `' by configure.'
23533 if test x"$ac_file" != x-; then
23534 configure_input="$ac_file. $configure_input"
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23536 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23538 # Neutralize special characters interpreted by sed in replacement strings.
23539 case $configure_input in #(
23540 *\&* | *\|* | *\\* )
23541 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23542 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23543 *) ac_sed_conf_input=$configure_input;;
23544 esac
23546 case $ac_tag in
23547 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23549 esac
23551 esac
23553 ac_dir=`$as_dirname -- "$ac_file" ||
23554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23555 X"$ac_file" : 'X\(//\)[^/]' \| \
23556 X"$ac_file" : 'X\(//\)$' \| \
23557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23558 printf "%s\n" X"$ac_file" |
23559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23560 s//\1/
23563 /^X\(\/\/\)[^/].*/{
23564 s//\1/
23567 /^X\(\/\/\)$/{
23568 s//\1/
23571 /^X\(\/\).*/{
23572 s//\1/
23575 s/.*/./; q'`
23576 as_dir="$ac_dir"; as_fn_mkdir_p
23577 ac_builddir=.
23579 case "$ac_dir" in
23580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23582 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23583 # A ".." for each directory in $ac_dir_suffix.
23584 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23585 case $ac_top_builddir_sub in
23586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23588 esac ;;
23589 esac
23590 ac_abs_top_builddir=$ac_pwd
23591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23592 # for backward compatibility:
23593 ac_top_builddir=$ac_top_build_prefix
23595 case $srcdir in
23596 .) # We are building in place.
23597 ac_srcdir=.
23598 ac_top_srcdir=$ac_top_builddir_sub
23599 ac_abs_top_srcdir=$ac_pwd ;;
23600 [\\/]* | ?:[\\/]* ) # Absolute name.
23601 ac_srcdir=$srcdir$ac_dir_suffix;
23602 ac_top_srcdir=$srcdir
23603 ac_abs_top_srcdir=$srcdir ;;
23604 *) # Relative name.
23605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23606 ac_top_srcdir=$ac_top_build_prefix$srcdir
23607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23608 esac
23609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23612 case $ac_mode in
23616 # CONFIG_HEADER
23618 if test x"$ac_file" != x-; then
23620 printf "%s\n" "/* $configure_input */" >&1 \
23621 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23622 } >"$ac_tmp/config.h" \
23623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23624 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23626 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23627 else
23628 rm -f "$ac_file"
23629 mv "$ac_tmp/config.h" "$ac_file" \
23630 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23632 else
23633 printf "%s\n" "/* $configure_input */" >&1 \
23634 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23635 || as_fn_error $? "could not create -" "$LINENO" 5
23640 # CONFIG_LINK
23643 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23645 else
23646 # Prefer the file from the source tree if names are identical.
23647 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23648 ac_source=$srcdir/$ac_source
23651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23652 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23654 if test ! -r "$ac_source"; then
23655 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23657 rm -f "$ac_file"
23659 # Try a relative symlink, then a hard link, then a copy.
23660 case $ac_source in
23661 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23662 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23663 esac
23664 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23665 ln "$ac_source" "$ac_file" 2>/dev/null ||
23666 cp -p "$ac_source" "$ac_file" ||
23667 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23670 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23671 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23673 esac
23676 case $ac_file$ac_mode in
23677 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23678 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23679 "Makefile":C) wine_fn_output_makefile Makefile ;;
23681 esac
23682 done # for ac_tag
23685 as_fn_exit 0
23686 _ACEOF
23687 ac_clean_files=$ac_clean_files_save
23689 test $ac_write_fail = 0 ||
23690 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23693 # configure is writing to config.log, and then calls config.status.
23694 # config.status does its own redirection, appending to config.log.
23695 # Unfortunately, on DOS this fails, as config.log is still kept open
23696 # by configure, so config.status won't be able to write to it; its
23697 # output is simply discarded. So we exec the FD to /dev/null,
23698 # effectively closing config.log, so it can be properly (re)opened and
23699 # appended to by config.status. When coming back to configure, we
23700 # need to make the FD available again.
23701 if test "$no_create" != yes; then
23702 ac_cs_success=:
23703 ac_config_status_args=
23704 test "$silent" = yes &&
23705 ac_config_status_args="$ac_config_status_args --quiet"
23706 exec 5>/dev/null
23707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23708 exec 5>>config.log
23709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23710 # would make configure fail if this is the last instruction.
23711 $ac_cs_success || as_fn_exit 1
23713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23715 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23719 if test "$no_create" = "yes"
23720 then
23721 exit 0
23724 ac_save_IFS="$IFS"
23725 if test "x$wine_notices" != x; then
23726 echo >&6
23727 IFS="|"
23728 for msg in $wine_notices; do
23729 IFS="$ac_save_IFS"
23730 if ${msg:+false} :
23731 then :
23733 else $as_nop
23734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23735 printf "%s\n" "$as_me: $msg" >&6;}
23737 done
23739 IFS="|"
23740 for msg in $wine_warnings; do
23741 IFS="$ac_save_IFS"
23742 if ${msg:+false} :
23743 then :
23745 else $as_nop
23746 echo >&2
23747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23748 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23750 done
23751 IFS="$ac_save_IFS"
23753 printf "%s\n" "
23754 $as_me: Finished. Do '${ac_make}' to compile Wine.
23755 " >&6