winealsa: Implement functions to lock and unlock sessions.
[wine.git] / configure
blob86d4e00fa0f6f899a0200e836581b9f140c10b28
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.6'
615 PACKAGE_STRING='Wine 8.6'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 WINEPRELOADER_LDFLAGS
770 WINELOADER_LDFLAGS
771 TOP_INSTALL_DEV
772 TOP_INSTALL_LIB
773 UNIXLDFLAGS
774 UNIXDLLFLAGS
775 EXTRACFLAGS
776 LDEXECFLAGS
777 LDDLLFLAGS
778 DLLFLAGS
779 OPENGL_LIBS
780 I386_LIBS
781 ICOTOOL
782 CONVERT
783 RSVG
784 FONTFORGE
785 PKG_CONFIG
786 MSGFMT
787 LDCONFIG
788 EGREP
789 GREP
790 LN_S
791 RANLIB
792 STRIP
793 ac_ct_AR
795 BISON
796 FLEX
797 SED_CMD
798 RUNTESTFLAGS
799 MAKEDEP
800 toolsdir
801 x86_64_DISABLED_SUBDIRS
802 x86_64_DELAYLOADFLAG
803 x86_64_TARGET
804 x86_64_DEBUG
805 x86_64_LDFLAGS
806 x86_64_EXTRACFLAGS
807 x86_64_CFLAGS
808 x86_64_CC
809 i386_DISABLED_SUBDIRS
810 i386_DELAYLOADFLAG
811 i386_TARGET
812 i386_DEBUG
813 i386_LDFLAGS
814 i386_EXTRACFLAGS
815 i386_CFLAGS
816 i386_CC
817 arm_DISABLED_SUBDIRS
818 arm_DELAYLOADFLAG
819 arm_TARGET
820 arm_DEBUG
821 arm_LDFLAGS
822 arm_EXTRACFLAGS
823 arm_CFLAGS
824 arm_CC
825 aarch64_DISABLED_SUBDIRS
826 aarch64_DELAYLOADFLAG
827 aarch64_TARGET
828 aarch64_DEBUG
829 aarch64_LDFLAGS
830 aarch64_EXTRACFLAGS
831 aarch64_CFLAGS
832 aarch64_CC
833 HOST_ARCH
834 toolsext
835 TARGETFLAGS
837 CPPBIN
838 ac_ct_CXX
839 CXXFLAGS
841 OBJEXT
842 EXEEXT
843 ac_ct_CC
844 CPPFLAGS
845 LDFLAGS
846 CFLAGS
848 SET_MAKE
849 srcdir
850 nlsdir
851 fontdir
852 dlldir
853 host_os
854 host_vendor
855 host_cpu
856 host
857 build_os
858 build_vendor
859 build_cpu
860 build
861 system_dllpath
862 target_alias
863 host_alias
864 build_alias
865 LIBS
866 ECHO_T
867 ECHO_N
868 ECHO_C
869 DEFS
870 mandir
871 localedir
872 libdir
873 psdir
874 pdfdir
875 dvidir
876 htmldir
877 infodir
878 docdir
879 oldincludedir
880 includedir
881 runstatedir
882 localstatedir
883 sharedstatedir
884 sysconfdir
885 datadir
886 datarootdir
887 libexecdir
888 sbindir
889 bindir
890 program_transform_name
891 prefix
892 exec_prefix
893 PACKAGE_URL
894 PACKAGE_BUGREPORT
895 PACKAGE_STRING
896 PACKAGE_VERSION
897 PACKAGE_TARNAME
898 PACKAGE_NAME
899 PATH_SEPARATOR
900 SHELL'
901 ac_subst_files=''
902 ac_user_opts='
903 enable_option_checking
904 enable_archs
905 enable_win16
906 enable_win64
907 enable_tests
908 enable_build_id
909 enable_maintainer_mode
910 enable_silent_rules
911 enable_werror
912 with_alsa
913 with_capi
914 with_coreaudio
915 with_cups
916 with_dbus
917 with_float_abi
918 with_fontconfig
919 with_freetype
920 with_gettext
921 with_gettextpo
922 with_gphoto
923 with_gnutls
924 with_gssapi
925 with_gstreamer
926 with_inotify
927 with_krb5
928 with_mingw
929 with_netapi
930 with_opencl
931 with_opengl
932 with_osmesa
933 with_oss
934 with_pcap
935 with_pcsclite
936 with_pthread
937 with_pulse
938 with_sane
939 with_sdl
940 with_udev
941 with_unwind
942 with_usb
943 with_v4l2
944 with_vulkan
945 with_wayland
946 with_xcomposite
947 with_xcursor
948 with_xfixes
949 with_xinerama
950 with_xinput
951 with_xinput2
952 with_xrandr
953 with_xrender
954 with_xshape
955 with_xshm
956 with_xxf86vm
957 with_system_dllpath
958 with_wine_tools
959 with_wine64
960 enable_largefile
961 with_x
962 enable_acledit
963 enable_aclui
964 enable_activeds_tlb
965 enable_activeds
966 enable_actxprxy
967 enable_adsldp
968 enable_adsldpc
969 enable_advapi32
970 enable_advpack
971 enable_amsi
972 enable_amstream
973 enable_apisetschema
974 enable_apphelp
975 enable_appwiz_cpl
976 enable_atl
977 enable_atl100
978 enable_atl110
979 enable_atl80
980 enable_atl90
981 enable_atlthunk
982 enable_atmlib
983 enable_authz
984 enable_avicap32
985 enable_avifil32
986 enable_avrt
987 enable_bcrypt
988 enable_bluetoothapis
989 enable_browseui
990 enable_bthprops_cpl
991 enable_cabinet
992 enable_capi2032
993 enable_cards
994 enable_cdosys
995 enable_cfgmgr32
996 enable_clusapi
997 enable_cng_sys
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_concrt140
1005 enable_connect
1006 enable_credui
1007 enable_crtdll
1008 enable_crypt32
1009 enable_cryptdlg
1010 enable_cryptdll
1011 enable_cryptext
1012 enable_cryptnet
1013 enable_cryptowinrt
1014 enable_cryptsp
1015 enable_cryptui
1016 enable_ctapi32
1017 enable_ctl3d32
1018 enable_d2d1
1019 enable_d3d10
1020 enable_d3d10_1
1021 enable_d3d10core
1022 enable_d3d11
1023 enable_d3d12
1024 enable_d3d12core
1025 enable_d3d8
1026 enable_d3d8thk
1027 enable_d3d9
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1041 enable_d3dim
1042 enable_d3dim700
1043 enable_d3drm
1044 enable_d3dx10_33
1045 enable_d3dx10_34
1046 enable_d3dx10_35
1047 enable_d3dx10_36
1048 enable_d3dx10_37
1049 enable_d3dx10_38
1050 enable_d3dx10_39
1051 enable_d3dx10_40
1052 enable_d3dx10_41
1053 enable_d3dx10_42
1054 enable_d3dx10_43
1055 enable_d3dx11_42
1056 enable_d3dx11_43
1057 enable_d3dx9_24
1058 enable_d3dx9_25
1059 enable_d3dx9_26
1060 enable_d3dx9_27
1061 enable_d3dx9_28
1062 enable_d3dx9_29
1063 enable_d3dx9_30
1064 enable_d3dx9_31
1065 enable_d3dx9_32
1066 enable_d3dx9_33
1067 enable_d3dx9_34
1068 enable_d3dx9_35
1069 enable_d3dx9_36
1070 enable_d3dx9_37
1071 enable_d3dx9_38
1072 enable_d3dx9_39
1073 enable_d3dx9_40
1074 enable_d3dx9_41
1075 enable_d3dx9_42
1076 enable_d3dx9_43
1077 enable_d3dxof
1078 enable_davclnt
1079 enable_dbgeng
1080 enable_dbghelp
1081 enable_dciman32
1082 enable_dcomp
1083 enable_ddraw
1084 enable_ddrawex
1085 enable_devenum
1086 enable_dhcpcsvc
1087 enable_dhcpcsvc6
1088 enable_dhtmled_ocx
1089 enable_diasymreader
1090 enable_difxapi
1091 enable_dinput
1092 enable_dinput8
1093 enable_directmanipulation
1094 enable_dispex
1095 enable_dmband
1096 enable_dmcompos
1097 enable_dmime
1098 enable_dmloader
1099 enable_dmscript
1100 enable_dmstyle
1101 enable_dmsynth
1102 enable_dmusic
1103 enable_dmusic32
1104 enable_dnsapi
1105 enable_dplay
1106 enable_dplayx
1107 enable_dpnaddr
1108 enable_dpnet
1109 enable_dpnhpast
1110 enable_dpnhupnp
1111 enable_dpnlobby
1112 enable_dpvoice
1113 enable_dpwsockx
1114 enable_drmclien
1115 enable_dsdmo
1116 enable_dsound
1117 enable_dsquery
1118 enable_dssenh
1119 enable_dsuiext
1120 enable_dswave
1121 enable_dwmapi
1122 enable_dwrite
1123 enable_dx8vb
1124 enable_dxdiagn
1125 enable_dxgi
1126 enable_dxtrans
1127 enable_dxva2
1128 enable_esent
1129 enable_evr
1130 enable_explorerframe
1131 enable_faultrep
1132 enable_feclient
1133 enable_fltlib
1134 enable_fltmgr_sys
1135 enable_fntcache
1136 enable_fontsub
1137 enable_fusion
1138 enable_fwpuclnt
1139 enable_gameux
1140 enable_gamingtcui
1141 enable_gdi32
1142 enable_gdiplus
1143 enable_glu32
1144 enable_gphoto2_ds
1145 enable_gpkcsp
1146 enable_graphicscapture
1147 enable_hal
1148 enable_hhctrl_ocx
1149 enable_hid
1150 enable_hidclass_sys
1151 enable_hidparse_sys
1152 enable_hlink
1153 enable_hnetcfg
1154 enable_http_sys
1155 enable_httpapi
1156 enable_ia2comproxy
1157 enable_iccvid
1158 enable_icmp
1159 enable_ieframe
1160 enable_ieproxy
1161 enable_imaadp32_acm
1162 enable_imagehlp
1163 enable_imm32
1164 enable_inetcomm
1165 enable_inetcpl_cpl
1166 enable_inetmib1
1167 enable_infosoft
1168 enable_initpki
1169 enable_inkobj
1170 enable_inseng
1171 enable_iphlpapi
1172 enable_iprop
1173 enable_ir50_32
1174 enable_irprops_cpl
1175 enable_itircl
1176 enable_itss
1177 enable_joy_cpl
1178 enable_jscript
1179 enable_jsproxy
1180 enable_kerberos
1181 enable_kernel32
1182 enable_kernelbase
1183 enable_ksecdd_sys
1184 enable_ksproxy_ax
1185 enable_ksuser
1186 enable_ktmw32
1187 enable_l3codeca_acm
1188 enable_light_msstyles
1189 enable_loadperf
1190 enable_localspl
1191 enable_localui
1192 enable_lz32
1193 enable_mapi32
1194 enable_mapistub
1195 enable_mciavi32
1196 enable_mcicda
1197 enable_mciqtz32
1198 enable_mciseq
1199 enable_mciwave
1200 enable_mf
1201 enable_mf3216
1202 enable_mferror
1203 enable_mfmediaengine
1204 enable_mfplat
1205 enable_mfplay
1206 enable_mfreadwrite
1207 enable_mfsrcsnk
1208 enable_mgmtapi
1209 enable_midimap
1210 enable_mlang
1211 enable_mmcndmgr
1212 enable_mmdevapi
1213 enable_mountmgr_sys
1214 enable_mp3dmod
1215 enable_mpr
1216 enable_mprapi
1217 enable_msacm32_drv
1218 enable_msacm32
1219 enable_msado15
1220 enable_msadp32_acm
1221 enable_msasn1
1222 enable_msauddecmft
1223 enable_mscat32
1224 enable_mscms
1225 enable_mscoree
1226 enable_mscorwks
1227 enable_msctf
1228 enable_msctfmonitor
1229 enable_msctfp
1230 enable_msdaps
1231 enable_msdasql
1232 enable_msdelta
1233 enable_msdmo
1234 enable_msdrm
1235 enable_msftedit
1236 enable_msg711_acm
1237 enable_msgsm32_acm
1238 enable_mshtml_tlb
1239 enable_mshtml
1240 enable_msi
1241 enable_msident
1242 enable_msimg32
1243 enable_msimsg
1244 enable_msimtf
1245 enable_msisip
1246 enable_msisys_ocx
1247 enable_msls31
1248 enable_msmpeg2vdec
1249 enable_msnet32
1250 enable_mspatcha
1251 enable_msports
1252 enable_msrle32
1253 enable_msscript_ocx
1254 enable_mssign32
1255 enable_mssip32
1256 enable_mstask
1257 enable_msv1_0
1258 enable_msvcirt
1259 enable_msvcm80
1260 enable_msvcm90
1261 enable_msvcp100
1262 enable_msvcp110
1263 enable_msvcp120
1264 enable_msvcp120_app
1265 enable_msvcp140
1266 enable_msvcp140_1
1267 enable_msvcp140_2
1268 enable_msvcp140_atomic_wait
1269 enable_msvcp60
1270 enable_msvcp70
1271 enable_msvcp71
1272 enable_msvcp80
1273 enable_msvcp90
1274 enable_msvcp_win
1275 enable_msvcr100
1276 enable_msvcr110
1277 enable_msvcr120
1278 enable_msvcr120_app
1279 enable_msvcr70
1280 enable_msvcr71
1281 enable_msvcr80
1282 enable_msvcr90
1283 enable_msvcrt
1284 enable_msvcrt20
1285 enable_msvcrt40
1286 enable_msvcrtd
1287 enable_msvfw32
1288 enable_msvidc32
1289 enable_mswsock
1290 enable_msxml
1291 enable_msxml2
1292 enable_msxml3
1293 enable_msxml4
1294 enable_msxml6
1295 enable_mtxdm
1296 enable_ncrypt
1297 enable_nddeapi
1298 enable_ndis_sys
1299 enable_netapi32
1300 enable_netcfgx
1301 enable_netio_sys
1302 enable_netprofm
1303 enable_netutils
1304 enable_newdev
1305 enable_ninput
1306 enable_normaliz
1307 enable_npmshtml
1308 enable_npptools
1309 enable_nsi
1310 enable_nsiproxy_sys
1311 enable_ntdll
1312 enable_ntdsapi
1313 enable_ntoskrnl_exe
1314 enable_ntprint
1315 enable_objsel
1316 enable_odbc32
1317 enable_odbcbcp
1318 enable_odbccp32
1319 enable_odbccu32
1320 enable_ole32
1321 enable_oleacc
1322 enable_oleaut32
1323 enable_olecli32
1324 enable_oledb32
1325 enable_oledlg
1326 enable_olepro32
1327 enable_olesvr32
1328 enable_olethk32
1329 enable_opcservices
1330 enable_opencl
1331 enable_opengl32
1332 enable_packager
1333 enable_pdh
1334 enable_photometadatahandler
1335 enable_pidgen
1336 enable_powrprof
1337 enable_printui
1338 enable_prntvpt
1339 enable_propsys
1340 enable_psapi
1341 enable_pstorec
1342 enable_pwrshplugin
1343 enable_qasf
1344 enable_qcap
1345 enable_qdvd
1346 enable_qedit
1347 enable_qmgr
1348 enable_qmgrprxy
1349 enable_quartz
1350 enable_query
1351 enable_qwave
1352 enable_rasapi32
1353 enable_rasdlg
1354 enable_regapi
1355 enable_resutils
1356 enable_riched20
1357 enable_riched32
1358 enable_rpcrt4
1359 enable_rsabase
1360 enable_rsaenh
1361 enable_rstrtmgr
1362 enable_rtutils
1363 enable_rtworkq
1364 enable_samlib
1365 enable_sane_ds
1366 enable_sapi
1367 enable_sas
1368 enable_scarddlg
1369 enable_scardsvr
1370 enable_sccbase
1371 enable_schannel
1372 enable_schedsvc
1373 enable_scrobj
1374 enable_scrrun
1375 enable_scsiport_sys
1376 enable_sechost
1377 enable_secur32
1378 enable_security
1379 enable_sensapi
1380 enable_serialui
1381 enable_setupapi
1382 enable_sfc
1383 enable_sfc_os
1384 enable_shcore
1385 enable_shdoclc
1386 enable_shdocvw
1387 enable_shell32
1388 enable_shfolder
1389 enable_shlwapi
1390 enable_slbcsp
1391 enable_slc
1392 enable_snmpapi
1393 enable_softpub
1394 enable_spoolss
1395 enable_sppc
1396 enable_srclient
1397 enable_srvcli
1398 enable_sspicli
1399 enable_stdole2_tlb
1400 enable_stdole32_tlb
1401 enable_sti
1402 enable_strmdll
1403 enable_svrapi
1404 enable_sxs
1405 enable_t2embed
1406 enable_tapi32
1407 enable_taskschd
1408 enable_tbs
1409 enable_tdh
1410 enable_tdi_sys
1411 enable_threadpoolwinrt
1412 enable_traffic
1413 enable_twain_32
1414 enable_tzres
1415 enable_ucrtbase
1416 enable_uianimation
1417 enable_uiautomationcore
1418 enable_uiribbon
1419 enable_unicows
1420 enable_updspapi
1421 enable_url
1422 enable_urlmon
1423 enable_usbd_sys
1424 enable_user32
1425 enable_userenv
1426 enable_usp10
1427 enable_utildll
1428 enable_uxtheme
1429 enable_vbscript
1430 enable_vcomp
1431 enable_vcomp100
1432 enable_vcomp110
1433 enable_vcomp120
1434 enable_vcomp140
1435 enable_vcomp90
1436 enable_vcruntime140
1437 enable_vcruntime140_1
1438 enable_vdmdbg
1439 enable_version
1440 enable_vga
1441 enable_virtdisk
1442 enable_vssapi
1443 enable_vulkan_1
1444 enable_wbemdisp
1445 enable_wbemprox
1446 enable_wdscore
1447 enable_webservices
1448 enable_websocket
1449 enable_wer
1450 enable_wevtapi
1451 enable_wevtsvc
1452 enable_wiaservc
1453 enable_wimgapi
1454 enable_win32u
1455 enable_windows_devices_enumeration
1456 enable_windows_gaming_input
1457 enable_windows_gaming_ui_gamebar
1458 enable_windows_globalization
1459 enable_windows_media_devices
1460 enable_windows_media_speech
1461 enable_windows_media
1462 enable_windows_networking
1463 enable_windows_perception_stub
1464 enable_windows_system_profile_systemmanufacturers
1465 enable_windows_ui
1466 enable_windowscodecs
1467 enable_windowscodecsext
1468 enable_winealsa_drv
1469 enable_wineandroid_drv
1470 enable_winebus_sys
1471 enable_winecoreaudio_drv
1472 enable_winecrt0
1473 enable_wined3d
1474 enable_winegstreamer
1475 enable_winehid_sys
1476 enable_winemac_drv
1477 enable_winemapi
1478 enable_wineoss_drv
1479 enable_wineps_drv
1480 enable_winepulse_drv
1481 enable_wineusb_sys
1482 enable_winevulkan
1483 enable_winewayland_drv
1484 enable_winex11_drv
1485 enable_winexinput_sys
1486 enable_wing32
1487 enable_winhttp
1488 enable_wininet
1489 enable_winmm
1490 enable_winnls32
1491 enable_winprint
1492 enable_winscard
1493 enable_winspool_drv
1494 enable_winsta
1495 enable_wintab32
1496 enable_wintrust
1497 enable_wintypes
1498 enable_winusb
1499 enable_wlanapi
1500 enable_wlanui
1501 enable_wldap32
1502 enable_wmasf
1503 enable_wmi
1504 enable_wmiutils
1505 enable_wmp
1506 enable_wmphoto
1507 enable_wmvcore
1508 enable_wnaspi32
1509 enable_wofutil
1510 enable_wow64
1511 enable_wow64cpu
1512 enable_wow64win
1513 enable_wpc
1514 enable_wpcap
1515 enable_ws2_32
1516 enable_wsdapi
1517 enable_wshom_ocx
1518 enable_wsnmp32
1519 enable_wsock32
1520 enable_wtsapi32
1521 enable_wuapi
1522 enable_wuaueng
1523 enable_x3daudio1_0
1524 enable_x3daudio1_1
1525 enable_x3daudio1_2
1526 enable_x3daudio1_3
1527 enable_x3daudio1_4
1528 enable_x3daudio1_5
1529 enable_x3daudio1_6
1530 enable_x3daudio1_7
1531 enable_xactengine2_0
1532 enable_xactengine2_4
1533 enable_xactengine2_7
1534 enable_xactengine2_9
1535 enable_xactengine3_0
1536 enable_xactengine3_1
1537 enable_xactengine3_2
1538 enable_xactengine3_3
1539 enable_xactengine3_4
1540 enable_xactengine3_5
1541 enable_xactengine3_6
1542 enable_xactengine3_7
1543 enable_xapofx1_1
1544 enable_xapofx1_2
1545 enable_xapofx1_3
1546 enable_xapofx1_4
1547 enable_xapofx1_5
1548 enable_xaudio2_0
1549 enable_xaudio2_1
1550 enable_xaudio2_2
1551 enable_xaudio2_3
1552 enable_xaudio2_4
1553 enable_xaudio2_5
1554 enable_xaudio2_6
1555 enable_xaudio2_7
1556 enable_xaudio2_8
1557 enable_xaudio2_9
1558 enable_xinput1_1
1559 enable_xinput1_2
1560 enable_xinput1_3
1561 enable_xinput1_4
1562 enable_xinput9_1_0
1563 enable_xinputuap
1564 enable_xmllite
1565 enable_xolehlp
1566 enable_xpsprint
1567 enable_xpssvcs
1568 enable_fonts
1569 enable_include
1570 enable_adsiid
1571 enable_dmoguids
1572 enable_dxerr8
1573 enable_dxerr9
1574 enable_dxguid
1575 enable_faudio
1576 enable_gsm
1577 enable_jpeg
1578 enable_jxr
1579 enable_lcms2
1580 enable_ldap
1581 enable_mfuuid
1582 enable_mpg123
1583 enable_musl
1584 enable_png
1585 enable_strmbase
1586 enable_strmiids
1587 enable_tiff
1588 enable_uuid
1589 enable_vkd3d
1590 enable_wbemuuid
1591 enable_wmcodecdspuuid
1592 enable_xml2
1593 enable_xslt
1594 enable_zlib
1595 enable_zydis
1596 enable_loader
1597 enable_nls
1598 enable_po
1599 enable_arp
1600 enable_aspnet_regiis
1601 enable_attrib
1602 enable_cabarc
1603 enable_cacls
1604 enable_certutil
1605 enable_chcp_com
1606 enable_clock
1607 enable_cmd
1608 enable_conhost
1609 enable_control
1610 enable_cscript
1611 enable_dism
1612 enable_dllhost
1613 enable_dplaysvr
1614 enable_dpnsvr
1615 enable_dpvsetup
1616 enable_dxdiag
1617 enable_eject
1618 enable_expand
1619 enable_explorer
1620 enable_extrac32
1621 enable_fc
1622 enable_find
1623 enable_findstr
1624 enable_fsutil
1625 enable_hh
1626 enable_hostname
1627 enable_icacls
1628 enable_icinfo
1629 enable_iexplore
1630 enable_ipconfig
1631 enable_lodctr
1632 enable_mofcomp
1633 enable_mshta
1634 enable_msidb
1635 enable_msiexec
1636 enable_msinfo32
1637 enable_net
1638 enable_netsh
1639 enable_netstat
1640 enable_ngen
1641 enable_notepad
1642 enable_oleview
1643 enable_ping
1644 enable_plugplay
1645 enable_powershell
1646 enable_presentationfontcache
1647 enable_progman
1648 enable_reg
1649 enable_regasm
1650 enable_regedit
1651 enable_regini
1652 enable_regsvcs
1653 enable_regsvr32
1654 enable_robocopy
1655 enable_rpcss
1656 enable_rundll32
1657 enable_sc
1658 enable_schtasks
1659 enable_sdbinst
1660 enable_secedit
1661 enable_servicemodelreg
1662 enable_services
1663 enable_setx
1664 enable_shutdown
1665 enable_spoolsv
1666 enable_start
1667 enable_subst
1668 enable_svchost
1669 enable_systeminfo
1670 enable_taskkill
1671 enable_tasklist
1672 enable_taskmgr
1673 enable_termsv
1674 enable_uninstaller
1675 enable_unlodctr
1676 enable_view
1677 enable_wevtutil
1678 enable_where
1679 enable_whoami
1680 enable_wineboot
1681 enable_winebrowser
1682 enable_winecfg
1683 enable_wineconsole
1684 enable_winedbg
1685 enable_winedevice
1686 enable_winefile
1687 enable_winemenubuilder
1688 enable_winemine
1689 enable_winemsibuilder
1690 enable_winepath
1691 enable_winetest
1692 enable_winhlp32
1693 enable_winmgmt
1694 enable_winver
1695 enable_wmic
1696 enable_wmplayer
1697 enable_wordpad
1698 enable_write
1699 enable_wscript
1700 enable_wuauserv
1701 enable_wusa
1702 enable_xcopy
1703 enable_server
1704 enable_tools
1705 enable_sfnt2fon
1706 enable_widl
1707 enable_winebuild
1708 enable_winedump
1709 enable_winegcc
1710 enable_winemaker
1711 enable_wmc
1712 enable_wrc
1714 ac_precious_vars='build_alias
1715 host_alias
1716 target_alias
1718 CFLAGS
1719 LDFLAGS
1720 LIBS
1721 CPPFLAGS
1723 CXXFLAGS
1725 OBJC
1726 OBJCFLAGS
1727 FAUDIO_PE_CFLAGS
1728 FAUDIO_PE_LIBS
1729 GSM_PE_CFLAGS
1730 GSM_PE_LIBS
1731 JPEG_PE_CFLAGS
1732 JPEG_PE_LIBS
1733 JXR_PE_CFLAGS
1734 JXR_PE_LIBS
1735 LCMS2_PE_CFLAGS
1736 LCMS2_PE_LIBS
1737 LDAP_PE_CFLAGS
1738 LDAP_PE_LIBS
1739 MPG123_PE_CFLAGS
1740 MPG123_PE_LIBS
1741 MUSL_PE_CFLAGS
1742 MUSL_PE_LIBS
1743 PNG_PE_CFLAGS
1744 PNG_PE_LIBS
1745 TIFF_PE_CFLAGS
1746 TIFF_PE_LIBS
1747 VKD3D_PE_CFLAGS
1748 VKD3D_PE_LIBS
1749 XML2_PE_CFLAGS
1750 XML2_PE_LIBS
1751 XSLT_PE_CFLAGS
1752 XSLT_PE_LIBS
1753 ZLIB_PE_CFLAGS
1754 ZLIB_PE_LIBS
1755 ZYDIS_PE_CFLAGS
1756 ZYDIS_PE_LIBS
1757 XMKMF
1759 WAYLAND_CLIENT_CFLAGS
1760 WAYLAND_CLIENT_LIBS
1761 INOTIFY_CFLAGS
1762 INOTIFY_LIBS
1763 DBUS_CFLAGS
1764 DBUS_LIBS
1765 GNUTLS_CFLAGS
1766 GNUTLS_LIBS
1767 SANE_CFLAGS
1768 SANE_LIBS
1769 USB_CFLAGS
1770 USB_LIBS
1771 GPHOTO2_CFLAGS
1772 GPHOTO2_LIBS
1773 GPHOTO2_PORT_CFLAGS
1774 GPHOTO2_PORT_LIBS
1775 FREETYPE_CFLAGS
1776 FREETYPE_LIBS
1777 PULSE_CFLAGS
1778 PULSE_LIBS
1779 GSTREAMER_CFLAGS
1780 GSTREAMER_LIBS
1781 UDEV_CFLAGS
1782 UDEV_LIBS
1783 UNWIND_CFLAGS
1784 UNWIND_LIBS
1785 SDL2_CFLAGS
1786 SDL2_LIBS
1787 CAPI20_CFLAGS
1788 CAPI20_LIBS
1789 CUPS_CFLAGS
1790 CUPS_LIBS
1791 FONTCONFIG_CFLAGS
1792 FONTCONFIG_LIBS
1793 KRB5_CFLAGS
1794 KRB5_LIBS
1795 GSSAPI_CFLAGS
1796 GSSAPI_LIBS
1797 NETAPI_CFLAGS
1798 NETAPI_LIBS'
1801 # Initialize some variables set by options.
1802 ac_init_help=
1803 ac_init_version=false
1804 ac_unrecognized_opts=
1805 ac_unrecognized_sep=
1806 # The variables have the same names as the options, with
1807 # dashes changed to underlines.
1808 cache_file=/dev/null
1809 exec_prefix=NONE
1810 no_create=
1811 no_recursion=
1812 prefix=NONE
1813 program_prefix=NONE
1814 program_suffix=NONE
1815 program_transform_name=s,x,x,
1816 silent=
1817 site=
1818 srcdir=
1819 verbose=
1820 x_includes=NONE
1821 x_libraries=NONE
1823 # Installation directory options.
1824 # These are left unexpanded so users can "make install exec_prefix=/foo"
1825 # and all the variables that are supposed to be based on exec_prefix
1826 # by default will actually change.
1827 # Use braces instead of parens because sh, perl, etc. also accept them.
1828 # (The list follows the same order as the GNU Coding Standards.)
1829 bindir='${exec_prefix}/bin'
1830 sbindir='${exec_prefix}/sbin'
1831 libexecdir='${exec_prefix}/libexec'
1832 datarootdir='${prefix}/share'
1833 datadir='${datarootdir}'
1834 sysconfdir='${prefix}/etc'
1835 sharedstatedir='${prefix}/com'
1836 localstatedir='${prefix}/var'
1837 runstatedir='${localstatedir}/run'
1838 includedir='${prefix}/include'
1839 oldincludedir='/usr/include'
1840 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1841 infodir='${datarootdir}/info'
1842 htmldir='${docdir}'
1843 dvidir='${docdir}'
1844 pdfdir='${docdir}'
1845 psdir='${docdir}'
1846 libdir='${exec_prefix}/lib'
1847 localedir='${datarootdir}/locale'
1848 mandir='${datarootdir}/man'
1850 ac_prev=
1851 ac_dashdash=
1852 for ac_option
1854 # If the previous option needs an argument, assign it.
1855 if test -n "$ac_prev"; then
1856 eval $ac_prev=\$ac_option
1857 ac_prev=
1858 continue
1861 case $ac_option in
1862 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1863 *=) ac_optarg= ;;
1864 *) ac_optarg=yes ;;
1865 esac
1867 case $ac_dashdash$ac_option in
1869 ac_dashdash=yes ;;
1871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1872 ac_prev=bindir ;;
1873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1874 bindir=$ac_optarg ;;
1876 -build | --build | --buil | --bui | --bu)
1877 ac_prev=build_alias ;;
1878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1879 build_alias=$ac_optarg ;;
1881 -cache-file | --cache-file | --cache-fil | --cache-fi \
1882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1883 ac_prev=cache_file ;;
1884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1886 cache_file=$ac_optarg ;;
1888 --config-cache | -C)
1889 cache_file=config.cache ;;
1891 -datadir | --datadir | --datadi | --datad)
1892 ac_prev=datadir ;;
1893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1894 datadir=$ac_optarg ;;
1896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1897 | --dataroo | --dataro | --datar)
1898 ac_prev=datarootdir ;;
1899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1901 datarootdir=$ac_optarg ;;
1903 -disable-* | --disable-*)
1904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1905 # Reject names that are not valid shell variable names.
1906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1907 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1908 ac_useropt_orig=$ac_useropt
1909 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1910 case $ac_user_opts in
1912 "enable_$ac_useropt"
1913 "*) ;;
1914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1915 ac_unrecognized_sep=', ';;
1916 esac
1917 eval enable_$ac_useropt=no ;;
1919 -docdir | --docdir | --docdi | --doc | --do)
1920 ac_prev=docdir ;;
1921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1922 docdir=$ac_optarg ;;
1924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1925 ac_prev=dvidir ;;
1926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1927 dvidir=$ac_optarg ;;
1929 -enable-* | --enable-*)
1930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1931 # Reject names that are not valid shell variable names.
1932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1933 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1934 ac_useropt_orig=$ac_useropt
1935 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1936 case $ac_user_opts in
1938 "enable_$ac_useropt"
1939 "*) ;;
1940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1941 ac_unrecognized_sep=', ';;
1942 esac
1943 eval enable_$ac_useropt=\$ac_optarg ;;
1945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1947 | --exec | --exe | --ex)
1948 ac_prev=exec_prefix ;;
1949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1951 | --exec=* | --exe=* | --ex=*)
1952 exec_prefix=$ac_optarg ;;
1954 -gas | --gas | --ga | --g)
1955 # Obsolete; use --with-gas.
1956 with_gas=yes ;;
1958 -help | --help | --hel | --he | -h)
1959 ac_init_help=long ;;
1960 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1961 ac_init_help=recursive ;;
1962 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1963 ac_init_help=short ;;
1965 -host | --host | --hos | --ho)
1966 ac_prev=host_alias ;;
1967 -host=* | --host=* | --hos=* | --ho=*)
1968 host_alias=$ac_optarg ;;
1970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1971 ac_prev=htmldir ;;
1972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1973 | --ht=*)
1974 htmldir=$ac_optarg ;;
1976 -includedir | --includedir | --includedi | --included | --include \
1977 | --includ | --inclu | --incl | --inc)
1978 ac_prev=includedir ;;
1979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1980 | --includ=* | --inclu=* | --incl=* | --inc=*)
1981 includedir=$ac_optarg ;;
1983 -infodir | --infodir | --infodi | --infod | --info | --inf)
1984 ac_prev=infodir ;;
1985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1986 infodir=$ac_optarg ;;
1988 -libdir | --libdir | --libdi | --libd)
1989 ac_prev=libdir ;;
1990 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1991 libdir=$ac_optarg ;;
1993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1994 | --libexe | --libex | --libe)
1995 ac_prev=libexecdir ;;
1996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1997 | --libexe=* | --libex=* | --libe=*)
1998 libexecdir=$ac_optarg ;;
2000 -localedir | --localedir | --localedi | --localed | --locale)
2001 ac_prev=localedir ;;
2002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2003 localedir=$ac_optarg ;;
2005 -localstatedir | --localstatedir | --localstatedi | --localstated \
2006 | --localstate | --localstat | --localsta | --localst | --locals)
2007 ac_prev=localstatedir ;;
2008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2010 localstatedir=$ac_optarg ;;
2012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2013 ac_prev=mandir ;;
2014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2015 mandir=$ac_optarg ;;
2017 -nfp | --nfp | --nf)
2018 # Obsolete; use --without-fp.
2019 with_fp=no ;;
2021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2022 | --no-cr | --no-c | -n)
2023 no_create=yes ;;
2025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2027 no_recursion=yes ;;
2029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2031 | --oldin | --oldi | --old | --ol | --o)
2032 ac_prev=oldincludedir ;;
2033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2036 oldincludedir=$ac_optarg ;;
2038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2039 ac_prev=prefix ;;
2040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2041 prefix=$ac_optarg ;;
2043 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2044 | --program-pre | --program-pr | --program-p)
2045 ac_prev=program_prefix ;;
2046 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2048 program_prefix=$ac_optarg ;;
2050 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2051 | --program-suf | --program-su | --program-s)
2052 ac_prev=program_suffix ;;
2053 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2055 program_suffix=$ac_optarg ;;
2057 -program-transform-name | --program-transform-name \
2058 | --program-transform-nam | --program-transform-na \
2059 | --program-transform-n | --program-transform- \
2060 | --program-transform | --program-transfor \
2061 | --program-transfo | --program-transf \
2062 | --program-trans | --program-tran \
2063 | --progr-tra | --program-tr | --program-t)
2064 ac_prev=program_transform_name ;;
2065 -program-transform-name=* | --program-transform-name=* \
2066 | --program-transform-nam=* | --program-transform-na=* \
2067 | --program-transform-n=* | --program-transform-=* \
2068 | --program-transform=* | --program-transfor=* \
2069 | --program-transfo=* | --program-transf=* \
2070 | --program-trans=* | --program-tran=* \
2071 | --progr-tra=* | --program-tr=* | --program-t=*)
2072 program_transform_name=$ac_optarg ;;
2074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2075 ac_prev=pdfdir ;;
2076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2077 pdfdir=$ac_optarg ;;
2079 -psdir | --psdir | --psdi | --psd | --ps)
2080 ac_prev=psdir ;;
2081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2082 psdir=$ac_optarg ;;
2084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2085 | -silent | --silent | --silen | --sile | --sil)
2086 silent=yes ;;
2088 -runstatedir | --runstatedir | --runstatedi | --runstated \
2089 | --runstate | --runstat | --runsta | --runst | --runs \
2090 | --run | --ru | --r)
2091 ac_prev=runstatedir ;;
2092 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2093 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2094 | --run=* | --ru=* | --r=*)
2095 runstatedir=$ac_optarg ;;
2097 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2098 ac_prev=sbindir ;;
2099 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2100 | --sbi=* | --sb=*)
2101 sbindir=$ac_optarg ;;
2103 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2104 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2105 | --sharedst | --shareds | --shared | --share | --shar \
2106 | --sha | --sh)
2107 ac_prev=sharedstatedir ;;
2108 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2109 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2110 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2111 | --sha=* | --sh=*)
2112 sharedstatedir=$ac_optarg ;;
2114 -site | --site | --sit)
2115 ac_prev=site ;;
2116 -site=* | --site=* | --sit=*)
2117 site=$ac_optarg ;;
2119 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2120 ac_prev=srcdir ;;
2121 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2122 srcdir=$ac_optarg ;;
2124 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2125 | --syscon | --sysco | --sysc | --sys | --sy)
2126 ac_prev=sysconfdir ;;
2127 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2128 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2129 sysconfdir=$ac_optarg ;;
2131 -target | --target | --targe | --targ | --tar | --ta | --t)
2132 ac_prev=target_alias ;;
2133 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2134 target_alias=$ac_optarg ;;
2136 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2137 verbose=yes ;;
2139 -version | --version | --versio | --versi | --vers | -V)
2140 ac_init_version=: ;;
2142 -with-* | --with-*)
2143 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2144 # Reject names that are not valid shell variable names.
2145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2146 as_fn_error $? "invalid package name: \`$ac_useropt'"
2147 ac_useropt_orig=$ac_useropt
2148 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2149 case $ac_user_opts in
2151 "with_$ac_useropt"
2152 "*) ;;
2153 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2154 ac_unrecognized_sep=', ';;
2155 esac
2156 eval with_$ac_useropt=\$ac_optarg ;;
2158 -without-* | --without-*)
2159 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2160 # Reject names that are not valid shell variable names.
2161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2162 as_fn_error $? "invalid package name: \`$ac_useropt'"
2163 ac_useropt_orig=$ac_useropt
2164 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2165 case $ac_user_opts in
2167 "with_$ac_useropt"
2168 "*) ;;
2169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2170 ac_unrecognized_sep=', ';;
2171 esac
2172 eval with_$ac_useropt=no ;;
2174 --x)
2175 # Obsolete; use --with-x.
2176 with_x=yes ;;
2178 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2179 | --x-incl | --x-inc | --x-in | --x-i)
2180 ac_prev=x_includes ;;
2181 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2182 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2183 x_includes=$ac_optarg ;;
2185 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2186 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2187 ac_prev=x_libraries ;;
2188 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2189 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2190 x_libraries=$ac_optarg ;;
2192 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2193 Try \`$0 --help' for more information"
2196 *=*)
2197 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2198 # Reject names that are not valid shell variable names.
2199 case $ac_envvar in #(
2200 '' | [0-9]* | *[!_$as_cr_alnum]* )
2201 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2202 esac
2203 eval $ac_envvar=\$ac_optarg
2204 export $ac_envvar ;;
2207 # FIXME: should be removed in autoconf 3.0.
2208 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2210 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2214 esac
2215 done
2217 if test -n "$ac_prev"; then
2218 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2219 as_fn_error $? "missing argument to $ac_option"
2222 if test -n "$ac_unrecognized_opts"; then
2223 case $enable_option_checking in
2224 no) ;;
2225 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2226 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2227 esac
2230 # Check all directory arguments for consistency.
2231 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2232 datadir sysconfdir sharedstatedir localstatedir includedir \
2233 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2234 libdir localedir mandir runstatedir
2236 eval ac_val=\$$ac_var
2237 # Remove trailing slashes.
2238 case $ac_val in
2239 */ )
2240 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2241 eval $ac_var=\$ac_val;;
2242 esac
2243 # Be sure to have absolute directory names.
2244 case $ac_val in
2245 [\\/$]* | ?:[\\/]* ) continue;;
2246 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2247 esac
2248 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2249 done
2251 # There might be people who depend on the old broken behavior: `$host'
2252 # used to hold the argument of --host etc.
2253 # FIXME: To remove some day.
2254 build=$build_alias
2255 host=$host_alias
2256 target=$target_alias
2258 # FIXME: To remove some day.
2259 if test "x$host_alias" != x; then
2260 if test "x$build_alias" = x; then
2261 cross_compiling=maybe
2262 elif test "x$build_alias" != "x$host_alias"; then
2263 cross_compiling=yes
2267 ac_tool_prefix=
2268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2270 test "$silent" = yes && exec 6>/dev/null
2273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2274 ac_ls_di=`ls -di .` &&
2275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2276 as_fn_error $? "working directory cannot be determined"
2277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2278 as_fn_error $? "pwd does not report name of working directory"
2281 # Find the source files, if location was not specified.
2282 if test -z "$srcdir"; then
2283 ac_srcdir_defaulted=yes
2284 # Try the directory containing this script, then the parent directory.
2285 ac_confdir=`$as_dirname -- "$as_myself" ||
2286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2287 X"$as_myself" : 'X\(//\)[^/]' \| \
2288 X"$as_myself" : 'X\(//\)$' \| \
2289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2290 printf "%s\n" X"$as_myself" |
2291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2292 s//\1/
2295 /^X\(\/\/\)[^/].*/{
2296 s//\1/
2299 /^X\(\/\/\)$/{
2300 s//\1/
2303 /^X\(\/\).*/{
2304 s//\1/
2307 s/.*/./; q'`
2308 srcdir=$ac_confdir
2309 if test ! -r "$srcdir/$ac_unique_file"; then
2310 srcdir=..
2312 else
2313 ac_srcdir_defaulted=no
2315 if test ! -r "$srcdir/$ac_unique_file"; then
2316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2320 ac_abs_confdir=`(
2321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2322 pwd)`
2323 # When building in place, set srcdir=.
2324 if test "$ac_abs_confdir" = "$ac_pwd"; then
2325 srcdir=.
2327 # Remove unnecessary trailing slashes from srcdir.
2328 # Double slashes in file names in object file debugging info
2329 # mess up M-x gdb in Emacs.
2330 case $srcdir in
2331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2332 esac
2333 for ac_var in $ac_precious_vars; do
2334 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2335 eval ac_env_${ac_var}_value=\$${ac_var}
2336 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2337 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2338 done
2341 # Report the --help message.
2343 if test "$ac_init_help" = "long"; then
2344 # Omit some internal or obsolete options to make the list less imposing.
2345 # This message is too long to be a string in the A/UX 3.1 sh.
2346 cat <<_ACEOF
2347 \`configure' configures Wine 8.6 to adapt to many kinds of systems.
2349 Usage: $0 [OPTION]... [VAR=VALUE]...
2351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2352 VAR=VALUE. See below for descriptions of some of the useful variables.
2354 Defaults for the options are specified in brackets.
2356 Configuration:
2357 -h, --help display this help and exit
2358 --help=short display options specific to this package
2359 --help=recursive display the short help of all the included packages
2360 -V, --version display version information and exit
2361 -q, --quiet, --silent do not print \`checking ...' messages
2362 --cache-file=FILE cache test results in FILE [disabled]
2363 -C, --config-cache alias for \`--cache-file=config.cache'
2364 -n, --no-create do not create output files
2365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2367 Installation directories:
2368 --prefix=PREFIX install architecture-independent files in PREFIX
2369 [$ac_default_prefix]
2370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2371 [PREFIX]
2373 By default, \`make install' will install all the files in
2374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2376 for instance \`--prefix=\$HOME'.
2378 For better control, use the options below.
2380 Fine tuning of the installation directories:
2381 --bindir=DIR user executables [EPREFIX/bin]
2382 --sbindir=DIR system admin executables [EPREFIX/sbin]
2383 --libexecdir=DIR program executables [EPREFIX/libexec]
2384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2387 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2388 --libdir=DIR object code libraries [EPREFIX/lib]
2389 --includedir=DIR C header files [PREFIX/include]
2390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2393 --infodir=DIR info documentation [DATAROOTDIR/info]
2394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2395 --mandir=DIR man documentation [DATAROOTDIR/man]
2396 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2397 --htmldir=DIR html documentation [DOCDIR]
2398 --dvidir=DIR dvi documentation [DOCDIR]
2399 --pdfdir=DIR pdf documentation [DOCDIR]
2400 --psdir=DIR ps documentation [DOCDIR]
2401 _ACEOF
2403 cat <<\_ACEOF
2405 X features:
2406 --x-includes=DIR X include files are in DIR
2407 --x-libraries=DIR X library files are in DIR
2409 System types:
2410 --build=BUILD configure for building on BUILD [guessed]
2411 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2412 _ACEOF
2415 if test -n "$ac_init_help"; then
2416 case $ac_init_help in
2417 short | recursive ) echo "Configuration of Wine 8.6:";;
2418 esac
2419 cat <<\_ACEOF
2421 Optional Features:
2422 --disable-option-checking ignore unrecognized --enable/--with options
2423 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2424 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2425 --enable-archs={i386,x86_64,arm,aarch64}
2426 enable multiple architectures for PE compilation
2427 --disable-win16 do not include Win16 support
2428 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2429 binaries)
2430 --disable-tests do not build the regression tests
2431 --enable-build-id include .buildid section in output objects
2432 --enable-maintainer-mode
2433 enable maintainer-specific build rules
2434 --enable-silent-rules use silent build rules (override: "make V=1")
2435 --enable-werror treat compilation warnings as errors
2436 --disable-largefile omit support for large files
2438 Optional Packages:
2439 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2440 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2441 --without-alsa do not use the Alsa sound support
2442 --without-capi do not use CAPI (ISDN support)
2443 --without-coreaudio do not use the CoreAudio sound support
2444 --without-cups do not use CUPS
2445 --without-dbus do not use DBus (dynamic device support)
2446 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2447 --without-fontconfig do not use fontconfig
2448 --without-freetype do not use the FreeType library
2449 --without-gettext do not use gettext
2450 --with-gettextpo use the GetTextPO library to rebuild po files
2451 --without-gphoto do not use gphoto (Digital Camera support)
2452 --without-gnutls do not use GnuTLS (schannel support)
2453 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2454 --without-gstreamer do not use GStreamer (codecs support)
2455 --without-inotify do not use inotify (filesystem change notifications)
2456 --without-krb5 do not use krb5 (Kerberos)
2457 --without-mingw do not use the MinGW cross-compiler
2458 --without-netapi do not use the Samba NetAPI library
2459 --without-opencl do not use OpenCL
2460 --without-opengl do not use OpenGL
2461 --without-osmesa do not use the OSMesa library
2462 --without-oss do not use the OSS sound support
2463 --without-pcap do not use the Packet Capture library
2464 --without-pcsclite do not use PCSC lite
2465 --without-pthread do not use the pthread library
2466 --without-pulse do not use PulseAudio sound support
2467 --without-sane do not use SANE (scanner support)
2468 --without-sdl do not use SDL
2469 --without-udev do not use udev (plug and play support)
2470 --without-unwind do not use the libunwind library (exception
2471 handling)
2472 --without-usb do not use the libusb library
2473 --without-v4l2 do not use v4l2 (video capture)
2474 --without-vulkan do not use Vulkan
2475 --without-wayland do not build the Wayland driver
2476 --without-xcomposite do not use the Xcomposite extension
2477 --without-xcursor do not use the Xcursor extension
2478 --without-xfixes do not use Xfixes for clipboard change notifications
2479 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2480 --without-xinput do not use the Xinput extension
2481 --without-xinput2 do not use the Xinput 2 extension
2482 --without-xrandr do not use Xrandr (multi-monitor support)
2483 --without-xrender do not use the Xrender extension
2484 --without-xshape do not use the Xshape extension
2485 --without-xshm do not use XShm (shared memory extension)
2486 --without-xxf86vm do not use XFree video mode extension
2487 --with-system-dllpath=PATH
2488 load external PE dependencies from colon-separated
2489 path PATH
2490 --with-wine-tools=DIR use Wine tools from directory DIR
2491 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2492 --with-x use the X Window System
2494 Some influential environment variables:
2495 CC C compiler command
2496 CFLAGS C compiler flags
2497 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2498 nonstandard directory <lib dir>
2499 LIBS libraries to pass to the linker, e.g. -l<library>
2500 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2501 you have headers in a nonstandard directory <include dir>
2502 CXX C++ compiler command
2503 CXXFLAGS C++ compiler flags
2504 OBJC Objective C compiler command
2505 OBJCFLAGS Objective C compiler flags
2506 FAUDIO_PE_CFLAGS
2507 C compiler flags for the PE faudio, overriding the bundled
2508 version
2509 FAUDIO_PE_LIBS
2510 Linker flags for the PE faudio, overriding the bundled version
2511 GSM_PE_CFLAGS
2512 C compiler flags for the PE gsm, overriding the bundled version
2513 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2514 JPEG_PE_CFLAGS
2515 C compiler flags for the PE jpeg, overriding the bundled version
2516 JPEG_PE_LIBS
2517 Linker flags for the PE jpeg, overriding the bundled version
2518 JXR_PE_CFLAGS
2519 C compiler flags for the PE jxr, overriding the bundled version
2520 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2521 LCMS2_PE_CFLAGS
2522 C compiler flags for the PE lcms2, overriding the bundled
2523 version
2524 LCMS2_PE_LIBS
2525 Linker flags for the PE lcms2, overriding the bundled version
2526 LDAP_PE_CFLAGS
2527 C compiler flags for the PE ldap, overriding the bundled version
2528 LDAP_PE_LIBS
2529 Linker flags for the PE ldap, overriding the bundled version
2530 MPG123_PE_CFLAGS
2531 C compiler flags for the PE mpg123, overriding the bundled
2532 version
2533 MPG123_PE_LIBS
2534 Linker flags for the PE mpg123, overriding the bundled version
2535 MUSL_PE_CFLAGS
2536 C compiler flags for the PE musl, overriding the bundled version
2537 MUSL_PE_LIBS
2538 Linker flags for the PE musl, overriding the bundled version
2539 PNG_PE_CFLAGS
2540 C compiler flags for the PE png, overriding the bundled version
2541 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2542 TIFF_PE_CFLAGS
2543 C compiler flags for the PE tiff, overriding the bundled version
2544 TIFF_PE_LIBS
2545 Linker flags for the PE tiff, overriding the bundled version
2546 VKD3D_PE_CFLAGS
2547 C compiler flags for the PE vkd3d, overriding the bundled
2548 version
2549 VKD3D_PE_LIBS
2550 Linker flags for the PE vkd3d, overriding the bundled version
2551 XML2_PE_CFLAGS
2552 C compiler flags for the PE xml2, overriding the bundled version
2553 XML2_PE_LIBS
2554 Linker flags for the PE xml2, overriding the bundled version
2555 XSLT_PE_CFLAGS
2556 C compiler flags for the PE xslt, overriding the bundled version
2557 XSLT_PE_LIBS
2558 Linker flags for the PE xslt, overriding the bundled version
2559 ZLIB_PE_CFLAGS
2560 C compiler flags for the PE zlib, overriding the bundled version
2561 ZLIB_PE_LIBS
2562 Linker flags for the PE zlib, overriding the bundled version
2563 ZYDIS_PE_CFLAGS
2564 C compiler flags for the PE zydis, overriding the bundled
2565 version
2566 ZYDIS_PE_LIBS
2567 Linker flags for the PE zydis, overriding the bundled version
2568 XMKMF Path to xmkmf, Makefile generator for X Window System
2569 CPP C preprocessor
2570 WAYLAND_CLIENT_CFLAGS
2571 C compiler flags for wayland-client, overriding pkg-config
2572 WAYLAND_CLIENT_LIBS
2573 Linker flags for wayland-client, overriding pkg-config
2574 INOTIFY_CFLAGS
2575 C compiler flags for libinotify, overriding pkg-config
2576 INOTIFY_LIBS
2577 Linker flags for libinotify, overriding pkg-config
2578 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2579 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2580 GNUTLS_CFLAGS
2581 C compiler flags for gnutls, overriding pkg-config
2582 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2583 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2584 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2585 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2586 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2587 GPHOTO2_CFLAGS
2588 C compiler flags for libgphoto2, overriding pkg-config
2589 GPHOTO2_LIBS
2590 Linker flags for libgphoto2, overriding pkg-config
2591 GPHOTO2_PORT_CFLAGS
2592 C compiler flags for libgphoto2_port, overriding pkg-config
2593 GPHOTO2_PORT_LIBS
2594 Linker flags for libgphoto2_port, overriding pkg-config
2595 FREETYPE_CFLAGS
2596 C compiler flags for freetype2, overriding pkg-config
2597 FREETYPE_LIBS
2598 Linker flags for freetype2, overriding pkg-config
2599 PULSE_CFLAGS
2600 C compiler flags for libpulse, overriding pkg-config
2601 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2602 GSTREAMER_CFLAGS
2603 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2604 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2605 GSTREAMER_LIBS
2606 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2607 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2608 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2609 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2610 UNWIND_CFLAGS
2611 C compiler flags for libunwind, overriding pkg-config
2612 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2613 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2614 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2615 CAPI20_CFLAGS
2616 C compiler flags for capi20, overriding pkg-config
2617 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2618 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2619 CUPS_LIBS Linker flags for cups, overriding pkg-config
2620 FONTCONFIG_CFLAGS
2621 C compiler flags for fontconfig, overriding pkg-config
2622 FONTCONFIG_LIBS
2623 Linker flags for fontconfig, overriding pkg-config
2624 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2625 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2626 GSSAPI_CFLAGS
2627 C compiler flags for krb5-gssapi, overriding pkg-config
2628 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2629 NETAPI_CFLAGS
2630 C compiler flags for netapi, overriding pkg-config
2631 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2633 Use these variables to override the choices made by `configure' or to help
2634 it to find libraries and programs with nonstandard names/locations.
2636 Report bugs to <wine-devel@winehq.org>.
2637 Wine home page: <https://www.winehq.org>.
2638 _ACEOF
2639 ac_status=$?
2642 if test "$ac_init_help" = "recursive"; then
2643 # If there are subdirs, report their specific --help.
2644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2645 test -d "$ac_dir" ||
2646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2647 continue
2648 ac_builddir=.
2650 case "$ac_dir" in
2651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2653 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2654 # A ".." for each directory in $ac_dir_suffix.
2655 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2656 case $ac_top_builddir_sub in
2657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2659 esac ;;
2660 esac
2661 ac_abs_top_builddir=$ac_pwd
2662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2663 # for backward compatibility:
2664 ac_top_builddir=$ac_top_build_prefix
2666 case $srcdir in
2667 .) # We are building in place.
2668 ac_srcdir=.
2669 ac_top_srcdir=$ac_top_builddir_sub
2670 ac_abs_top_srcdir=$ac_pwd ;;
2671 [\\/]* | ?:[\\/]* ) # Absolute name.
2672 ac_srcdir=$srcdir$ac_dir_suffix;
2673 ac_top_srcdir=$srcdir
2674 ac_abs_top_srcdir=$srcdir ;;
2675 *) # Relative name.
2676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2677 ac_top_srcdir=$ac_top_build_prefix$srcdir
2678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2679 esac
2680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2682 cd "$ac_dir" || { ac_status=$?; continue; }
2683 # Check for configure.gnu first; this name is used for a wrapper for
2684 # Metaconfig's "Configure" on case-insensitive file systems.
2685 if test -f "$ac_srcdir/configure.gnu"; then
2686 echo &&
2687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2688 elif test -f "$ac_srcdir/configure"; then
2689 echo &&
2690 $SHELL "$ac_srcdir/configure" --help=recursive
2691 else
2692 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2693 fi || ac_status=$?
2694 cd "$ac_pwd" || { ac_status=$?; break; }
2695 done
2698 test -n "$ac_init_help" && exit $ac_status
2699 if $ac_init_version; then
2700 cat <<\_ACEOF
2701 Wine configure 8.6
2702 generated by GNU Autoconf 2.71
2704 Copyright (C) 2021 Free Software Foundation, Inc.
2705 This configure script is free software; the Free Software Foundation
2706 gives unlimited permission to copy, distribute and modify it.
2707 _ACEOF
2708 exit
2711 ## ------------------------ ##
2712 ## Autoconf initialization. ##
2713 ## ------------------------ ##
2715 # ac_fn_c_try_compile LINENO
2716 # --------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_c_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_c_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext
2741 then :
2742 ac_retval=0
2743 else $as_nop
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_c_try_compile
2754 # ac_fn_cxx_try_compile LINENO
2755 # ----------------------------
2756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2757 ac_fn_cxx_try_compile ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 rm -f conftest.$ac_objext conftest.beam
2761 if { { ac_try="$ac_compile"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_compile") 2>conftest.err
2769 ac_status=$?
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_cxx_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest.$ac_objext
2780 then :
2781 ac_retval=0
2782 else $as_nop
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_retval=1
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 as_fn_set_status $ac_retval
2791 } # ac_fn_cxx_try_compile
2793 # ac_fn_c_try_link LINENO
2794 # -----------------------
2795 # Try to link conftest.$ac_ext, and return whether this succeeded.
2796 ac_fn_c_try_link ()
2798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2800 if { { ac_try="$ac_link"
2801 case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 printf "%s\n" "$ac_try_echo"; } >&5
2807 (eval "$ac_link") 2>conftest.err
2808 ac_status=$?
2809 if test -s conftest.err; then
2810 grep -v '^ *+' conftest.err >conftest.er1
2811 cat conftest.er1 >&5
2812 mv -f conftest.er1 conftest.err
2814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; } && {
2816 test -z "$ac_c_werror_flag" ||
2817 test ! -s conftest.err
2818 } && test -s conftest$ac_exeext && {
2819 test "$cross_compiling" = yes ||
2820 test -x conftest$ac_exeext
2822 then :
2823 ac_retval=0
2824 else $as_nop
2825 printf "%s\n" "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2831 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2832 # interfere with the next link command; also delete a directory that is
2833 # left behind by Apple's compiler. We do this before executing the actions.
2834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 as_fn_set_status $ac_retval
2838 } # ac_fn_c_try_link
2840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2841 # -------------------------------------------------------
2842 # Tests whether HEADER exists and can be compiled using the include files in
2843 # INCLUDES, setting the cache variable VAR accordingly.
2844 ac_fn_c_check_header_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 printf %s "checking for $2... " >&6; }
2849 if eval test \${$3+y}
2850 then :
2851 printf %s "(cached) " >&6
2852 else $as_nop
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2856 #include <$2>
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"
2859 then :
2860 eval "$3=yes"
2861 else $as_nop
2862 eval "$3=no"
2864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2866 eval ac_res=\$$3
2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 printf "%s\n" "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_c_check_header_compile
2873 # ac_fn_objc_try_compile LINENO
2874 # -----------------------------
2875 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_objc_try_compile ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest.beam
2880 if { { ac_try="$ac_compile"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 printf "%s\n" "$ac_try_echo"; } >&5
2887 (eval "$ac_compile") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_objc_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest.$ac_objext
2899 then :
2900 ac_retval=0
2901 else $as_nop
2902 printf "%s\n" "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2905 ac_retval=1
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 as_fn_set_status $ac_retval
2910 } # ac_fn_objc_try_compile
2912 # ac_fn_c_check_func LINENO FUNC VAR
2913 # ----------------------------------
2914 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2915 ac_fn_c_check_func ()
2917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2919 printf %s "checking for $2... " >&6; }
2920 if eval test \${$3+y}
2921 then :
2922 printf %s "(cached) " >&6
2923 else $as_nop
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2926 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2928 #define $2 innocuous_$2
2930 /* System header to define __stub macros and hopefully few prototypes,
2931 which can conflict with char $2 (); below. */
2933 #include <limits.h>
2934 #undef $2
2936 /* Override any GCC internal prototype to avoid an error.
2937 Use char because int might match the return type of a GCC
2938 builtin and then its argument prototype would still apply. */
2939 #ifdef __cplusplus
2940 extern "C"
2941 #endif
2942 char $2 ();
2943 /* The GNU C library defines this for functions which it implements
2944 to always fail with ENOSYS. Some functions are actually named
2945 something starting with __ and the normal name is an alias. */
2946 #if defined __stub_$2 || defined __stub___$2
2947 choke me
2948 #endif
2951 main (void)
2953 return $2 ();
2955 return 0;
2957 _ACEOF
2958 if ac_fn_c_try_link "$LINENO"
2959 then :
2960 eval "$3=yes"
2961 else $as_nop
2962 eval "$3=no"
2964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2965 conftest$ac_exeext conftest.$ac_ext
2967 eval ac_res=\$$3
2968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2969 printf "%s\n" "$ac_res" >&6; }
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 } # ac_fn_c_check_func
2974 # ac_fn_c_try_cpp LINENO
2975 # ----------------------
2976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2977 ac_fn_c_try_cpp ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 if { { ac_try="$ac_cpp conftest.$ac_ext"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 printf "%s\n" "$ac_try_echo"; } >&5
2987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2988 ac_status=$?
2989 if test -s conftest.err; then
2990 grep -v '^ *+' conftest.err >conftest.er1
2991 cat conftest.er1 >&5
2992 mv -f conftest.er1 conftest.err
2994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; } > conftest.i && {
2996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2999 then :
3000 ac_retval=0
3001 else $as_nop
3002 printf "%s\n" "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3005 ac_retval=1
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3008 as_fn_set_status $ac_retval
3010 } # ac_fn_c_try_cpp
3012 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3013 # ----------------------------------------------------
3014 # Tries to find if the field MEMBER exists in type AGGR, after including
3015 # INCLUDES, setting cache variable VAR accordingly.
3016 ac_fn_c_check_member ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3020 printf %s "checking for $2.$3... " >&6; }
3021 if eval test \${$4+y}
3022 then :
3023 printf %s "(cached) " >&6
3024 else $as_nop
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3029 main (void)
3031 static $2 ac_aggr;
3032 if (ac_aggr.$3)
3033 return 0;
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"
3039 then :
3040 eval "$4=yes"
3041 else $as_nop
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main (void)
3048 static $2 ac_aggr;
3049 if (sizeof ac_aggr.$3)
3050 return 0;
3052 return 0;
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"
3056 then :
3057 eval "$4=yes"
3058 else $as_nop
3059 eval "$4=no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3065 eval ac_res=\$$4
3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3067 printf "%s\n" "$ac_res" >&6; }
3068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3070 } # ac_fn_c_check_member
3072 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3073 # -------------------------------------------
3074 # Tests whether TYPE exists after having included INCLUDES, setting cache
3075 # variable VAR accordingly.
3076 ac_fn_c_check_type ()
3078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3080 printf %s "checking for $2... " >&6; }
3081 if eval test \${$3+y}
3082 then :
3083 printf %s "(cached) " >&6
3084 else $as_nop
3085 eval "$3=no"
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3090 main (void)
3092 if (sizeof ($2))
3093 return 0;
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"
3099 then :
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3104 main (void)
3106 if (sizeof (($2)))
3107 return 0;
3109 return 0;
3111 _ACEOF
3112 if ac_fn_c_try_compile "$LINENO"
3113 then :
3115 else $as_nop
3116 eval "$3=yes"
3118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3122 eval ac_res=\$$3
3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3124 printf "%s\n" "$ac_res" >&6; }
3125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3127 } # ac_fn_c_check_type
3128 ac_configure_args_raw=
3129 for ac_arg
3131 case $ac_arg in
3132 *\'*)
3133 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3134 esac
3135 as_fn_append ac_configure_args_raw " '$ac_arg'"
3136 done
3138 case $ac_configure_args_raw in
3139 *$as_nl*)
3140 ac_safe_unquote= ;;
3142 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3143 ac_unsafe_a="$ac_unsafe_z#~"
3144 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3145 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3146 esac
3148 cat >config.log <<_ACEOF
3149 This file contains any messages produced by compilers while
3150 running configure, to aid debugging if configure makes a mistake.
3152 It was created by Wine $as_me 8.6, which was
3153 generated by GNU Autoconf 2.71. Invocation command line was
3155 $ $0$ac_configure_args_raw
3157 _ACEOF
3158 exec 5>>config.log
3160 cat <<_ASUNAME
3161 ## --------- ##
3162 ## Platform. ##
3163 ## --------- ##
3165 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3166 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3167 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3168 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3169 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3171 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3172 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3177 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3182 _ASUNAME
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3187 IFS=$as_save_IFS
3188 case $as_dir in #(((
3189 '') as_dir=./ ;;
3190 */) ;;
3191 *) as_dir=$as_dir/ ;;
3192 esac
3193 printf "%s\n" "PATH: $as_dir"
3194 done
3195 IFS=$as_save_IFS
3197 } >&5
3199 cat >&5 <<_ACEOF
3202 ## ----------- ##
3203 ## Core tests. ##
3204 ## ----------- ##
3206 _ACEOF
3209 # Keep a trace of the command line.
3210 # Strip out --no-create and --no-recursion so they do not pile up.
3211 # Strip out --silent because we don't want to record it for future runs.
3212 # Also quote any args containing shell meta-characters.
3213 # Make two passes to allow for proper duplicate-argument suppression.
3214 ac_configure_args=
3215 ac_configure_args0=
3216 ac_configure_args1=
3217 ac_must_keep_next=false
3218 for ac_pass in 1 2
3220 for ac_arg
3222 case $ac_arg in
3223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3225 | -silent | --silent | --silen | --sile | --sil)
3226 continue ;;
3227 *\'*)
3228 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3229 esac
3230 case $ac_pass in
3231 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3233 as_fn_append ac_configure_args1 " '$ac_arg'"
3234 if test $ac_must_keep_next = true; then
3235 ac_must_keep_next=false # Got value, back to normal.
3236 else
3237 case $ac_arg in
3238 *=* | --config-cache | -C | -disable-* | --disable-* \
3239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3241 | -with-* | --with-* | -without-* | --without-* | --x)
3242 case "$ac_configure_args0 " in
3243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3244 esac
3246 -* ) ac_must_keep_next=true ;;
3247 esac
3249 as_fn_append ac_configure_args " '$ac_arg'"
3251 esac
3252 done
3253 done
3254 { ac_configure_args0=; unset ac_configure_args0;}
3255 { ac_configure_args1=; unset ac_configure_args1;}
3257 # When interrupted or exit'd, cleanup temporary files, and complete
3258 # config.log. We remove comments because anyway the quotes in there
3259 # would cause problems or look ugly.
3260 # WARNING: Use '\'' to represent an apostrophe within the trap.
3261 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3262 trap 'exit_status=$?
3263 # Sanitize IFS.
3264 IFS=" "" $as_nl"
3265 # Save into config.log some information that might help in debugging.
3267 echo
3269 printf "%s\n" "## ---------------- ##
3270 ## Cache variables. ##
3271 ## ---------------- ##"
3272 echo
3273 # The following way of writing the cache mishandles newlines in values,
3275 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3276 eval ac_val=\$$ac_var
3277 case $ac_val in #(
3278 *${as_nl}*)
3279 case $ac_var in #(
3280 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3281 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3282 esac
3283 case $ac_var in #(
3284 _ | IFS | as_nl) ;; #(
3285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3286 *) { eval $ac_var=; unset $ac_var;} ;;
3287 esac ;;
3288 esac
3289 done
3290 (set) 2>&1 |
3291 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3292 *${as_nl}ac_space=\ *)
3293 sed -n \
3294 "s/'\''/'\''\\\\'\'''\''/g;
3295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3296 ;; #(
3298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3300 esac |
3301 sort
3303 echo
3305 printf "%s\n" "## ----------------- ##
3306 ## Output variables. ##
3307 ## ----------------- ##"
3308 echo
3309 for ac_var in $ac_subst_vars
3311 eval ac_val=\$$ac_var
3312 case $ac_val in
3313 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3314 esac
3315 printf "%s\n" "$ac_var='\''$ac_val'\''"
3316 done | sort
3317 echo
3319 if test -n "$ac_subst_files"; then
3320 printf "%s\n" "## ------------------- ##
3321 ## File substitutions. ##
3322 ## ------------------- ##"
3323 echo
3324 for ac_var in $ac_subst_files
3326 eval ac_val=\$$ac_var
3327 case $ac_val in
3328 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3329 esac
3330 printf "%s\n" "$ac_var='\''$ac_val'\''"
3331 done | sort
3332 echo
3335 if test -s confdefs.h; then
3336 printf "%s\n" "## ----------- ##
3337 ## confdefs.h. ##
3338 ## ----------- ##"
3339 echo
3340 cat confdefs.h
3341 echo
3343 test "$ac_signal" != 0 &&
3344 printf "%s\n" "$as_me: caught signal $ac_signal"
3345 printf "%s\n" "$as_me: exit $exit_status"
3346 } >&5
3347 rm -f core *.core core.conftest.* &&
3348 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3349 exit $exit_status
3351 for ac_signal in 1 2 13 15; do
3352 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3353 done
3354 ac_signal=0
3356 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3357 rm -f -r conftest* confdefs.h
3359 printf "%s\n" "/* confdefs.h */" > confdefs.h
3361 # Predefined preprocessor variables.
3363 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3369 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3371 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3373 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3376 # Let the site file select an alternate cache file if it wants to.
3377 # Prefer an explicitly selected file to automatically selected ones.
3378 if test -n "$CONFIG_SITE"; then
3379 ac_site_files="$CONFIG_SITE"
3380 elif test "x$prefix" != xNONE; then
3381 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3382 else
3383 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3386 for ac_site_file in $ac_site_files
3388 case $ac_site_file in #(
3389 */*) :
3390 ;; #(
3391 *) :
3392 ac_site_file=./$ac_site_file ;;
3393 esac
3394 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3396 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3397 sed 's/^/| /' "$ac_site_file" >&5
3398 . "$ac_site_file" \
3399 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error $? "failed to load site script $ac_site_file
3402 See \`config.log' for more details" "$LINENO" 5; }
3404 done
3406 if test -r "$cache_file"; then
3407 # Some versions of bash will fail to source /dev/null (special files
3408 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3409 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3411 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3412 case $cache_file in
3413 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3414 *) . "./$cache_file";;
3415 esac
3417 else
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3419 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3420 >$cache_file
3423 # Test code for whether the C compiler supports C89 (global declarations)
3424 ac_c_conftest_c89_globals='
3425 /* Does the compiler advertise C89 conformance?
3426 Do not test the value of __STDC__, because some compilers set it to 0
3427 while being otherwise adequately conformant. */
3428 #if !defined __STDC__
3429 # error "Compiler does not advertise C89 conformance"
3430 #endif
3432 #include <stddef.h>
3433 #include <stdarg.h>
3434 struct stat;
3435 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3436 struct buf { int x; };
3437 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3438 static char *e (p, i)
3439 char **p;
3440 int i;
3442 return p[i];
3444 static char *f (char * (*g) (char **, int), char **p, ...)
3446 char *s;
3447 va_list v;
3448 va_start (v,p);
3449 s = g (p, va_arg (v,int));
3450 va_end (v);
3451 return s;
3454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3455 function prototypes and stuff, but not \xHH hex character constants.
3456 These do not provoke an error unfortunately, instead are silently treated
3457 as an "x". The following induces an error, until -std is added to get
3458 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3459 array size at least. It is necessary to write \x00 == 0 to get something
3460 that is true only with -std. */
3461 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3464 inside strings and character constants. */
3465 #define FOO(x) '\''x'\''
3466 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3468 int test (int i, double x);
3469 struct s1 {int (*f) (int a);};
3470 struct s2 {int (*f) (double a);};
3471 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3472 int, int);'
3474 # Test code for whether the C compiler supports C89 (body of main).
3475 ac_c_conftest_c89_main='
3476 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3479 # Test code for whether the C compiler supports C99 (global declarations)
3480 ac_c_conftest_c99_globals='
3481 // Does the compiler advertise C99 conformance?
3482 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3483 # error "Compiler does not advertise C99 conformance"
3484 #endif
3486 #include <stdbool.h>
3487 extern int puts (const char *);
3488 extern int printf (const char *, ...);
3489 extern int dprintf (int, const char *, ...);
3490 extern void *malloc (size_t);
3492 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3493 // dprintf is used instead of fprintf to avoid needing to declare
3494 // FILE and stderr.
3495 #define debug(...) dprintf (2, __VA_ARGS__)
3496 #define showlist(...) puts (#__VA_ARGS__)
3497 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3498 static void
3499 test_varargs_macros (void)
3501 int x = 1234;
3502 int y = 5678;
3503 debug ("Flag");
3504 debug ("X = %d\n", x);
3505 showlist (The first, second, and third items.);
3506 report (x>y, "x is %d but y is %d", x, y);
3509 // Check long long types.
3510 #define BIG64 18446744073709551615ull
3511 #define BIG32 4294967295ul
3512 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3513 #if !BIG_OK
3514 #error "your preprocessor is broken"
3515 #endif
3516 #if BIG_OK
3517 #else
3518 #error "your preprocessor is broken"
3519 #endif
3520 static long long int bignum = -9223372036854775807LL;
3521 static unsigned long long int ubignum = BIG64;
3523 struct incomplete_array
3525 int datasize;
3526 double data[];
3529 struct named_init {
3530 int number;
3531 const wchar_t *name;
3532 double average;
3535 typedef const char *ccp;
3537 static inline int
3538 test_restrict (ccp restrict text)
3540 // See if C++-style comments work.
3541 // Iterate through items via the restricted pointer.
3542 // Also check for declarations in for loops.
3543 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3544 continue;
3545 return 0;
3548 // Check varargs and va_copy.
3549 static bool
3550 test_varargs (const char *format, ...)
3552 va_list args;
3553 va_start (args, format);
3554 va_list args_copy;
3555 va_copy (args_copy, args);
3557 const char *str = "";
3558 int number = 0;
3559 float fnumber = 0;
3561 while (*format)
3563 switch (*format++)
3565 case '\''s'\'': // string
3566 str = va_arg (args_copy, const char *);
3567 break;
3568 case '\''d'\'': // int
3569 number = va_arg (args_copy, int);
3570 break;
3571 case '\''f'\'': // float
3572 fnumber = va_arg (args_copy, double);
3573 break;
3574 default:
3575 break;
3578 va_end (args_copy);
3579 va_end (args);
3581 return *str && number && fnumber;
3585 # Test code for whether the C compiler supports C99 (body of main).
3586 ac_c_conftest_c99_main='
3587 // Check bool.
3588 _Bool success = false;
3589 success |= (argc != 0);
3591 // Check restrict.
3592 if (test_restrict ("String literal") == 0)
3593 success = true;
3594 char *restrict newvar = "Another string";
3596 // Check varargs.
3597 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3598 test_varargs_macros ();
3600 // Check flexible array members.
3601 struct incomplete_array *ia =
3602 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3603 ia->datasize = 10;
3604 for (int i = 0; i < ia->datasize; ++i)
3605 ia->data[i] = i * 1.234;
3607 // Check named initializers.
3608 struct named_init ni = {
3609 .number = 34,
3610 .name = L"Test wide string",
3611 .average = 543.34343,
3614 ni.number = 58;
3616 int dynamic_array[ni.number];
3617 dynamic_array[0] = argv[0][0];
3618 dynamic_array[ni.number - 1] = 543;
3620 // work around unused variable warnings
3621 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3622 || dynamic_array[ni.number - 1] != 543);
3625 # Test code for whether the C compiler supports C11 (global declarations)
3626 ac_c_conftest_c11_globals='
3627 // Does the compiler advertise C11 conformance?
3628 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3629 # error "Compiler does not advertise C11 conformance"
3630 #endif
3632 // Check _Alignas.
3633 char _Alignas (double) aligned_as_double;
3634 char _Alignas (0) no_special_alignment;
3635 extern char aligned_as_int;
3636 char _Alignas (0) _Alignas (int) aligned_as_int;
3638 // Check _Alignof.
3639 enum
3641 int_alignment = _Alignof (int),
3642 int_array_alignment = _Alignof (int[100]),
3643 char_alignment = _Alignof (char)
3645 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3647 // Check _Noreturn.
3648 int _Noreturn does_not_return (void) { for (;;) continue; }
3650 // Check _Static_assert.
3651 struct test_static_assert
3653 int x;
3654 _Static_assert (sizeof (int) <= sizeof (long int),
3655 "_Static_assert does not work in struct");
3656 long int y;
3659 // Check UTF-8 literals.
3660 #define u8 syntax error!
3661 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3663 // Check duplicate typedefs.
3664 typedef long *long_ptr;
3665 typedef long int *long_ptr;
3666 typedef long_ptr long_ptr;
3668 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3669 struct anonymous
3671 union {
3672 struct { int i; int j; };
3673 struct { int k; long int l; } w;
3675 int m;
3676 } v1;
3679 # Test code for whether the C compiler supports C11 (body of main).
3680 ac_c_conftest_c11_main='
3681 _Static_assert ((offsetof (struct anonymous, i)
3682 == offsetof (struct anonymous, w.k)),
3683 "Anonymous union alignment botch");
3684 v1.i = 2;
3685 v1.w.k = 5;
3686 ok |= v1.i != 5;
3689 # Test code for whether the C compiler supports C11 (complete).
3690 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3691 ${ac_c_conftest_c99_globals}
3692 ${ac_c_conftest_c11_globals}
3695 main (int argc, char **argv)
3697 int ok = 0;
3698 ${ac_c_conftest_c89_main}
3699 ${ac_c_conftest_c99_main}
3700 ${ac_c_conftest_c11_main}
3701 return ok;
3705 # Test code for whether the C compiler supports C99 (complete).
3706 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3707 ${ac_c_conftest_c99_globals}
3710 main (int argc, char **argv)
3712 int ok = 0;
3713 ${ac_c_conftest_c89_main}
3714 ${ac_c_conftest_c99_main}
3715 return ok;
3719 # Test code for whether the C compiler supports C89 (complete).
3720 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3723 main (int argc, char **argv)
3725 int ok = 0;
3726 ${ac_c_conftest_c89_main}
3727 return ok;
3731 # Test code for whether the C++ compiler supports C++98 (global declarations)
3732 ac_cxx_conftest_cxx98_globals='
3733 // Does the compiler advertise C++98 conformance?
3734 #if !defined __cplusplus || __cplusplus < 199711L
3735 # error "Compiler does not advertise C++98 conformance"
3736 #endif
3738 // These inclusions are to reject old compilers that
3739 // lack the unsuffixed header files.
3740 #include <cstdlib>
3741 #include <exception>
3743 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3744 extern void assert (int);
3745 namespace std {
3746 extern int strcmp (const char *, const char *);
3749 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3750 using std::exception;
3751 using std::strcmp;
3753 namespace {
3755 void test_exception_syntax()
3757 try {
3758 throw "test";
3759 } catch (const char *s) {
3760 // Extra parentheses suppress a warning when building autoconf itself,
3761 // due to lint rules shared with more typical C programs.
3762 assert (!(strcmp) (s, "test"));
3766 template <typename T> struct test_template
3768 T const val;
3769 explicit test_template(T t) : val(t) {}
3770 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3773 } // anonymous namespace
3776 # Test code for whether the C++ compiler supports C++98 (body of main)
3777 ac_cxx_conftest_cxx98_main='
3778 assert (argc);
3779 assert (! argv[0]);
3781 test_exception_syntax ();
3782 test_template<double> tt (2.0);
3783 assert (tt.add (4) == 6.0);
3784 assert (true && !false);
3788 # Test code for whether the C++ compiler supports C++11 (global declarations)
3789 ac_cxx_conftest_cxx11_globals='
3790 // Does the compiler advertise C++ 2011 conformance?
3791 #if !defined __cplusplus || __cplusplus < 201103L
3792 # error "Compiler does not advertise C++11 conformance"
3793 #endif
3795 namespace cxx11test
3797 constexpr int get_val() { return 20; }
3799 struct testinit
3801 int i;
3802 double d;
3805 class delegate
3807 public:
3808 delegate(int n) : n(n) {}
3809 delegate(): delegate(2354) {}
3811 virtual int getval() { return this->n; };
3812 protected:
3813 int n;
3816 class overridden : public delegate
3818 public:
3819 overridden(int n): delegate(n) {}
3820 virtual int getval() override final { return this->n * 2; }
3823 class nocopy
3825 public:
3826 nocopy(int i): i(i) {}
3827 nocopy() = default;
3828 nocopy(const nocopy&) = delete;
3829 nocopy & operator=(const nocopy&) = delete;
3830 private:
3831 int i;
3834 // for testing lambda expressions
3835 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3837 return f(v);
3840 // for testing variadic templates and trailing return types
3841 template <typename V> auto sum(V first) -> V
3843 return first;
3845 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3847 return first + sum(rest...);
3852 # Test code for whether the C++ compiler supports C++11 (body of main)
3853 ac_cxx_conftest_cxx11_main='
3855 // Test auto and decltype
3856 auto a1 = 6538;
3857 auto a2 = 48573953.4;
3858 auto a3 = "String literal";
3860 int total = 0;
3861 for (auto i = a3; *i; ++i) { total += *i; }
3863 decltype(a2) a4 = 34895.034;
3866 // Test constexpr
3867 short sa[cxx11test::get_val()] = { 0 };
3870 // Test initializer lists
3871 cxx11test::testinit il = { 4323, 435234.23544 };
3874 // Test range-based for
3875 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3876 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3877 for (auto &x : array) { x += 23; }
3880 // Test lambda expressions
3881 using cxx11test::eval;
3882 assert (eval ([](int x) { return x*2; }, 21) == 42);
3883 double d = 2.0;
3884 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3885 assert (d == 5.0);
3886 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3887 assert (d == 5.0);
3890 // Test use of variadic templates
3891 using cxx11test::sum;
3892 auto a = sum(1);
3893 auto b = sum(1, 2);
3894 auto c = sum(1.0, 2.0, 3.0);
3897 // Test constructor delegation
3898 cxx11test::delegate d1;
3899 cxx11test::delegate d2();
3900 cxx11test::delegate d3(45);
3903 // Test override and final
3904 cxx11test::overridden o1(55464);
3907 // Test nullptr
3908 char *c = nullptr;
3911 // Test template brackets
3912 test_template<::test_template<int>> v(test_template<int>(12));
3915 // Unicode literals
3916 char const *utf8 = u8"UTF-8 string \u2500";
3917 char16_t const *utf16 = u"UTF-8 string \u2500";
3918 char32_t const *utf32 = U"UTF-32 string \u2500";
3922 # Test code for whether the C compiler supports C++11 (complete).
3923 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3924 ${ac_cxx_conftest_cxx11_globals}
3927 main (int argc, char **argv)
3929 int ok = 0;
3930 ${ac_cxx_conftest_cxx98_main}
3931 ${ac_cxx_conftest_cxx11_main}
3932 return ok;
3936 # Test code for whether the C compiler supports C++98 (complete).
3937 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3939 main (int argc, char **argv)
3941 int ok = 0;
3942 ${ac_cxx_conftest_cxx98_main}
3943 return ok;
3947 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3948 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3949 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3950 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3951 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3952 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3953 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3954 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3955 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3957 # Auxiliary files required by this configure script.
3958 ac_aux_files="config.guess config.sub"
3960 # Locations in which to look for auxiliary files.
3961 ac_aux_dir_candidates="${srcdir}/tools"
3963 # Search for a directory containing all of the required auxiliary files,
3964 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3965 # If we don't find one directory that contains all the files we need,
3966 # we report the set of missing files from the *first* directory in
3967 # $ac_aux_dir_candidates and give up.
3968 ac_missing_aux_files=""
3969 ac_first_candidate=:
3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 as_found=false
3973 for as_dir in $ac_aux_dir_candidates
3975 IFS=$as_save_IFS
3976 case $as_dir in #(((
3977 '') as_dir=./ ;;
3978 */) ;;
3979 *) as_dir=$as_dir/ ;;
3980 esac
3981 as_found=:
3983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3984 ac_aux_dir_found=yes
3985 ac_install_sh=
3986 for ac_aux in $ac_aux_files
3988 # As a special case, if "install-sh" is required, that requirement
3989 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3990 # and $ac_install_sh is set appropriately for whichever one is found.
3991 if test x"$ac_aux" = x"install-sh"
3992 then
3993 if test -f "${as_dir}install-sh"; then
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3995 ac_install_sh="${as_dir}install-sh -c"
3996 elif 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}shtool"; then
4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4001 ac_install_sh="${as_dir}shtool install -c"
4002 else
4003 ac_aux_dir_found=no
4004 if $ac_first_candidate; then
4005 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4006 else
4007 break
4010 else
4011 if test -f "${as_dir}${ac_aux}"; then
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4013 else
4014 ac_aux_dir_found=no
4015 if $ac_first_candidate; then
4016 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4017 else
4018 break
4022 done
4023 if test "$ac_aux_dir_found" = yes; then
4024 ac_aux_dir="$as_dir"
4025 break
4027 ac_first_candidate=false
4029 as_found=false
4030 done
4031 IFS=$as_save_IFS
4032 if $as_found
4033 then :
4035 else $as_nop
4036 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4040 # These three variables are undocumented and unsupported,
4041 # and are intended to be withdrawn in a future Autoconf release.
4042 # They can cause serious problems if a builder's source tree is in a directory
4043 # whose full name contains unusual characters.
4044 if test -f "${ac_aux_dir}config.guess"; then
4045 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4047 if test -f "${ac_aux_dir}config.sub"; then
4048 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4050 if test -f "$ac_aux_dir/configure"; then
4051 ac_configure="$SHELL ${ac_aux_dir}configure"
4054 # Check that the precious variables saved in the cache have kept the same
4055 # value.
4056 ac_cache_corrupted=false
4057 for ac_var in $ac_precious_vars; do
4058 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4059 eval ac_new_set=\$ac_env_${ac_var}_set
4060 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4061 eval ac_new_val=\$ac_env_${ac_var}_value
4062 case $ac_old_set,$ac_new_set in
4063 set,)
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4065 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4066 ac_cache_corrupted=: ;;
4067 ,set)
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4069 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4070 ac_cache_corrupted=: ;;
4071 ,);;
4073 if test "x$ac_old_val" != "x$ac_new_val"; then
4074 # differences in whitespace do not lead to failure.
4075 ac_old_val_w=`echo x $ac_old_val`
4076 ac_new_val_w=`echo x $ac_new_val`
4077 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4079 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4080 ac_cache_corrupted=:
4081 else
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4083 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4084 eval $ac_var=\$ac_old_val
4086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4087 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4089 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4090 fi;;
4091 esac
4092 # Pass precious variables to config.status.
4093 if test "$ac_new_set" = set; then
4094 case $ac_new_val in
4095 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4096 *) ac_arg=$ac_var=$ac_new_val ;;
4097 esac
4098 case " $ac_configure_args " in
4099 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4100 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4101 esac
4103 done
4104 if $ac_cache_corrupted; then
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4108 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4109 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4110 and start over" "$LINENO" 5
4112 ## -------------------- ##
4113 ## Main body of script. ##
4114 ## -------------------- ##
4116 ac_ext=c
4117 ac_cpp='$CPP $CPPFLAGS'
4118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4124 ac_config_headers="$ac_config_headers include/config.h"
4128 libwine_version="1.0"
4131 # Check whether --enable-archs was given.
4132 if test ${enable_archs+y}
4133 then :
4134 enableval=$enable_archs;
4137 # Check whether --enable-win16 was given.
4138 if test ${enable_win16+y}
4139 then :
4140 enableval=$enable_win16;
4143 # Check whether --enable-win64 was given.
4144 if test ${enable_win64+y}
4145 then :
4146 enableval=$enable_win64;
4149 # Check whether --enable-tests was given.
4150 if test ${enable_tests+y}
4151 then :
4152 enableval=$enable_tests;
4155 # Check whether --enable-build-id was given.
4156 if test ${enable_build_id+y}
4157 then :
4158 enableval=$enable_build_id;
4161 # Check whether --enable-maintainer-mode was given.
4162 if test ${enable_maintainer_mode+y}
4163 then :
4164 enableval=$enable_maintainer_mode;
4167 # Check whether --enable-silent-rules was given.
4168 if test ${enable_silent_rules+y}
4169 then :
4170 enableval=$enable_silent_rules;
4173 # Check whether --enable-werror was given.
4174 if test ${enable_werror+y}
4175 then :
4176 enableval=$enable_werror;
4181 # Check whether --with-alsa was given.
4182 if test ${with_alsa+y}
4183 then :
4184 withval=$with_alsa;
4188 # Check whether --with-capi was given.
4189 if test ${with_capi+y}
4190 then :
4191 withval=$with_capi;
4195 # Check whether --with-coreaudio was given.
4196 if test ${with_coreaudio+y}
4197 then :
4198 withval=$with_coreaudio;
4202 # Check whether --with-cups was given.
4203 if test ${with_cups+y}
4204 then :
4205 withval=$with_cups;
4209 # Check whether --with-dbus was given.
4210 if test ${with_dbus+y}
4211 then :
4212 withval=$with_dbus;
4216 # Check whether --with-float-abi was given.
4217 if test ${with_float_abi+y}
4218 then :
4219 withval=$with_float_abi;
4223 # Check whether --with-fontconfig was given.
4224 if test ${with_fontconfig+y}
4225 then :
4226 withval=$with_fontconfig;
4230 # Check whether --with-freetype was given.
4231 if test ${with_freetype+y}
4232 then :
4233 withval=$with_freetype;
4237 # Check whether --with-gettext was given.
4238 if test ${with_gettext+y}
4239 then :
4240 withval=$with_gettext;
4244 # Check whether --with-gettextpo was given.
4245 if test ${with_gettextpo+y}
4246 then :
4247 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4251 # Check whether --with-gphoto was given.
4252 if test ${with_gphoto+y}
4253 then :
4254 withval=$with_gphoto;
4258 # Check whether --with-gnutls was given.
4259 if test ${with_gnutls+y}
4260 then :
4261 withval=$with_gnutls;
4265 # Check whether --with-gssapi was given.
4266 if test ${with_gssapi+y}
4267 then :
4268 withval=$with_gssapi;
4272 # Check whether --with-gstreamer was given.
4273 if test ${with_gstreamer+y}
4274 then :
4275 withval=$with_gstreamer;
4279 # Check whether --with-inotify was given.
4280 if test ${with_inotify+y}
4281 then :
4282 withval=$with_inotify;
4286 # Check whether --with-krb5 was given.
4287 if test ${with_krb5+y}
4288 then :
4289 withval=$with_krb5;
4293 # Check whether --with-mingw was given.
4294 if test ${with_mingw+y}
4295 then :
4296 withval=$with_mingw;
4300 # Check whether --with-netapi was given.
4301 if test ${with_netapi+y}
4302 then :
4303 withval=$with_netapi;
4307 # Check whether --with-opencl was given.
4308 if test ${with_opencl+y}
4309 then :
4310 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4314 # Check whether --with-opengl was given.
4315 if test ${with_opengl+y}
4316 then :
4317 withval=$with_opengl;
4321 # Check whether --with-osmesa was given.
4322 if test ${with_osmesa+y}
4323 then :
4324 withval=$with_osmesa;
4328 # Check whether --with-oss was given.
4329 if test ${with_oss+y}
4330 then :
4331 withval=$with_oss;
4335 # Check whether --with-pcap was given.
4336 if test ${with_pcap+y}
4337 then :
4338 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4342 # Check whether --with-pcsclite was given.
4343 if test ${with_pcsclite+y}
4344 then :
4345 withval=$with_pcsclite;
4349 # Check whether --with-pthread was given.
4350 if test ${with_pthread+y}
4351 then :
4352 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4356 # Check whether --with-pulse was given.
4357 if test ${with_pulse+y}
4358 then :
4359 withval=$with_pulse;
4363 # Check whether --with-sane was given.
4364 if test ${with_sane+y}
4365 then :
4366 withval=$with_sane;
4370 # Check whether --with-sdl was given.
4371 if test ${with_sdl+y}
4372 then :
4373 withval=$with_sdl;
4377 # Check whether --with-udev was given.
4378 if test ${with_udev+y}
4379 then :
4380 withval=$with_udev;
4384 # Check whether --with-unwind was given.
4385 if test ${with_unwind+y}
4386 then :
4387 withval=$with_unwind;
4391 # Check whether --with-usb was given.
4392 if test ${with_usb+y}
4393 then :
4394 withval=$with_usb;
4398 # Check whether --with-v4l2 was given.
4399 if test ${with_v4l2+y}
4400 then :
4401 withval=$with_v4l2;
4405 # Check whether --with-vulkan was given.
4406 if test ${with_vulkan+y}
4407 then :
4408 withval=$with_vulkan;
4412 # Check whether --with-wayland was given.
4413 if test ${with_wayland+y}
4414 then :
4415 withval=$with_wayland;
4419 # Check whether --with-xcomposite was given.
4420 if test ${with_xcomposite+y}
4421 then :
4422 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4426 # Check whether --with-xcursor was given.
4427 if test ${with_xcursor+y}
4428 then :
4429 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4433 # Check whether --with-xfixes was given.
4434 if test ${with_xfixes+y}
4435 then :
4436 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4440 # Check whether --with-xinerama was given.
4441 if test ${with_xinerama+y}
4442 then :
4443 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4447 # Check whether --with-xinput was given.
4448 if test ${with_xinput+y}
4449 then :
4450 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4454 # Check whether --with-xinput2 was given.
4455 if test ${with_xinput2+y}
4456 then :
4457 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4461 # Check whether --with-xrandr was given.
4462 if test ${with_xrandr+y}
4463 then :
4464 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4468 # Check whether --with-xrender was given.
4469 if test ${with_xrender+y}
4470 then :
4471 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4475 # Check whether --with-xshape was given.
4476 if test ${with_xshape+y}
4477 then :
4478 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4482 # Check whether --with-xshm was given.
4483 if test ${with_xshm+y}
4484 then :
4485 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4489 # Check whether --with-xxf86vm was given.
4490 if test ${with_xxf86vm+y}
4491 then :
4492 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
4497 # Check whether --with-system-dllpath was given.
4498 if test ${with_system_dllpath+y}
4499 then :
4500 withval=$with_system_dllpath; system_dllpath=$withval
4505 # Check whether --with-wine-tools was given.
4506 if test ${with_wine_tools+y}
4507 then :
4508 withval=$with_wine_tools;
4512 # Check whether --with-wine64 was given.
4513 if test ${with_wine64+y}
4514 then :
4515 withval=$with_wine64;
4522 # Make sure we can run config.sub.
4523 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4524 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4527 printf %s "checking build system type... " >&6; }
4528 if test ${ac_cv_build+y}
4529 then :
4530 printf %s "(cached) " >&6
4531 else $as_nop
4532 ac_build_alias=$build_alias
4533 test "x$ac_build_alias" = x &&
4534 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4535 test "x$ac_build_alias" = x &&
4536 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4537 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4538 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4542 printf "%s\n" "$ac_cv_build" >&6; }
4543 case $ac_cv_build in
4544 *-*-*) ;;
4545 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4546 esac
4547 build=$ac_cv_build
4548 ac_save_IFS=$IFS; IFS='-'
4549 set x $ac_cv_build
4550 shift
4551 build_cpu=$1
4552 build_vendor=$2
4553 shift; shift
4554 # Remember, the first character of IFS is used to create $*,
4555 # except with old shells:
4556 build_os=$*
4557 IFS=$ac_save_IFS
4558 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4562 printf %s "checking host system type... " >&6; }
4563 if test ${ac_cv_host+y}
4564 then :
4565 printf %s "(cached) " >&6
4566 else $as_nop
4567 if test "x$host_alias" = x; then
4568 ac_cv_host=$ac_cv_build
4569 else
4570 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4571 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4576 printf "%s\n" "$ac_cv_host" >&6; }
4577 case $ac_cv_host in
4578 *-*-*) ;;
4579 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4580 esac
4581 host=$ac_cv_host
4582 ac_save_IFS=$IFS; IFS='-'
4583 set x $ac_cv_host
4584 shift
4585 host_cpu=$1
4586 host_vendor=$2
4587 shift; shift
4588 # Remember, the first character of IFS is used to create $*,
4589 # except with old shells:
4590 host_os=$*
4591 IFS=$ac_save_IFS
4592 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4596 dlldir=\${libdir}/wine
4598 fontdir=\${datadir}/wine/fonts
4600 nlsdir=\${datadir}/wine/nls
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4606 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4607 set x ${MAKE-make}
4608 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4609 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4610 then :
4611 printf %s "(cached) " >&6
4612 else $as_nop
4613 cat >conftest.make <<\_ACEOF
4614 SHELL = /bin/sh
4615 all:
4616 @echo '@@@%%%=$(MAKE)=@@@%%%'
4617 _ACEOF
4618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4620 *@@@%%%=?*=@@@%%%*)
4621 eval ac_cv_prog_make_${ac_make}_set=yes;;
4623 eval ac_cv_prog_make_${ac_make}_set=no;;
4624 esac
4625 rm -f conftest.make
4627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4629 printf "%s\n" "yes" >&6; }
4630 SET_MAKE=
4631 else
4632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 printf "%s\n" "no" >&6; }
4634 SET_MAKE="MAKE=${MAKE-make}"
4646 ac_ext=c
4647 ac_cpp='$CPP $CPPFLAGS'
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651 if test -n "$ac_tool_prefix"; then
4652 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4653 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 printf %s "checking for $ac_word... " >&6; }
4656 if test ${ac_cv_prog_CC+y}
4657 then :
4658 printf %s "(cached) " >&6
4659 else $as_nop
4660 if test -n "$CC"; then
4661 ac_cv_prog_CC="$CC" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 case $as_dir in #(((
4668 '') as_dir=./ ;;
4669 */) ;;
4670 *) as_dir=$as_dir/ ;;
4671 esac
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 CC=$ac_cv_prog_CC
4685 if test -n "$CC"; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4687 printf "%s\n" "$CC" >&6; }
4688 else
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 printf "%s\n" "no" >&6; }
4695 if test -z "$ac_cv_prog_CC"; then
4696 ac_ct_CC=$CC
4697 # Extract the first word of "gcc", so it can be a program name with args.
4698 set dummy gcc; ac_word=$2
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 printf %s "checking for $ac_word... " >&6; }
4701 if test ${ac_cv_prog_ac_ct_CC+y}
4702 then :
4703 printf %s "(cached) " >&6
4704 else $as_nop
4705 if test -n "$ac_ct_CC"; then
4706 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4707 else
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH
4711 IFS=$as_save_IFS
4712 case $as_dir in #(((
4713 '') as_dir=./ ;;
4714 */) ;;
4715 *) as_dir=$as_dir/ ;;
4716 esac
4717 for ac_exec_ext in '' $ac_executable_extensions; do
4718 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4719 ac_cv_prog_ac_ct_CC="gcc"
4720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4721 break 2
4723 done
4724 done
4725 IFS=$as_save_IFS
4729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4730 if test -n "$ac_ct_CC"; then
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4732 printf "%s\n" "$ac_ct_CC" >&6; }
4733 else
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 printf "%s\n" "no" >&6; }
4738 if test "x$ac_ct_CC" = x; then
4739 CC=""
4740 else
4741 case $cross_compiling:$ac_tool_warned in
4742 yes:)
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4745 ac_tool_warned=yes ;;
4746 esac
4747 CC=$ac_ct_CC
4749 else
4750 CC="$ac_cv_prog_CC"
4753 if test -z "$CC"; then
4754 if test -n "$ac_tool_prefix"; then
4755 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4756 set dummy ${ac_tool_prefix}cc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$CC"; then
4764 ac_cv_prog_CC="$CC" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_CC="${ac_tool_prefix}cc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 CC=$ac_cv_prog_CC
4788 if test -n "$CC"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4790 printf "%s\n" "$CC" >&6; }
4791 else
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 printf "%s\n" "no" >&6; }
4799 if test -z "$CC"; then
4800 # Extract the first word of "cc", so it can be a program name with args.
4801 set dummy cc; ac_word=$2
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 printf %s "checking for $ac_word... " >&6; }
4804 if test ${ac_cv_prog_CC+y}
4805 then :
4806 printf %s "(cached) " >&6
4807 else $as_nop
4808 if test -n "$CC"; then
4809 ac_cv_prog_CC="$CC" # Let the user override the test.
4810 else
4811 ac_prog_rejected=no
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 case $as_dir in #(((
4817 '') as_dir=./ ;;
4818 */) ;;
4819 *) as_dir=$as_dir/ ;;
4820 esac
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4823 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4824 ac_prog_rejected=yes
4825 continue
4827 ac_cv_prog_CC="cc"
4828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4829 break 2
4831 done
4832 done
4833 IFS=$as_save_IFS
4835 if test $ac_prog_rejected = yes; then
4836 # We found a bogon in the path, so make sure we never use it.
4837 set dummy $ac_cv_prog_CC
4838 shift
4839 if test $# != 0; then
4840 # We chose a different compiler from the bogus one.
4841 # However, it has the same basename, so the bogon will be chosen
4842 # first if we set CC to just the basename; use the full file name.
4843 shift
4844 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4849 CC=$ac_cv_prog_CC
4850 if test -n "$CC"; then
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4852 printf "%s\n" "$CC" >&6; }
4853 else
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 printf "%s\n" "no" >&6; }
4860 if test -z "$CC"; then
4861 if test -n "$ac_tool_prefix"; then
4862 for ac_prog in cl.exe
4864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4865 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s "checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_CC+y}
4869 then :
4870 printf %s "(cached) " >&6
4871 else $as_nop
4872 if test -n "$CC"; then
4873 ac_cv_prog_CC="$CC" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 case $as_dir in #(((
4880 '') as_dir=./ ;;
4881 */) ;;
4882 *) as_dir=$as_dir/ ;;
4883 esac
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 CC=$ac_cv_prog_CC
4897 if test -n "$CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4899 printf "%s\n" "$CC" >&6; }
4900 else
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$CC" && break
4907 done
4909 if test -z "$CC"; then
4910 ac_ct_CC=$CC
4911 for ac_prog in cl.exe
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy $ac_prog; ac_word=$2
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 printf %s "checking for $ac_word... " >&6; }
4917 if test ${ac_cv_prog_ac_ct_CC+y}
4918 then :
4919 printf %s "(cached) " >&6
4920 else $as_nop
4921 if test -n "$ac_ct_CC"; then
4922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 case $as_dir in #(((
4929 '') as_dir=./ ;;
4930 */) ;;
4931 *) as_dir=$as_dir/ ;;
4932 esac
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_ac_ct_CC="$ac_prog"
4936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4946 if test -n "$ac_ct_CC"; then
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4948 printf "%s\n" "$ac_ct_CC" >&6; }
4949 else
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 printf "%s\n" "no" >&6; }
4955 test -n "$ac_ct_CC" && break
4956 done
4958 if test "x$ac_ct_CC" = x; then
4959 CC=""
4960 else
4961 case $cross_compiling:$ac_tool_warned in
4962 yes:)
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4964 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4965 ac_tool_warned=yes ;;
4966 esac
4967 CC=$ac_ct_CC
4972 if test -z "$CC"; then
4973 if test -n "$ac_tool_prefix"; then
4974 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4975 set dummy ${ac_tool_prefix}clang; ac_word=$2
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 printf %s "checking for $ac_word... " >&6; }
4978 if test ${ac_cv_prog_CC+y}
4979 then :
4980 printf %s "(cached) " >&6
4981 else $as_nop
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC="$CC" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 case $as_dir in #(((
4990 '') as_dir=./ ;;
4991 */) ;;
4992 *) as_dir=$as_dir/ ;;
4993 esac
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_CC="${ac_tool_prefix}clang"
4997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4998 break 2
5000 done
5001 done
5002 IFS=$as_save_IFS
5006 CC=$ac_cv_prog_CC
5007 if test -n "$CC"; then
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5009 printf "%s\n" "$CC" >&6; }
5010 else
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 printf "%s\n" "no" >&6; }
5017 if test -z "$ac_cv_prog_CC"; then
5018 ac_ct_CC=$CC
5019 # Extract the first word of "clang", so it can be a program name with args.
5020 set dummy clang; ac_word=$2
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 printf %s "checking for $ac_word... " >&6; }
5023 if test ${ac_cv_prog_ac_ct_CC+y}
5024 then :
5025 printf %s "(cached) " >&6
5026 else $as_nop
5027 if test -n "$ac_ct_CC"; then
5028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 case $as_dir in #(((
5035 '') as_dir=./ ;;
5036 */) ;;
5037 *) as_dir=$as_dir/ ;;
5038 esac
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5041 ac_cv_prog_ac_ct_CC="clang"
5042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5052 if test -n "$ac_ct_CC"; then
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5054 printf "%s\n" "$ac_ct_CC" >&6; }
5055 else
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 printf "%s\n" "no" >&6; }
5060 if test "x$ac_ct_CC" = x; then
5061 CC=""
5062 else
5063 case $cross_compiling:$ac_tool_warned in
5064 yes:)
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5068 esac
5069 CC=$ac_ct_CC
5071 else
5072 CC="$ac_cv_prog_CC"
5078 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5079 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5080 as_fn_error $? "no acceptable C compiler found in \$PATH
5081 See \`config.log' for more details" "$LINENO" 5; }
5083 # Provide some information about the compiler.
5084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5085 set X $ac_compile
5086 ac_compiler=$2
5087 for ac_option in --version -v -V -qversion -version; do
5088 { { ac_try="$ac_compiler $ac_option >&5"
5089 case "(($ac_try" in
5090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5091 *) ac_try_echo=$ac_try;;
5092 esac
5093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5094 printf "%s\n" "$ac_try_echo"; } >&5
5095 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5096 ac_status=$?
5097 if test -s conftest.err; then
5098 sed '10a\
5099 ... rest of stderr output deleted ...
5100 10q' conftest.err >conftest.er1
5101 cat conftest.er1 >&5
5103 rm -f conftest.er1 conftest.err
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 done
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5112 main (void)
5116 return 0;
5118 _ACEOF
5119 ac_clean_files_save=$ac_clean_files
5120 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5121 # Try to create an executable without -o first, disregard a.out.
5122 # It will help us diagnose broken compilers, and finding out an intuition
5123 # of exeext.
5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5125 printf %s "checking whether the C compiler works... " >&6; }
5126 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5128 # The possible output files:
5129 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5131 ac_rmfiles=
5132 for ac_file in $ac_files
5134 case $ac_file in
5135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5136 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5137 esac
5138 done
5139 rm -f $ac_rmfiles
5141 if { { ac_try="$ac_link_default"
5142 case "(($ac_try" in
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5145 esac
5146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5147 printf "%s\n" "$ac_try_echo"; } >&5
5148 (eval "$ac_link_default") 2>&5
5149 ac_status=$?
5150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5151 test $ac_status = 0; }
5152 then :
5153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5156 # so that the user can short-circuit this test for compilers unknown to
5157 # Autoconf.
5158 for ac_file in $ac_files ''
5160 test -f "$ac_file" || continue
5161 case $ac_file in
5162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5164 [ab].out )
5165 # We found the default executable, but exeext='' is most
5166 # certainly right.
5167 break;;
5168 *.* )
5169 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5170 then :; else
5171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5173 # We set ac_cv_exeext here because the later test for it is not
5174 # safe: cross compilers may not add the suffix if given an `-o'
5175 # argument, so we may need to know it at that point already.
5176 # Even if this section looks crufty: it has the advantage of
5177 # actually working.
5178 break;;
5180 break;;
5181 esac
5182 done
5183 test "$ac_cv_exeext" = no && ac_cv_exeext=
5185 else $as_nop
5186 ac_file=''
5188 if test -z "$ac_file"
5189 then :
5190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 printf "%s\n" "no" >&6; }
5192 printf "%s\n" "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.$ac_ext >&5
5195 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5196 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5197 as_fn_error 77 "C compiler cannot create executables
5198 See \`config.log' for more details" "$LINENO" 5; }
5199 else $as_nop
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5201 printf "%s\n" "yes" >&6; }
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5204 printf %s "checking for C compiler default output file name... " >&6; }
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5206 printf "%s\n" "$ac_file" >&6; }
5207 ac_exeext=$ac_cv_exeext
5209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5210 ac_clean_files=$ac_clean_files_save
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5212 printf %s "checking for suffix of executables... " >&6; }
5213 if { { ac_try="$ac_link"
5214 case "(($ac_try" in
5215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5216 *) ac_try_echo=$ac_try;;
5217 esac
5218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5219 printf "%s\n" "$ac_try_echo"; } >&5
5220 (eval "$ac_link") 2>&5
5221 ac_status=$?
5222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5223 test $ac_status = 0; }
5224 then :
5225 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5226 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5227 # work properly (i.e., refer to `conftest.exe'), while it won't with
5228 # `rm'.
5229 for ac_file in conftest.exe conftest conftest.*; do
5230 test -f "$ac_file" || continue
5231 case $ac_file in
5232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5233 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5234 break;;
5235 * ) break;;
5236 esac
5237 done
5238 else $as_nop
5239 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5240 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5241 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5242 See \`config.log' for more details" "$LINENO" 5; }
5244 rm -f conftest conftest$ac_cv_exeext
5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5246 printf "%s\n" "$ac_cv_exeext" >&6; }
5248 rm -f conftest.$ac_ext
5249 EXEEXT=$ac_cv_exeext
5250 ac_exeext=$EXEEXT
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5253 #include <stdio.h>
5255 main (void)
5257 FILE *f = fopen ("conftest.out", "w");
5258 return ferror (f) || fclose (f) != 0;
5261 return 0;
5263 _ACEOF
5264 ac_clean_files="$ac_clean_files conftest.out"
5265 # Check that the compiler produces executables we can run. If not, either
5266 # the compiler is broken, or we cross compile.
5267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5268 printf %s "checking whether we are cross compiling... " >&6; }
5269 if test "$cross_compiling" != yes; then
5270 { { ac_try="$ac_link"
5271 case "(($ac_try" in
5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5273 *) ac_try_echo=$ac_try;;
5274 esac
5275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5276 printf "%s\n" "$ac_try_echo"; } >&5
5277 (eval "$ac_link") 2>&5
5278 ac_status=$?
5279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5280 test $ac_status = 0; }
5281 if { ac_try='./conftest$ac_cv_exeext'
5282 { { case "(($ac_try" in
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5285 esac
5286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5287 printf "%s\n" "$ac_try_echo"; } >&5
5288 (eval "$ac_try") 2>&5
5289 ac_status=$?
5290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5291 test $ac_status = 0; }; }; then
5292 cross_compiling=no
5293 else
5294 if test "$cross_compiling" = maybe; then
5295 cross_compiling=yes
5296 else
5297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error 77 "cannot run C compiled programs.
5300 If you meant to cross compile, use \`--host'.
5301 See \`config.log' for more details" "$LINENO" 5; }
5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5306 printf "%s\n" "$cross_compiling" >&6; }
5308 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5309 ac_clean_files=$ac_clean_files_save
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5311 printf %s "checking for suffix of object files... " >&6; }
5312 if test ${ac_cv_objext+y}
5313 then :
5314 printf %s "(cached) " >&6
5315 else $as_nop
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main (void)
5324 return 0;
5326 _ACEOF
5327 rm -f conftest.o conftest.obj
5328 if { { ac_try="$ac_compile"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 printf "%s\n" "$ac_try_echo"; } >&5
5335 (eval "$ac_compile") 2>&5
5336 ac_status=$?
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 then :
5340 for ac_file in conftest.o conftest.obj conftest.*; do
5341 test -f "$ac_file" || continue;
5342 case $ac_file in
5343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5344 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5345 break;;
5346 esac
5347 done
5348 else $as_nop
5349 printf "%s\n" "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.$ac_ext >&5
5352 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5353 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5354 as_fn_error $? "cannot compute suffix of object files: cannot compile
5355 See \`config.log' for more details" "$LINENO" 5; }
5357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5360 printf "%s\n" "$ac_cv_objext" >&6; }
5361 OBJEXT=$ac_cv_objext
5362 ac_objext=$OBJEXT
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5364 printf %s "checking whether the compiler supports GNU C... " >&6; }
5365 if test ${ac_cv_c_compiler_gnu+y}
5366 then :
5367 printf %s "(cached) " >&6
5368 else $as_nop
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5373 main (void)
5375 #ifndef __GNUC__
5376 choke me
5377 #endif
5380 return 0;
5382 _ACEOF
5383 if ac_fn_c_try_compile "$LINENO"
5384 then :
5385 ac_compiler_gnu=yes
5386 else $as_nop
5387 ac_compiler_gnu=no
5389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5394 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 if test $ac_compiler_gnu = yes; then
5398 GCC=yes
5399 else
5400 GCC=
5402 ac_test_CFLAGS=${CFLAGS+y}
5403 ac_save_CFLAGS=$CFLAGS
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5405 printf %s "checking whether $CC accepts -g... " >&6; }
5406 if test ${ac_cv_prog_cc_g+y}
5407 then :
5408 printf %s "(cached) " >&6
5409 else $as_nop
5410 ac_save_c_werror_flag=$ac_c_werror_flag
5411 ac_c_werror_flag=yes
5412 ac_cv_prog_cc_g=no
5413 CFLAGS="-g"
5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5418 main (void)
5422 return 0;
5424 _ACEOF
5425 if ac_fn_c_try_compile "$LINENO"
5426 then :
5427 ac_cv_prog_cc_g=yes
5428 else $as_nop
5429 CFLAGS=""
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431 /* end confdefs.h. */
5434 main (void)
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5444 else $as_nop
5445 ac_c_werror_flag=$ac_save_c_werror_flag
5446 CFLAGS="-g"
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5451 main (void)
5455 return 0;
5457 _ACEOF
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_g=yes
5462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5467 ac_c_werror_flag=$ac_save_c_werror_flag
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5470 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5471 if test $ac_test_CFLAGS; then
5472 CFLAGS=$ac_save_CFLAGS
5473 elif test $ac_cv_prog_cc_g = yes; then
5474 if test "$GCC" = yes; then
5475 CFLAGS="-g -O2"
5476 else
5477 CFLAGS="-g"
5479 else
5480 if test "$GCC" = yes; then
5481 CFLAGS="-O2"
5482 else
5483 CFLAGS=
5486 ac_prog_cc_stdc=no
5487 if test x$ac_prog_cc_stdc = xno
5488 then :
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5490 printf %s "checking for $CC option to enable C11 features... " >&6; }
5491 if test ${ac_cv_prog_cc_c11+y}
5492 then :
5493 printf %s "(cached) " >&6
5494 else $as_nop
5495 ac_cv_prog_cc_c11=no
5496 ac_save_CC=$CC
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_c_conftest_c11_program
5500 _ACEOF
5501 for ac_arg in '' -std=gnu11
5503 CC="$ac_save_CC $ac_arg"
5504 if ac_fn_c_try_compile "$LINENO"
5505 then :
5506 ac_cv_prog_cc_c11=$ac_arg
5508 rm -f core conftest.err conftest.$ac_objext conftest.beam
5509 test "x$ac_cv_prog_cc_c11" != "xno" && break
5510 done
5511 rm -f conftest.$ac_ext
5512 CC=$ac_save_CC
5515 if test "x$ac_cv_prog_cc_c11" = xno
5516 then :
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf "%s\n" "unsupported" >&6; }
5519 else $as_nop
5520 if test "x$ac_cv_prog_cc_c11" = x
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf "%s\n" "none needed" >&6; }
5524 else $as_nop
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5526 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c11"
5529 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5530 ac_prog_cc_stdc=c11
5533 if test x$ac_prog_cc_stdc = xno
5534 then :
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5536 printf %s "checking for $CC option to enable C99 features... " >&6; }
5537 if test ${ac_cv_prog_cc_c99+y}
5538 then :
5539 printf %s "(cached) " >&6
5540 else $as_nop
5541 ac_cv_prog_cc_c99=no
5542 ac_save_CC=$CC
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5545 $ac_c_conftest_c99_program
5546 _ACEOF
5547 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5549 CC="$ac_save_CC $ac_arg"
5550 if ac_fn_c_try_compile "$LINENO"
5551 then :
5552 ac_cv_prog_cc_c99=$ac_arg
5554 rm -f core conftest.err conftest.$ac_objext conftest.beam
5555 test "x$ac_cv_prog_cc_c99" != "xno" && break
5556 done
5557 rm -f conftest.$ac_ext
5558 CC=$ac_save_CC
5561 if test "x$ac_cv_prog_cc_c99" = xno
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5564 printf "%s\n" "unsupported" >&6; }
5565 else $as_nop
5566 if test "x$ac_cv_prog_cc_c99" = x
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5569 printf "%s\n" "none needed" >&6; }
5570 else $as_nop
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5572 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5573 CC="$CC $ac_cv_prog_cc_c99"
5575 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5576 ac_prog_cc_stdc=c99
5579 if test x$ac_prog_cc_stdc = xno
5580 then :
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5582 printf %s "checking for $CC option to enable C89 features... " >&6; }
5583 if test ${ac_cv_prog_cc_c89+y}
5584 then :
5585 printf %s "(cached) " >&6
5586 else $as_nop
5587 ac_cv_prog_cc_c89=no
5588 ac_save_CC=$CC
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5591 $ac_c_conftest_c89_program
5592 _ACEOF
5593 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5595 CC="$ac_save_CC $ac_arg"
5596 if ac_fn_c_try_compile "$LINENO"
5597 then :
5598 ac_cv_prog_cc_c89=$ac_arg
5600 rm -f core conftest.err conftest.$ac_objext conftest.beam
5601 test "x$ac_cv_prog_cc_c89" != "xno" && break
5602 done
5603 rm -f conftest.$ac_ext
5604 CC=$ac_save_CC
5607 if test "x$ac_cv_prog_cc_c89" = xno
5608 then :
5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5610 printf "%s\n" "unsupported" >&6; }
5611 else $as_nop
5612 if test "x$ac_cv_prog_cc_c89" = x
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5615 printf "%s\n" "none needed" >&6; }
5616 else $as_nop
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5618 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5619 CC="$CC $ac_cv_prog_cc_c89"
5621 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5622 ac_prog_cc_stdc=c89
5626 ac_ext=c
5627 ac_cpp='$CPP $CPPFLAGS'
5628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5638 ac_ext=cpp
5639 ac_cpp='$CXXCPP $CPPFLAGS'
5640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5643 if test -z "$CXX"; then
5644 if test -n "$CCC"; then
5645 CXX=$CCC
5646 else
5647 if test -n "$ac_tool_prefix"; then
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_CXX+y}
5655 then :
5656 printf %s "(cached) " >&6
5657 else $as_nop
5658 if test -n "$CXX"; then
5659 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 case $as_dir in #(((
5666 '') as_dir=./ ;;
5667 */) ;;
5668 *) as_dir=$as_dir/ ;;
5669 esac
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 CXX=$ac_cv_prog_CXX
5683 if test -n "$CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5685 printf "%s\n" "$CXX" >&6; }
5686 else
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$CXX" && break
5693 done
5695 if test -z "$CXX"; then
5696 ac_ct_CXX=$CXX
5697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 printf %s "checking for $ac_word... " >&6; }
5703 if test ${ac_cv_prog_ac_ct_CXX+y}
5704 then :
5705 printf %s "(cached) " >&6
5706 else $as_nop
5707 if test -n "$ac_ct_CXX"; then
5708 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 case $as_dir in #(((
5715 '') as_dir=./ ;;
5716 */) ;;
5717 *) as_dir=$as_dir/ ;;
5718 esac
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_ac_ct_CXX="$ac_prog"
5722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5723 break 2
5725 done
5726 done
5727 IFS=$as_save_IFS
5731 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5732 if test -n "$ac_ct_CXX"; then
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5734 printf "%s\n" "$ac_ct_CXX" >&6; }
5735 else
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 printf "%s\n" "no" >&6; }
5741 test -n "$ac_ct_CXX" && break
5742 done
5744 if test "x$ac_ct_CXX" = x; then
5745 CXX="g++"
5746 else
5747 case $cross_compiling:$ac_tool_warned in
5748 yes:)
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5751 ac_tool_warned=yes ;;
5752 esac
5753 CXX=$ac_ct_CXX
5759 # Provide some information about the compiler.
5760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5761 set X $ac_compile
5762 ac_compiler=$2
5763 for ac_option in --version -v -V -qversion; do
5764 { { ac_try="$ac_compiler $ac_option >&5"
5765 case "(($ac_try" in
5766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5767 *) ac_try_echo=$ac_try;;
5768 esac
5769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5770 printf "%s\n" "$ac_try_echo"; } >&5
5771 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5772 ac_status=$?
5773 if test -s conftest.err; then
5774 sed '10a\
5775 ... rest of stderr output deleted ...
5776 10q' conftest.err >conftest.er1
5777 cat conftest.er1 >&5
5779 rm -f conftest.er1 conftest.err
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5781 test $ac_status = 0; }
5782 done
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5785 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5786 if test ${ac_cv_cxx_compiler_gnu+y}
5787 then :
5788 printf %s "(cached) " >&6
5789 else $as_nop
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5794 main (void)
5796 #ifndef __GNUC__
5797 choke me
5798 #endif
5801 return 0;
5803 _ACEOF
5804 if ac_fn_cxx_try_compile "$LINENO"
5805 then :
5806 ac_compiler_gnu=yes
5807 else $as_nop
5808 ac_compiler_gnu=no
5810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5811 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5815 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5818 if test $ac_compiler_gnu = yes; then
5819 GXX=yes
5820 else
5821 GXX=
5823 ac_test_CXXFLAGS=${CXXFLAGS+y}
5824 ac_save_CXXFLAGS=$CXXFLAGS
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5826 printf %s "checking whether $CXX accepts -g... " >&6; }
5827 if test ${ac_cv_prog_cxx_g+y}
5828 then :
5829 printf %s "(cached) " >&6
5830 else $as_nop
5831 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5832 ac_cxx_werror_flag=yes
5833 ac_cv_prog_cxx_g=no
5834 CXXFLAGS="-g"
5835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5839 main (void)
5843 return 0;
5845 _ACEOF
5846 if ac_fn_cxx_try_compile "$LINENO"
5847 then :
5848 ac_cv_prog_cxx_g=yes
5849 else $as_nop
5850 CXXFLAGS=""
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5855 main (void)
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5865 else $as_nop
5866 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5867 CXXFLAGS="-g"
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5872 main (void)
5876 return 0;
5878 _ACEOF
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_g=yes
5883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5888 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5891 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5892 if test $ac_test_CXXFLAGS; then
5893 CXXFLAGS=$ac_save_CXXFLAGS
5894 elif test $ac_cv_prog_cxx_g = yes; then
5895 if test "$GXX" = yes; then
5896 CXXFLAGS="-g -O2"
5897 else
5898 CXXFLAGS="-g"
5900 else
5901 if test "$GXX" = yes; then
5902 CXXFLAGS="-O2"
5903 else
5904 CXXFLAGS=
5907 ac_prog_cxx_stdcxx=no
5908 if test x$ac_prog_cxx_stdcxx = xno
5909 then :
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5911 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5912 if test ${ac_cv_prog_cxx_cxx11+y}
5913 then :
5914 printf %s "(cached) " >&6
5915 else $as_nop
5916 ac_cv_prog_cxx_cxx11=no
5917 ac_save_CXX=$CXX
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5920 $ac_cxx_conftest_cxx11_program
5921 _ACEOF
5922 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5924 CXX="$ac_save_CXX $ac_arg"
5925 if ac_fn_cxx_try_compile "$LINENO"
5926 then :
5927 ac_cv_prog_cxx_cxx11=$ac_arg
5929 rm -f core conftest.err conftest.$ac_objext conftest.beam
5930 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5931 done
5932 rm -f conftest.$ac_ext
5933 CXX=$ac_save_CXX
5936 if test "x$ac_cv_prog_cxx_cxx11" = xno
5937 then :
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5939 printf "%s\n" "unsupported" >&6; }
5940 else $as_nop
5941 if test "x$ac_cv_prog_cxx_cxx11" = x
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5944 printf "%s\n" "none needed" >&6; }
5945 else $as_nop
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5947 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5948 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5950 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5951 ac_prog_cxx_stdcxx=cxx11
5954 if test x$ac_prog_cxx_stdcxx = xno
5955 then :
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5957 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5958 if test ${ac_cv_prog_cxx_cxx98+y}
5959 then :
5960 printf %s "(cached) " >&6
5961 else $as_nop
5962 ac_cv_prog_cxx_cxx98=no
5963 ac_save_CXX=$CXX
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 $ac_cxx_conftest_cxx98_program
5967 _ACEOF
5968 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5970 CXX="$ac_save_CXX $ac_arg"
5971 if ac_fn_cxx_try_compile "$LINENO"
5972 then :
5973 ac_cv_prog_cxx_cxx98=$ac_arg
5975 rm -f core conftest.err conftest.$ac_objext conftest.beam
5976 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5977 done
5978 rm -f conftest.$ac_ext
5979 CXX=$ac_save_CXX
5982 if test "x$ac_cv_prog_cxx_cxx98" = xno
5983 then :
5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5985 printf "%s\n" "unsupported" >&6; }
5986 else $as_nop
5987 if test "x$ac_cv_prog_cxx_cxx98" = x
5988 then :
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5990 printf "%s\n" "none needed" >&6; }
5991 else $as_nop
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5993 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5994 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5996 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5997 ac_prog_cxx_stdcxx=cxx98
6001 ac_ext=c
6002 ac_cpp='$CPP $CPPFLAGS'
6003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6007 if test -n "$ac_tool_prefix"; then
6008 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 printf %s "checking for $ac_word... " >&6; }
6012 if test ${ac_cv_prog_CPPBIN+y}
6013 then :
6014 printf %s "(cached) " >&6
6015 else $as_nop
6016 if test -n "$CPPBIN"; then
6017 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 case $as_dir in #(((
6024 '') as_dir=./ ;;
6025 */) ;;
6026 *) as_dir=$as_dir/ ;;
6027 esac
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 CPPBIN=$ac_cv_prog_CPPBIN
6041 if test -n "$CPPBIN"; then
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6043 printf "%s\n" "$CPPBIN" >&6; }
6044 else
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 printf "%s\n" "no" >&6; }
6051 if test -z "$ac_cv_prog_CPPBIN"; then
6052 ac_ct_CPPBIN=$CPPBIN
6053 # Extract the first word of "cpp", so it can be a program name with args.
6054 set dummy cpp; ac_word=$2
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 printf %s "checking for $ac_word... " >&6; }
6057 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6058 then :
6059 printf %s "(cached) " >&6
6060 else $as_nop
6061 if test -n "$ac_ct_CPPBIN"; then
6062 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 case $as_dir in #(((
6069 '') as_dir=./ ;;
6070 */) ;;
6071 *) as_dir=$as_dir/ ;;
6072 esac
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_ac_ct_CPPBIN="cpp"
6076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6086 if test -n "$ac_ct_CPPBIN"; then
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6088 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6089 else
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 printf "%s\n" "no" >&6; }
6094 if test "x$ac_ct_CPPBIN" = x; then
6095 CPPBIN="cpp"
6096 else
6097 case $cross_compiling:$ac_tool_warned in
6098 yes:)
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned=yes ;;
6102 esac
6103 CPPBIN=$ac_ct_CPPBIN
6105 else
6106 CPPBIN="$ac_cv_prog_CPPBIN"
6110 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6112 if test -n "$ac_tool_prefix"; then
6113 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6114 set dummy ${ac_tool_prefix}ld; ac_word=$2
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 printf %s "checking for $ac_word... " >&6; }
6117 if test ${ac_cv_prog_LD+y}
6118 then :
6119 printf %s "(cached) " >&6
6120 else $as_nop
6121 if test -n "$LD"; then
6122 ac_cv_prog_LD="$LD" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 case $as_dir in #(((
6129 '') as_dir=./ ;;
6130 */) ;;
6131 *) as_dir=$as_dir/ ;;
6132 esac
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_LD="${ac_tool_prefix}ld"
6136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 LD=$ac_cv_prog_LD
6146 if test -n "$LD"; then
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6148 printf "%s\n" "$LD" >&6; }
6149 else
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 printf "%s\n" "no" >&6; }
6156 if test -z "$ac_cv_prog_LD"; then
6157 ac_ct_LD=$LD
6158 # Extract the first word of "ld", so it can be a program name with args.
6159 set dummy ld; ac_word=$2
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 printf %s "checking for $ac_word... " >&6; }
6162 if test ${ac_cv_prog_ac_ct_LD+y}
6163 then :
6164 printf %s "(cached) " >&6
6165 else $as_nop
6166 if test -n "$ac_ct_LD"; then
6167 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 case $as_dir in #(((
6174 '') as_dir=./ ;;
6175 */) ;;
6176 *) as_dir=$as_dir/ ;;
6177 esac
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_ac_ct_LD="ld"
6181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6191 if test -n "$ac_ct_LD"; then
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6193 printf "%s\n" "$ac_ct_LD" >&6; }
6194 else
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 printf "%s\n" "no" >&6; }
6199 if test "x$ac_ct_LD" = x; then
6200 LD=""
6201 else
6202 case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208 LD=$ac_ct_LD
6210 else
6211 LD="$ac_cv_prog_LD"
6215 case $host in
6216 *-darwin*)
6217 with_fontconfig=${with_fontconfig:-no}
6219 *-mingw32*|*-cygwin*)
6220 enable_win16=${enable_win16:-no}
6221 with_mingw=${with_mingw:-no}
6223 esac
6226 case $host in
6227 x86_64*|amd64*)
6228 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6229 then
6230 CC="$CC -m32"
6231 CXX="$CXX -m32"
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6234 printf %s "checking whether $CC works... " >&6; }
6235 if test ${wine_cv_cc_m32+y}
6236 then :
6237 printf %s "(cached) " >&6
6238 else $as_nop
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6243 main (void)
6247 return 0;
6249 _ACEOF
6250 if ac_fn_c_try_link "$LINENO"
6251 then :
6252 wine_cv_cc_m32=yes
6253 else $as_nop
6254 wine_cv_cc_m32=no
6256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6257 conftest$ac_exeext conftest.$ac_ext
6259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6260 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6261 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
6262 host_cpu="i386"
6263 notice_platform="32-bit "
6264 TARGETFLAGS="$TARGETFLAGS -m32"
6265 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6266 export PKG_CONFIG_LIBDIR
6267 with_unwind=${with_unwind:-no}
6268 else
6269 if test "x${GCC}" = "xyes"
6270 then
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6272 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6273 if test ${wine_cv_builtin_ms_va_list+y}
6274 then :
6275 printf %s "(cached) " >&6
6276 else $as_nop
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #include <stdarg.h>
6281 main (void)
6283 void func(__builtin_ms_va_list *args);
6285 return 0;
6287 _ACEOF
6288 if ac_fn_c_try_compile "$LINENO"
6289 then :
6290 wine_cv_builtin_ms_va_list=yes
6291 else $as_nop
6292 wine_cv_builtin_ms_va_list=no
6294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6297 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6298 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
6300 CC="$CC -m64"
6301 CXX="$CXX -m64"
6302 host_cpu="x86_64"
6303 notice_platform="64-bit "
6304 TARGETFLAGS="$TARGETFLAGS -m64"
6307 arm*)
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6309 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6310 if test ${wine_cv_thumb2+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6318 main (void)
6320 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_link "$LINENO"
6326 then :
6327 wine_cv_thumb2=yes
6328 else $as_nop
6329 wine_cv_thumb2=no
6331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6332 conftest$ac_exeext conftest.$ac_ext
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6335 printf "%s\n" "$wine_cv_thumb2" >&6; }
6336 if test x"$wine_cv_thumb2" = xyes
6337 then
6338 CFLAGS="$CFLAGS -mthumb"
6339 TARGETFLAGS="$TARGETFLAGS -mthumb"
6340 else
6341 CFLAGS="$CFLAGS -marm"
6342 TARGETFLAGS="$TARGETFLAGS -marm"
6344 case $with_float_abi in
6345 soft|softfp|hard)
6346 float_abi=$with_float_abi ;;
6348 case $host_os in
6349 *eabihf)
6350 float_abi=hard ;;
6352 float_abi=softfp
6353 saved_CFLAGS=$CFLAGS
6354 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6356 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6357 if test ${wine_cv_float_abi+y}
6358 then :
6359 printf %s "(cached) " >&6
6360 else $as_nop
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6365 main (void)
6367 asm("vmrs r2,fpscr");
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_link "$LINENO"
6373 then :
6374 wine_cv_float_abi=yes
6375 else $as_nop
6376 wine_cv_float_abi=no
6378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6379 conftest$ac_exeext conftest.$ac_ext
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6382 printf "%s\n" "$wine_cv_float_abi" >&6; }
6383 if test $wine_cv_float_abi = no
6384 then
6385 float_abi=soft
6386 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6388 CFLAGS=$saved_CFLAGS
6389 esac
6391 esac
6392 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6393 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6395 i[3456789]86*)
6396 with_unwind=${with_unwind:-no}
6398 esac
6400 enable_win16=${enable_win16:-i386}
6401 enable_win64=${enable_win64:-no}
6402 enable_wow64=${enable_wow64:-aarch64,x86_64}
6403 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6404 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6406 enable_winetest=${enable_winetest:-$enable_tests}
6408 if test "x$enable_win64" = "xyes"
6409 then
6410 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6411 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6414 case $build_os in
6415 cygwin*|mingw32*) toolsext=".exe"
6417 *) toolsext=""
6419 esac
6421 HOST_ARCH=unknown
6422 case "$host_cpu" in
6423 aarch64*) HOST_ARCH=aarch64 ;;
6424 arm*) HOST_ARCH=arm ;;
6425 i[3456789]86*) HOST_ARCH=i386 ;;
6426 x86_64) HOST_ARCH=x86_64 ;;
6427 esac
6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6431 printf %s "checking for the directory containing the Wine tools... " >&6; }
6432 if test ${wine_cv_toolsdir+y}
6433 then :
6434 printf %s "(cached) " >&6
6435 else $as_nop
6436 wine_cv_toolsdir="$with_wine_tools"
6437 if test -z "$with_wine_tools"; then
6438 if test "$cross_compiling" = "yes"; then
6439 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6440 elif test -n "$with_wine64"; then
6441 wine_cv_toolsdir="$with_wine64"
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6446 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6447 if test -z "$wine_cv_toolsdir"; then
6448 wine_makedep=tools/makedep$toolsext
6449 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6450 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6451 enable_tools=${enable_tools:-no}
6452 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6453 else
6454 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6456 toolsdir=$wine_cv_toolsdir
6458 MAKEDEP=$wine_makedep
6460 RUNTESTFLAGS="-q -P wine"
6462 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'"
6465 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6466 then
6467 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6470 for ac_prog in flex
6472 # Extract the first word of "$ac_prog", so it can be a program name with args.
6473 set dummy $ac_prog; ac_word=$2
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 printf %s "checking for $ac_word... " >&6; }
6476 if test ${ac_cv_prog_FLEX+y}
6477 then :
6478 printf %s "(cached) " >&6
6479 else $as_nop
6480 if test -n "$FLEX"; then
6481 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6482 else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 for as_dir in $PATH
6486 IFS=$as_save_IFS
6487 case $as_dir in #(((
6488 '') as_dir=./ ;;
6489 */) ;;
6490 *) as_dir=$as_dir/ ;;
6491 esac
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6494 ac_cv_prog_FLEX="$ac_prog"
6495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6496 break 2
6498 done
6499 done
6500 IFS=$as_save_IFS
6504 FLEX=$ac_cv_prog_FLEX
6505 if test -n "$FLEX"; then
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6507 printf "%s\n" "$FLEX" >&6; }
6508 else
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 printf "%s\n" "no" >&6; }
6514 test -n "$FLEX" && break
6515 done
6516 test -n "$FLEX" || FLEX="none"
6518 if test "$FLEX" = "none"
6519 then
6520 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6523 printf %s "checking whether flex is recent enough... " >&6; }
6524 if test ${wine_cv_recent_flex+y}
6525 then :
6526 printf %s "(cached) " >&6
6527 else $as_nop
6528 cat >conftest.l <<EOF
6529 %top{
6530 #include "prediluvian.h"
6534 if $FLEX -t conftest.l >/dev/null 2>&5
6535 then
6536 wine_cv_recent_flex=yes
6537 else
6538 wine_cv_recent_flex=no
6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6542 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6543 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
6545 for ac_prog in bison
6547 # Extract the first word of "$ac_prog", so it can be a program name with args.
6548 set dummy $ac_prog; ac_word=$2
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 printf %s "checking for $ac_word... " >&6; }
6551 if test ${ac_cv_prog_BISON+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else $as_nop
6555 if test -n "$BISON"; then
6556 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 case $as_dir in #(((
6563 '') as_dir=./ ;;
6564 */) ;;
6565 *) as_dir=$as_dir/ ;;
6566 esac
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6569 ac_cv_prog_BISON="$ac_prog"
6570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 BISON=$ac_cv_prog_BISON
6580 if test -n "$BISON"; then
6581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6582 printf "%s\n" "$BISON" >&6; }
6583 else
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 printf "%s\n" "no" >&6; }
6589 test -n "$BISON" && break
6590 done
6591 test -n "$BISON" || BISON="none"
6593 if test "$BISON" = "none"
6594 then
6595 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6598 printf %s "checking whether bison is recent enough... " >&6; }
6599 if test ${wine_cv_recent_bison+y}
6600 then :
6601 printf %s "(cached) " >&6
6602 else $as_nop
6603 cat >conftest.y <<EOF
6604 %define parse.error verbose
6606 empty: ;
6608 if $BISON conftest.y >/dev/null 2>&5
6609 then
6610 wine_cv_recent_bison=yes
6611 else
6612 wine_cv_recent_bison=no
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6616 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6617 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
6619 if test -n "$ac_tool_prefix"; then
6620 for ac_prog in ar gar
6622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s "checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_AR+y}
6627 then :
6628 printf %s "(cached) " >&6
6629 else $as_nop
6630 if test -n "$AR"; then
6631 ac_cv_prog_AR="$AR" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 case $as_dir in #(((
6638 '') as_dir=./ ;;
6639 */) ;;
6640 *) as_dir=$as_dir/ ;;
6641 esac
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 AR=$ac_cv_prog_AR
6655 if test -n "$AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6657 printf "%s\n" "$AR" >&6; }
6658 else
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$AR" && break
6665 done
6667 if test -z "$AR"; then
6668 ac_ct_AR=$AR
6669 for ac_prog in ar gar
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 printf %s "checking for $ac_word... " >&6; }
6675 if test ${ac_cv_prog_ac_ct_AR+y}
6676 then :
6677 printf %s "(cached) " >&6
6678 else $as_nop
6679 if test -n "$ac_ct_AR"; then
6680 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6685 IFS=$as_save_IFS
6686 case $as_dir in #(((
6687 '') as_dir=./ ;;
6688 */) ;;
6689 *) as_dir=$as_dir/ ;;
6690 esac
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6693 ac_cv_prog_ac_ct_AR="$ac_prog"
6694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6704 if test -n "$ac_ct_AR"; then
6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6706 printf "%s\n" "$ac_ct_AR" >&6; }
6707 else
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 printf "%s\n" "no" >&6; }
6713 test -n "$ac_ct_AR" && break
6714 done
6716 if test "x$ac_ct_AR" = x; then
6717 AR="ar"
6718 else
6719 case $cross_compiling:$ac_tool_warned in
6720 yes:)
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723 ac_tool_warned=yes ;;
6724 esac
6725 AR=$ac_ct_AR
6729 if test -n "$ac_tool_prefix"; then
6730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6731 set dummy ${ac_tool_prefix}strip; ac_word=$2
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 printf %s "checking for $ac_word... " >&6; }
6734 if test ${ac_cv_prog_STRIP+y}
6735 then :
6736 printf %s "(cached) " >&6
6737 else $as_nop
6738 if test -n "$STRIP"; then
6739 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6744 IFS=$as_save_IFS
6745 case $as_dir in #(((
6746 '') as_dir=./ ;;
6747 */) ;;
6748 *) as_dir=$as_dir/ ;;
6749 esac
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 STRIP=$ac_cv_prog_STRIP
6763 if test -n "$STRIP"; then
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6765 printf "%s\n" "$STRIP" >&6; }
6766 else
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 printf "%s\n" "no" >&6; }
6773 if test -z "$ac_cv_prog_STRIP"; then
6774 ac_ct_STRIP=$STRIP
6775 # Extract the first word of "strip", so it can be a program name with args.
6776 set dummy strip; ac_word=$2
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 printf %s "checking for $ac_word... " >&6; }
6779 if test ${ac_cv_prog_ac_ct_STRIP+y}
6780 then :
6781 printf %s "(cached) " >&6
6782 else $as_nop
6783 if test -n "$ac_ct_STRIP"; then
6784 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6785 else
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 for as_dir in $PATH
6789 IFS=$as_save_IFS
6790 case $as_dir in #(((
6791 '') as_dir=./ ;;
6792 */) ;;
6793 *) as_dir=$as_dir/ ;;
6794 esac
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_ac_ct_STRIP="strip"
6798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6799 break 2
6801 done
6802 done
6803 IFS=$as_save_IFS
6807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6808 if test -n "$ac_ct_STRIP"; then
6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6810 printf "%s\n" "$ac_ct_STRIP" >&6; }
6811 else
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 printf "%s\n" "no" >&6; }
6816 if test "x$ac_ct_STRIP" = x; then
6817 STRIP="strip"
6818 else
6819 case $cross_compiling:$ac_tool_warned in
6820 yes:)
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6822 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6823 ac_tool_warned=yes ;;
6824 esac
6825 STRIP=$ac_ct_STRIP
6827 else
6828 STRIP="$ac_cv_prog_STRIP"
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 printf %s "checking for $ac_word... " >&6; }
6836 if test ${ac_cv_prog_RANLIB+y}
6837 then :
6838 printf %s "(cached) " >&6
6839 else $as_nop
6840 if test -n "$RANLIB"; then
6841 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6842 else
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 for as_dir in $PATH
6846 IFS=$as_save_IFS
6847 case $as_dir in #(((
6848 '') as_dir=./ ;;
6849 */) ;;
6850 *) as_dir=$as_dir/ ;;
6851 esac
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6860 IFS=$as_save_IFS
6864 RANLIB=$ac_cv_prog_RANLIB
6865 if test -n "$RANLIB"; then
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6867 printf "%s\n" "$RANLIB" >&6; }
6868 else
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 printf "%s\n" "no" >&6; }
6875 if test -z "$ac_cv_prog_RANLIB"; then
6876 ac_ct_RANLIB=$RANLIB
6877 # Extract the first word of "ranlib", so it can be a program name with args.
6878 set dummy ranlib; ac_word=$2
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 printf %s "checking for $ac_word... " >&6; }
6881 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6882 then :
6883 printf %s "(cached) " >&6
6884 else $as_nop
6885 if test -n "$ac_ct_RANLIB"; then
6886 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6891 IFS=$as_save_IFS
6892 case $as_dir in #(((
6893 '') as_dir=./ ;;
6894 */) ;;
6895 *) as_dir=$as_dir/ ;;
6896 esac
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_ac_ct_RANLIB="ranlib"
6900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6901 break 2
6903 done
6904 done
6905 IFS=$as_save_IFS
6909 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6910 if test -n "$ac_ct_RANLIB"; then
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6912 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6913 else
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 printf "%s\n" "no" >&6; }
6918 if test "x$ac_ct_RANLIB" = x; then
6919 RANLIB=":"
6920 else
6921 case $cross_compiling:$ac_tool_warned in
6922 yes:)
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6924 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6925 ac_tool_warned=yes ;;
6926 esac
6927 RANLIB=$ac_ct_RANLIB
6929 else
6930 RANLIB="$ac_cv_prog_RANLIB"
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6934 printf %s "checking whether ln -s works... " >&6; }
6935 LN_S=$as_ln_s
6936 if test "$LN_S" = "ln -s"; then
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6938 printf "%s\n" "yes" >&6; }
6939 else
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6941 printf "%s\n" "no, using $LN_S" >&6; }
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6945 printf %s "checking for grep that handles long lines and -e... " >&6; }
6946 if test ${ac_cv_path_GREP+y}
6947 then :
6948 printf %s "(cached) " >&6
6949 else $as_nop
6950 if test -z "$GREP"; then
6951 ac_path_GREP_found=false
6952 # Loop through the user's path and test for each of PROGNAME-LIST
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6956 IFS=$as_save_IFS
6957 case $as_dir in #(((
6958 '') as_dir=./ ;;
6959 */) ;;
6960 *) as_dir=$as_dir/ ;;
6961 esac
6962 for ac_prog in grep ggrep
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6966 as_fn_executable_p "$ac_path_GREP" || continue
6967 # Check for GNU ac_path_GREP and select it if it is found.
6968 # Check for GNU $ac_path_GREP
6969 case `"$ac_path_GREP" --version 2>&1` in
6970 *GNU*)
6971 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6973 ac_count=0
6974 printf %s 0123456789 >"conftest.in"
6975 while :
6977 cat "conftest.in" "conftest.in" >"conftest.tmp"
6978 mv "conftest.tmp" "conftest.in"
6979 cp "conftest.in" "conftest.nl"
6980 printf "%s\n" 'GREP' >> "conftest.nl"
6981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6983 as_fn_arith $ac_count + 1 && ac_count=$as_val
6984 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6985 # Best one so far, save it but keep looking for a better one
6986 ac_cv_path_GREP="$ac_path_GREP"
6987 ac_path_GREP_max=$ac_count
6989 # 10*(2^10) chars as input seems more than enough
6990 test $ac_count -gt 10 && break
6991 done
6992 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6993 esac
6995 $ac_path_GREP_found && break 3
6996 done
6997 done
6998 done
6999 IFS=$as_save_IFS
7000 if test -z "$ac_cv_path_GREP"; then
7001 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7003 else
7004 ac_cv_path_GREP=$GREP
7008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7009 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7010 GREP="$ac_cv_path_GREP"
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7014 printf %s "checking for egrep... " >&6; }
7015 if test ${ac_cv_path_EGREP+y}
7016 then :
7017 printf %s "(cached) " >&6
7018 else $as_nop
7019 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7020 then ac_cv_path_EGREP="$GREP -E"
7021 else
7022 if test -z "$EGREP"; then
7023 ac_path_EGREP_found=false
7024 # Loop through the user's path and test for each of PROGNAME-LIST
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7028 IFS=$as_save_IFS
7029 case $as_dir in #(((
7030 '') as_dir=./ ;;
7031 */) ;;
7032 *) as_dir=$as_dir/ ;;
7033 esac
7034 for ac_prog in egrep
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7038 as_fn_executable_p "$ac_path_EGREP" || continue
7039 # Check for GNU ac_path_EGREP and select it if it is found.
7040 # Check for GNU $ac_path_EGREP
7041 case `"$ac_path_EGREP" --version 2>&1` in
7042 *GNU*)
7043 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7045 ac_count=0
7046 printf %s 0123456789 >"conftest.in"
7047 while :
7049 cat "conftest.in" "conftest.in" >"conftest.tmp"
7050 mv "conftest.tmp" "conftest.in"
7051 cp "conftest.in" "conftest.nl"
7052 printf "%s\n" 'EGREP' >> "conftest.nl"
7053 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7055 as_fn_arith $ac_count + 1 && ac_count=$as_val
7056 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7057 # Best one so far, save it but keep looking for a better one
7058 ac_cv_path_EGREP="$ac_path_EGREP"
7059 ac_path_EGREP_max=$ac_count
7061 # 10*(2^10) chars as input seems more than enough
7062 test $ac_count -gt 10 && break
7063 done
7064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7065 esac
7067 $ac_path_EGREP_found && break 3
7068 done
7069 done
7070 done
7071 IFS=$as_save_IFS
7072 if test -z "$ac_cv_path_EGREP"; then
7073 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7075 else
7076 ac_cv_path_EGREP=$EGREP
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7082 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7083 EGREP="$ac_cv_path_EGREP"
7086 # Extract the first word of "ldconfig", so it can be a program name with args.
7087 set dummy ldconfig; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_path_LDCONFIG+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
7094 case $LDCONFIG in
7095 [\\/]* | ?:[\\/]*)
7096 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in /sbin /usr/sbin $PATH
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7118 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7120 esac
7122 LDCONFIG=$ac_cv_path_LDCONFIG
7123 if test -n "$LDCONFIG"; then
7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7125 printf "%s\n" "$LDCONFIG" >&6; }
7126 else
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 printf "%s\n" "no" >&6; }
7132 for ac_prog in msgfmt
7134 # Extract the first word of "$ac_prog", so it can be a program name with args.
7135 set dummy $ac_prog; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_MSGFMT+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else $as_nop
7142 if test -n "$MSGFMT"; then
7143 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_MSGFMT="$ac_prog"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7160 done
7161 done
7162 IFS=$as_save_IFS
7166 MSGFMT=$ac_cv_prog_MSGFMT
7167 if test -n "$MSGFMT"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7169 printf "%s\n" "$MSGFMT" >&6; }
7170 else
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7176 test -n "$MSGFMT" && break
7177 done
7178 test -n "$MSGFMT" || MSGFMT="false"
7180 if test ${ac_tool_prefix+y}
7181 then :
7182 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7183 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 printf %s "checking for $ac_word... " >&6; }
7186 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 then :
7188 printf %s "(cached) " >&6
7189 else $as_nop
7190 if test -n "$PKG_CONFIG"; then
7191 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 case $as_dir in #(((
7198 '') as_dir=./ ;;
7199 */) ;;
7200 *) as_dir=$as_dir/ ;;
7201 esac
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7215 if test -n "$PKG_CONFIG"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7217 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 printf "%s\n" "no" >&6; }
7225 if ${ac_cv_prog_PKG_CONFIG:+false} :
7226 then :
7227 if test "x$cross_compiling" = xyes
7228 then :
7230 else $as_nop
7231 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7232 # Extract the first word of "pkg-config", so it can be a program name with args.
7233 set dummy pkg-config; ac_word=$2
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 printf %s "checking for $ac_word... " >&6; }
7236 if test ${ac_cv_prog_PKG_CONFIG+y}
7237 then :
7238 printf %s "(cached) " >&6
7239 else $as_nop
7240 if test -n "$PKG_CONFIG"; then
7241 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7242 else
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 for as_dir in $PATH
7246 IFS=$as_save_IFS
7247 case $as_dir in #(((
7248 '') as_dir=./ ;;
7249 */) ;;
7250 *) as_dir=$as_dir/ ;;
7251 esac
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7254 ac_cv_prog_PKG_CONFIG="pkg-config"
7255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7256 break 2
7258 done
7259 done
7260 IFS=$as_save_IFS
7264 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7265 if test -n "$PKG_CONFIG"; then
7266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7267 printf "%s\n" "$PKG_CONFIG" >&6; }
7268 else
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 printf "%s\n" "no" >&6; }
7275 else $as_nop
7276 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7279 if test "x$enable_maintainer_mode" != "xyes"
7280 then
7281 FONTFORGE=""
7282 RSVG=""
7283 CONVERT=""
7284 ICOTOOL=""
7285 else
7286 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7287 for ac_prog in fontforge
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy $ac_prog; ac_word=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s "checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_FONTFORGE+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if test -n "$FONTFORGE"; then
7298 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_FONTFORGE="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 FONTFORGE=$ac_cv_prog_FONTFORGE
7322 if test -n "$FONTFORGE"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7324 printf "%s\n" "$FONTFORGE" >&6; }
7325 else
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$FONTFORGE" && break
7332 done
7333 test -n "$FONTFORGE" || FONTFORGE="false"
7335 for ac_prog in rsvg-convert rsvg
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy $ac_prog; ac_word=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s "checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_RSVG+y}
7342 then :
7343 printf %s "(cached) " >&6
7344 else $as_nop
7345 if test -n "$RSVG"; then
7346 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 case $as_dir in #(((
7353 '') as_dir=./ ;;
7354 */) ;;
7355 *) as_dir=$as_dir/ ;;
7356 esac
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_RSVG="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 RSVG=$ac_cv_prog_RSVG
7370 if test -n "$RSVG"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7372 printf "%s\n" "$RSVG" >&6; }
7373 else
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$RSVG" && break
7380 done
7381 test -n "$RSVG" || RSVG="false"
7383 for ac_prog in convert
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy $ac_prog; ac_word=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s "checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_CONVERT+y}
7390 then :
7391 printf %s "(cached) " >&6
7392 else $as_nop
7393 if test -n "$CONVERT"; then
7394 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 case $as_dir in #(((
7401 '') as_dir=./ ;;
7402 */) ;;
7403 *) as_dir=$as_dir/ ;;
7404 esac
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_CONVERT="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 CONVERT=$ac_cv_prog_CONVERT
7418 if test -n "$CONVERT"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7420 printf "%s\n" "$CONVERT" >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$CONVERT" && break
7428 done
7429 test -n "$CONVERT" || CONVERT="false"
7431 for ac_prog in icotool
7433 # Extract the first word of "$ac_prog", so it can be a program name with args.
7434 set dummy $ac_prog; ac_word=$2
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 printf %s "checking for $ac_word... " >&6; }
7437 if test ${ac_cv_prog_ICOTOOL+y}
7438 then :
7439 printf %s "(cached) " >&6
7440 else $as_nop
7441 if test -n "$ICOTOOL"; then
7442 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 case $as_dir in #(((
7449 '') as_dir=./ ;;
7450 */) ;;
7451 *) as_dir=$as_dir/ ;;
7452 esac
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7455 ac_cv_prog_ICOTOOL="$ac_prog"
7456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7457 break 2
7459 done
7460 done
7461 IFS=$as_save_IFS
7465 ICOTOOL=$ac_cv_prog_ICOTOOL
7466 if test -n "$ICOTOOL"; then
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7468 printf "%s\n" "$ICOTOOL" >&6; }
7469 else
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 printf "%s\n" "no" >&6; }
7475 test -n "$ICOTOOL" && break
7476 done
7477 test -n "$ICOTOOL" || ICOTOOL="false"
7479 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7480 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7482 if test "$CONVERT" = false
7483 then
7484 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7487 printf %s "checking for recent enough imagemagick... " >&6; }
7488 convert_version=`convert --version | head -n1`
7489 if test "x$convert_version" != "x"
7490 then
7491 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7492 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7493 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7494 then
7495 CONVERT=false
7498 if test "$CONVERT" = false
7499 then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7501 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7502 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7503 else
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7505 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7509 if test "$ICOTOOL" = false
7510 then
7511 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7512 else
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7514 printf %s "checking for recent enough icotool... " >&6; }
7515 icotool_version=`icotool --version | head -n1`
7516 if test "x$icotool_version" != "x"
7517 then
7518 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7519 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7520 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7521 then
7522 ICOTOOL=false
7523 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7526 if test "$ICOTOOL" = false
7527 then
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7529 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7530 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7531 else
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7533 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7537 with_gettext=yes
7538 with_gettextpo=yes
7540 enable_werror=yes
7543 test "x$with_gettext" != xno || MSGFMT=false
7544 if test "$MSGFMT" != "false"
7545 then
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7547 printf %s "checking whether msgfmt supports contexts... " >&6; }
7548 if test ${wine_cv_msgfmt_contexts+y}
7549 then :
7550 printf %s "(cached) " >&6
7551 else $as_nop
7552 cat >conftest.po <<EOF
7553 # comment
7554 msgctxt "ctxt"
7555 msgid "id"
7556 msgstr "str"
7558 if $MSGFMT -o /dev/null conftest.po 2>&5
7559 then
7560 wine_cv_msgfmt_contexts=yes
7561 else
7562 wine_cv_msgfmt_contexts=no
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7566 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7567 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7569 if test "$MSGFMT" = false
7570 then :
7571 case "x$with_gettext" in
7572 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7573 xno) ;;
7574 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7575 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7576 esac
7577 enable_po=${enable_po:-no}
7581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7582 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7583 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7584 then :
7585 printf %s "(cached) " >&6
7586 else $as_nop
7587 ac_check_lib_save_LIBS=$LIBS
7588 LIBS="-li386 $LIBS"
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7592 /* Override any GCC internal prototype to avoid an error.
7593 Use char because int might match the return type of a GCC
7594 builtin and then its argument prototype would still apply. */
7595 char i386_set_ldt ();
7597 main (void)
7599 return i386_set_ldt ();
7601 return 0;
7603 _ACEOF
7604 if ac_fn_c_try_link "$LINENO"
7605 then :
7606 ac_cv_lib_i386_i386_set_ldt=yes
7607 else $as_nop
7608 ac_cv_lib_i386_i386_set_ldt=no
7610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7611 conftest$ac_exeext conftest.$ac_ext
7612 LIBS=$ac_check_lib_save_LIBS
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7615 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7616 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7617 then :
7618 I386_LIBS="-li386"
7623 OPENGL_LIBS=""
7627 # Check whether --enable-largefile was given.
7628 if test ${enable_largefile+y}
7629 then :
7630 enableval=$enable_largefile;
7633 if test "$enable_largefile" != no; then
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7636 printf %s "checking for special C compiler options needed for large files... " >&6; }
7637 if test ${ac_cv_sys_largefile_CC+y}
7638 then :
7639 printf %s "(cached) " >&6
7640 else $as_nop
7641 ac_cv_sys_largefile_CC=no
7642 if test "$GCC" != yes; then
7643 ac_save_CC=$CC
7644 while :; do
7645 # IRIX 6.2 and later do not support large files by default,
7646 # so use the C compiler's -n32 option if that helps.
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7657 ? 1 : -1];
7659 main (void)
7663 return 0;
7665 _ACEOF
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam
7671 CC="$CC -n32"
7672 if ac_fn_c_try_compile "$LINENO"
7673 then :
7674 ac_cv_sys_largefile_CC=' -n32'; break
7676 rm -f core conftest.err conftest.$ac_objext conftest.beam
7677 break
7678 done
7679 CC=$ac_save_CC
7680 rm -f conftest.$ac_ext
7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7684 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7685 if test "$ac_cv_sys_largefile_CC" != no; then
7686 CC=$CC$ac_cv_sys_largefile_CC
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7690 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7691 if test ${ac_cv_sys_file_offset_bits+y}
7692 then :
7693 printf %s "(cached) " >&6
7694 else $as_nop
7695 while :; do
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <sys/types.h>
7699 /* Check that off_t can represent 2**63 - 1 correctly.
7700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7701 since some C++ compilers masquerading as C compilers
7702 incorrectly reject 9223372036854775807. */
7703 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7705 && LARGE_OFF_T % 2147483647 == 1)
7706 ? 1 : -1];
7708 main (void)
7712 return 0;
7714 _ACEOF
7715 if ac_fn_c_try_compile "$LINENO"
7716 then :
7717 ac_cv_sys_file_offset_bits=no; break
7719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #define _FILE_OFFSET_BITS 64
7723 #include <sys/types.h>
7724 /* Check that off_t can represent 2**63 - 1 correctly.
7725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7726 since some C++ compilers masquerading as C compilers
7727 incorrectly reject 9223372036854775807. */
7728 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7730 && LARGE_OFF_T % 2147483647 == 1)
7731 ? 1 : -1];
7733 main (void)
7737 return 0;
7739 _ACEOF
7740 if ac_fn_c_try_compile "$LINENO"
7741 then :
7742 ac_cv_sys_file_offset_bits=64; break
7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7745 ac_cv_sys_file_offset_bits=unknown
7746 break
7747 done
7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7750 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7751 case $ac_cv_sys_file_offset_bits in #(
7752 no | unknown) ;;
7754 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7756 esac
7757 rm -rf conftest*
7758 if test $ac_cv_sys_file_offset_bits = unknown; then
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7760 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7761 if test ${ac_cv_sys_large_files+y}
7762 then :
7763 printf %s "(cached) " >&6
7764 else $as_nop
7765 while :; do
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768 #include <sys/types.h>
7769 /* Check that off_t can represent 2**63 - 1 correctly.
7770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7771 since some C++ compilers masquerading as C compilers
7772 incorrectly reject 9223372036854775807. */
7773 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7775 && LARGE_OFF_T % 2147483647 == 1)
7776 ? 1 : -1];
7778 main (void)
7782 return 0;
7784 _ACEOF
7785 if ac_fn_c_try_compile "$LINENO"
7786 then :
7787 ac_cv_sys_large_files=no; break
7789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7792 #define _LARGE_FILES 1
7793 #include <sys/types.h>
7794 /* Check that off_t can represent 2**63 - 1 correctly.
7795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7796 since some C++ compilers masquerading as C compilers
7797 incorrectly reject 9223372036854775807. */
7798 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7800 && LARGE_OFF_T % 2147483647 == 1)
7801 ? 1 : -1];
7803 main (void)
7807 return 0;
7809 _ACEOF
7810 if ac_fn_c_try_compile "$LINENO"
7811 then :
7812 ac_cv_sys_large_files=1; break
7814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7815 ac_cv_sys_large_files=unknown
7816 break
7817 done
7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7820 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7821 case $ac_cv_sys_large_files in #(
7822 no | unknown) ;;
7824 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7826 esac
7827 rm -rf conftest*
7832 ac_header= ac_cache=
7833 for ac_item in $ac_header_c_list
7835 if test $ac_cache; then
7836 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7837 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7838 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7840 ac_header= ac_cache=
7841 elif test $ac_header; then
7842 ac_cache=$ac_item
7843 else
7844 ac_header=$ac_item
7846 done
7855 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7856 then :
7858 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_CL_cl_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_EGL_egl_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_arpa_inet_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_asm_types_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_asm_user_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_elf_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_float_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_gettext_po_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_libproc_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_link_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_filter_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_input_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_major_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_param_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_serial_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_types_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_lwp_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_mach_mach_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_machine_cpu_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_mntent_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netdb_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_netinet_in_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_port_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_pthread_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_pwd_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_sched_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_scsi_sg_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_stdint_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_attr_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_auxv_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_cdio_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_epoll_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_event_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_extattr_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_filio_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_ipc_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_link_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_modem_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_mtio_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_param_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_prctl_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_queue_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_random_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_resource_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_shm_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_signal_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_sockio_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_strtio_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_syscall_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_times_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_uio_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_user_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_utsname_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_vnode_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_xattr_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_syscall_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_utime_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8338 then :
8340 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8344 if test $ac_cv_header_sys_mkdev_h = no; then
8345 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8347 then :
8349 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8355 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8356 if test ${ac_cv_header_stat_broken+y}
8357 then :
8358 printf %s "(cached) " >&6
8359 else $as_nop
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8362 #include <sys/types.h>
8363 #include <sys/stat.h>
8365 #if defined S_ISBLK && defined S_IFDIR
8366 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8367 #endif
8369 #if defined S_ISBLK && defined S_IFCHR
8370 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8371 #endif
8373 #if defined S_ISLNK && defined S_IFREG
8374 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8375 #endif
8377 #if defined S_ISSOCK && defined S_IFREG
8378 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8379 #endif
8381 _ACEOF
8382 if ac_fn_c_try_compile "$LINENO"
8383 then :
8384 ac_cv_header_stat_broken=no
8385 else $as_nop
8386 ac_cv_header_stat_broken=yes
8388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8391 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8392 if test $ac_cv_header_stat_broken = yes; then
8394 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8401 #ifdef HAVE_SYS_PARAM_H
8402 # include <sys/param.h>
8403 #endif
8405 if test "x$ac_cv_header_sys_conf_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_mount_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_statfs_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_user_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8443 #endif
8445 if test "x$ac_cv_header_sys_vfs_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8452 saved_sysctl_h_CFLAGS=$CFLAGS
8453 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8454 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8457 #endif
8459 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8465 CFLAGS=$saved_sysctl_h_CFLAGS
8467 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8468 #include <sys/socket.h>
8469 #ifdef HAVE_SYS_SOCKETVAR_H
8470 # include <sys/socketvar.h>
8471 #endif
8472 #ifdef HAVE_NET_ROUTE_H
8473 # include <net/route.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IN_H
8476 # include <netinet/in.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_SYSTM_H
8479 # include <netinet/in_systm.h>
8480 #endif
8481 #ifdef HAVE_NET_IF_H
8482 # include <net/if.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IP_H
8485 # include <netinet/ip.h>
8486 #endif
8488 if test "x$ac_cv_header_netinet_ip_h" = xyes
8489 then :
8490 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8493 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8497 #endif
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8506 #endif
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8512 #endif
8514 if test "x$ac_cv_header_net_if_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8523 #endif
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8532 #endif
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8538 #endif
8540 if test "x$ac_cv_header_net_if_arp_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8549 #endif
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8558 #endif
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8564 #endif
8566 if test "x$ac_cv_header_net_if_dl_h" = xyes
8567 then :
8568 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8575 #endif
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8584 #endif
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8590 #endif
8592 if test "x$ac_cv_header_net_if_types_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8601 #endif
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8610 #endif
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8616 #endif
8618 if test "x$ac_cv_header_net_route_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8627 #endif
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8636 #endif
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8642 #endif
8644 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8645 then :
8646 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8653 #endif
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8662 #endif
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8668 #endif
8670 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8679 #endif
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8688 #endif
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8694 #endif
8696 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8697 then :
8698 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8705 #endif
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8714 #endif
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8720 #endif
8722 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8723 then :
8724 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8731 #endif
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8740 #endif
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8746 #endif
8748 if test "x$ac_cv_header_netinet_udp_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8757 #endif
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8766 #endif
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8772 #endif
8774 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8775 then :
8776 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8780 #include <sys/socket.h>
8781 #ifdef HAVE_SYS_SOCKETVAR_H
8782 # include <sys/socketvar.h>
8783 #endif
8784 #ifdef HAVE_NET_ROUTE_H
8785 # include <net/route.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IN_H
8788 # include <netinet/in.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_SYSTM_H
8791 # include <netinet/in_systm.h>
8792 #endif
8793 #ifdef HAVE_NET_IF_H
8794 # include <net/if.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IP_H
8797 # include <netinet/ip.h>
8798 #endif
8800 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8801 then :
8802 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8805 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8806 #include <sys/socket.h>
8807 #ifdef HAVE_SYS_SOCKETVAR_H
8808 # include <sys/socketvar.h>
8809 #endif
8810 #ifdef HAVE_NET_ROUTE_H
8811 # include <net/route.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IN_H
8814 # include <netinet/in.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IN_SYSTM_H
8817 # include <netinet/in_systm.h>
8818 #endif
8819 #ifdef HAVE_NET_IF_H
8820 # include <net/if.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IP_H
8823 # include <netinet/ip.h>
8824 #endif
8826 if test "x$ac_cv_header_sys_un_h" = xyes
8827 then :
8828 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8833 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8834 #include <sys/socket.h>
8835 #ifdef HAVE_SYS_SOCKETVAR_H
8836 # include <sys/socketvar.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IN_H
8839 # include <netinet/in.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_SYSTM_H
8842 # include <netinet/in_systm.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IP_H
8845 # include <netinet/ip.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_VAR_H
8848 # include <netinet/ip_var.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_ICMP_H
8851 # include <netinet/ip_icmp.h>
8852 #endif
8853 #ifdef HAVE_NETINET_UDP_H
8854 # include <netinet/udp.h>
8855 #endif
8856 #ifdef HAVE_NETINET_TCP_H
8857 # include <netinet/tcp.h>
8858 #endif
8860 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8861 then :
8862 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8866 #include <sys/socket.h>
8867 #ifdef HAVE_SYS_SOCKETVAR_H
8868 # include <sys/socketvar.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IN_H
8871 # include <netinet/in.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_SYSTM_H
8874 # include <netinet/in_systm.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IP_H
8877 # include <netinet/ip.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_VAR_H
8880 # include <netinet/ip_var.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_ICMP_H
8883 # include <netinet/ip_icmp.h>
8884 #endif
8885 #ifdef HAVE_NETINET_UDP_H
8886 # include <netinet/udp.h>
8887 #endif
8888 #ifdef HAVE_NETINET_TCP_H
8889 # include <netinet/tcp.h>
8890 #endif
8892 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8893 then :
8894 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8897 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8898 #include <sys/socket.h>
8899 #ifdef HAVE_SYS_SOCKETVAR_H
8900 # include <sys/socketvar.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IN_H
8903 # include <netinet/in.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_SYSTM_H
8906 # include <netinet/in_systm.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_H
8909 # include <netinet/ip.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_VAR_H
8912 # include <netinet/ip_var.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_ICMP_H
8915 # include <netinet/ip_icmp.h>
8916 #endif
8917 #ifdef HAVE_NETINET_UDP_H
8918 # include <netinet/udp.h>
8919 #endif
8920 #ifdef HAVE_NETINET_TCP_H
8921 # include <netinet/tcp.h>
8922 #endif
8924 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8925 then :
8926 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8929 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8930 #include <sys/socket.h>
8931 #ifdef HAVE_SYS_SOCKETVAR_H
8932 # include <sys/socketvar.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IN_H
8935 # include <netinet/in.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IN_SYSTM_H
8938 # include <netinet/in_systm.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IP_H
8941 # include <netinet/ip.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IP_VAR_H
8944 # include <netinet/ip_var.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_ICMP_H
8947 # include <netinet/ip_icmp.h>
8948 #endif
8949 #ifdef HAVE_NETINET_UDP_H
8950 # include <netinet/udp.h>
8951 #endif
8952 #ifdef HAVE_NETINET_TCP_H
8953 # include <netinet/tcp.h>
8954 #endif
8956 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8957 then :
8958 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8963 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8964 #include <sys/socket.h>
8965 #ifdef HAVE_ASM_TYPES_H
8966 # include <asm/types.h>
8967 #endif
8968 #ifdef HAVE_LINUX_TYPES_H
8969 # include <linux/types.h>
8970 #endif
8972 if test "x$ac_cv_header_linux_ipx_h" = xyes
8973 then :
8974 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_ASM_TYPES_H
8980 # include <asm/types.h>
8981 #endif
8982 #ifdef HAVE_LINUX_TYPES_H
8983 # include <linux/types.h>
8984 #endif
8986 if test "x$ac_cv_header_linux_irda_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8995 #endif
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
8998 #endif
9000 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9007 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9008 #include <sys/socket.h>
9009 #ifdef HAVE_NETINET_IN_H
9010 # include <netinet/in.h>
9011 #endif
9012 #ifdef HAVE_ARPA_NAMESER_H
9013 # include <arpa/nameser.h>
9014 #endif
9016 if test "x$ac_cv_header_resolv_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9025 if test "x$ac_cv_header_ifaddrs_h" = xyes
9026 then :
9027 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9032 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9034 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9035 then :
9036 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9042 #ifdef HAVE_SYS_UCONTEXT_H
9043 #include <sys/ucontext.h>
9044 #endif
9046 if test "x$ac_cv_header_sys_thr_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9054 #include <pthread.h>
9055 #endif
9057 if test "x$ac_cv_header_pthread_np_h" = xyes
9058 then :
9059 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9065 #include <sys/types.h>
9066 #ifdef HAVE_ASM_TYPES_H
9067 #include <asm/types.h>
9068 #endif
9070 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9071 then :
9072 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9077 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9078 #include <sys/param.h>
9079 #endif
9080 #include <sys/socket.h>
9081 #ifdef HAVE_SYS_QUEUE_H
9082 #include <sys/queue.h>
9083 #endif
9085 if test "x$ac_cv_header_libprocstat_h" = xyes
9086 then :
9087 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9092 if test "x$ac_cv_header_sys_xattr_h" = xyes
9093 then
9094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9095 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9096 if test ${wine_cv_xattr_extra_args+y}
9097 then :
9098 printf %s "(cached) " >&6
9099 else $as_nop
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <sys/xattr.h>
9104 main (void)
9106 getxattr("", "", "", 0, 0, 0);
9108 return 0;
9110 _ACEOF
9111 if ac_fn_c_try_compile "$LINENO"
9112 then :
9113 wine_cv_xattr_extra_args=yes
9114 else $as_nop
9115 wine_cv_xattr_extra_args=no
9117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9120 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9121 test $wine_cv_xattr_extra_args != yes ||
9122 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9127 DLLFLAGS=""
9129 LDDLLFLAGS=""
9131 LDEXECFLAGS=""
9133 EXTRACFLAGS=""
9135 UNIXDLLFLAGS="-fPIC"
9137 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9139 TOP_INSTALL_LIB=""
9141 TOP_INSTALL_DEV=""
9143 WINELOADER_LDFLAGS=""
9145 WINEPRELOADER_LDFLAGS=""
9147 LIBEXT="so"
9148 # Extract the first word of "ldd", so it can be a program name with args.
9149 set dummy ldd; ac_word=$2
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9151 printf %s "checking for $ac_word... " >&6; }
9152 if test ${ac_cv_path_LDD+y}
9153 then :
9154 printf %s "(cached) " >&6
9155 else $as_nop
9156 case $LDD in
9157 [\\/]* | ?:[\\/]*)
9158 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 as_dummy="/sbin:/usr/sbin:$PATH"
9163 for as_dir in $as_dummy
9165 IFS=$as_save_IFS
9166 case $as_dir in #(((
9167 '') as_dir=./ ;;
9168 */) ;;
9169 *) as_dir=$as_dir/ ;;
9170 esac
9171 for ac_exec_ext in '' $ac_executable_extensions; do
9172 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9173 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9175 break 2
9177 done
9178 done
9179 IFS=$as_save_IFS
9181 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9183 esac
9185 LDD=$ac_cv_path_LDD
9186 if test -n "$LDD"; then
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9188 printf "%s\n" "$LDD" >&6; }
9189 else
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191 printf "%s\n" "no" >&6; }
9195 if test -n "$ac_tool_prefix"; then
9196 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9197 set dummy ${ac_tool_prefix}otool; ac_word=$2
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9199 printf %s "checking for $ac_word... " >&6; }
9200 if test ${ac_cv_prog_OTOOL+y}
9201 then :
9202 printf %s "(cached) " >&6
9203 else $as_nop
9204 if test -n "$OTOOL"; then
9205 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9206 else
9207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208 for as_dir in $PATH
9210 IFS=$as_save_IFS
9211 case $as_dir in #(((
9212 '') as_dir=./ ;;
9213 */) ;;
9214 *) as_dir=$as_dir/ ;;
9215 esac
9216 for ac_exec_ext in '' $ac_executable_extensions; do
9217 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9218 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9220 break 2
9222 done
9223 done
9224 IFS=$as_save_IFS
9228 OTOOL=$ac_cv_prog_OTOOL
9229 if test -n "$OTOOL"; then
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9231 printf "%s\n" "$OTOOL" >&6; }
9232 else
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9234 printf "%s\n" "no" >&6; }
9239 if test -z "$ac_cv_prog_OTOOL"; then
9240 ac_ct_OTOOL=$OTOOL
9241 # Extract the first word of "otool", so it can be a program name with args.
9242 set dummy otool; ac_word=$2
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9244 printf %s "checking for $ac_word... " >&6; }
9245 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9246 then :
9247 printf %s "(cached) " >&6
9248 else $as_nop
9249 if test -n "$ac_ct_OTOOL"; then
9250 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9251 else
9252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 for as_dir in $PATH
9255 IFS=$as_save_IFS
9256 case $as_dir in #(((
9257 '') as_dir=./ ;;
9258 */) ;;
9259 *) as_dir=$as_dir/ ;;
9260 esac
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9263 ac_cv_prog_ac_ct_OTOOL="otool"
9264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9265 break 2
9267 done
9268 done
9269 IFS=$as_save_IFS
9273 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9274 if test -n "$ac_ct_OTOOL"; then
9275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9276 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9277 else
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 printf "%s\n" "no" >&6; }
9282 if test "x$ac_ct_OTOOL" = x; then
9283 OTOOL="otool"
9284 else
9285 case $cross_compiling:$ac_tool_warned in
9286 yes:)
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9288 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9289 ac_tool_warned=yes ;;
9290 esac
9291 OTOOL=$ac_ct_OTOOL
9293 else
9294 OTOOL="$ac_cv_prog_OTOOL"
9297 if test -n "$ac_tool_prefix"; then
9298 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9299 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 printf %s "checking for $ac_word... " >&6; }
9302 if test ${ac_cv_prog_READELF+y}
9303 then :
9304 printf %s "(cached) " >&6
9305 else $as_nop
9306 if test -n "$READELF"; then
9307 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9308 else
9309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 for as_dir in $PATH
9312 IFS=$as_save_IFS
9313 case $as_dir in #(((
9314 '') as_dir=./ ;;
9315 */) ;;
9316 *) as_dir=$as_dir/ ;;
9317 esac
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9320 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9322 break 2
9324 done
9325 done
9326 IFS=$as_save_IFS
9330 READELF=$ac_cv_prog_READELF
9331 if test -n "$READELF"; then
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9333 printf "%s\n" "$READELF" >&6; }
9334 else
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9336 printf "%s\n" "no" >&6; }
9341 if test -z "$ac_cv_prog_READELF"; then
9342 ac_ct_READELF=$READELF
9343 # Extract the first word of "readelf", so it can be a program name with args.
9344 set dummy readelf; ac_word=$2
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9346 printf %s "checking for $ac_word... " >&6; }
9347 if test ${ac_cv_prog_ac_ct_READELF+y}
9348 then :
9349 printf %s "(cached) " >&6
9350 else $as_nop
9351 if test -n "$ac_ct_READELF"; then
9352 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9353 else
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9355 for as_dir in $PATH
9357 IFS=$as_save_IFS
9358 case $as_dir in #(((
9359 '') as_dir=./ ;;
9360 */) ;;
9361 *) as_dir=$as_dir/ ;;
9362 esac
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9365 ac_cv_prog_ac_ct_READELF="readelf"
9366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9367 break 2
9369 done
9370 done
9371 IFS=$as_save_IFS
9375 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9376 if test -n "$ac_ct_READELF"; then
9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9378 printf "%s\n" "$ac_ct_READELF" >&6; }
9379 else
9380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 printf "%s\n" "no" >&6; }
9384 if test "x$ac_ct_READELF" = x; then
9385 READELF="true"
9386 else
9387 case $cross_compiling:$ac_tool_warned in
9388 yes:)
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9390 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9391 ac_tool_warned=yes ;;
9392 esac
9393 READELF=$ac_ct_READELF
9395 else
9396 READELF="$ac_cv_prog_READELF"
9399 wine_rules="all:"
9400 SUBDIRS=""
9402 DISABLED_SUBDIRS=""
9404 CONFIGURE_TARGETS=""
9407 wine_fn_config_makefile ()
9409 as_fn_append SUBDIRS " \\$as_nl $1"
9410 eval enable=\$$2
9411 case "$enable" in
9412 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9413 *aarch64*|*arm*|*i386*|*x86_64*)
9414 if test -n "$PE_ARCHS"
9415 then
9416 for i in $PE_ARCHS
9418 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9419 done
9420 else
9421 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9422 fi;;
9423 esac
9426 wine_fn_config_symlink ()
9428 ac_links=$@
9429 as_fn_append wine_rules "
9430 $ac_links:
9431 @./config.status \$@"
9432 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9435 case $host_os in
9436 cygwin*|mingw32*)
9437 LIBEXT="dll"
9438 EXTRACFLAGS="-D__WINE_PE_BUILD"
9439 case $host_cpu in
9440 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9441 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9442 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9443 then :
9444 printf %s "(cached) " >&6
9445 else $as_nop
9446 ac_wine_try_cflags_saved=$CFLAGS
9447 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9450 int main(int argc, char **argv) { return 0; }
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"
9453 then :
9454 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9455 else $as_nop
9456 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9463 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9464 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9465 then :
9466 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9467 fi ;;
9468 esac
9469 enable_loader=${enable_loader:-no}
9470 enable_server=${enable_server:-no}
9471 with_x=${with_x:-no}
9472 with_pthread=${with_pthread:-no}
9475 darwin*|macosx*)
9476 LIBEXT="dylib"
9477 DLLFLAGS="$DLLFLAGS -fPIC"
9478 LDDLLFLAGS="-fPIC"
9479 enable_winemac_drv=${enable_winemac_drv:-yes}
9480 CARBON_LIBS="-framework Carbon"
9482 COREFOUNDATION_LIBS="-framework CoreFoundation"
9484 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9486 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9488 METAL_LIBS="-framework Metal"
9490 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9492 CORESERVICES_LIBS="-framework CoreServices"
9494 APPKIT_LIBS="-framework AppKit"
9496 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9498 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9501 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9503 wine_can_build_preloader=yes
9504 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"
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9506 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9507 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9508 then :
9509 printf %s "(cached) " >&6
9510 else $as_nop
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"
9518 then :
9519 ac_cv_cflags__Wl__no_new_main__e__main=yes
9520 else $as_nop
9521 ac_cv_cflags__Wl__no_new_main__e__main=no
9523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9528 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9529 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9530 then :
9531 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9532 { 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
9533 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9534 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9535 then :
9536 printf %s "(cached) " >&6
9537 else $as_nop
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"
9545 then :
9546 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9547 else $as_nop
9548 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9551 conftest$ac_exeext conftest.$ac_ext
9552 CFLAGS=$ac_wine_try_cflags_saved
9554 { 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
9555 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9556 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9557 then :
9558 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9559 else $as_nop
9560 wine_can_build_preloader=no
9562 else $as_nop
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9564 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9565 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9566 then :
9567 printf %s "(cached) " >&6
9568 else $as_nop
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 int main(int argc, char **argv) { return 0; }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"
9576 then :
9577 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9578 else $as_nop
9579 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9586 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9587 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9588 then :
9589 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9590 else $as_nop
9591 wine_can_build_preloader=no
9594 if test "$wine_can_build_preloader" = "yes"
9595 then
9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9597 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9598 if test ${ac_cv_cflags__Wl__no_pie+y}
9599 then :
9600 printf %s "(cached) " >&6
9601 else $as_nop
9602 ac_wine_try_cflags_saved=$CFLAGS
9603 CFLAGS="$CFLAGS -Wl,-no_pie"
9604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9605 /* end confdefs.h. */
9606 int main(int argc, char **argv) { return 0; }
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"
9609 then :
9610 ac_cv_cflags__Wl__no_pie=yes
9611 else $as_nop
9612 ac_cv_cflags__Wl__no_pie=no
9614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9615 conftest$ac_exeext conftest.$ac_ext
9616 CFLAGS=$ac_wine_try_cflags_saved
9618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9619 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9620 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9621 then :
9622 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9624 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9625 else
9626 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9629 if test "x$with_coreaudio" != "xno";
9630 then
9631 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9633 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9635 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9636 then
9637 OPENCL_LIBS="-framework OpenCL"
9639 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9643 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9644 ac_ext=m
9645 ac_cpp='$OBJCPP $CPPFLAGS'
9646 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9647 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9648 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
9655 if test -n "$ac_tool_prefix"; then
9656 for ac_prog in gcc objcc objc cc CC clang
9658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 printf %s "checking for $ac_word... " >&6; }
9662 if test ${ac_cv_prog_OBJC+y}
9663 then :
9664 printf %s "(cached) " >&6
9665 else $as_nop
9666 if test -n "$OBJC"; then
9667 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9668 else
9669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 for as_dir in $PATH
9672 IFS=$as_save_IFS
9673 case $as_dir in #(((
9674 '') as_dir=./ ;;
9675 */) ;;
9676 *) as_dir=$as_dir/ ;;
9677 esac
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9680 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9682 break 2
9684 done
9685 done
9686 IFS=$as_save_IFS
9690 OBJC=$ac_cv_prog_OBJC
9691 if test -n "$OBJC"; then
9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9693 printf "%s\n" "$OBJC" >&6; }
9694 else
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9696 printf "%s\n" "no" >&6; }
9700 test -n "$OBJC" && break
9701 done
9703 if test -z "$OBJC"; then
9704 ac_ct_OBJC=$OBJC
9705 for ac_prog in gcc objcc objc cc CC clang
9707 # Extract the first word of "$ac_prog", so it can be a program name with args.
9708 set dummy $ac_prog; ac_word=$2
9709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9710 printf %s "checking for $ac_word... " >&6; }
9711 if test ${ac_cv_prog_ac_ct_OBJC+y}
9712 then :
9713 printf %s "(cached) " >&6
9714 else $as_nop
9715 if test -n "$ac_ct_OBJC"; then
9716 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9717 else
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9719 for as_dir in $PATH
9721 IFS=$as_save_IFS
9722 case $as_dir in #(((
9723 '') as_dir=./ ;;
9724 */) ;;
9725 *) as_dir=$as_dir/ ;;
9726 esac
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9729 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9731 break 2
9733 done
9734 done
9735 IFS=$as_save_IFS
9739 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9740 if test -n "$ac_ct_OBJC"; then
9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9742 printf "%s\n" "$ac_ct_OBJC" >&6; }
9743 else
9744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9745 printf "%s\n" "no" >&6; }
9749 test -n "$ac_ct_OBJC" && break
9750 done
9752 if test "x$ac_ct_OBJC" = x; then
9753 OBJC="gcc"
9754 else
9755 case $cross_compiling:$ac_tool_warned in
9756 yes:)
9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9759 ac_tool_warned=yes ;;
9760 esac
9761 OBJC=$ac_ct_OBJC
9765 # Provide some information about the compiler.
9766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9767 set X $ac_compile
9768 ac_compiler=$2
9769 for ac_option in --version -v -V -qversion; do
9770 { { ac_try="$ac_compiler $ac_option >&5"
9771 case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9774 esac
9775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9776 printf "%s\n" "$ac_try_echo"; } >&5
9777 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9778 ac_status=$?
9779 if test -s conftest.err; then
9780 sed '10a\
9781 ... rest of stderr output deleted ...
9782 10q' conftest.err >conftest.er1
9783 cat conftest.er1 >&5
9785 rm -f conftest.er1 conftest.err
9786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9787 test $ac_status = 0; }
9788 done
9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9791 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9792 if test ${ac_cv_objc_compiler_gnu+y}
9793 then :
9794 printf %s "(cached) " >&6
9795 else $as_nop
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9800 main (void)
9802 #ifndef __GNUC__
9803 choke me
9804 #endif
9807 return 0;
9809 _ACEOF
9810 if ac_fn_objc_try_compile "$LINENO"
9811 then :
9812 ac_compiler_gnu=yes
9813 else $as_nop
9814 ac_compiler_gnu=no
9816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9817 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9821 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9822 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9824 if test $ac_compiler_gnu = yes; then
9825 GOBJC=yes
9826 else
9827 GOBJC=
9829 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9830 ac_save_OBJCFLAGS=$OBJCFLAGS
9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9832 printf %s "checking whether $OBJC accepts -g... " >&6; }
9833 if test ${ac_cv_prog_objc_g+y}
9834 then :
9835 printf %s "(cached) " >&6
9836 else $as_nop
9837 ac_save_objc_werror_flag=$ac_objc_werror_flag
9838 ac_objc_werror_flag=yes
9839 ac_cv_prog_objc_g=no
9840 OBJCFLAGS="-g"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main (void)
9849 return 0;
9851 _ACEOF
9852 if ac_fn_objc_try_compile "$LINENO"
9853 then :
9854 ac_cv_prog_objc_g=yes
9855 else $as_nop
9856 OBJCFLAGS=""
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9861 main (void)
9865 return 0;
9867 _ACEOF
9868 if ac_fn_objc_try_compile "$LINENO"
9869 then :
9871 else $as_nop
9872 ac_objc_werror_flag=$ac_save_objc_werror_flag
9873 OBJCFLAGS="-g"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9878 main (void)
9882 return 0;
9884 _ACEOF
9885 if ac_fn_objc_try_compile "$LINENO"
9886 then :
9887 ac_cv_prog_objc_g=yes
9889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9894 ac_objc_werror_flag=$ac_save_objc_werror_flag
9896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9897 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9898 if test $ac_test_OBJCFLAGS; then
9899 OBJCFLAGS=$ac_save_OBJCFLAGS
9900 elif test $ac_cv_prog_objc_g = yes; then
9901 if test "$GOBJC" = yes; then
9902 OBJCFLAGS="-g -O2"
9903 else
9904 OBJCFLAGS="-g"
9906 else
9907 if test "$GOBJC" = yes; then
9908 OBJCFLAGS="-O2"
9909 else
9910 OBJCFLAGS=
9913 ac_ext=m
9914 ac_cpp='$OBJCPP $CPPFLAGS'
9915 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9916 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9917 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9922 #include <Metal/Metal.h>
9924 main (void)
9926 id<MTLDevice> device; device.registryID;
9928 return 0;
9930 _ACEOF
9931 if ac_fn_objc_try_compile "$LINENO"
9932 then :
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9934 printf "%s\n" "yes" >&6; }
9936 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9938 else $as_nop
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9940 printf "%s\n" "no" >&6; }
9942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9943 ac_ext=c
9944 ac_cpp='$CPP $CPPFLAGS'
9945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9950 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9951 WINELOADER_DEPENDS="wine_info.plist"
9955 linux-android*)
9957 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9959 DLLFLAGS="$DLLFLAGS -fPIC"
9960 LDDLLFLAGS="-fPIC"
9961 LDEXECFLAGS="-Wl,-pie"
9962 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9964 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9965 if test ${ac_cv_cflags__Wl__z_defs+y}
9966 then :
9967 printf %s "(cached) " >&6
9968 else $as_nop
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 CFLAGS="$CFLAGS -Wl,-z,defs"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int main(int argc, char **argv) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"
9976 then :
9977 ac_cv_cflags__Wl__z_defs=yes
9978 else $as_nop
9979 ac_cv_cflags__Wl__z_defs=no
9981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9986 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9987 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9988 then :
9989 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9992 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9993 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 int main(int argc, char **argv) { return 0; }
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"
10004 then :
10005 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10006 else $as_nop
10007 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10014 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10015 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10016 then :
10017 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10019 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10022 printf %s "checking for -lEGL... " >&6; }
10023 if test ${ac_cv_lib_soname_EGL+y}
10024 then :
10025 printf %s "(cached) " >&6
10026 else $as_nop
10027 ac_check_soname_save_LIBS=$LIBS
10028 LIBS="-lEGL $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 char eglGetProcAddress ();
10037 main (void)
10039 return eglGetProcAddress ();
10041 return 0;
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"
10045 then :
10046 case "$LIBEXT" in
10047 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10048 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'` ;;
10049 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10050 if ${ac_cv_lib_soname_EGL:+false} :
10051 then :
10052 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10053 fi ;;
10054 esac
10055 else $as_nop
10056 ac_cv_lib_soname_EGL=
10058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_soname_save_LIBS
10062 if ${ac_cv_lib_soname_EGL:+false} :
10063 then :
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10065 printf "%s\n" "not found" >&6; }
10067 else $as_nop
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10069 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10071 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10076 printf %s "checking for -lGLESv2... " >&6; }
10077 if test ${ac_cv_lib_soname_GLESv2+y}
10078 then :
10079 printf %s "(cached) " >&6
10080 else $as_nop
10081 ac_check_soname_save_LIBS=$LIBS
10082 LIBS="-lGLESv2 $LIBS"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10086 /* Override any GCC internal prototype to avoid an error.
10087 Use char because int might match the return type of a GCC
10088 builtin and then its argument prototype would still apply. */
10089 char glFlush ();
10091 main (void)
10093 return glFlush ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"
10099 then :
10100 case "$LIBEXT" in
10101 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10102 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'` ;;
10103 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10104 if ${ac_cv_lib_soname_GLESv2:+false} :
10105 then :
10106 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10107 fi ;;
10108 esac
10109 else $as_nop
10110 ac_cv_lib_soname_GLESv2=
10112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_soname_save_LIBS
10116 if ${ac_cv_lib_soname_GLESv2:+false} :
10117 then :
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 printf "%s\n" "not found" >&6; }
10121 else $as_nop
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10123 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10125 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10130 if test "x$exec_prefix" = xNONE
10131 then
10132 case $host_cpu in
10133 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10134 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10135 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10136 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10137 esac
10143 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10145 test "$ac_cv_sys_file_offset_bits" = 64 &&
10146 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10148 case $host_cpu in
10149 *i[3456789]86*)
10150 DLLFLAGS="$DLLFLAGS -fno-PIC"
10151 LDDLLFLAGS="-fno-PIC"
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10153 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10154 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10155 then :
10156 printf %s "(cached) " >&6
10157 else $as_nop
10158 ac_wine_try_cflags_saved=$CFLAGS
10159 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 int main(int argc, char **argv) { return 0; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"
10165 then :
10166 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10167 else $as_nop
10168 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10175 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10176 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10177 then :
10178 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10182 DLLFLAGS="$DLLFLAGS -fPIC"
10183 LDDLLFLAGS="-fPIC" ;;
10184 esac
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10187 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10188 if test ${ac_cv_cflags__Wl__z_defs+y}
10189 then :
10190 printf %s "(cached) " >&6
10191 else $as_nop
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 CFLAGS="$CFLAGS -Wl,-z,defs"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 int main(int argc, char **argv) { return 0; }
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"
10199 then :
10200 ac_cv_cflags__Wl__z_defs=yes
10201 else $as_nop
10202 ac_cv_cflags__Wl__z_defs=no
10204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10205 conftest$ac_exeext conftest.$ac_ext
10206 CFLAGS=$ac_wine_try_cflags_saved
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10209 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10210 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10211 then :
10212 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10215 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10216 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10217 then :
10218 printf %s "(cached) " >&6
10219 else $as_nop
10220 ac_wine_try_cflags_saved=$CFLAGS
10221 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 int main(int argc, char **argv) { return 0; }
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"
10227 then :
10228 ac_cv_cflags__Wl___export_dynamic=yes
10229 else $as_nop
10230 ac_cv_cflags__Wl___export_dynamic=no
10232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10233 conftest$ac_exeext conftest.$ac_ext
10234 CFLAGS=$ac_wine_try_cflags_saved
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10237 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10238 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10239 then :
10240 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10242 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10244 case $host_cpu in
10245 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10247 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10248 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10249 then :
10250 printf %s "(cached) " >&6
10251 else $as_nop
10252 ac_wine_try_cflags_saved=$CFLAGS
10253 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int main(int argc, char **argv) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"
10259 then :
10260 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10261 else $as_nop
10262 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10269 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10270 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10271 then :
10272 case $host_os in
10273 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10274 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10275 esac
10276 else $as_nop
10277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10278 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10279 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10280 then :
10281 printf %s "(cached) " >&6
10282 else $as_nop
10283 ac_wine_try_cflags_saved=$CFLAGS
10284 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 int main(int argc, char **argv) { return 0; }
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"
10290 then :
10291 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10292 else $as_nop
10293 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10300 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10301 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10302 then :
10303 case $host_os in
10304 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10305 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10306 esac
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10310 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10311 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10312 then :
10313 printf %s "(cached) " >&6
10314 else $as_nop
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 int main(int argc, char **argv) { return 0; }
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"
10322 then :
10323 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10324 else $as_nop
10325 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10328 conftest$ac_exeext conftest.$ac_ext
10329 CFLAGS=$ac_wine_try_cflags_saved
10331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10332 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10333 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10334 then :
10335 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10338 esac
10340 esac
10342 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10343 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10344 enable_winemac_drv=${enable_winemac_drv:-no}
10346 PE_ARCHS=""
10348 cross_archs=
10349 if test ${enable_archs+y}
10350 then :
10351 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10352 ac_save_IFS=$IFS
10353 IFS=' ,'
10354 set x $enable_archs
10355 IFS=$ac_save_IFS
10356 shift
10357 for arch
10359 case $arch in
10360 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10361 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10362 esac
10363 done
10364 else $as_nop
10365 if test "x$with_mingw" != xno
10366 then
10367 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10368 case "x$with_mingw" in
10369 x|xyes) ;;
10370 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10371 esac
10375 for wine_arch in $cross_archs
10377 if eval \${${wine_arch}_CC:+false} :
10378 then :
10379 case $wine_arch in
10380 aarch64)
10381 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10383 # Extract the first word of "$ac_prog", so it can be a program name with args.
10384 set dummy $ac_prog; ac_word=$2
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 printf %s "checking for $ac_word... " >&6; }
10387 if test ${ac_cv_prog_aarch64_CC+y}
10388 then :
10389 printf %s "(cached) " >&6
10390 else $as_nop
10391 if test -n "$aarch64_CC"; then
10392 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10393 else
10394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10395 for as_dir in $PATH
10397 IFS=$as_save_IFS
10398 case $as_dir in #(((
10399 '') as_dir=./ ;;
10400 */) ;;
10401 *) as_dir=$as_dir/ ;;
10402 esac
10403 for ac_exec_ext in '' $ac_executable_extensions; do
10404 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10405 ac_cv_prog_aarch64_CC="$ac_prog"
10406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10407 break 2
10409 done
10410 done
10411 IFS=$as_save_IFS
10415 aarch64_CC=$ac_cv_prog_aarch64_CC
10416 if test -n "$aarch64_CC"; then
10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10418 printf "%s\n" "$aarch64_CC" >&6; }
10419 else
10420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10421 printf "%s\n" "no" >&6; }
10425 test -n "$aarch64_CC" && break
10426 done
10427 test -n "$aarch64_CC" || aarch64_CC="false"
10430 arm)
10431 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10433 # Extract the first word of "$ac_prog", so it can be a program name with args.
10434 set dummy $ac_prog; ac_word=$2
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10436 printf %s "checking for $ac_word... " >&6; }
10437 if test ${ac_cv_prog_arm_CC+y}
10438 then :
10439 printf %s "(cached) " >&6
10440 else $as_nop
10441 if test -n "$arm_CC"; then
10442 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10443 else
10444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10445 for as_dir in $PATH
10447 IFS=$as_save_IFS
10448 case $as_dir in #(((
10449 '') as_dir=./ ;;
10450 */) ;;
10451 *) as_dir=$as_dir/ ;;
10452 esac
10453 for ac_exec_ext in '' $ac_executable_extensions; do
10454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10455 ac_cv_prog_arm_CC="$ac_prog"
10456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10457 break 2
10459 done
10460 done
10461 IFS=$as_save_IFS
10465 arm_CC=$ac_cv_prog_arm_CC
10466 if test -n "$arm_CC"; then
10467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10468 printf "%s\n" "$arm_CC" >&6; }
10469 else
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10471 printf "%s\n" "no" >&6; }
10475 test -n "$arm_CC" && break
10476 done
10477 test -n "$arm_CC" || arm_CC="false"
10480 i386)
10481 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 "
10482 for ac_prog in $ac_prefix_list clang
10484 # Extract the first word of "$ac_prog", so it can be a program name with args.
10485 set dummy $ac_prog; ac_word=$2
10486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10487 printf %s "checking for $ac_word... " >&6; }
10488 if test ${ac_cv_prog_i386_CC+y}
10489 then :
10490 printf %s "(cached) " >&6
10491 else $as_nop
10492 if test -n "$i386_CC"; then
10493 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10494 else
10495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10496 for as_dir in $PATH
10498 IFS=$as_save_IFS
10499 case $as_dir in #(((
10500 '') as_dir=./ ;;
10501 */) ;;
10502 *) as_dir=$as_dir/ ;;
10503 esac
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_i386_CC="$ac_prog"
10507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10508 break 2
10510 done
10511 done
10512 IFS=$as_save_IFS
10516 i386_CC=$ac_cv_prog_i386_CC
10517 if test -n "$i386_CC"; then
10518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10519 printf "%s\n" "$i386_CC" >&6; }
10520 else
10521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10522 printf "%s\n" "no" >&6; }
10526 test -n "$i386_CC" && break
10527 done
10528 test -n "$i386_CC" || i386_CC="false"
10531 x86_64)
10532 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10533 for ac_prog in $ac_prefix_list clang
10535 # Extract the first word of "$ac_prog", so it can be a program name with args.
10536 set dummy $ac_prog; ac_word=$2
10537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10538 printf %s "checking for $ac_word... " >&6; }
10539 if test ${ac_cv_prog_x86_64_CC+y}
10540 then :
10541 printf %s "(cached) " >&6
10542 else $as_nop
10543 if test -n "$x86_64_CC"; then
10544 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10545 else
10546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10547 for as_dir in $PATH
10549 IFS=$as_save_IFS
10550 case $as_dir in #(((
10551 '') as_dir=./ ;;
10552 */) ;;
10553 *) as_dir=$as_dir/ ;;
10554 esac
10555 for ac_exec_ext in '' $ac_executable_extensions; do
10556 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10557 ac_cv_prog_x86_64_CC="$ac_prog"
10558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10559 break 2
10561 done
10562 done
10563 IFS=$as_save_IFS
10567 x86_64_CC=$ac_cv_prog_x86_64_CC
10568 if test -n "$x86_64_CC"; then
10569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10570 printf "%s\n" "$x86_64_CC" >&6; }
10571 else
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 printf "%s\n" "no" >&6; }
10577 test -n "$x86_64_CC" && break
10578 done
10579 test -n "$x86_64_CC" || x86_64_CC="false"
10582 esac
10585 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10586 then :
10587 continue
10590 saved_CC=$CC
10591 saved_CFLAGS=$CFLAGS
10593 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10594 eval CC=\$${wine_arch}_CC
10595 eval ${wine_arch}_CFLAGS=\$CFLAGS
10596 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10597 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10599 target=""
10600 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10603 printf %s "checking whether $CC works... " >&6; }
10604 if eval test \${$as_wine_cv_crosscc+y}
10605 then :
10606 printf %s "(cached) " >&6
10607 else $as_nop
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10612 main (void)
10616 return 0;
10618 _ACEOF
10619 if ac_fn_c_try_compile "$LINENO"
10620 then :
10621 eval "$as_wine_cv_crosscc=yes"
10622 else $as_nop
10623 eval "$as_wine_cv_crosscc=no"
10625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10627 eval ac_res=\$$as_wine_cv_crosscc
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10629 printf "%s\n" "$ac_res" >&6; }
10630 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10631 then :
10632 set x $CC
10633 shift
10634 while test $# -ge 1
10636 case "$1" in
10637 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10638 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10639 esac
10640 shift
10641 done
10643 llvm_target=$target
10644 if test -z "$llvm_target"
10645 then
10646 case $wine_arch in
10647 i386) llvm_target=i686-windows ;;
10648 arm) llvm_target=armv7-windows ;;
10649 *) llvm_target=$wine_arch-windows ;;
10650 esac
10652 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10653 case $llvm_target in
10654 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10655 esac
10656 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10658 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10659 if eval test \${$as_ac_var+y}
10660 then :
10661 printf %s "(cached) " >&6
10662 else $as_nop
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 ac_wine_try_cflags_saved_exeext=$ac_exeext
10665 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10666 ac_exeext=".exe"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 int __cdecl mainCRTStartup(void) { return 0; }
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"
10672 then :
10673 eval "$as_ac_var=yes"
10674 else $as_nop
10675 eval "$as_ac_var=no"
10677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10678 conftest$ac_exeext conftest.$ac_ext
10679 CFLAGS=$ac_wine_try_cflags_saved
10680 ac_exeext=$ac_wine_try_cflags_saved_exeext
10682 eval ac_res=\$$as_ac_var
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10684 printf "%s\n" "$ac_res" >&6; }
10685 if eval test \"x\$"$as_ac_var"\" = x"yes"
10686 then :
10687 target=$llvm_target
10688 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10689 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10690 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10691 fi }
10692 eval "${wine_arch}_TARGET=\$target"
10696 if test -z "$target"
10697 then
10698 CC=$saved_CC
10699 CFLAGS=$saved_CFLAGS
10700 continue
10702 as_fn_append PE_ARCHS " $wine_arch"
10704 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10707 printf %s "checking for $CC option to enable C99 features... " >&6; }
10708 if eval test \${$as_wine_cv_crosscc_c99+y}
10709 then :
10710 printf %s "(cached) " >&6
10711 else $as_nop
10712 eval "$as_wine_cv_crosscc_c99=no"
10713 for arg in '' '-std=gnu99'
10715 test -z "$arg" || CC="$CC $arg"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 $ac_c_conftest_c99_program
10719 _ACEOF
10720 if ac_fn_c_try_compile "$LINENO"
10721 then :
10722 eval "$as_wine_cv_crosscc_c99=\$arg"
10723 else $as_nop
10724 eval "$as_wine_cv_crosscc_c99=no"
10726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10727 eval CC=\$${wine_arch}_CC
10728 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10729 then :
10731 else $as_nop
10732 break
10734 done
10737 eval res=\$$as_wine_cv_crosscc_c99
10738 case "x$res" in
10739 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10740 printf "%s\n" "none needed" >&6; } ;;
10741 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10742 printf "%s\n" "unsupported" >&6; } ;;
10743 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10744 printf "%s\n" "$res" >&6; }
10745 as_fn_append ${wine_arch}_CC " $res" ;;
10746 esac
10749 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10751 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10752 if eval test \${$as_ac_var+y}
10753 then :
10754 printf %s "(cached) " >&6
10755 else $as_nop
10756 ac_wine_try_cflags_saved=$CFLAGS
10757 ac_wine_try_cflags_saved_exeext=$ac_exeext
10758 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10759 ac_exeext=".exe"
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10762 int __cdecl mainCRTStartup(void) { return 0; }
10763 _ACEOF
10764 if ac_fn_c_try_link "$LINENO"
10765 then :
10766 eval "$as_ac_var=yes"
10767 else $as_nop
10768 eval "$as_ac_var=no"
10770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10771 conftest$ac_exeext conftest.$ac_ext
10772 CFLAGS=$ac_wine_try_cflags_saved
10773 ac_exeext=$ac_wine_try_cflags_saved_exeext
10775 eval ac_res=\$$as_ac_var
10776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10777 printf "%s\n" "$ac_res" >&6; }
10778 if eval test \"x\$"$as_ac_var"\" = x"yes"
10779 then :
10780 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10781 fi }
10782 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10784 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10785 if eval test \${$as_ac_var+y}
10786 then :
10787 printf %s "(cached) " >&6
10788 else $as_nop
10789 ac_wine_try_cflags_saved=$CFLAGS
10790 ac_wine_try_cflags_saved_exeext=$ac_exeext
10791 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10792 ac_exeext=".exe"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10795 int __cdecl mainCRTStartup(void) { return 0; }
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"
10798 then :
10799 eval "$as_ac_var=yes"
10800 else $as_nop
10801 eval "$as_ac_var=no"
10803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10804 conftest$ac_exeext conftest.$ac_ext
10805 CFLAGS=$ac_wine_try_cflags_saved
10806 ac_exeext=$ac_wine_try_cflags_saved_exeext
10808 eval ac_res=\$$as_ac_var
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10810 printf "%s\n" "$ac_res" >&6; }
10811 if eval test \"x\$"$as_ac_var"\" = x"yes"
10812 then :
10813 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10814 fi }
10815 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10817 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10818 if eval test \${$as_ac_var+y}
10819 then :
10820 printf %s "(cached) " >&6
10821 else $as_nop
10822 ac_wine_try_cflags_saved=$CFLAGS
10823 ac_wine_try_cflags_saved_exeext=$ac_exeext
10824 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10825 ac_exeext=".exe"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10828 int __cdecl mainCRTStartup(void) { return 0; }
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"
10831 then :
10832 eval "$as_ac_var=yes"
10833 else $as_nop
10834 eval "$as_ac_var=no"
10836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10837 conftest$ac_exeext conftest.$ac_ext
10838 CFLAGS=$ac_wine_try_cflags_saved
10839 ac_exeext=$ac_wine_try_cflags_saved_exeext
10841 eval ac_res=\$$as_ac_var
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10843 printf "%s\n" "$ac_res" >&6; }
10844 if eval test \"x\$"$as_ac_var"\" = x"yes"
10845 then :
10846 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10847 fi }
10848 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10850 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10851 if eval test \${$as_ac_var+y}
10852 then :
10853 printf %s "(cached) " >&6
10854 else $as_nop
10855 ac_wine_try_cflags_saved=$CFLAGS
10856 ac_wine_try_cflags_saved_exeext=$ac_exeext
10857 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10858 ac_exeext=".exe"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10861 int __cdecl mainCRTStartup(void) { return 0; }
10862 _ACEOF
10863 if ac_fn_c_try_link "$LINENO"
10864 then :
10865 eval "$as_ac_var=yes"
10866 else $as_nop
10867 eval "$as_ac_var=no"
10869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10870 conftest$ac_exeext conftest.$ac_ext
10871 CFLAGS=$ac_wine_try_cflags_saved
10872 ac_exeext=$ac_wine_try_cflags_saved_exeext
10874 eval ac_res=\$$as_ac_var
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10876 printf "%s\n" "$ac_res" >&6; }
10877 if eval test \"x\$"$as_ac_var"\" = x"yes"
10878 then :
10879 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10880 fi }
10881 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10883 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10884 if eval test \${$as_ac_var+y}
10885 then :
10886 printf %s "(cached) " >&6
10887 else $as_nop
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10891 ac_exeext=".exe"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 int __cdecl mainCRTStartup(void) { return 0; }
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"
10897 then :
10898 eval "$as_ac_var=yes"
10899 else $as_nop
10900 eval "$as_ac_var=no"
10902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10903 conftest$ac_exeext conftest.$ac_ext
10904 CFLAGS=$ac_wine_try_cflags_saved
10905 ac_exeext=$ac_wine_try_cflags_saved_exeext
10907 eval ac_res=\$$as_ac_var
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10909 printf "%s\n" "$ac_res" >&6; }
10910 if eval test \"x\$"$as_ac_var"\" = x"yes"
10911 then :
10912 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10913 fi }
10914 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10916 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10917 if eval test \${$as_ac_var+y}
10918 then :
10919 printf %s "(cached) " >&6
10920 else $as_nop
10921 ac_wine_try_cflags_saved=$CFLAGS
10922 ac_wine_try_cflags_saved_exeext=$ac_exeext
10923 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10924 ac_exeext=".exe"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 int __cdecl mainCRTStartup(void) { return 0; }
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"
10930 then :
10931 eval "$as_ac_var=yes"
10932 else $as_nop
10933 eval "$as_ac_var=no"
10935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10936 conftest$ac_exeext conftest.$ac_ext
10937 CFLAGS=$ac_wine_try_cflags_saved
10938 ac_exeext=$ac_wine_try_cflags_saved_exeext
10940 eval ac_res=\$$as_ac_var
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10942 printf "%s\n" "$ac_res" >&6; }
10943 if eval test \"x\$"$as_ac_var"\" = x"yes"
10944 then :
10945 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10946 fi }
10947 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10949 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10950 if eval test \${$as_ac_var+y}
10951 then :
10952 printf %s "(cached) " >&6
10953 else $as_nop
10954 ac_wine_try_cflags_saved=$CFLAGS
10955 ac_wine_try_cflags_saved_exeext=$ac_exeext
10956 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10957 ac_exeext=".exe"
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10960 int __cdecl mainCRTStartup(void) { return 0; }
10961 _ACEOF
10962 if ac_fn_c_try_link "$LINENO"
10963 then :
10964 eval "$as_ac_var=yes"
10965 else $as_nop
10966 eval "$as_ac_var=no"
10968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10969 conftest$ac_exeext conftest.$ac_ext
10970 CFLAGS=$ac_wine_try_cflags_saved
10971 ac_exeext=$ac_wine_try_cflags_saved_exeext
10973 eval ac_res=\$$as_ac_var
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10975 printf "%s\n" "$ac_res" >&6; }
10976 if eval test \"x\$"$as_ac_var"\" = x"yes"
10977 then :
10978 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10979 fi }
10980 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10982 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10983 if eval test \${$as_ac_var+y}
10984 then :
10985 printf %s "(cached) " >&6
10986 else $as_nop
10987 ac_wine_try_cflags_saved=$CFLAGS
10988 ac_wine_try_cflags_saved_exeext=$ac_exeext
10989 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10990 ac_exeext=".exe"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10993 int __cdecl mainCRTStartup(void) { return 0; }
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"
10996 then :
10997 eval "$as_ac_var=yes"
10998 else $as_nop
10999 eval "$as_ac_var=no"
11001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11002 conftest$ac_exeext conftest.$ac_ext
11003 CFLAGS=$ac_wine_try_cflags_saved
11004 ac_exeext=$ac_wine_try_cflags_saved_exeext
11006 eval ac_res=\$$as_ac_var
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11008 printf "%s\n" "$ac_res" >&6; }
11009 if eval test \"x\$"$as_ac_var"\" = x"yes"
11010 then :
11011 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11012 fi }
11013 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11015 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11016 if eval test \${$as_ac_var+y}
11017 then :
11018 printf %s "(cached) " >&6
11019 else $as_nop
11020 ac_wine_try_cflags_saved=$CFLAGS
11021 ac_wine_try_cflags_saved_exeext=$ac_exeext
11022 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11023 ac_exeext=".exe"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11026 int __cdecl mainCRTStartup(void) { return 0; }
11027 _ACEOF
11028 if ac_fn_c_try_link "$LINENO"
11029 then :
11030 eval "$as_ac_var=yes"
11031 else $as_nop
11032 eval "$as_ac_var=no"
11034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11035 conftest$ac_exeext conftest.$ac_ext
11036 CFLAGS=$ac_wine_try_cflags_saved
11037 ac_exeext=$ac_wine_try_cflags_saved_exeext
11039 eval ac_res=\$$as_ac_var
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11041 printf "%s\n" "$ac_res" >&6; }
11042 if eval test \"x\$"$as_ac_var"\" = x"yes"
11043 then :
11044 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11045 fi }
11046 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11048 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11049 if eval test \${$as_ac_var+y}
11050 then :
11051 printf %s "(cached) " >&6
11052 else $as_nop
11053 ac_wine_try_cflags_saved=$CFLAGS
11054 ac_wine_try_cflags_saved_exeext=$ac_exeext
11055 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11056 ac_exeext=".exe"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11059 int __cdecl mainCRTStartup(void) { return 0; }
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"
11062 then :
11063 eval "$as_ac_var=yes"
11064 else $as_nop
11065 eval "$as_ac_var=no"
11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11068 conftest$ac_exeext conftest.$ac_ext
11069 CFLAGS=$ac_wine_try_cflags_saved
11070 ac_exeext=$ac_wine_try_cflags_saved_exeext
11072 eval ac_res=\$$as_ac_var
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11074 printf "%s\n" "$ac_res" >&6; }
11075 if eval test \"x\$"$as_ac_var"\" = x"yes"
11076 then :
11077 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11078 fi }
11079 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11081 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11082 if eval test \${$as_ac_var+y}
11083 then :
11084 printf %s "(cached) " >&6
11085 else $as_nop
11086 ac_wine_try_cflags_saved=$CFLAGS
11087 ac_wine_try_cflags_saved_exeext=$ac_exeext
11088 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11089 ac_exeext=".exe"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11092 int __cdecl mainCRTStartup(void) { return 0; }
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"
11095 then :
11096 eval "$as_ac_var=yes"
11097 else $as_nop
11098 eval "$as_ac_var=no"
11100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11101 conftest$ac_exeext conftest.$ac_ext
11102 CFLAGS=$ac_wine_try_cflags_saved
11103 ac_exeext=$ac_wine_try_cflags_saved_exeext
11105 eval ac_res=\$$as_ac_var
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11107 printf "%s\n" "$ac_res" >&6; }
11108 if eval test \"x\$"$as_ac_var"\" = x"yes"
11109 then :
11110 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11111 fi }
11112 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11114 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11115 if eval test \${$as_ac_var+y}
11116 then :
11117 printf %s "(cached) " >&6
11118 else $as_nop
11119 ac_wine_try_cflags_saved=$CFLAGS
11120 ac_wine_try_cflags_saved_exeext=$ac_exeext
11121 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11122 ac_exeext=".exe"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 int __cdecl mainCRTStartup(void) { return 0; }
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"
11128 then :
11129 eval "$as_ac_var=yes"
11130 else $as_nop
11131 eval "$as_ac_var=no"
11133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11134 conftest$ac_exeext conftest.$ac_ext
11135 CFLAGS=$ac_wine_try_cflags_saved
11136 ac_exeext=$ac_wine_try_cflags_saved_exeext
11138 eval ac_res=\$$as_ac_var
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11140 printf "%s\n" "$ac_res" >&6; }
11141 if eval test \"x\$"$as_ac_var"\" = x"yes"
11142 then :
11143 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11144 fi }
11145 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11147 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11148 if eval test \${$as_ac_var+y}
11149 then :
11150 printf %s "(cached) " >&6
11151 else $as_nop
11152 ac_wine_try_cflags_saved=$CFLAGS
11153 ac_wine_try_cflags_saved_exeext=$ac_exeext
11154 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11155 ac_exeext=".exe"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11158 int __cdecl mainCRTStartup(void) { return 0; }
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"
11161 then :
11162 eval "$as_ac_var=yes"
11163 else $as_nop
11164 eval "$as_ac_var=no"
11166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11167 conftest$ac_exeext conftest.$ac_ext
11168 CFLAGS=$ac_wine_try_cflags_saved
11169 ac_exeext=$ac_wine_try_cflags_saved_exeext
11171 eval ac_res=\$$as_ac_var
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11173 printf "%s\n" "$ac_res" >&6; }
11174 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 then :
11176 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11177 fi }
11178 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11180 printf %s "checking whether $CC supports -Wvla... " >&6; }
11181 if eval test \${$as_ac_var+y}
11182 then :
11183 printf %s "(cached) " >&6
11184 else $as_nop
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_exeext=$ac_exeext
11187 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11188 ac_exeext=".exe"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11191 int __cdecl mainCRTStartup(void) { return 0; }
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"
11194 then :
11195 eval "$as_ac_var=yes"
11196 else $as_nop
11197 eval "$as_ac_var=no"
11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11200 conftest$ac_exeext conftest.$ac_ext
11201 CFLAGS=$ac_wine_try_cflags_saved
11202 ac_exeext=$ac_wine_try_cflags_saved_exeext
11204 eval ac_res=\$$as_ac_var
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11206 printf "%s\n" "$ac_res" >&6; }
11207 if eval test \"x\$"$as_ac_var"\" = x"yes"
11208 then :
11209 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11210 fi }
11211 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11213 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11214 if eval test \${$as_ac_var+y}
11215 then :
11216 printf %s "(cached) " >&6
11217 else $as_nop
11218 ac_wine_try_cflags_saved=$CFLAGS
11219 ac_wine_try_cflags_saved_exeext=$ac_exeext
11220 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11221 ac_exeext=".exe"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11224 int __cdecl mainCRTStartup(void) { return 0; }
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"
11227 then :
11228 eval "$as_ac_var=yes"
11229 else $as_nop
11230 eval "$as_ac_var=no"
11232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11233 conftest$ac_exeext conftest.$ac_ext
11234 CFLAGS=$ac_wine_try_cflags_saved
11235 ac_exeext=$ac_wine_try_cflags_saved_exeext
11237 eval ac_res=\$$as_ac_var
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11239 printf "%s\n" "$ac_res" >&6; }
11240 if eval test \"x\$"$as_ac_var"\" = x"yes"
11241 then :
11242 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11243 fi }
11244 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11246 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11247 if eval test \${$as_ac_var+y}
11248 then :
11249 printf %s "(cached) " >&6
11250 else $as_nop
11251 ac_wine_try_cflags_saved=$CFLAGS
11252 ac_wine_try_cflags_saved_exeext=$ac_exeext
11253 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11254 ac_exeext=".exe"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11257 int __cdecl mainCRTStartup(void) { return 0; }
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"
11260 then :
11261 eval "$as_ac_var=yes"
11262 else $as_nop
11263 eval "$as_ac_var=no"
11265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11266 conftest$ac_exeext conftest.$ac_ext
11267 CFLAGS=$ac_wine_try_cflags_saved
11268 ac_exeext=$ac_wine_try_cflags_saved_exeext
11270 eval ac_res=\$$as_ac_var
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11272 printf "%s\n" "$ac_res" >&6; }
11273 if eval test \"x\$"$as_ac_var"\" = x"yes"
11274 then :
11275 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11276 fi }
11277 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11279 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11280 if eval test \${$as_ac_var+y}
11281 then :
11282 printf %s "(cached) " >&6
11283 else $as_nop
11284 ac_wine_try_cflags_saved=$CFLAGS
11285 ac_wine_try_cflags_saved_exeext=$ac_exeext
11286 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11287 ac_exeext=".exe"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11290 int __cdecl mainCRTStartup(void) { return 0; }
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"
11293 then :
11294 eval "$as_ac_var=yes"
11295 else $as_nop
11296 eval "$as_ac_var=no"
11298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11299 conftest$ac_exeext conftest.$ac_ext
11300 CFLAGS=$ac_wine_try_cflags_saved
11301 ac_exeext=$ac_wine_try_cflags_saved_exeext
11303 eval ac_res=\$$as_ac_var
11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11305 printf "%s\n" "$ac_res" >&6; }
11306 if eval test \"x\$"$as_ac_var"\" = x"yes"
11307 then :
11308 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11309 fi }
11310 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11312 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11313 if eval test \${$as_ac_var+y}
11314 then :
11315 printf %s "(cached) " >&6
11316 else $as_nop
11317 ac_wine_try_cflags_saved=$CFLAGS
11318 ac_wine_try_cflags_saved_exeext=$ac_exeext
11319 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11320 ac_exeext=".exe"
11321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11323 int __cdecl mainCRTStartup(void) { return 0; }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"
11326 then :
11327 eval "$as_ac_var=yes"
11328 else $as_nop
11329 eval "$as_ac_var=no"
11331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11332 conftest$ac_exeext conftest.$ac_ext
11333 CFLAGS=$ac_wine_try_cflags_saved
11334 ac_exeext=$ac_wine_try_cflags_saved_exeext
11336 eval ac_res=\$$as_ac_var
11337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11338 printf "%s\n" "$ac_res" >&6; }
11339 if eval test \"x\$"$as_ac_var"\" = x"yes"
11340 then :
11341 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11342 fi }
11344 case $wine_arch in
11345 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11347 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11348 if eval test \${$as_ac_var+y}
11349 then :
11350 printf %s "(cached) " >&6
11351 else $as_nop
11352 ac_wine_try_cflags_saved=$CFLAGS
11353 ac_wine_try_cflags_saved_exeext=$ac_exeext
11354 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11355 ac_exeext=".exe"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11358 int __cdecl mainCRTStartup(void) { return 0; }
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"
11361 then :
11362 eval "$as_ac_var=yes"
11363 else $as_nop
11364 eval "$as_ac_var=no"
11366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11367 conftest$ac_exeext conftest.$ac_ext
11368 CFLAGS=$ac_wine_try_cflags_saved
11369 ac_exeext=$ac_wine_try_cflags_saved_exeext
11371 eval ac_res=\$$as_ac_var
11372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11373 printf "%s\n" "$ac_res" >&6; }
11374 if eval test \"x\$"$as_ac_var"\" = x"yes"
11375 then :
11376 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11377 fi }
11378 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11380 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11381 if eval test \${$as_ac_var+y}
11382 then :
11383 printf %s "(cached) " >&6
11384 else $as_nop
11385 ac_wine_try_cflags_saved=$CFLAGS
11386 ac_wine_try_cflags_saved_exeext=$ac_exeext
11387 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11388 ac_exeext=".exe"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11391 int __cdecl mainCRTStartup(void) { return 0; }
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"
11394 then :
11395 eval "$as_ac_var=yes"
11396 else $as_nop
11397 eval "$as_ac_var=no"
11399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11400 conftest$ac_exeext conftest.$ac_ext
11401 CFLAGS=$ac_wine_try_cflags_saved
11402 ac_exeext=$ac_wine_try_cflags_saved_exeext
11404 eval ac_res=\$$as_ac_var
11405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11406 printf "%s\n" "$ac_res" >&6; }
11407 if eval test \"x\$"$as_ac_var"\" = x"yes"
11408 then :
11409 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11410 fi } ;;
11411 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11413 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11414 if eval test \${$as_ac_var+y}
11415 then :
11416 printf %s "(cached) " >&6
11417 else $as_nop
11418 ac_wine_try_cflags_saved=$CFLAGS
11419 ac_wine_try_cflags_saved_exeext=$ac_exeext
11420 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11421 ac_exeext=".exe"
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11424 int __cdecl mainCRTStartup(void) { return 0; }
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"
11427 then :
11428 eval "$as_ac_var=yes"
11429 else $as_nop
11430 eval "$as_ac_var=no"
11432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11433 conftest$ac_exeext conftest.$ac_ext
11434 CFLAGS=$ac_wine_try_cflags_saved
11435 ac_exeext=$ac_wine_try_cflags_saved_exeext
11437 eval ac_res=\$$as_ac_var
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11439 printf "%s\n" "$ac_res" >&6; }
11440 if eval test \"x\$"$as_ac_var"\" = x"yes"
11441 then :
11442 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11443 fi }
11444 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11446 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11447 if eval test \${$as_ac_var+y}
11448 then :
11449 printf %s "(cached) " >&6
11450 else $as_nop
11451 ac_wine_try_cflags_saved=$CFLAGS
11452 ac_wine_try_cflags_saved_exeext=$ac_exeext
11453 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11454 ac_exeext=".exe"
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11457 int __cdecl mainCRTStartup(void) { return 0; }
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"
11460 then :
11461 eval "$as_ac_var=yes"
11462 else $as_nop
11463 eval "$as_ac_var=no"
11465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11466 conftest$ac_exeext conftest.$ac_ext
11467 CFLAGS=$ac_wine_try_cflags_saved
11468 ac_exeext=$ac_wine_try_cflags_saved_exeext
11470 eval ac_res=\$$as_ac_var
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11472 printf "%s\n" "$ac_res" >&6; }
11473 if eval test \"x\$"$as_ac_var"\" = x"yes"
11474 then :
11475 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11476 fi }
11477 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11479 printf %s "checking whether $CC supports -mcx16... " >&6; }
11480 if eval test \${$as_ac_var+y}
11481 then :
11482 printf %s "(cached) " >&6
11483 else $as_nop
11484 ac_wine_try_cflags_saved=$CFLAGS
11485 ac_wine_try_cflags_saved_exeext=$ac_exeext
11486 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11487 ac_exeext=".exe"
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11490 int __cdecl mainCRTStartup(void) { return 0; }
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"
11493 then :
11494 eval "$as_ac_var=yes"
11495 else $as_nop
11496 eval "$as_ac_var=no"
11498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11499 conftest$ac_exeext conftest.$ac_ext
11500 CFLAGS=$ac_wine_try_cflags_saved
11501 ac_exeext=$ac_wine_try_cflags_saved_exeext
11503 eval ac_res=\$$as_ac_var
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11505 printf "%s\n" "$ac_res" >&6; }
11506 if eval test \"x\$"$as_ac_var"\" = x"yes"
11507 then :
11508 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11509 fi } ;;
11510 esac
11512 wine_crossdebug=$CROSSDEBUG
11513 if test -z "$wine_crossdebug"
11514 then
11515 for ac_flag in $CFLAGS; do
11516 case $ac_flag in
11517 -gdwarf*) wine_crossdebug=dwarf ;;
11518 -gcodeview) wine_crossdebug=pdb ;;
11519 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11520 esac
11521 done
11524 ac_debug_format_seen=""
11525 for ac_flag in $CFLAGS; do
11526 case $ac_flag in
11527 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11528 esac
11529 done
11530 if test "x$ac_debug_format_seen" = x
11531 then
11532 case $wine_crossdebug in
11533 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11535 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11536 if eval test \${$as_ac_var+y}
11537 then :
11538 printf %s "(cached) " >&6
11539 else $as_nop
11540 ac_wine_try_cflags_saved=$CFLAGS
11541 ac_wine_try_cflags_saved_exeext=$ac_exeext
11542 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11543 ac_exeext=".exe"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11546 int __cdecl mainCRTStartup(void) { return 0; }
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"
11549 then :
11550 eval "$as_ac_var=yes"
11551 else $as_nop
11552 eval "$as_ac_var=no"
11554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11555 conftest$ac_exeext conftest.$ac_ext
11556 CFLAGS=$ac_wine_try_cflags_saved
11557 ac_exeext=$ac_wine_try_cflags_saved_exeext
11559 eval ac_res=\$$as_ac_var
11560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11561 printf "%s\n" "$ac_res" >&6; }
11562 if eval test \"x\$"$as_ac_var"\" = x"yes"
11563 then :
11564 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11565 fi } ;;
11566 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11568 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11569 if eval test \${$as_ac_var+y}
11570 then :
11571 printf %s "(cached) " >&6
11572 else $as_nop
11573 ac_wine_try_cflags_saved=$CFLAGS
11574 ac_wine_try_cflags_saved_exeext=$ac_exeext
11575 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11576 ac_exeext=".exe"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11579 int __cdecl mainCRTStartup(void) { return 0; }
11580 _ACEOF
11581 if ac_fn_c_try_link "$LINENO"
11582 then :
11583 eval "$as_ac_var=yes"
11584 else $as_nop
11585 eval "$as_ac_var=no"
11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11588 conftest$ac_exeext conftest.$ac_ext
11589 CFLAGS=$ac_wine_try_cflags_saved
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 eval ac_res=\$$as_ac_var
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11594 printf "%s\n" "$ac_res" >&6; }
11595 if eval test \"x\$"$as_ac_var"\" = x"yes"
11596 then :
11597 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11598 fi } ;;
11599 esac
11601 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11603 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11605 printf %s "checking whether $CC supports -Werror... " >&6; }
11606 if eval test \${$as_ac_var+y}
11607 then :
11608 printf %s "(cached) " >&6
11609 else $as_nop
11610 ac_wine_try_cflags_saved=$CFLAGS
11611 ac_wine_try_cflags_saved_exeext=$ac_exeext
11612 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11613 ac_exeext=".exe"
11614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11615 /* end confdefs.h. */
11616 int __cdecl mainCRTStartup(void) { return 0; }
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"
11619 then :
11620 eval "$as_ac_var=yes"
11621 else $as_nop
11622 eval "$as_ac_var=no"
11624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11625 conftest$ac_exeext conftest.$ac_ext
11626 CFLAGS=$ac_wine_try_cflags_saved
11627 ac_exeext=$ac_wine_try_cflags_saved_exeext
11629 eval ac_res=\$$as_ac_var
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11631 printf "%s\n" "$ac_res" >&6; }
11632 if eval test \"x\$"$as_ac_var"\" = x"yes"
11633 then :
11634 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11635 fi }
11636 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11638 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11639 if eval test \${$as_ac_var+y}
11640 then :
11641 printf %s "(cached) " >&6
11642 else $as_nop
11643 ac_wine_try_cflags_saved=$CFLAGS
11644 ac_wine_try_cflags_saved_exeext=$ac_exeext
11645 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11646 ac_exeext=".exe"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11649 int __cdecl mainCRTStartup(void) { return 0; }
11650 _ACEOF
11651 if ac_fn_c_try_link "$LINENO"
11652 then :
11653 eval "$as_ac_var=yes"
11654 else $as_nop
11655 eval "$as_ac_var=no"
11657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11658 conftest$ac_exeext conftest.$ac_ext
11659 CFLAGS=$ac_wine_try_cflags_saved
11660 ac_exeext=$ac_wine_try_cflags_saved_exeext
11662 eval ac_res=\$$as_ac_var
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11664 printf "%s\n" "$ac_res" >&6; }
11665 if eval test \"x\$"$as_ac_var"\" = x"yes"
11666 then :
11667 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11668 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11669 fi }
11671 CC=$saved_CC
11672 CFLAGS=$saved_CFLAGS
11673 done
11675 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11676 then
11677 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11680 if test "x$PE_ARCHS" = "x"
11681 then :
11682 case "x$with_mingw" in
11683 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11684 xno) ;;
11685 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11686 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11687 esac
11692 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11693 then
11694 case "$host_cpu" in
11695 i[3456789]86*)
11696 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11698 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11699 esac
11700 for ac_prog in $ac_prefix_list
11702 # Extract the first word of "$ac_prog", so it can be a program name with args.
11703 set dummy $ac_prog; ac_word=$2
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11705 printf %s "checking for $ac_word... " >&6; }
11706 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11707 then :
11708 printf %s "(cached) " >&6
11709 else $as_nop
11710 if test -n "$MINGW_PKG_CONFIG"; then
11711 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11712 else
11713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11714 for as_dir in $PATH
11716 IFS=$as_save_IFS
11717 case $as_dir in #(((
11718 '') as_dir=./ ;;
11719 */) ;;
11720 *) as_dir=$as_dir/ ;;
11721 esac
11722 for ac_exec_ext in '' $ac_executable_extensions; do
11723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11724 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11726 break 2
11728 done
11729 done
11730 IFS=$as_save_IFS
11734 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11735 if test -n "$MINGW_PKG_CONFIG"; then
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11737 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11738 else
11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 printf "%s\n" "no" >&6; }
11744 test -n "$MINGW_PKG_CONFIG" && break
11745 done
11746 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11748 if ${FAUDIO_PE_CFLAGS:+false} :
11749 then :
11750 if test ${MINGW_PKG_CONFIG+y}
11751 then :
11752 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11755 if ${FAUDIO_PE_LIBS:+false} :
11756 then :
11757 if test ${MINGW_PKG_CONFIG+y}
11758 then :
11759 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11762 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11763 ac_save_CPPFLAGS=$CPPFLAGS
11764 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11766 printf %s "checking for MinGW FAudio.h... " >&6; }
11767 if test ${ac_cv_mingw_header_FAudio_h+y}
11768 then :
11769 printf %s "(cached) " >&6
11770 else $as_nop
11771 ac_wine_check_headers_saved_cc=$CC
11772 ac_wine_check_headers_saved_exeext=$ac_exeext
11773 eval CC=\$${wine_arch}_CC
11774 ac_exeext=".exe"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 #include <FAudio.h>
11780 main (void)
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_compile "$LINENO"
11788 then :
11789 ac_cv_mingw_header_FAudio_h=yes
11790 else $as_nop
11791 ac_cv_mingw_header_FAudio_h=no
11793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11794 CC=$ac_wine_check_headers_saved_cc
11795 ac_exeext=$ac_wine_check_headers_saved_exeext
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11798 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11799 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11800 then :
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11802 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11803 if test ${ac_cv_mingw_lib_FAudio+y}
11804 then :
11805 printf %s "(cached) " >&6
11806 else $as_nop
11807 ac_wine_check_headers_saved_cc=$CC
11808 ac_wine_check_headers_saved_exeext=$ac_exeext
11809 ac_wine_check_headers_saved_libs=$LIBS
11810 eval CC=\$${wine_arch}_CC
11811 ac_exeext=".exe"
11812 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11819 char FAudio_CommitOperationSet ();
11821 main (void)
11823 return FAudio_CommitOperationSet ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"
11829 then :
11830 ac_cv_mingw_lib_FAudio=yes
11831 else $as_nop
11832 ac_cv_mingw_lib_FAudio=no
11834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11835 conftest$ac_exeext conftest.$ac_ext
11836 CC=$ac_wine_check_headers_saved_cc
11837 ac_exeext=$ac_wine_check_headers_saved_exeext
11838 LIBS=$ac_wine_check_headers_saved_libs
11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11841 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11842 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11843 then :
11845 else $as_nop
11846 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11848 else $as_nop
11849 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11851 CPPFLAGS=$ac_save_CPPFLAGS
11853 if test "x$FAUDIO_PE_LIBS" = "x"
11854 then
11855 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11858 if ${JPEG_PE_CFLAGS:+false} :
11859 then :
11860 if test ${MINGW_PKG_CONFIG+y}
11861 then :
11862 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11865 if ${JPEG_PE_LIBS:+false} :
11866 then :
11867 if test ${MINGW_PKG_CONFIG+y}
11868 then :
11869 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11873 ac_save_CPPFLAGS=$CPPFLAGS
11874 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11876 printf %s "checking for MinGW jpeglib.h... " >&6; }
11877 if test ${ac_cv_mingw_header_jpeglib_h+y}
11878 then :
11879 printf %s "(cached) " >&6
11880 else $as_nop
11881 ac_wine_check_headers_saved_cc=$CC
11882 ac_wine_check_headers_saved_exeext=$ac_exeext
11883 eval CC=\$${wine_arch}_CC
11884 ac_exeext=".exe"
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11887 #include <stddef.h>
11888 #include <stdio.h>
11889 #include <jpeglib.h>
11891 main (void)
11895 return 0;
11897 _ACEOF
11898 if ac_fn_c_try_compile "$LINENO"
11899 then :
11900 ac_cv_mingw_header_jpeglib_h=yes
11901 else $as_nop
11902 ac_cv_mingw_header_jpeglib_h=no
11904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11905 CC=$ac_wine_check_headers_saved_cc
11906 ac_exeext=$ac_wine_check_headers_saved_exeext
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11909 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11910 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11911 then :
11912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11913 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11914 if test ${ac_cv_mingw_lib_jpeg+y}
11915 then :
11916 printf %s "(cached) " >&6
11917 else $as_nop
11918 ac_wine_check_headers_saved_cc=$CC
11919 ac_wine_check_headers_saved_exeext=$ac_exeext
11920 ac_wine_check_headers_saved_libs=$LIBS
11921 eval CC=\$${wine_arch}_CC
11922 ac_exeext=".exe"
11923 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 char jpeg_start_decompress ();
11932 main (void)
11934 return jpeg_start_decompress ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"
11940 then :
11941 ac_cv_mingw_lib_jpeg=yes
11942 else $as_nop
11943 ac_cv_mingw_lib_jpeg=no
11945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11946 conftest$ac_exeext conftest.$ac_ext
11947 CC=$ac_wine_check_headers_saved_cc
11948 ac_exeext=$ac_wine_check_headers_saved_exeext
11949 LIBS=$ac_wine_check_headers_saved_libs
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11952 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11953 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11954 then :
11956 else $as_nop
11957 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11959 else $as_nop
11960 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11962 CPPFLAGS=$ac_save_CPPFLAGS
11964 if test "x$JPEG_PE_LIBS" = "x"
11965 then
11966 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11969 if ${LCMS2_PE_CFLAGS:+false} :
11970 then :
11971 if test ${MINGW_PKG_CONFIG+y}
11972 then :
11973 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11976 if ${LCMS2_PE_LIBS:+false} :
11977 then :
11978 if test ${MINGW_PKG_CONFIG+y}
11979 then :
11980 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11983 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11984 ac_save_CPPFLAGS=$CPPFLAGS
11985 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11987 printf %s "checking for MinGW lcms2.h... " >&6; }
11988 if test ${ac_cv_mingw_header_lcms2_h+y}
11989 then :
11990 printf %s "(cached) " >&6
11991 else $as_nop
11992 ac_wine_check_headers_saved_cc=$CC
11993 ac_wine_check_headers_saved_exeext=$ac_exeext
11994 eval CC=\$${wine_arch}_CC
11995 ac_exeext=".exe"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 #include <lcms2.h>
12001 main (void)
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_compile "$LINENO"
12009 then :
12010 ac_cv_mingw_header_lcms2_h=yes
12011 else $as_nop
12012 ac_cv_mingw_header_lcms2_h=no
12014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12015 CC=$ac_wine_check_headers_saved_cc
12016 ac_exeext=$ac_wine_check_headers_saved_exeext
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12019 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12020 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12021 then :
12022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12023 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12024 if test ${ac_cv_mingw_lib_lcms2+y}
12025 then :
12026 printf %s "(cached) " >&6
12027 else $as_nop
12028 ac_wine_check_headers_saved_cc=$CC
12029 ac_wine_check_headers_saved_exeext=$ac_exeext
12030 ac_wine_check_headers_saved_libs=$LIBS
12031 eval CC=\$${wine_arch}_CC
12032 ac_exeext=".exe"
12033 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 char cmsOpenProfileFromFile ();
12042 main (void)
12044 return cmsOpenProfileFromFile ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"
12050 then :
12051 ac_cv_mingw_lib_lcms2=yes
12052 else $as_nop
12053 ac_cv_mingw_lib_lcms2=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12056 conftest$ac_exeext conftest.$ac_ext
12057 CC=$ac_wine_check_headers_saved_cc
12058 ac_exeext=$ac_wine_check_headers_saved_exeext
12059 LIBS=$ac_wine_check_headers_saved_libs
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12062 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12063 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12064 then :
12066 else $as_nop
12067 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12069 else $as_nop
12070 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12072 CPPFLAGS=$ac_save_CPPFLAGS
12074 if test "x$LCMS2_PE_LIBS" = "x"
12075 then
12076 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12079 if ${MPG123_PE_CFLAGS:+false} :
12080 then :
12081 if test ${MINGW_PKG_CONFIG+y}
12082 then :
12083 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12086 if ${MPG123_PE_LIBS:+false} :
12087 then :
12088 if test ${MINGW_PKG_CONFIG+y}
12089 then :
12090 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12093 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12094 ac_save_CPPFLAGS=$CPPFLAGS
12095 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12097 printf %s "checking for MinGW mpg123.h... " >&6; }
12098 if test ${ac_cv_mingw_header_mpg123_h+y}
12099 then :
12100 printf %s "(cached) " >&6
12101 else $as_nop
12102 ac_wine_check_headers_saved_cc=$CC
12103 ac_wine_check_headers_saved_exeext=$ac_exeext
12104 eval CC=\$${wine_arch}_CC
12105 ac_exeext=".exe"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 #include <mpg123.h>
12111 main (void)
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_compile "$LINENO"
12119 then :
12120 ac_cv_mingw_header_mpg123_h=yes
12121 else $as_nop
12122 ac_cv_mingw_header_mpg123_h=no
12124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12125 CC=$ac_wine_check_headers_saved_cc
12126 ac_exeext=$ac_wine_check_headers_saved_exeext
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12129 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12130 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12131 then :
12132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12133 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12134 if test ${ac_cv_mingw_lib_mpg123+y}
12135 then :
12136 printf %s "(cached) " >&6
12137 else $as_nop
12138 ac_wine_check_headers_saved_cc=$CC
12139 ac_wine_check_headers_saved_exeext=$ac_exeext
12140 ac_wine_check_headers_saved_libs=$LIBS
12141 eval CC=\$${wine_arch}_CC
12142 ac_exeext=".exe"
12143 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12150 char mpg123_feed ();
12152 main (void)
12154 return mpg123_feed ();
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_link "$LINENO"
12160 then :
12161 ac_cv_mingw_lib_mpg123=yes
12162 else $as_nop
12163 ac_cv_mingw_lib_mpg123=no
12165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12166 conftest$ac_exeext conftest.$ac_ext
12167 CC=$ac_wine_check_headers_saved_cc
12168 ac_exeext=$ac_wine_check_headers_saved_exeext
12169 LIBS=$ac_wine_check_headers_saved_libs
12171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12172 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12173 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12174 then :
12176 else $as_nop
12177 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12179 else $as_nop
12180 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12182 CPPFLAGS=$ac_save_CPPFLAGS
12184 if test "x$MPG123_PE_LIBS" = "x"
12185 then
12186 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12189 if ${PNG_PE_CFLAGS:+false} :
12190 then :
12191 if test ${MINGW_PKG_CONFIG+y}
12192 then :
12193 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12196 if ${PNG_PE_LIBS:+false} :
12197 then :
12198 if test ${MINGW_PKG_CONFIG+y}
12199 then :
12200 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12204 ac_save_CPPFLAGS=$CPPFLAGS
12205 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12207 printf %s "checking for MinGW png.h... " >&6; }
12208 if test ${ac_cv_mingw_header_png_h+y}
12209 then :
12210 printf %s "(cached) " >&6
12211 else $as_nop
12212 ac_wine_check_headers_saved_cc=$CC
12213 ac_wine_check_headers_saved_exeext=$ac_exeext
12214 eval CC=\$${wine_arch}_CC
12215 ac_exeext=".exe"
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12219 #include <png.h>
12221 main (void)
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_compile "$LINENO"
12229 then :
12230 ac_cv_mingw_header_png_h=yes
12231 else $as_nop
12232 ac_cv_mingw_header_png_h=no
12234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12235 CC=$ac_wine_check_headers_saved_cc
12236 ac_exeext=$ac_wine_check_headers_saved_exeext
12238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12239 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12240 if test "x$ac_cv_mingw_header_png_h" = xyes
12241 then :
12242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12243 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12244 if test ${ac_cv_mingw_lib_png+y}
12245 then :
12246 printf %s "(cached) " >&6
12247 else $as_nop
12248 ac_wine_check_headers_saved_cc=$CC
12249 ac_wine_check_headers_saved_exeext=$ac_exeext
12250 ac_wine_check_headers_saved_libs=$LIBS
12251 eval CC=\$${wine_arch}_CC
12252 ac_exeext=".exe"
12253 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 char png_create_read_struct ();
12262 main (void)
12264 return png_create_read_struct ();
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"
12270 then :
12271 ac_cv_mingw_lib_png=yes
12272 else $as_nop
12273 ac_cv_mingw_lib_png=no
12275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12276 conftest$ac_exeext conftest.$ac_ext
12277 CC=$ac_wine_check_headers_saved_cc
12278 ac_exeext=$ac_wine_check_headers_saved_exeext
12279 LIBS=$ac_wine_check_headers_saved_libs
12281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12282 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12283 if test "x$ac_cv_mingw_lib_png" = xyes
12284 then :
12286 else $as_nop
12287 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12289 else $as_nop
12290 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12292 CPPFLAGS=$ac_save_CPPFLAGS
12294 if test "x$PNG_PE_LIBS" = "x"
12295 then
12296 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12299 if ${TIFF_PE_CFLAGS:+false} :
12300 then :
12301 if test ${MINGW_PKG_CONFIG+y}
12302 then :
12303 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12306 if ${TIFF_PE_LIBS:+false} :
12307 then :
12308 if test ${MINGW_PKG_CONFIG+y}
12309 then :
12310 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12314 ac_save_CPPFLAGS=$CPPFLAGS
12315 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12317 printf %s "checking for MinGW tiffio.h... " >&6; }
12318 if test ${ac_cv_mingw_header_tiffio_h+y}
12319 then :
12320 printf %s "(cached) " >&6
12321 else $as_nop
12322 ac_wine_check_headers_saved_cc=$CC
12323 ac_wine_check_headers_saved_exeext=$ac_exeext
12324 eval CC=\$${wine_arch}_CC
12325 ac_exeext=".exe"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 #include <tiffio.h>
12331 main (void)
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_compile "$LINENO"
12339 then :
12340 ac_cv_mingw_header_tiffio_h=yes
12341 else $as_nop
12342 ac_cv_mingw_header_tiffio_h=no
12344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12345 CC=$ac_wine_check_headers_saved_cc
12346 ac_exeext=$ac_wine_check_headers_saved_exeext
12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12349 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12350 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12351 then :
12352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12353 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12354 if test ${ac_cv_mingw_lib_tiff+y}
12355 then :
12356 printf %s "(cached) " >&6
12357 else $as_nop
12358 ac_wine_check_headers_saved_cc=$CC
12359 ac_wine_check_headers_saved_exeext=$ac_exeext
12360 ac_wine_check_headers_saved_libs=$LIBS
12361 eval CC=\$${wine_arch}_CC
12362 ac_exeext=".exe"
12363 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12367 /* Override any GCC internal prototype to avoid an error.
12368 Use char because int might match the return type of a GCC
12369 builtin and then its argument prototype would still apply. */
12370 char TIFFClientOpen ();
12372 main (void)
12374 return TIFFClientOpen ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"
12380 then :
12381 ac_cv_mingw_lib_tiff=yes
12382 else $as_nop
12383 ac_cv_mingw_lib_tiff=no
12385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12386 conftest$ac_exeext conftest.$ac_ext
12387 CC=$ac_wine_check_headers_saved_cc
12388 ac_exeext=$ac_wine_check_headers_saved_exeext
12389 LIBS=$ac_wine_check_headers_saved_libs
12391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12392 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12393 if test "x$ac_cv_mingw_lib_tiff" = xyes
12394 then :
12396 else $as_nop
12397 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12399 else $as_nop
12400 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12402 CPPFLAGS=$ac_save_CPPFLAGS
12404 if test "x$TIFF_PE_LIBS" = "x"
12405 then
12406 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12409 if ${XML2_PE_CFLAGS:+false} :
12410 then :
12411 if test ${MINGW_PKG_CONFIG+y}
12412 then :
12413 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12416 if ${XML2_PE_LIBS:+false} :
12417 then :
12418 if test ${MINGW_PKG_CONFIG+y}
12419 then :
12420 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12423 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12424 ac_save_CPPFLAGS=$CPPFLAGS
12425 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12427 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12428 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12429 then :
12430 printf %s "(cached) " >&6
12431 else $as_nop
12432 ac_wine_check_headers_saved_cc=$CC
12433 ac_wine_check_headers_saved_exeext=$ac_exeext
12434 eval CC=\$${wine_arch}_CC
12435 ac_exeext=".exe"
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 #include <libxml/parser.h>
12441 main (void)
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_compile "$LINENO"
12449 then :
12450 ac_cv_mingw_header_libxml_parser_h=yes
12451 else $as_nop
12452 ac_cv_mingw_header_libxml_parser_h=no
12454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12455 CC=$ac_wine_check_headers_saved_cc
12456 ac_exeext=$ac_wine_check_headers_saved_exeext
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12459 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12460 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12461 then :
12464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12465 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12466 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12467 then :
12468 printf %s "(cached) " >&6
12469 else $as_nop
12470 ac_wine_check_headers_saved_cc=$CC
12471 ac_wine_check_headers_saved_exeext=$ac_exeext
12472 eval CC=\$${wine_arch}_CC
12473 ac_exeext=".exe"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 #include <libxml/xmlsave.h>
12479 main (void)
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_compile "$LINENO"
12487 then :
12488 ac_cv_mingw_header_libxml_xmlsave_h=yes
12489 else $as_nop
12490 ac_cv_mingw_header_libxml_xmlsave_h=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12493 CC=$ac_wine_check_headers_saved_cc
12494 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12497 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12498 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12499 then :
12502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12503 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12504 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12505 then :
12506 printf %s "(cached) " >&6
12507 else $as_nop
12508 ac_wine_check_headers_saved_cc=$CC
12509 ac_wine_check_headers_saved_exeext=$ac_exeext
12510 eval CC=\$${wine_arch}_CC
12511 ac_exeext=".exe"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 #include <libxml/SAX2.h>
12517 main (void)
12521 return 0;
12523 _ACEOF
12524 if ac_fn_c_try_compile "$LINENO"
12525 then :
12526 ac_cv_mingw_header_libxml_SAX2_h=yes
12527 else $as_nop
12528 ac_cv_mingw_header_libxml_SAX2_h=no
12530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12531 CC=$ac_wine_check_headers_saved_cc
12532 ac_exeext=$ac_wine_check_headers_saved_exeext
12534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12535 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12536 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12537 then :
12540 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"
12541 then
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12543 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12544 if test ${ac_cv_mingw_lib_xml2+y}
12545 then :
12546 printf %s "(cached) " >&6
12547 else $as_nop
12548 ac_wine_check_headers_saved_cc=$CC
12549 ac_wine_check_headers_saved_exeext=$ac_exeext
12550 ac_wine_check_headers_saved_libs=$LIBS
12551 eval CC=\$${wine_arch}_CC
12552 ac_exeext=".exe"
12553 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12557 /* Override any GCC internal prototype to avoid an error.
12558 Use char because int might match the return type of a GCC
12559 builtin and then its argument prototype would still apply. */
12560 char xmlFirstElementChild ();
12562 main (void)
12564 return xmlFirstElementChild ();
12566 return 0;
12568 _ACEOF
12569 if ac_fn_c_try_link "$LINENO"
12570 then :
12571 ac_cv_mingw_lib_xml2=yes
12572 else $as_nop
12573 ac_cv_mingw_lib_xml2=no
12575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12576 conftest$ac_exeext conftest.$ac_ext
12577 CC=$ac_wine_check_headers_saved_cc
12578 ac_exeext=$ac_wine_check_headers_saved_exeext
12579 LIBS=$ac_wine_check_headers_saved_libs
12581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12582 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12583 if test "x$ac_cv_mingw_lib_xml2" = xyes
12584 then :
12586 else $as_nop
12587 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12589 else
12590 XML2_PE_CFLAGS=""
12591 XML2_PE_LIBS=""
12593 CPPFLAGS=$ac_save_CPPFLAGS
12595 if test "x$XML2_PE_LIBS" = "x"
12596 then
12597 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12600 if ${XSLT_PE_CFLAGS:+false} :
12601 then :
12602 if test ${MINGW_PKG_CONFIG+y}
12603 then :
12604 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12607 if ${XSLT_PE_LIBS:+false} :
12608 then :
12609 if test ${MINGW_PKG_CONFIG+y}
12610 then :
12611 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12614 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12615 ac_save_CPPFLAGS=$CPPFLAGS
12616 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12618 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12619 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12620 then :
12621 printf %s "(cached) " >&6
12622 else $as_nop
12623 ac_wine_check_headers_saved_cc=$CC
12624 ac_wine_check_headers_saved_exeext=$ac_exeext
12625 eval CC=\$${wine_arch}_CC
12626 ac_exeext=".exe"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 #include <libxslt/pattern.h>
12632 main (void)
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_compile "$LINENO"
12640 then :
12641 ac_cv_mingw_header_libxslt_pattern_h=yes
12642 else $as_nop
12643 ac_cv_mingw_header_libxslt_pattern_h=no
12645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12646 CC=$ac_wine_check_headers_saved_cc
12647 ac_exeext=$ac_wine_check_headers_saved_exeext
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12650 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12651 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12652 then :
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12656 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12657 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12658 then :
12659 printf %s "(cached) " >&6
12660 else $as_nop
12661 ac_wine_check_headers_saved_cc=$CC
12662 ac_wine_check_headers_saved_exeext=$ac_exeext
12663 eval CC=\$${wine_arch}_CC
12664 ac_exeext=".exe"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 #include <libxslt/transform.h>
12670 main (void)
12674 return 0;
12676 _ACEOF
12677 if ac_fn_c_try_compile "$LINENO"
12678 then :
12679 ac_cv_mingw_header_libxslt_transform_h=yes
12680 else $as_nop
12681 ac_cv_mingw_header_libxslt_transform_h=no
12683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12684 CC=$ac_wine_check_headers_saved_cc
12685 ac_exeext=$ac_wine_check_headers_saved_exeext
12687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12688 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12689 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12690 then :
12693 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12694 then
12695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12696 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12697 if test ${ac_cv_mingw_lib_xslt+y}
12698 then :
12699 printf %s "(cached) " >&6
12700 else $as_nop
12701 ac_wine_check_headers_saved_cc=$CC
12702 ac_wine_check_headers_saved_exeext=$ac_exeext
12703 ac_wine_check_headers_saved_libs=$LIBS
12704 eval CC=\$${wine_arch}_CC
12705 ac_exeext=".exe"
12706 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12713 char xsltCompilePattern ();
12715 main (void)
12717 return xsltCompilePattern ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"
12723 then :
12724 ac_cv_mingw_lib_xslt=yes
12725 else $as_nop
12726 ac_cv_mingw_lib_xslt=no
12728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12729 conftest$ac_exeext conftest.$ac_ext
12730 CC=$ac_wine_check_headers_saved_cc
12731 ac_exeext=$ac_wine_check_headers_saved_exeext
12732 LIBS=$ac_wine_check_headers_saved_libs
12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12735 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12736 if test "x$ac_cv_mingw_lib_xslt" = xyes
12737 then :
12739 else $as_nop
12740 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12742 else
12743 XSLT_PE_CFLAGS=""
12744 XSLT_PE_LIBS=""
12746 CPPFLAGS=$ac_save_CPPFLAGS
12748 if test "x$XSLT_PE_LIBS" = "x"
12749 then
12750 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12753 if ${VKD3D_PE_CFLAGS:+false} :
12754 then :
12755 if test ${MINGW_PKG_CONFIG+y}
12756 then :
12757 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12760 if ${VKD3D_PE_LIBS:+false} :
12761 then :
12762 if test ${MINGW_PKG_CONFIG+y}
12763 then :
12764 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12767 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12768 ac_save_CPPFLAGS=$CPPFLAGS
12769 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12771 printf %s "checking for MinGW vkd3d.h... " >&6; }
12772 if test ${ac_cv_mingw_header_vkd3d_h+y}
12773 then :
12774 printf %s "(cached) " >&6
12775 else $as_nop
12776 ac_wine_check_headers_saved_cc=$CC
12777 ac_wine_check_headers_saved_exeext=$ac_exeext
12778 eval CC=\$${wine_arch}_CC
12779 ac_exeext=".exe"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 #include <vkd3d.h>
12785 main (void)
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_compile "$LINENO"
12793 then :
12794 ac_cv_mingw_header_vkd3d_h=yes
12795 else $as_nop
12796 ac_cv_mingw_header_vkd3d_h=no
12798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12799 CC=$ac_wine_check_headers_saved_cc
12800 ac_exeext=$ac_wine_check_headers_saved_exeext
12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12803 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12804 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12805 then :
12808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12809 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12810 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12811 then :
12812 printf %s "(cached) " >&6
12813 else $as_nop
12814 ac_wine_check_headers_saved_cc=$CC
12815 ac_wine_check_headers_saved_exeext=$ac_exeext
12816 eval CC=\$${wine_arch}_CC
12817 ac_exeext=".exe"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 #include <vkd3d_shader.h>
12823 main (void)
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_compile "$LINENO"
12831 then :
12832 ac_cv_mingw_header_vkd3d_shader_h=yes
12833 else $as_nop
12834 ac_cv_mingw_header_vkd3d_shader_h=no
12836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12837 CC=$ac_wine_check_headers_saved_cc
12838 ac_exeext=$ac_wine_check_headers_saved_exeext
12840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12841 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12842 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12843 then :
12846 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12847 then
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12849 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12850 if test ${ac_cv_mingw_lib_vkd3d+y}
12851 then :
12852 printf %s "(cached) " >&6
12853 else $as_nop
12854 ac_wine_check_headers_saved_cc=$CC
12855 ac_wine_check_headers_saved_exeext=$ac_exeext
12856 ac_wine_check_headers_saved_libs=$LIBS
12857 eval CC=\$${wine_arch}_CC
12858 ac_exeext=".exe"
12859 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 char vkd3d_set_log_callback ();
12868 main (void)
12870 return vkd3d_set_log_callback ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"
12876 then :
12877 ac_cv_mingw_lib_vkd3d=yes
12878 else $as_nop
12879 ac_cv_mingw_lib_vkd3d=no
12881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12882 conftest$ac_exeext conftest.$ac_ext
12883 CC=$ac_wine_check_headers_saved_cc
12884 ac_exeext=$ac_wine_check_headers_saved_exeext
12885 LIBS=$ac_wine_check_headers_saved_libs
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12888 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12889 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12890 then :
12892 else $as_nop
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12896 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12897 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12898 then :
12899 printf %s "(cached) " >&6
12900 else $as_nop
12901 ac_wine_check_headers_saved_cc=$CC
12902 ac_wine_check_headers_saved_exeext=$ac_exeext
12903 ac_wine_check_headers_saved_libs=$LIBS
12904 eval CC=\$${wine_arch}_CC
12905 ac_exeext=".exe"
12906 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12913 char vkd3d_shader_serialize_dxbc ();
12915 main (void)
12917 return vkd3d_shader_serialize_dxbc ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"
12923 then :
12924 ac_cv_mingw_lib_vkd3d_shader=yes
12925 else $as_nop
12926 ac_cv_mingw_lib_vkd3d_shader=no
12928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12929 conftest$ac_exeext conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12932 LIBS=$ac_wine_check_headers_saved_libs
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12935 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12936 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12937 then :
12939 else $as_nop
12942 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12943 then
12944 VKD3D_PE_CFLAGS=""
12945 VKD3D_PE_LIBS=""
12947 else
12948 VKD3D_PE_CFLAGS=""
12949 VKD3D_PE_LIBS=""
12951 CPPFLAGS=$ac_save_CPPFLAGS
12953 if test "x$VKD3D_PE_LIBS" = "x"
12954 then
12955 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12958 if ${ZLIB_PE_CFLAGS:+false} :
12959 then :
12960 if test ${MINGW_PKG_CONFIG+y}
12961 then :
12962 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12965 if ${ZLIB_PE_LIBS:+false} :
12966 then :
12967 if test ${MINGW_PKG_CONFIG+y}
12968 then :
12969 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12972 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12973 ac_save_CPPFLAGS=$CPPFLAGS
12974 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12976 printf %s "checking for MinGW zlib.h... " >&6; }
12977 if test ${ac_cv_mingw_header_zlib_h+y}
12978 then :
12979 printf %s "(cached) " >&6
12980 else $as_nop
12981 ac_wine_check_headers_saved_cc=$CC
12982 ac_wine_check_headers_saved_exeext=$ac_exeext
12983 eval CC=\$${wine_arch}_CC
12984 ac_exeext=".exe"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 #include <zlib.h>
12990 main (void)
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_compile "$LINENO"
12998 then :
12999 ac_cv_mingw_header_zlib_h=yes
13000 else $as_nop
13001 ac_cv_mingw_header_zlib_h=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13004 CC=$ac_wine_check_headers_saved_cc
13005 ac_exeext=$ac_wine_check_headers_saved_exeext
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13008 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13009 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13010 then :
13011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13012 printf %s "checking for inflate in MinGW -lz... " >&6; }
13013 if test ${ac_cv_mingw_lib_z+y}
13014 then :
13015 printf %s "(cached) " >&6
13016 else $as_nop
13017 ac_wine_check_headers_saved_cc=$CC
13018 ac_wine_check_headers_saved_exeext=$ac_exeext
13019 ac_wine_check_headers_saved_libs=$LIBS
13020 eval CC=\$${wine_arch}_CC
13021 ac_exeext=".exe"
13022 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 char inflate ();
13031 main (void)
13033 return inflate ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"
13039 then :
13040 ac_cv_mingw_lib_z=yes
13041 else $as_nop
13042 ac_cv_mingw_lib_z=no
13044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13045 conftest$ac_exeext conftest.$ac_ext
13046 CC=$ac_wine_check_headers_saved_cc
13047 ac_exeext=$ac_wine_check_headers_saved_exeext
13048 LIBS=$ac_wine_check_headers_saved_libs
13050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13051 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13052 if test "x$ac_cv_mingw_lib_z" = xyes
13053 then :
13055 else $as_nop
13056 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13058 else $as_nop
13059 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13061 CPPFLAGS=$ac_save_CPPFLAGS
13063 if test "x$ZLIB_PE_LIBS" = "x"
13064 then
13065 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13069 if ${FAUDIO_PE_LIBS:+false} :
13070 then :
13071 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13072 if ${FAUDIO_PE_CFLAGS:+false} :
13073 then :
13074 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13075 else $as_nop
13076 enable_faudio=no
13078 else $as_nop
13079 enable_faudio=no
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13084 if ${GSM_PE_LIBS:+false} :
13085 then :
13086 GSM_PE_LIBS=gsm
13087 if ${GSM_PE_CFLAGS:+false} :
13088 then :
13089 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13090 else $as_nop
13091 enable_gsm=no
13093 else $as_nop
13094 enable_gsm=no
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13099 if ${JPEG_PE_LIBS:+false} :
13100 then :
13101 JPEG_PE_LIBS=jpeg
13102 if ${JPEG_PE_CFLAGS:+false} :
13103 then :
13104 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13105 else $as_nop
13106 enable_jpeg=no
13108 else $as_nop
13109 enable_jpeg=no
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13114 if ${JXR_PE_LIBS:+false} :
13115 then :
13116 JXR_PE_LIBS=jxr
13117 if ${JXR_PE_CFLAGS:+false} :
13118 then :
13119 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13120 else $as_nop
13121 enable_jxr=no
13123 else $as_nop
13124 enable_jxr=no
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13129 if ${LCMS2_PE_LIBS:+false} :
13130 then :
13131 LCMS2_PE_LIBS=lcms2
13132 if ${LCMS2_PE_CFLAGS:+false} :
13133 then :
13134 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13135 else $as_nop
13136 enable_lcms2=no
13138 else $as_nop
13139 enable_lcms2=no
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13144 if ${LDAP_PE_LIBS:+false} :
13145 then :
13146 LDAP_PE_LIBS=ldap
13147 if ${LDAP_PE_CFLAGS:+false} :
13148 then :
13149 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13150 else $as_nop
13151 enable_ldap=no
13153 else $as_nop
13154 enable_ldap=no
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13159 if ${MPG123_PE_LIBS:+false} :
13160 then :
13161 MPG123_PE_LIBS=mpg123
13162 if ${MPG123_PE_CFLAGS:+false} :
13163 then :
13164 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13165 else $as_nop
13166 enable_mpg123=no
13168 else $as_nop
13169 enable_mpg123=no
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13174 if ${MUSL_PE_LIBS:+false} :
13175 then :
13176 MUSL_PE_LIBS=musl
13177 if ${MUSL_PE_CFLAGS:+false} :
13178 then :
13179 MUSL_PE_CFLAGS=
13180 else $as_nop
13181 enable_musl=no
13183 else $as_nop
13184 enable_musl=no
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13189 if ${PNG_PE_LIBS:+false} :
13190 then :
13191 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13192 if ${PNG_PE_CFLAGS:+false} :
13193 then :
13194 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13195 else $as_nop
13196 enable_png=no
13198 else $as_nop
13199 enable_png=no
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13204 if ${TIFF_PE_LIBS:+false} :
13205 then :
13206 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13207 if ${TIFF_PE_CFLAGS:+false} :
13208 then :
13209 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13210 else $as_nop
13211 enable_tiff=no
13213 else $as_nop
13214 enable_tiff=no
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13219 if ${VKD3D_PE_LIBS:+false} :
13220 then :
13221 VKD3D_PE_LIBS=vkd3d
13222 if ${VKD3D_PE_CFLAGS:+false} :
13223 then :
13224 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13225 else $as_nop
13226 enable_vkd3d=no
13228 else $as_nop
13229 enable_vkd3d=no
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13234 if ${XML2_PE_LIBS:+false} :
13235 then :
13236 XML2_PE_LIBS=xml2
13237 if ${XML2_PE_CFLAGS:+false} :
13238 then :
13239 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13240 else $as_nop
13241 enable_xml2=no
13243 else $as_nop
13244 enable_xml2=no
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13249 if ${XSLT_PE_LIBS:+false} :
13250 then :
13251 XSLT_PE_LIBS=xslt
13252 if ${XSLT_PE_CFLAGS:+false} :
13253 then :
13254 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13255 else $as_nop
13256 enable_xslt=no
13258 else $as_nop
13259 enable_xslt=no
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13264 if ${ZLIB_PE_LIBS:+false} :
13265 then :
13266 ZLIB_PE_LIBS=z
13267 if ${ZLIB_PE_CFLAGS:+false} :
13268 then :
13269 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13270 else $as_nop
13271 enable_zlib=no
13273 else $as_nop
13274 enable_zlib=no
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13279 if ${ZYDIS_PE_LIBS:+false} :
13280 then :
13281 ZYDIS_PE_LIBS=zydis
13282 if ${ZYDIS_PE_CFLAGS:+false} :
13283 then :
13284 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13285 else $as_nop
13286 enable_zydis=no
13288 else $as_nop
13289 enable_zydis=no
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13296 if test "$ac_cv_header_pthread_h" = "yes"
13297 then
13298 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13299 if test "x$ac_cv_func_pthread_create" = xyes
13300 then :
13302 else $as_nop
13303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13304 printf %s "checking for pthread_create in -lpthread... " >&6; }
13305 if test ${ac_cv_lib_pthread_pthread_create+y}
13306 then :
13307 printf %s "(cached) " >&6
13308 else $as_nop
13309 ac_check_lib_save_LIBS=$LIBS
13310 LIBS="-lpthread $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 char pthread_create ();
13319 main (void)
13321 return pthread_create ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"
13327 then :
13328 ac_cv_lib_pthread_pthread_create=yes
13329 else $as_nop
13330 ac_cv_lib_pthread_pthread_create=no
13332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_lib_save_LIBS
13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13337 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13338 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13339 then :
13340 PTHREAD_LIBS="-lpthread"
13347 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13348 then :
13349 case "x$with_pthread" in
13350 xno) ;;
13351 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13352 Wine cannot support threads without libpthread.
13353 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13354 esac
13359 ac_ext=c
13360 ac_cpp='$CPP $CPPFLAGS'
13361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13365 printf %s "checking how to run the C preprocessor... " >&6; }
13366 # On Suns, sometimes $CPP names a directory.
13367 if test -n "$CPP" && test -d "$CPP"; then
13368 CPP=
13370 if test -z "$CPP"; then
13371 if test ${ac_cv_prog_CPP+y}
13372 then :
13373 printf %s "(cached) " >&6
13374 else $as_nop
13375 # Double quotes because $CC needs to be expanded
13376 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13378 ac_preproc_ok=false
13379 for ac_c_preproc_warn_flag in '' yes
13381 # Use a header file that comes with gcc, so configuring glibc
13382 # with a fresh cross-compiler works.
13383 # On the NeXT, cc -E runs the code through the compiler's parser,
13384 # not just through cpp. "Syntax error" is here to catch this case.
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13387 #include <limits.h>
13388 Syntax error
13389 _ACEOF
13390 if ac_fn_c_try_cpp "$LINENO"
13391 then :
13393 else $as_nop
13394 # Broken: fails on valid input.
13395 continue
13397 rm -f conftest.err conftest.i conftest.$ac_ext
13399 # OK, works on sane cases. Now check whether nonexistent headers
13400 # can be detected and how.
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13402 /* end confdefs.h. */
13403 #include <ac_nonexistent.h>
13404 _ACEOF
13405 if ac_fn_c_try_cpp "$LINENO"
13406 then :
13407 # Broken: success on invalid input.
13408 continue
13409 else $as_nop
13410 # Passes both tests.
13411 ac_preproc_ok=:
13412 break
13414 rm -f conftest.err conftest.i conftest.$ac_ext
13416 done
13417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13418 rm -f conftest.i conftest.err conftest.$ac_ext
13419 if $ac_preproc_ok
13420 then :
13421 break
13424 done
13425 ac_cv_prog_CPP=$CPP
13428 CPP=$ac_cv_prog_CPP
13429 else
13430 ac_cv_prog_CPP=$CPP
13432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13433 printf "%s\n" "$CPP" >&6; }
13434 ac_preproc_ok=false
13435 for ac_c_preproc_warn_flag in '' yes
13437 # Use a header file that comes with gcc, so configuring glibc
13438 # with a fresh cross-compiler works.
13439 # On the NeXT, cc -E runs the code through the compiler's parser,
13440 # not just through cpp. "Syntax error" is here to catch this case.
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13443 #include <limits.h>
13444 Syntax error
13445 _ACEOF
13446 if ac_fn_c_try_cpp "$LINENO"
13447 then :
13449 else $as_nop
13450 # Broken: fails on valid input.
13451 continue
13453 rm -f conftest.err conftest.i conftest.$ac_ext
13455 # OK, works on sane cases. Now check whether nonexistent headers
13456 # can be detected and how.
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13459 #include <ac_nonexistent.h>
13460 _ACEOF
13461 if ac_fn_c_try_cpp "$LINENO"
13462 then :
13463 # Broken: success on invalid input.
13464 continue
13465 else $as_nop
13466 # Passes both tests.
13467 ac_preproc_ok=:
13468 break
13470 rm -f conftest.err conftest.i conftest.$ac_ext
13472 done
13473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13474 rm -f conftest.i conftest.err conftest.$ac_ext
13475 if $ac_preproc_ok
13476 then :
13478 else $as_nop
13479 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13480 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13481 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13482 See \`config.log' for more details" "$LINENO" 5; }
13485 ac_ext=c
13486 ac_cpp='$CPP $CPPFLAGS'
13487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13493 printf %s "checking for X... " >&6; }
13496 # Check whether --with-x was given.
13497 if test ${with_x+y}
13498 then :
13499 withval=$with_x;
13502 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13503 if test "x$with_x" = xno; then
13504 # The user explicitly disabled X.
13505 have_x=disabled
13506 else
13507 case $x_includes,$x_libraries in #(
13508 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13509 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13510 then :
13511 printf %s "(cached) " >&6
13512 else $as_nop
13513 # One or both of the vars are not set, and there is no cached value.
13514 ac_x_includes=no
13515 ac_x_libraries=no
13516 # Do we need to do anything special at all?
13517 ac_save_LIBS=$LIBS
13518 LIBS="-lX11 $LIBS"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13521 #include <X11/Xlib.h>
13523 main (void)
13525 XrmInitialize ()
13527 return 0;
13529 _ACEOF
13530 if ac_fn_c_try_link "$LINENO"
13531 then :
13532 # We can compile and link X programs with no special options.
13533 ac_x_includes=
13534 ac_x_libraries=
13536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS="$ac_save_LIBS"
13539 # If that didn't work, only try xmkmf and file system searches
13540 # for native compilation.
13541 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13542 then :
13543 rm -f -r conftest.dir
13544 if mkdir conftest.dir; then
13545 cd conftest.dir
13546 cat >Imakefile <<'_ACEOF'
13547 incroot:
13548 @echo incroot='${INCROOT}'
13549 usrlibdir:
13550 @echo usrlibdir='${USRLIBDIR}'
13551 libdir:
13552 @echo libdir='${LIBDIR}'
13553 _ACEOF
13554 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13555 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13556 for ac_var in incroot usrlibdir libdir; do
13557 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13558 done
13559 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13560 for ac_extension in a so sl dylib la dll; do
13561 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13562 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13563 ac_im_usrlibdir=$ac_im_libdir; break
13565 done
13566 # Screen out bogus values from the imake configuration. They are
13567 # bogus both because they are the default anyway, and because
13568 # using them would break gcc on systems where it needs fixed includes.
13569 case $ac_im_incroot in
13570 /usr/include) ac_x_includes= ;;
13571 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13572 esac
13573 case $ac_im_usrlibdir in
13574 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13575 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13576 esac
13578 cd ..
13579 rm -f -r conftest.dir
13582 # Standard set of common directories for X headers.
13583 # Check X11 before X11Rn because it is often a symlink to the current release.
13584 ac_x_header_dirs='
13585 /usr/X11/include
13586 /usr/X11R7/include
13587 /usr/X11R6/include
13588 /usr/X11R5/include
13589 /usr/X11R4/include
13591 /usr/include/X11
13592 /usr/include/X11R7
13593 /usr/include/X11R6
13594 /usr/include/X11R5
13595 /usr/include/X11R4
13597 /usr/local/X11/include
13598 /usr/local/X11R7/include
13599 /usr/local/X11R6/include
13600 /usr/local/X11R5/include
13601 /usr/local/X11R4/include
13603 /usr/local/include/X11
13604 /usr/local/include/X11R7
13605 /usr/local/include/X11R6
13606 /usr/local/include/X11R5
13607 /usr/local/include/X11R4
13609 /opt/X11/include
13611 /usr/X386/include
13612 /usr/x386/include
13613 /usr/XFree86/include/X11
13615 /usr/include
13616 /usr/local/include
13617 /usr/unsupported/include
13618 /usr/athena/include
13619 /usr/local/x11r5/include
13620 /usr/lpp/Xamples/include
13622 /usr/openwin/include
13623 /usr/openwin/share/include'
13625 if test "$ac_x_includes" = no; then
13626 # Guess where to find include files, by looking for Xlib.h.
13627 # First, try using that file with no special directory specified.
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 #include <X11/Xlib.h>
13631 _ACEOF
13632 if ac_fn_c_try_cpp "$LINENO"
13633 then :
13634 # We can compile using X headers with no special include directory.
13635 ac_x_includes=
13636 else $as_nop
13637 for ac_dir in $ac_x_header_dirs; do
13638 if test -r "$ac_dir/X11/Xlib.h"; then
13639 ac_x_includes=$ac_dir
13640 break
13642 done
13644 rm -f conftest.err conftest.i conftest.$ac_ext
13645 fi # $ac_x_includes = no
13647 if test "$ac_x_libraries" = no; then
13648 # Check for the libraries.
13649 # See if we find them without any special options.
13650 # Don't add to $LIBS permanently.
13651 ac_save_LIBS=$LIBS
13652 LIBS="-lX11 $LIBS"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13655 #include <X11/Xlib.h>
13657 main (void)
13659 XrmInitialize ()
13661 return 0;
13663 _ACEOF
13664 if ac_fn_c_try_link "$LINENO"
13665 then :
13666 LIBS=$ac_save_LIBS
13667 # We can link X programs with no special library path.
13668 ac_x_libraries=
13669 else $as_nop
13670 LIBS=$ac_save_LIBS
13671 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13673 # Don't even attempt the hair of trying to link an X program!
13674 for ac_extension in a so sl dylib la dll; do
13675 if test -r "$ac_dir/libX11.$ac_extension"; then
13676 ac_x_libraries=$ac_dir
13677 break 2
13679 done
13680 done
13682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13683 conftest$ac_exeext conftest.$ac_ext
13684 fi # $ac_x_libraries = no
13687 # Record the results.
13688 case $ac_x_includes,$ac_x_libraries in #(
13689 no,* | *,no | *\'*) :
13690 # Didn't find X, or a directory has "'" in its name.
13691 ac_cv_have_x="have_x=no" ;; #(
13692 *) :
13693 # Record where we found X for the cache.
13694 ac_cv_have_x="have_x=yes\
13695 ac_x_includes='$ac_x_includes'\
13696 ac_x_libraries='$ac_x_libraries'" ;;
13697 esac
13699 ;; #(
13700 *) have_x=yes;;
13701 esac
13702 eval "$ac_cv_have_x"
13703 fi # $with_x != no
13705 if test "$have_x" != yes; then
13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13707 printf "%s\n" "$have_x" >&6; }
13708 no_x=yes
13709 else
13710 # If each of the values was on the command line, it overrides each guess.
13711 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13712 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13713 # Update the cache value to reflect the command line values.
13714 ac_cv_have_x="have_x=yes\
13715 ac_x_includes='$x_includes'\
13716 ac_x_libraries='$x_libraries'"
13717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13718 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13721 if test "$no_x" = yes; then
13722 # Not all programs may use this symbol, but it does not hurt to define it.
13724 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13726 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13727 else
13728 if test -n "$x_includes"; then
13729 X_CFLAGS="$X_CFLAGS -I$x_includes"
13732 # It would also be nice to do this for all -L options, not just this one.
13733 if test -n "$x_libraries"; then
13734 X_LIBS="$X_LIBS -L$x_libraries"
13735 # For Solaris; some versions of Sun CC require a space after -R and
13736 # others require no space. Words are not sufficient . . . .
13737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13738 printf %s "checking whether -R must be followed by a space... " >&6; }
13739 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13740 ac_xsave_c_werror_flag=$ac_c_werror_flag
13741 ac_c_werror_flag=yes
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13746 main (void)
13750 return 0;
13752 _ACEOF
13753 if ac_fn_c_try_link "$LINENO"
13754 then :
13755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756 printf "%s\n" "no" >&6; }
13757 X_LIBS="$X_LIBS -R$x_libraries"
13758 else $as_nop
13759 LIBS="$ac_xsave_LIBS -R $x_libraries"
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13764 main (void)
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"
13772 then :
13773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13774 printf "%s\n" "yes" >&6; }
13775 X_LIBS="$X_LIBS -R $x_libraries"
13776 else $as_nop
13777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13778 printf "%s\n" "neither works" >&6; }
13780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13781 conftest$ac_exeext conftest.$ac_ext
13783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13784 conftest$ac_exeext conftest.$ac_ext
13785 ac_c_werror_flag=$ac_xsave_c_werror_flag
13786 LIBS=$ac_xsave_LIBS
13789 # Check for system-dependent libraries X programs must link with.
13790 # Do this before checking for the system-independent R6 libraries
13791 # (-lICE), since we may need -lsocket or whatever for X linking.
13793 if test "$ISC" = yes; then
13794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13795 else
13796 # Martyn Johnson says this is needed for Ultrix, if the X
13797 # libraries were built with DECnet support. And Karl Berry says
13798 # the Alpha needs dnet_stub (dnet does not exist).
13799 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13806 char XOpenDisplay ();
13808 main (void)
13810 return XOpenDisplay ();
13812 return 0;
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"
13816 then :
13818 else $as_nop
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13820 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13821 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13822 then :
13823 printf %s "(cached) " >&6
13824 else $as_nop
13825 ac_check_lib_save_LIBS=$LIBS
13826 LIBS="-ldnet $LIBS"
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13830 /* Override any GCC internal prototype to avoid an error.
13831 Use char because int might match the return type of a GCC
13832 builtin and then its argument prototype would still apply. */
13833 char dnet_ntoa ();
13835 main (void)
13837 return dnet_ntoa ();
13839 return 0;
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"
13843 then :
13844 ac_cv_lib_dnet_dnet_ntoa=yes
13845 else $as_nop
13846 ac_cv_lib_dnet_dnet_ntoa=no
13848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_lib_save_LIBS
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13853 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13854 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13855 then :
13856 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13859 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13861 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13862 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13863 then :
13864 printf %s "(cached) " >&6
13865 else $as_nop
13866 ac_check_lib_save_LIBS=$LIBS
13867 LIBS="-ldnet_stub $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 char dnet_ntoa ();
13876 main (void)
13878 return dnet_ntoa ();
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"
13884 then :
13885 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13886 else $as_nop
13887 ac_cv_lib_dnet_stub_dnet_ntoa=no
13889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13890 conftest$ac_exeext conftest.$ac_ext
13891 LIBS=$ac_check_lib_save_LIBS
13893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13894 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13895 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13896 then :
13897 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS="$ac_xsave_LIBS"
13906 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13907 # to get the SysV transport functions.
13908 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13909 # needs -lnsl.
13910 # The nsl library prevents programs from opening the X display
13911 # on Irix 5.2, according to T.E. Dickey.
13912 # The functions gethostbyname, getservbyname, and inet_addr are
13913 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13914 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13915 if test "x$ac_cv_func_gethostbyname" = xyes
13916 then :
13920 if test $ac_cv_func_gethostbyname = no; then
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13922 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13923 if test ${ac_cv_lib_nsl_gethostbyname+y}
13924 then :
13925 printf %s "(cached) " >&6
13926 else $as_nop
13927 ac_check_lib_save_LIBS=$LIBS
13928 LIBS="-lnsl $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 char gethostbyname ();
13937 main (void)
13939 return gethostbyname ();
13941 return 0;
13943 _ACEOF
13944 if ac_fn_c_try_link "$LINENO"
13945 then :
13946 ac_cv_lib_nsl_gethostbyname=yes
13947 else $as_nop
13948 ac_cv_lib_nsl_gethostbyname=no
13950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_lib_save_LIBS
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13955 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13956 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13957 then :
13958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13961 if test $ac_cv_lib_nsl_gethostbyname = no; then
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13963 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13964 if test ${ac_cv_lib_bsd_gethostbyname+y}
13965 then :
13966 printf %s "(cached) " >&6
13967 else $as_nop
13968 ac_check_lib_save_LIBS=$LIBS
13969 LIBS="-lbsd $LIBS"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13976 char gethostbyname ();
13978 main (void)
13980 return gethostbyname ();
13982 return 0;
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"
13986 then :
13987 ac_cv_lib_bsd_gethostbyname=yes
13988 else $as_nop
13989 ac_cv_lib_bsd_gethostbyname=no
13991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LIBS=$ac_check_lib_save_LIBS
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13996 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13997 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13998 then :
13999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14005 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14006 # socket/setsockopt and other routines are undefined under SCO ODT
14007 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14008 # on later versions), says Simon Leinen: it contains gethostby*
14009 # variants that don't use the name server (or something). -lsocket
14010 # must be given before -lnsl if both are needed. We assume that
14011 # if connect needs -lnsl, so does gethostbyname.
14012 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14013 if test "x$ac_cv_func_connect" = xyes
14014 then :
14018 if test $ac_cv_func_connect = no; then
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14020 printf %s "checking for connect in -lsocket... " >&6; }
14021 if test ${ac_cv_lib_socket_connect+y}
14022 then :
14023 printf %s "(cached) " >&6
14024 else $as_nop
14025 ac_check_lib_save_LIBS=$LIBS
14026 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14030 /* Override any GCC internal prototype to avoid an error.
14031 Use char because int might match the return type of a GCC
14032 builtin and then its argument prototype would still apply. */
14033 char connect ();
14035 main (void)
14037 return connect ();
14039 return 0;
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"
14043 then :
14044 ac_cv_lib_socket_connect=yes
14045 else $as_nop
14046 ac_cv_lib_socket_connect=no
14048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_lib_save_LIBS
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14053 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14054 if test "x$ac_cv_lib_socket_connect" = xyes
14055 then :
14056 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14061 # Guillermo Gomez says -lposix is necessary on A/UX.
14062 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14063 if test "x$ac_cv_func_remove" = xyes
14064 then :
14068 if test $ac_cv_func_remove = no; then
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14070 printf %s "checking for remove in -lposix... " >&6; }
14071 if test ${ac_cv_lib_posix_remove+y}
14072 then :
14073 printf %s "(cached) " >&6
14074 else $as_nop
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lposix $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 char remove ();
14085 main (void)
14087 return remove ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"
14093 then :
14094 ac_cv_lib_posix_remove=yes
14095 else $as_nop
14096 ac_cv_lib_posix_remove=no
14098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_lib_save_LIBS
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14103 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14104 if test "x$ac_cv_lib_posix_remove" = xyes
14105 then :
14106 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14111 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14112 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14113 if test "x$ac_cv_func_shmat" = xyes
14114 then :
14118 if test $ac_cv_func_shmat = no; then
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14120 printf %s "checking for shmat in -lipc... " >&6; }
14121 if test ${ac_cv_lib_ipc_shmat+y}
14122 then :
14123 printf %s "(cached) " >&6
14124 else $as_nop
14125 ac_check_lib_save_LIBS=$LIBS
14126 LIBS="-lipc $LIBS"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 char shmat ();
14135 main (void)
14137 return shmat ();
14139 return 0;
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"
14143 then :
14144 ac_cv_lib_ipc_shmat=yes
14145 else $as_nop
14146 ac_cv_lib_ipc_shmat=no
14148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_lib_save_LIBS
14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14153 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14154 if test "x$ac_cv_lib_ipc_shmat" = xyes
14155 then :
14156 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14162 # Check for libraries that X11R6 Xt/Xaw programs need.
14163 ac_save_LDFLAGS=$LDFLAGS
14164 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14165 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14166 # check for ICE first), but we must link in the order -lSM -lICE or
14167 # we get undefined symbols. So assume we have SM if we have ICE.
14168 # These have to be linked with before -lX11, unlike the other
14169 # libraries we check for below, so use a different variable.
14170 # John Interrante, Karl Berry
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14172 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14173 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14174 then :
14175 printf %s "(cached) " >&6
14176 else $as_nop
14177 ac_check_lib_save_LIBS=$LIBS
14178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 char IceConnectionNumber ();
14187 main (void)
14189 return IceConnectionNumber ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"
14195 then :
14196 ac_cv_lib_ICE_IceConnectionNumber=yes
14197 else $as_nop
14198 ac_cv_lib_ICE_IceConnectionNumber=no
14200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS=$ac_check_lib_save_LIBS
14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14205 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14206 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14207 then :
14208 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14211 LDFLAGS=$ac_save_LDFLAGS
14216 if test "$have_x" = "yes"
14217 then
14218 ac_save_CPPFLAGS="$CPPFLAGS"
14219 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14222 printf %s "checking for -lX11... " >&6; }
14223 if test ${ac_cv_lib_soname_X11+y}
14224 then :
14225 printf %s "(cached) " >&6
14226 else $as_nop
14227 ac_check_soname_save_LIBS=$LIBS
14228 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14232 /* Override any GCC internal prototype to avoid an error.
14233 Use char because int might match the return type of a GCC
14234 builtin and then its argument prototype would still apply. */
14235 char XCreateWindow ();
14237 main (void)
14239 return XCreateWindow ();
14241 return 0;
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"
14245 then :
14246 case "$LIBEXT" in
14247 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14248 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'` ;;
14249 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14250 if ${ac_cv_lib_soname_X11:+false} :
14251 then :
14252 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14253 fi ;;
14254 esac
14255 else $as_nop
14256 ac_cv_lib_soname_X11=
14258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14259 conftest$ac_exeext conftest.$ac_ext
14260 LIBS=$ac_check_soname_save_LIBS
14262 if ${ac_cv_lib_soname_X11:+false} :
14263 then :
14264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14265 printf "%s\n" "not found" >&6; }
14267 else $as_nop
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14269 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14271 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14276 printf %s "checking for -lXext... " >&6; }
14277 if test ${ac_cv_lib_soname_Xext+y}
14278 then :
14279 printf %s "(cached) " >&6
14280 else $as_nop
14281 ac_check_soname_save_LIBS=$LIBS
14282 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 char XextCreateExtension ();
14291 main (void)
14293 return XextCreateExtension ();
14295 return 0;
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"
14299 then :
14300 case "$LIBEXT" in
14301 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14302 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'` ;;
14303 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14304 if ${ac_cv_lib_soname_Xext:+false} :
14305 then :
14306 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14307 fi ;;
14308 esac
14309 else $as_nop
14310 ac_cv_lib_soname_Xext=
14312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS=$ac_check_soname_save_LIBS
14316 if ${ac_cv_lib_soname_Xext:+false} :
14317 then :
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14319 printf "%s\n" "not found" >&6; }
14321 else $as_nop
14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14323 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14325 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14327 X_LIBS="$X_LIBS -lXext"
14329 X_LIBS="$X_LIBS -lX11"
14331 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14332 # include <X11/Xlib.h>
14333 #endif
14334 #ifdef HAVE_X11_XUTIL_H
14335 # include <X11/Xutil.h>
14336 #endif
14338 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14339 then :
14340 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14343 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14344 # include <X11/Xlib.h>
14345 #endif
14346 #ifdef HAVE_X11_XUTIL_H
14347 # include <X11/Xutil.h>
14348 #endif
14350 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14351 then :
14352 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14355 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14356 # include <X11/Xlib.h>
14357 #endif
14358 #ifdef HAVE_X11_XUTIL_H
14359 # include <X11/Xutil.h>
14360 #endif
14362 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14363 then :
14364 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14367 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14368 # include <X11/Xlib.h>
14369 #endif
14370 #ifdef HAVE_X11_XUTIL_H
14371 # include <X11/Xutil.h>
14372 #endif
14374 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14375 then :
14376 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14379 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14380 # include <X11/Xlib.h>
14381 #endif
14382 #ifdef HAVE_X11_XUTIL_H
14383 # include <X11/Xutil.h>
14384 #endif
14386 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14387 then :
14388 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14391 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14392 # include <X11/Xlib.h>
14393 #endif
14394 #ifdef HAVE_X11_XUTIL_H
14395 # include <X11/Xutil.h>
14396 #endif
14398 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14399 then :
14400 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14403 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14404 # include <X11/Xlib.h>
14405 #endif
14406 #ifdef HAVE_X11_XUTIL_H
14407 # include <X11/Xutil.h>
14408 #endif
14410 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14411 then :
14412 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14415 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14416 # include <X11/Xlib.h>
14417 #endif
14418 #ifdef HAVE_X11_XUTIL_H
14419 # include <X11/Xutil.h>
14420 #endif
14422 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14423 then :
14424 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14427 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14428 # include <X11/Xlib.h>
14429 #endif
14430 #ifdef HAVE_X11_XUTIL_H
14431 # include <X11/Xutil.h>
14432 #endif
14434 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14435 then :
14436 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14439 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14440 # include <X11/Xlib.h>
14441 #endif
14442 #ifdef HAVE_X11_XUTIL_H
14443 # include <X11/Xutil.h>
14444 #endif
14446 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14447 then :
14448 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14451 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14452 # include <X11/Xlib.h>
14453 #endif
14454 #ifdef HAVE_X11_XUTIL_H
14455 # include <X11/Xutil.h>
14456 #endif
14458 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14459 then :
14460 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14463 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14464 # include <X11/Xlib.h>
14465 #endif
14466 #ifdef HAVE_X11_XUTIL_H
14467 # include <X11/Xutil.h>
14468 #endif
14470 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14471 then :
14472 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14475 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14476 # include <X11/Xlib.h>
14477 #endif
14478 #ifdef HAVE_X11_XUTIL_H
14479 # include <X11/Xutil.h>
14480 #endif
14482 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14483 then :
14484 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14487 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14488 # include <X11/Xlib.h>
14489 #endif
14490 #ifdef HAVE_X11_XUTIL_H
14491 # include <X11/Xutil.h>
14492 #endif
14494 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14495 then :
14496 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14500 # include <X11/Xlib.h>
14501 #endif
14502 #ifdef HAVE_X11_XUTIL_H
14503 # include <X11/Xutil.h>
14504 #endif
14506 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14507 then :
14508 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14513 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14514 then
14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14516 printf %s "checking for -lXcursor... " >&6; }
14517 if test ${ac_cv_lib_soname_Xcursor+y}
14518 then :
14519 printf %s "(cached) " >&6
14520 else $as_nop
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 char XcursorImageLoadCursor ();
14531 main (void)
14533 return XcursorImageLoadCursor ();
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"
14539 then :
14540 case "$LIBEXT" in
14541 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14542 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'` ;;
14543 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14544 if ${ac_cv_lib_soname_Xcursor:+false} :
14545 then :
14546 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14547 fi ;;
14548 esac
14549 else $as_nop
14550 ac_cv_lib_soname_Xcursor=
14552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14553 conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_soname_save_LIBS
14556 if ${ac_cv_lib_soname_Xcursor:+false} :
14557 then :
14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559 printf "%s\n" "not found" >&6; }
14561 else $as_nop
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14563 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14565 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14570 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14571 then :
14572 case "x$with_xcursor" in
14573 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14574 xno) ;;
14575 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14576 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14577 esac
14581 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14582 then
14583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14584 printf %s "checking for -lXi... " >&6; }
14585 if test ${ac_cv_lib_soname_Xi+y}
14586 then :
14587 printf %s "(cached) " >&6
14588 else $as_nop
14589 ac_check_soname_save_LIBS=$LIBS
14590 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 char XOpenDevice ();
14599 main (void)
14601 return XOpenDevice ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"
14607 then :
14608 case "$LIBEXT" in
14609 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14610 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'` ;;
14611 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14612 if ${ac_cv_lib_soname_Xi:+false} :
14613 then :
14614 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14615 fi ;;
14616 esac
14617 else $as_nop
14618 ac_cv_lib_soname_Xi=
14620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_check_soname_save_LIBS
14624 if ${ac_cv_lib_soname_Xi:+false} :
14625 then :
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14627 printf "%s\n" "not found" >&6; }
14629 else $as_nop
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14631 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14633 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14638 if test "x$ac_cv_lib_soname_Xi" = "x"
14639 then :
14640 case "x$with_xinput" in
14641 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14642 xno) ;;
14643 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14644 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14645 esac
14649 if test "x$ac_cv_lib_soname_Xi" != x
14650 then
14651 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14652 then :
14653 case "x$with_xinput2" in
14654 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14655 xno) ;;
14656 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14657 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14658 esac
14663 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14664 then
14665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14666 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14667 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14668 then :
14669 printf %s "(cached) " >&6
14670 else $as_nop
14671 ac_check_lib_save_LIBS=$LIBS
14672 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14679 char XShmQueryExtension ();
14681 main (void)
14683 return XShmQueryExtension ();
14685 return 0;
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"
14689 then :
14690 ac_cv_lib_Xext_XShmQueryExtension=yes
14691 else $as_nop
14692 ac_cv_lib_Xext_XShmQueryExtension=no
14694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14695 conftest$ac_exeext conftest.$ac_ext
14696 LIBS=$ac_check_lib_save_LIBS
14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14699 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14700 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14701 then :
14703 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14708 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14709 then :
14710 case "x$with_xshm" in
14711 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14714 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14715 esac
14719 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14720 then
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14722 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14723 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14724 then :
14725 printf %s "(cached) " >&6
14726 else $as_nop
14727 ac_check_lib_save_LIBS=$LIBS
14728 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14735 char XShapeQueryExtension ();
14737 main (void)
14739 return XShapeQueryExtension ();
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"
14745 then :
14746 ac_cv_lib_Xext_XShapeQueryExtension=yes
14747 else $as_nop
14748 ac_cv_lib_Xext_XShapeQueryExtension=no
14750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_check_lib_save_LIBS
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14755 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14756 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14757 then :
14759 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14764 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14765 then :
14766 case "x$with_xshape" in
14767 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14768 xno) ;;
14769 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14770 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14771 esac
14775 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14776 then
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14778 printf %s "checking for -lXxf86vm... " >&6; }
14779 if test ${ac_cv_lib_soname_Xxf86vm+y}
14780 then :
14781 printf %s "(cached) " >&6
14782 else $as_nop
14783 ac_check_soname_save_LIBS=$LIBS
14784 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 char XF86VidModeQueryExtension ();
14793 main (void)
14795 return XF86VidModeQueryExtension ();
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"
14801 then :
14802 case "$LIBEXT" in
14803 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14804 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'` ;;
14805 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14806 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14807 then :
14808 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14809 fi ;;
14810 esac
14811 else $as_nop
14812 ac_cv_lib_soname_Xxf86vm=
14814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_soname_save_LIBS
14818 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14819 then :
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14821 printf "%s\n" "not found" >&6; }
14823 else $as_nop
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14825 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14827 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14832 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14833 then :
14834 case "x$with_xxf86vm" in
14835 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14836 xno) ;;
14837 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14838 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14839 esac
14843 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14844 then
14845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14846 printf %s "checking for -lXrender... " >&6; }
14847 if test ${ac_cv_lib_soname_Xrender+y}
14848 then :
14849 printf %s "(cached) " >&6
14850 else $as_nop
14851 ac_check_soname_save_LIBS=$LIBS
14852 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14859 char XRenderQueryExtension ();
14861 main (void)
14863 return XRenderQueryExtension ();
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"
14869 then :
14870 case "$LIBEXT" in
14871 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14872 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'` ;;
14873 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14874 if ${ac_cv_lib_soname_Xrender:+false} :
14875 then :
14876 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14877 fi ;;
14878 esac
14879 else $as_nop
14880 ac_cv_lib_soname_Xrender=
14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_soname_save_LIBS
14886 if ${ac_cv_lib_soname_Xrender:+false} :
14887 then :
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14889 printf "%s\n" "not found" >&6; }
14891 else $as_nop
14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14893 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14895 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14898 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14899 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14900 then :
14901 printf %s "(cached) " >&6
14902 else $as_nop
14903 ac_check_lib_save_LIBS=$LIBS
14904 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 char XRenderSetPictureTransform ();
14913 main (void)
14915 return XRenderSetPictureTransform ();
14917 return 0;
14919 _ACEOF
14920 if ac_fn_c_try_link "$LINENO"
14921 then :
14922 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14923 else $as_nop
14924 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14931 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14932 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14933 then :
14935 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14940 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14941 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14942 then :
14943 printf %s "(cached) " >&6
14944 else $as_nop
14945 ac_check_lib_save_LIBS=$LIBS
14946 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14950 /* Override any GCC internal prototype to avoid an error.
14951 Use char because int might match the return type of a GCC
14952 builtin and then its argument prototype would still apply. */
14953 char XRenderCreateLinearGradient ();
14955 main (void)
14957 return XRenderCreateLinearGradient ();
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"
14963 then :
14964 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14965 else $as_nop
14966 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14969 conftest$ac_exeext conftest.$ac_ext
14970 LIBS=$ac_check_lib_save_LIBS
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14973 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14974 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14975 then :
14977 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14984 if test "x$ac_cv_lib_soname_Xrender" = "x"
14985 then :
14986 case "x$with_xrender" in
14987 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14988 xno) ;;
14989 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14990 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14991 esac
14995 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14996 then
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #include <X11/Xlib.h>
15000 #include <X11/extensions/Xrandr.h>
15002 main (void)
15004 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_compile "$LINENO"
15010 then :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15012 printf %s "checking for -lXrandr... " >&6; }
15013 if test ${ac_cv_lib_soname_Xrandr+y}
15014 then :
15015 printf %s "(cached) " >&6
15016 else $as_nop
15017 ac_check_soname_save_LIBS=$LIBS
15018 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15025 char XRRQueryExtension ();
15027 main (void)
15029 return XRRQueryExtension ();
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"
15035 then :
15036 case "$LIBEXT" in
15037 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15038 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'` ;;
15039 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15040 if ${ac_cv_lib_soname_Xrandr:+false} :
15041 then :
15042 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15043 fi ;;
15044 esac
15045 else $as_nop
15046 ac_cv_lib_soname_Xrandr=
15048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15049 conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_soname_save_LIBS
15052 if ${ac_cv_lib_soname_Xrandr:+false} :
15053 then :
15054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15055 printf "%s\n" "not found" >&6; }
15057 else $as_nop
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15059 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15061 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15065 #include <X11/Xlib.h>
15066 #include <X11/extensions/Xrandr.h>
15068 main (void)
15070 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_compile "$LINENO"
15076 then :
15078 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15080 else $as_nop
15081 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15088 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15089 then :
15090 case "x$with_xrandr" in
15091 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15092 xno) ;;
15093 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15094 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15095 esac
15099 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15100 then
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 #include <X11/Xlib.h>
15104 #include <X11/extensions/Xfixes.h>
15106 main (void)
15108 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_compile "$LINENO"
15114 then :
15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15116 printf %s "checking for -lXfixes... " >&6; }
15117 if test ${ac_cv_lib_soname_Xfixes+y}
15118 then :
15119 printf %s "(cached) " >&6
15120 else $as_nop
15121 ac_check_soname_save_LIBS=$LIBS
15122 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 char XFixesQueryVersion ();
15131 main (void)
15133 return XFixesQueryVersion ();
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"
15139 then :
15140 case "$LIBEXT" in
15141 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15142 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'` ;;
15143 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15144 if ${ac_cv_lib_soname_Xfixes:+false} :
15145 then :
15146 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15147 fi ;;
15148 esac
15149 else $as_nop
15150 ac_cv_lib_soname_Xfixes=
15152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_check_soname_save_LIBS
15156 if ${ac_cv_lib_soname_Xfixes:+false} :
15157 then :
15158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15159 printf "%s\n" "not found" >&6; }
15161 else $as_nop
15162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15163 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15165 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15172 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15173 then :
15174 case "x$with_xfixes" in
15175 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15176 xno) ;;
15177 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15178 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15179 esac
15183 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15184 then
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187 #include <X11/Xlib.h>
15188 #include <X11/extensions/Xinerama.h>
15190 main (void)
15192 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_compile "$LINENO"
15198 then :
15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15200 printf %s "checking for -lXinerama... " >&6; }
15201 if test ${ac_cv_lib_soname_Xinerama+y}
15202 then :
15203 printf %s "(cached) " >&6
15204 else $as_nop
15205 ac_check_soname_save_LIBS=$LIBS
15206 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 char XineramaQueryScreens ();
15215 main (void)
15217 return XineramaQueryScreens ();
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"
15223 then :
15224 case "$LIBEXT" in
15225 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15226 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'` ;;
15227 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15228 if ${ac_cv_lib_soname_Xinerama:+false} :
15229 then :
15230 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15231 fi ;;
15232 esac
15233 else $as_nop
15234 ac_cv_lib_soname_Xinerama=
15236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15237 conftest$ac_exeext conftest.$ac_ext
15238 LIBS=$ac_check_soname_save_LIBS
15240 if ${ac_cv_lib_soname_Xinerama:+false} :
15241 then :
15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15243 printf "%s\n" "not found" >&6; }
15245 else $as_nop
15246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15247 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15249 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15256 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15257 then :
15258 case "x$with_xinerama" in
15259 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15262 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15263 esac
15267 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15268 then
15269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15270 printf %s "checking for -lXcomposite... " >&6; }
15271 if test ${ac_cv_lib_soname_Xcomposite+y}
15272 then :
15273 printf %s "(cached) " >&6
15274 else $as_nop
15275 ac_check_soname_save_LIBS=$LIBS
15276 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15280 /* Override any GCC internal prototype to avoid an error.
15281 Use char because int might match the return type of a GCC
15282 builtin and then its argument prototype would still apply. */
15283 char XCompositeRedirectWindow ();
15285 main (void)
15287 return XCompositeRedirectWindow ();
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_link "$LINENO"
15293 then :
15294 case "$LIBEXT" in
15295 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15296 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'` ;;
15297 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15298 if ${ac_cv_lib_soname_Xcomposite:+false} :
15299 then :
15300 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15301 fi ;;
15302 esac
15303 else $as_nop
15304 ac_cv_lib_soname_Xcomposite=
15306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15307 conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_check_soname_save_LIBS
15310 if ${ac_cv_lib_soname_Xcomposite:+false} :
15311 then :
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15313 printf "%s\n" "not found" >&6; }
15315 else $as_nop
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15317 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15319 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15324 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15325 then :
15326 case "x$with_xcomposite" in
15327 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15328 xno) ;;
15329 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15330 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15331 esac
15335 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15336 #include <X11/Xlib.h>
15337 #endif
15339 if test "x$ac_cv_member_XICCallback_callback" = xyes
15340 then :
15342 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15346 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15347 #include <X11/Xlib.h>
15348 #endif
15350 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15351 then :
15353 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15360 opengl_msg=""
15361 if test "x$with_opengl" != "xno"
15362 then
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15364 printf %s "checking for -lGL... " >&6; }
15365 if test ${ac_cv_lib_soname_GL+y}
15366 then :
15367 printf %s "(cached) " >&6
15368 else $as_nop
15369 ac_check_soname_save_LIBS=$LIBS
15370 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 char glXCreateContext ();
15379 main (void)
15381 return glXCreateContext ();
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_link "$LINENO"
15387 then :
15388 case "$LIBEXT" in
15389 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15392 if ${ac_cv_lib_soname_GL:+false} :
15393 then :
15394 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15395 fi ;;
15396 esac
15397 else $as_nop
15398 ac_cv_lib_soname_GL=
15400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if ${ac_cv_lib_soname_GL:+false} :
15405 then :
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15407 printf "%s\n" "not found" >&6; }
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15409 printf %s "checking for -lGL... " >&6; }
15410 if test ${ac_cv_lib_soname_GL+y}
15411 then :
15412 printf %s "(cached) " >&6
15413 else $as_nop
15414 ac_check_soname_save_LIBS=$LIBS
15415 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"
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15422 char glXCreateContext ();
15424 main (void)
15426 return glXCreateContext ();
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"
15432 then :
15433 case "$LIBEXT" in
15434 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15435 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'` ;;
15436 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15437 if ${ac_cv_lib_soname_GL:+false} :
15438 then :
15439 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15440 fi ;;
15441 esac
15442 else $as_nop
15443 ac_cv_lib_soname_GL=
15445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15446 conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_soname_save_LIBS
15449 if ${ac_cv_lib_soname_GL:+false} :
15450 then :
15451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15452 printf "%s\n" "not found" >&6; }
15453 if test -f /usr/X11R6/lib/libGL.a
15454 then
15455 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15456 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15457 else
15458 opengl_msg="No OpenGL library found on this system."
15460 else $as_nop
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15462 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15464 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15466 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"
15468 else $as_nop
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15470 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15472 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15474 OPENGL_LIBS="-lGL"
15476 if test "x$with_osmesa" != "xno"
15477 then
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15479 printf %s "checking for -lOSMesa... " >&6; }
15480 if test ${ac_cv_lib_soname_OSMesa+y}
15481 then :
15482 printf %s "(cached) " >&6
15483 else $as_nop
15484 ac_check_soname_save_LIBS=$LIBS
15485 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 char OSMesaGetProcAddress ();
15494 main (void)
15496 return OSMesaGetProcAddress ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"
15502 then :
15503 case "$LIBEXT" in
15504 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15505 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'` ;;
15506 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15507 if ${ac_cv_lib_soname_OSMesa:+false} :
15508 then :
15509 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15510 fi ;;
15511 esac
15512 else $as_nop
15513 ac_cv_lib_soname_OSMesa=
15515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15516 conftest$ac_exeext conftest.$ac_ext
15517 LIBS=$ac_check_soname_save_LIBS
15519 if ${ac_cv_lib_soname_OSMesa:+false} :
15520 then :
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15522 printf "%s\n" "not found" >&6; }
15524 else $as_nop
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15528 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15532 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15533 then :
15534 case "x$with_osmesa" in
15535 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15536 xno) ;;
15537 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15538 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15539 esac
15544 if test -n "$opengl_msg"
15545 then :
15546 case "x$with_opengl" in
15547 x) as_fn_append wine_warnings "|$opengl_msg
15548 OpenGL and Direct3D won't be supported." ;;
15549 xno) ;;
15550 *) as_fn_error $? "$opengl_msg
15551 OpenGL and Direct3D won't be supported.
15552 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15553 esac
15557 CPPFLAGS="$ac_save_CPPFLAGS"
15558 else
15559 X_CFLAGS=""
15560 X_LIBS=""
15563 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15564 then
15565 if test "x$X_LIBS" = "x"
15566 then :
15567 case "x$with_x" in
15568 xno) ;;
15569 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15570 without X support, which probably isn't what you want. You will need
15571 to install ${notice_platform}development packages of Xlib at the very least.
15572 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15573 esac
15574 enable_winex11_drv=${enable_winex11_drv:-no}
15576 else
15577 if test "x$X_LIBS" = "x"
15578 then :
15579 case "x$with_x" in
15580 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15581 xno) ;;
15582 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15583 This is an error since --with-x was requested." "$LINENO" 5 ;;
15584 esac
15585 enable_winex11_drv=${enable_winex11_drv:-no}
15589 if test "x$with_wayland" != "xno"
15590 then
15591 rm -f conftest.err
15592 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15593 then :
15594 if test ${PKG_CONFIG+y}
15595 then :
15596 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15600 if ${WAYLAND_CLIENT_LIBS:+false} :
15601 then :
15602 if test ${PKG_CONFIG+y}
15603 then :
15604 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15611 if test -s conftest.err; then
15612 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15613 cat conftest.err >&5
15615 rm -f conftest.err
15616 ac_save_CPPFLAGS=$CPPFLAGS
15617 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15618 for ac_header in wayland-client.h
15619 do :
15620 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15621 if test "x$ac_cv_header_wayland_client_h" = xyes
15622 then :
15623 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15625 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15626 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15627 then :
15628 printf %s "(cached) " >&6
15629 else $as_nop
15630 ac_check_lib_save_LIBS=$LIBS
15631 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15635 /* Override any GCC internal prototype to avoid an error.
15636 Use char because int might match the return type of a GCC
15637 builtin and then its argument prototype would still apply. */
15638 char wl_display_connect ();
15640 main (void)
15642 return wl_display_connect ();
15644 return 0;
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"
15648 then :
15649 ac_cv_lib_wayland_client_wl_display_connect=yes
15650 else $as_nop
15651 ac_cv_lib_wayland_client_wl_display_connect=no
15653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15654 conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_lib_save_LIBS
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15658 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15659 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15660 then :
15661 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15662 set dummy wayland-scanner; ac_word=$2
15663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15664 printf %s "checking for $ac_word... " >&6; }
15665 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15666 then :
15667 printf %s "(cached) " >&6
15668 else $as_nop
15669 case $WAYLAND_SCANNER in
15670 [\\/]* | ?:[\\/]*)
15671 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15675 for as_dir in $PATH
15677 IFS=$as_save_IFS
15678 case $as_dir in #(((
15679 '') as_dir=./ ;;
15680 */) ;;
15681 *) as_dir=$as_dir/ ;;
15682 esac
15683 for ac_exec_ext in '' $ac_executable_extensions; do
15684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15685 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15687 break 2
15689 done
15690 done
15691 IFS=$as_save_IFS
15693 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`"
15695 esac
15697 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15698 if test -n "$WAYLAND_SCANNER"; then
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15700 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15701 else
15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15703 printf "%s\n" "no" >&6; }
15707 else $as_nop
15708 WAYLAND_CLIENT_LIBS=""
15713 done
15714 CPPFLAGS=$ac_save_CPPFLAGS
15717 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15718 then :
15719 case "x$with_wayland" in
15720 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15721 xno) ;;
15722 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15723 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15724 esac
15725 enable_winewayland_drv=${enable_winewayland_drv:-no}
15728 if test "$ac_cv_header_CL_cl_h" = "yes"
15729 then
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15731 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15732 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15733 then :
15734 printf %s "(cached) " >&6
15735 else $as_nop
15736 ac_check_lib_save_LIBS=$LIBS
15737 LIBS="-lOpenCL $LIBS"
15738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15741 /* Override any GCC internal prototype to avoid an error.
15742 Use char because int might match the return type of a GCC
15743 builtin and then its argument prototype would still apply. */
15744 char clGetPlatformInfo ();
15746 main (void)
15748 return clGetPlatformInfo ();
15750 return 0;
15752 _ACEOF
15753 if ac_fn_c_try_link "$LINENO"
15754 then :
15755 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15756 else $as_nop
15757 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15760 conftest$ac_exeext conftest.$ac_ext
15761 LIBS=$ac_check_lib_save_LIBS
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15764 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15765 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15766 then :
15767 OPENCL_LIBS="-lOpenCL"
15772 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15773 then :
15774 case "x$with_opencl" in
15775 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15776 xno) ;;
15777 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15778 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15779 esac
15780 enable_opencl=${enable_opencl:-no}
15783 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15784 then
15785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15786 printf %s "checking for pcap_init in -lpcap... " >&6; }
15787 if test ${ac_cv_lib_pcap_pcap_init+y}
15788 then :
15789 printf %s "(cached) " >&6
15790 else $as_nop
15791 ac_check_lib_save_LIBS=$LIBS
15792 LIBS="-lpcap $LIBS"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15796 /* Override any GCC internal prototype to avoid an error.
15797 Use char because int might match the return type of a GCC
15798 builtin and then its argument prototype would still apply. */
15799 char pcap_init ();
15801 main (void)
15803 return pcap_init ();
15805 return 0;
15807 _ACEOF
15808 if ac_fn_c_try_link "$LINENO"
15809 then :
15810 ac_cv_lib_pcap_pcap_init=yes
15811 else $as_nop
15812 ac_cv_lib_pcap_pcap_init=no
15814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15819 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15820 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15821 then :
15822 PCAP_LIBS="-lpcap"
15827 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15828 then :
15829 case "x$with_pcap" in
15830 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15831 xno) ;;
15832 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15833 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15834 esac
15835 enable_wpcap=${enable_wpcap:-no}
15838 if test "x$with_pcsclite" != "xno"
15839 then
15840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15841 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15842 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15843 then :
15844 printf %s "(cached) " >&6
15845 else $as_nop
15846 ac_check_lib_save_LIBS=$LIBS
15847 LIBS="-lpcsclite $LIBS"
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15851 /* Override any GCC internal prototype to avoid an error.
15852 Use char because int might match the return type of a GCC
15853 builtin and then its argument prototype would still apply. */
15854 char SCardEstablishContext ();
15856 main (void)
15858 return SCardEstablishContext ();
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"
15864 then :
15865 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15866 else $as_nop
15867 ac_cv_lib_pcsclite_SCardEstablishContext=no
15869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15870 conftest$ac_exeext conftest.$ac_ext
15871 LIBS=$ac_check_lib_save_LIBS
15873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15874 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15875 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15876 then :
15877 PCSCLITE_LIBS="-lpcsclite"
15882 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15883 then :
15884 case "x$with_pcsclite" in
15885 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15886 xno) ;;
15887 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15888 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15889 esac
15890 enable_winscard=${enable_winscard:-no}
15893 if test "x$with_inotify" != "xno"
15894 then
15895 rm -f conftest.err
15896 if ${INOTIFY_CFLAGS:+false} :
15897 then :
15898 if test ${PKG_CONFIG+y}
15899 then :
15900 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15904 if ${INOTIFY_LIBS:+false} :
15905 then :
15906 if test ${PKG_CONFIG+y}
15907 then :
15908 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15915 if test -s conftest.err; then
15916 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15917 cat conftest.err >&5
15919 rm -f conftest.err
15920 ac_save_CPPFLAGS=$CPPFLAGS
15921 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15922 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15923 if test "x$ac_cv_header_sys_inotify_h" = xyes
15924 then :
15925 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15930 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15931 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15932 then :
15933 printf %s "(cached) " >&6
15934 else $as_nop
15935 ac_check_lib_save_LIBS=$LIBS
15936 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 /* Override any GCC internal prototype to avoid an error.
15941 Use char because int might match the return type of a GCC
15942 builtin and then its argument prototype would still apply. */
15943 char inotify_add_watch ();
15945 main (void)
15947 return inotify_add_watch ();
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_link "$LINENO"
15953 then :
15954 ac_cv_lib_inotify_inotify_add_watch=yes
15955 else $as_nop
15956 ac_cv_lib_inotify_inotify_add_watch=no
15958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15963 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15964 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15965 then :
15967 else $as_nop
15968 INOTIFY_LIBS=""
15971 CPPFLAGS=$ac_save_CPPFLAGS
15974 if test "$ac_cv_header_sys_inotify_h" != "yes"
15975 then :
15976 case "x$with_inotify" in
15977 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15978 xno) ;;
15979 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15980 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15981 esac
15985 if test "x$with_dbus" != "xno"
15986 then
15987 rm -f conftest.err
15988 if ${DBUS_CFLAGS:+false} :
15989 then :
15990 if test ${PKG_CONFIG+y}
15991 then :
15992 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15996 if ${DBUS_LIBS:+false} :
15997 then :
15998 if test ${PKG_CONFIG+y}
15999 then :
16000 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16007 if test -s conftest.err; then
16008 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16009 cat conftest.err >&5
16011 rm -f conftest.err
16012 ac_save_CPPFLAGS=$CPPFLAGS
16013 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16014 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16015 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16016 then :
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16018 printf %s "checking for -ldbus-1... " >&6; }
16019 if test ${ac_cv_lib_soname_dbus_1+y}
16020 then :
16021 printf %s "(cached) " >&6
16022 else $as_nop
16023 ac_check_soname_save_LIBS=$LIBS
16024 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 char dbus_connection_close ();
16033 main (void)
16035 return dbus_connection_close ();
16037 return 0;
16039 _ACEOF
16040 if ac_fn_c_try_link "$LINENO"
16041 then :
16042 case "$LIBEXT" in
16043 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16044 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'` ;;
16045 *) 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'`
16046 if ${ac_cv_lib_soname_dbus_1:+false} :
16047 then :
16048 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16049 fi ;;
16050 esac
16051 else $as_nop
16052 ac_cv_lib_soname_dbus_1=
16054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16055 conftest$ac_exeext conftest.$ac_ext
16056 LIBS=$ac_check_soname_save_LIBS
16058 if ${ac_cv_lib_soname_dbus_1:+false} :
16059 then :
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16061 printf "%s\n" "not found" >&6; }
16062 DBUS_CFLAGS=""
16063 else $as_nop
16064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16065 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16067 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16071 else $as_nop
16072 DBUS_CFLAGS=""
16075 CPPFLAGS=$ac_save_CPPFLAGS
16078 case $host_os in
16079 darwin*|macosx*) ;;
16080 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16081 then :
16082 case "x$with_dbus" in
16083 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16084 xno) ;;
16085 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16086 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16087 esac
16089 fi ;;
16090 esac
16092 if test "x$with_gnutls" != "xno"
16093 then
16094 rm -f conftest.err
16095 if ${GNUTLS_CFLAGS:+false} :
16096 then :
16097 if test ${PKG_CONFIG+y}
16098 then :
16099 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16103 if ${GNUTLS_LIBS:+false} :
16104 then :
16105 if test ${PKG_CONFIG+y}
16106 then :
16107 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16111 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16114 if test -s conftest.err; then
16115 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16116 cat conftest.err >&5
16118 rm -f conftest.err
16119 ac_save_CPPFLAGS=$CPPFLAGS
16120 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16121 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16122 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16123 then :
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126 #include <gnutls/gnutls.h>
16127 #include <gnutls/crypto.h>
16129 main (void)
16131 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_compile "$LINENO"
16137 then :
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16139 printf %s "checking for -lgnutls... " >&6; }
16140 if test ${ac_cv_lib_soname_gnutls+y}
16141 then :
16142 printf %s "(cached) " >&6
16143 else $as_nop
16144 ac_check_soname_save_LIBS=$LIBS
16145 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16149 /* Override any GCC internal prototype to avoid an error.
16150 Use char because int might match the return type of a GCC
16151 builtin and then its argument prototype would still apply. */
16152 char gnutls_global_init ();
16154 main (void)
16156 return gnutls_global_init ();
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_link "$LINENO"
16162 then :
16163 case "$LIBEXT" in
16164 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16165 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'` ;;
16166 *) 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'`
16167 if ${ac_cv_lib_soname_gnutls:+false} :
16168 then :
16169 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'`
16170 fi ;;
16171 esac
16172 else $as_nop
16173 ac_cv_lib_soname_gnutls=
16175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16176 conftest$ac_exeext conftest.$ac_ext
16177 LIBS=$ac_check_soname_save_LIBS
16179 if ${ac_cv_lib_soname_gnutls:+false} :
16180 then :
16181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16182 printf "%s\n" "not found" >&6; }
16183 GNUTLS_CFLAGS=""
16184 else $as_nop
16185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16186 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16188 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16192 ac_wine_check_funcs_save_LIBS="$LIBS"
16193 LIBS="$LIBS $GNUTLS_LIBS"
16195 for ac_func in gnutls_cipher_init
16196 do :
16197 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16198 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16199 then :
16200 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16202 else $as_nop
16203 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16206 done
16207 LIBS="$ac_wine_check_funcs_save_LIBS"
16209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16210 else $as_nop
16211 GNUTLS_CFLAGS=""
16214 CPPFLAGS=$ac_save_CPPFLAGS
16217 if test "x$ac_cv_lib_soname_gnutls" = "x"
16218 then :
16219 case "x$with_gnutls" in
16220 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16223 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16224 esac
16228 if test "x$with_sane" != "xno"
16229 then
16230 rm -f conftest.err
16231 if ${SANE_CFLAGS:+false} :
16232 then :
16233 if test ${PKG_CONFIG+y}
16234 then :
16235 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16238 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16239 if ${SANE_LIBS:+false} :
16240 then :
16241 if test ${PKG_CONFIG+y}
16242 then :
16243 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16246 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16250 if test -s conftest.err; then
16251 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16252 cat conftest.err >&5
16254 rm -f conftest.err
16255 ac_save_CPPFLAGS=$CPPFLAGS
16256 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16257 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16258 if test "x$ac_cv_header_sane_sane_h" = xyes
16259 then :
16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16261 printf %s "checking for sane_init in -lsane... " >&6; }
16262 if test ${ac_cv_lib_sane_sane_init+y}
16263 then :
16264 printf %s "(cached) " >&6
16265 else $as_nop
16266 ac_check_lib_save_LIBS=$LIBS
16267 LIBS="-lsane $SANE_LIBS $LIBS"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 char sane_init ();
16276 main (void)
16278 return sane_init ();
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_link "$LINENO"
16284 then :
16285 ac_cv_lib_sane_sane_init=yes
16286 else $as_nop
16287 ac_cv_lib_sane_sane_init=no
16289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LIBS=$ac_check_lib_save_LIBS
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16294 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16295 if test "x$ac_cv_lib_sane_sane_init" = xyes
16296 then :
16302 CPPFLAGS=$ac_save_CPPFLAGS
16305 if test "$ac_cv_lib_sane_sane_init" != "yes"
16306 then :
16307 case "x$with_sane" in
16308 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16309 xno) ;;
16310 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16311 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16312 esac
16313 enable_sane_ds=${enable_sane_ds:-no}
16316 if test "x$with_usb" != "xno"
16317 then
16318 rm -f conftest.err
16319 if ${USB_CFLAGS:+false} :
16320 then :
16321 if test ${PKG_CONFIG+y}
16322 then :
16323 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16327 if ${USB_LIBS:+false} :
16328 then :
16329 if test ${PKG_CONFIG+y}
16330 then :
16331 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16335 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16338 if test -s conftest.err; then
16339 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16340 cat conftest.err >&5
16342 rm -f conftest.err
16343 ac_save_CPPFLAGS=$CPPFLAGS
16344 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16345 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16346 if test "x$ac_cv_header_libusb_h" = xyes
16347 then :
16348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16349 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16350 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16351 then :
16352 printf %s "(cached) " >&6
16353 else $as_nop
16354 ac_check_lib_save_LIBS=$LIBS
16355 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16359 /* Override any GCC internal prototype to avoid an error.
16360 Use char because int might match the return type of a GCC
16361 builtin and then its argument prototype would still apply. */
16362 char libusb_interrupt_event_handler ();
16364 main (void)
16366 return libusb_interrupt_event_handler ();
16368 return 0;
16370 _ACEOF
16371 if ac_fn_c_try_link "$LINENO"
16372 then :
16373 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16374 else $as_nop
16375 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16378 conftest$ac_exeext conftest.$ac_ext
16379 LIBS=$ac_check_lib_save_LIBS
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16382 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16383 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16384 then :
16386 else $as_nop
16387 USB_LIBS=""
16390 else $as_nop
16391 USB_LIBS=""
16394 CPPFLAGS=$ac_save_CPPFLAGS
16397 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16398 then :
16399 case "x$with_usb" in
16400 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16401 xno) ;;
16402 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16403 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16404 esac
16405 enable_wineusb_sys=${enable_wineusb_sys:-no}
16408 if test "x$with_v4l2" != "xno"
16409 then
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16411 printf %s "checking for -lv4l2... " >&6; }
16412 if test ${ac_cv_lib_soname_v4l2+y}
16413 then :
16414 printf %s "(cached) " >&6
16415 else $as_nop
16416 ac_check_soname_save_LIBS=$LIBS
16417 LIBS="-lv4l2 $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 char v4l2_open ();
16426 main (void)
16428 return v4l2_open ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"
16434 then :
16435 case "$LIBEXT" in
16436 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16437 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'` ;;
16438 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16439 if ${ac_cv_lib_soname_v4l2:+false} :
16440 then :
16441 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16442 fi ;;
16443 esac
16444 else $as_nop
16445 ac_cv_lib_soname_v4l2=
16447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_soname_save_LIBS
16451 if ${ac_cv_lib_soname_v4l2:+false} :
16452 then :
16453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16454 printf "%s\n" "not found" >&6; }
16456 else $as_nop
16457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16458 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16460 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16465 if test "x$ac_cv_lib_soname_v4l2" = "x"
16466 then :
16467 case "x$with_v4l2" in
16468 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16469 xno) ;;
16470 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16471 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16472 esac
16476 if test "x$with_gphoto" != "xno"
16477 then
16478 rm -f conftest.err
16479 if ${GPHOTO2_CFLAGS:+false} :
16480 then :
16481 if test ${PKG_CONFIG+y}
16482 then :
16483 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16486 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16487 if ${GPHOTO2_LIBS:+false} :
16488 then :
16489 if test ${PKG_CONFIG+y}
16490 then :
16491 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16494 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16495 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16498 if test -s conftest.err; then
16499 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16500 cat conftest.err >&5
16502 rm -f conftest.err
16503 ac_save_CPPFLAGS=$CPPFLAGS
16504 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16505 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16506 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16507 then :
16508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16509 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16510 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16511 then :
16512 printf %s "(cached) " >&6
16513 else $as_nop
16514 ac_check_lib_save_LIBS=$LIBS
16515 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16519 /* Override any GCC internal prototype to avoid an error.
16520 Use char because int might match the return type of a GCC
16521 builtin and then its argument prototype would still apply. */
16522 char gp_camera_new ();
16524 main (void)
16526 return gp_camera_new ();
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"
16532 then :
16533 ac_cv_lib_gphoto2_gp_camera_new=yes
16534 else $as_nop
16535 ac_cv_lib_gphoto2_gp_camera_new=no
16537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16538 conftest$ac_exeext conftest.$ac_ext
16539 LIBS=$ac_check_lib_save_LIBS
16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16542 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16543 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16544 then :
16550 CPPFLAGS=$ac_save_CPPFLAGS
16552 rm -f conftest.err
16553 if ${GPHOTO2_PORT_CFLAGS:+false} :
16554 then :
16555 if test ${PKG_CONFIG+y}
16556 then :
16557 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16560 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16561 if ${GPHOTO2_PORT_LIBS:+false} :
16562 then :
16563 if test ${PKG_CONFIG+y}
16564 then :
16565 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16568 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16569 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16572 if test -s conftest.err; then
16573 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16574 cat conftest.err >&5
16576 rm -f conftest.err
16577 ac_save_CPPFLAGS=$CPPFLAGS
16578 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16579 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16580 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16581 then :
16582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16583 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16584 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16585 then :
16586 printf %s "(cached) " >&6
16587 else $as_nop
16588 ac_check_lib_save_LIBS=$LIBS
16589 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 char gp_port_info_list_new ();
16598 main (void)
16600 return gp_port_info_list_new ();
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_link "$LINENO"
16606 then :
16607 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16608 else $as_nop
16609 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_lib_save_LIBS
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16616 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16617 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16618 then :
16620 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16622 else $as_nop
16623 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16626 else $as_nop
16627 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16630 CPPFLAGS=$ac_save_CPPFLAGS
16633 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16634 then :
16635 case "x$with_gphoto" in
16636 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16637 xno) ;;
16638 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16639 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16640 esac
16641 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16643 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16644 then :
16645 case "x$with_gphoto" in
16646 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16647 xno) ;;
16648 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16649 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16650 esac
16655 if test "$ac_cv_header_resolv_h" = "yes"
16656 then
16657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16658 printf %s "checking for resolver library... " >&6; }
16659 if test ${ac_cv_have_resolv+y}
16660 then :
16661 printf %s "(cached) " >&6
16662 else $as_nop
16663 ac_save_LIBS="$LIBS"
16664 for lib in '' -lresolv
16666 LIBS="$lib $ac_save_LIBS"
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #ifdef HAVE_NETINET_IN_H
16670 #include <netinet/in.h>
16671 #endif
16672 #include <resolv.h>
16674 main (void)
16676 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"
16682 then :
16683 ac_cv_have_resolv=${lib:-"none required"}
16684 else $as_nop
16685 ac_cv_have_resolv="not found"
16687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16688 conftest$ac_exeext conftest.$ac_ext
16689 test "x$ac_cv_have_resolv" = "xnot found" || break
16690 done
16691 LIBS="$ac_save_LIBS"
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16694 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16696 case "$ac_cv_have_resolv" in
16697 "not found") ;;
16698 "none required")
16700 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16703 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16705 RESOLV_LIBS=$ac_cv_have_resolv
16707 esac
16709 if test "x$ac_cv_have_resolv" != "xnot found"
16710 then
16711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16712 printf %s "checking for res_getservers... " >&6; }
16713 if test ${ac_cv_have_res_getservers+y}
16714 then :
16715 printf %s "(cached) " >&6
16716 else $as_nop
16717 ac_save_LIBS="$LIBS"
16718 LIBS="$RESOLV_LIBS $LIBS"
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #include <resolv.h>
16723 main (void)
16725 res_getservers(NULL, NULL, 0);
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"
16731 then :
16732 ac_cv_have_res_getservers=yes
16733 else $as_nop
16734 ac_cv_have_res_getservers=no
16736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16737 conftest$ac_exeext conftest.$ac_ext
16738 LIBS="$ac_save_LIBS"
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16741 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16742 if test "$ac_cv_have_res_getservers" = "yes"
16743 then
16745 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16751 if test "x$with_freetype" != "xno"
16752 then
16753 rm -f conftest.err
16754 if ${FREETYPE_CFLAGS:+false} :
16755 then :
16756 if test ${PKG_CONFIG+y}
16757 then :
16758 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16761 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16762 if ${FREETYPE_LIBS:+false} :
16763 then :
16764 if test ${PKG_CONFIG+y}
16765 then :
16766 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16769 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16770 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16773 if test -s conftest.err; then
16774 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16775 cat conftest.err >&5
16777 rm -f conftest.err
16778 ac_save_CPPFLAGS=$CPPFLAGS
16779 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16780 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16781 if test "x$ac_cv_header_ft2build_h" = xyes
16782 then :
16783 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16787 if test "$ac_cv_header_ft2build_h" = "yes"
16788 then
16789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16790 printf %s "checking for -lfreetype... " >&6; }
16791 if test ${ac_cv_lib_soname_freetype+y}
16792 then :
16793 printf %s "(cached) " >&6
16794 else $as_nop
16795 ac_check_soname_save_LIBS=$LIBS
16796 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16800 /* Override any GCC internal prototype to avoid an error.
16801 Use char because int might match the return type of a GCC
16802 builtin and then its argument prototype would still apply. */
16803 char FT_Init_FreeType ();
16805 main (void)
16807 return FT_Init_FreeType ();
16809 return 0;
16811 _ACEOF
16812 if ac_fn_c_try_link "$LINENO"
16813 then :
16814 case "$LIBEXT" in
16815 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16816 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'` ;;
16817 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16818 if ${ac_cv_lib_soname_freetype:+false} :
16819 then :
16820 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16821 fi ;;
16822 esac
16823 else $as_nop
16824 ac_cv_lib_soname_freetype=
16826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_soname_save_LIBS
16830 if ${ac_cv_lib_soname_freetype:+false} :
16831 then :
16832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16833 printf "%s\n" "not found" >&6; }
16834 FREETYPE_LIBS=""
16835 else $as_nop
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16837 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16839 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16842 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16844 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16845 #include FT_MODULE_H
16847 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16848 then :
16850 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16856 else
16857 FREETYPE_CFLAGS=""
16858 FREETYPE_LIBS=""
16860 CPPFLAGS=$ac_save_CPPFLAGS
16863 if test "x$ac_cv_lib_soname_freetype" = x
16864 then :
16865 case "x$with_freetype" in
16866 xno) ;;
16867 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16868 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16869 esac
16870 enable_fonts=${enable_fonts:-no}
16873 ac_wine_check_funcs_save_LIBS="$LIBS"
16874 LIBS="$LIBS $PTHREAD_LIBS"
16875 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16876 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16877 then :
16878 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16882 LIBS="$ac_wine_check_funcs_save_LIBS"
16884 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16885 then
16886 if test "$ac_cv_header_gettext_po_h" = "yes"
16887 then
16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16889 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16890 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16891 then :
16892 printf %s "(cached) " >&6
16893 else $as_nop
16894 ac_check_lib_save_LIBS=$LIBS
16895 LIBS="-lgettextpo $LIBS"
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16899 /* Override any GCC internal prototype to avoid an error.
16900 Use char because int might match the return type of a GCC
16901 builtin and then its argument prototype would still apply. */
16902 char po_message_msgctxt ();
16904 main (void)
16906 return po_message_msgctxt ();
16908 return 0;
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"
16912 then :
16913 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16914 else $as_nop
16915 ac_cv_lib_gettextpo_po_message_msgctxt=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16918 conftest$ac_exeext conftest.$ac_ext
16919 LIBS=$ac_check_lib_save_LIBS
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16922 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16923 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16924 then :
16926 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16928 GETTEXTPO_LIBS="-lgettextpo"
16933 if test "x$GETTEXTPO_LIBS" = "x"
16934 then :
16935 case "x$with_gettextpo" in
16936 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16937 xno) ;;
16938 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16939 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16940 esac
16943 if test "$srcdir" != .
16944 then :
16945 case "x$with_gettextpo" in
16946 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16947 xno) ;;
16948 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16949 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16950 esac
16955 if test "x$with_pulse" != "xno";
16956 then
16957 rm -f conftest.err
16958 if ${PULSE_CFLAGS:+false} :
16959 then :
16960 if test ${PKG_CONFIG+y}
16961 then :
16962 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16966 if ${PULSE_LIBS:+false} :
16967 then :
16968 if test ${PKG_CONFIG+y}
16969 then :
16970 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16977 if test -s conftest.err; then
16978 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16979 cat conftest.err >&5
16981 rm -f conftest.err
16982 ac_save_CPPFLAGS=$CPPFLAGS
16983 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16984 for ac_header in pulse/pulseaudio.h
16985 do :
16986 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16987 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16988 then :
16989 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16991 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16992 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16993 then :
16994 printf %s "(cached) " >&6
16995 else $as_nop
16996 ac_check_lib_save_LIBS=$LIBS
16997 LIBS="-lpulse $PULSE_LIBS $LIBS"
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17004 char pa_stream_is_corked ();
17006 main (void)
17008 return pa_stream_is_corked ();
17010 return 0;
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"
17014 then :
17015 ac_cv_lib_pulse_pa_stream_is_corked=yes
17016 else $as_nop
17017 ac_cv_lib_pulse_pa_stream_is_corked=no
17019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17020 conftest$ac_exeext conftest.$ac_ext
17021 LIBS=$ac_check_lib_save_LIBS
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17024 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17025 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17026 then :
17028 else $as_nop
17029 PULSE_LIBS=""
17032 else $as_nop
17033 PULSE_LIBS=""
17036 done
17037 CPPFLAGS=$ac_save_CPPFLAGS
17040 if test -z "$PULSE_LIBS"
17041 then :
17042 case "x$with_pulse" in
17043 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17044 xno) ;;
17045 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17046 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17047 esac
17048 enable_winepulse_drv=${enable_winepulse_drv:-no}
17051 if test "x$with_gstreamer" != "xno"
17052 then
17053 rm -f conftest.err
17054 if ${GSTREAMER_CFLAGS:+false} :
17055 then :
17056 if test ${PKG_CONFIG+y}
17057 then :
17058 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17062 if ${GSTREAMER_LIBS:+false} :
17063 then :
17064 if test ${PKG_CONFIG+y}
17065 then :
17066 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17071 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
17072 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
17073 if test -s conftest.err; then
17074 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17075 cat conftest.err >&5
17077 rm -f conftest.err
17078 ac_save_CPPFLAGS=$CPPFLAGS
17079 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17080 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17081 if test "x$ac_cv_header_gst_gst_h" = xyes
17082 then :
17083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17084 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <gst/gst.h>
17089 main (void)
17091 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17093 return 0;
17095 _ACEOF
17096 if ac_fn_c_try_compile "$LINENO"
17097 then :
17098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17099 printf "%s\n" "yes" >&6; }
17100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17101 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17102 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17103 then :
17104 printf %s "(cached) " >&6
17105 else $as_nop
17106 ac_check_lib_save_LIBS=$LIBS
17107 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17111 /* Override any GCC internal prototype to avoid an error.
17112 Use char because int might match the return type of a GCC
17113 builtin and then its argument prototype would still apply. */
17114 char gst_pad_new ();
17116 main (void)
17118 return gst_pad_new ();
17120 return 0;
17122 _ACEOF
17123 if ac_fn_c_try_link "$LINENO"
17124 then :
17125 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17126 else $as_nop
17127 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17130 conftest$ac_exeext conftest.$ac_ext
17131 LIBS=$ac_check_lib_save_LIBS
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17134 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17135 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17136 then :
17140 else $as_nop
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17142 printf "%s\n" "no" >&6; }
17143 ac_glib2_broken=yes
17144 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17149 CPPFLAGS=$ac_save_CPPFLAGS
17152 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17153 then :
17154 case "x$with_gstreamer" in
17155 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17156 xno) ;;
17157 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17158 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17159 esac
17160 enable_winegstreamer=${enable_winegstreamer:-no}
17163 ALSA_LIBS=""
17165 if test "x$with_alsa" != "xno"
17166 then
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17168 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17169 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17170 then :
17171 printf %s "(cached) " >&6
17172 else $as_nop
17173 ac_check_lib_save_LIBS=$LIBS
17174 LIBS="-lasound $LIBS"
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17178 /* Override any GCC internal prototype to avoid an error.
17179 Use char because int might match the return type of a GCC
17180 builtin and then its argument prototype would still apply. */
17181 char snd_pcm_hw_params_get_access_mask ();
17183 main (void)
17185 return snd_pcm_hw_params_get_access_mask ();
17187 return 0;
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"
17191 then :
17192 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17193 else $as_nop
17194 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17197 conftest$ac_exeext conftest.$ac_ext
17198 LIBS=$ac_check_lib_save_LIBS
17200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17201 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17202 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17203 then :
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 #include <alsa/asoundlib.h>
17208 main (void)
17210 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17212 return 0;
17214 _ACEOF
17215 if ac_fn_c_try_compile "$LINENO"
17216 then :
17217 ALSA_LIBS="-lasound"
17219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17223 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17225 if test "x$with_oss" != xno
17226 then
17227 ac_save_CPPFLAGS="$CPPFLAGS"
17228 if test -f /etc/oss.conf
17229 then
17230 . /etc/oss.conf
17232 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17233 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17234 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17235 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17236 then :
17237 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17239 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17240 then :
17242 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17244 OSS4_CFLAGS="$ac_oss_incl"
17246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17247 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17248 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17249 then :
17250 printf %s "(cached) " >&6
17251 else $as_nop
17252 ac_check_lib_save_LIBS=$LIBS
17253 LIBS="-lossaudio $LIBS"
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17257 /* Override any GCC internal prototype to avoid an error.
17258 Use char because int might match the return type of a GCC
17259 builtin and then its argument prototype would still apply. */
17260 char _oss_ioctl ();
17262 main (void)
17264 return _oss_ioctl ();
17266 return 0;
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"
17270 then :
17271 ac_cv_lib_ossaudio__oss_ioctl=yes
17272 else $as_nop
17273 ac_cv_lib_ossaudio__oss_ioctl=no
17275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17276 conftest$ac_exeext conftest.$ac_ext
17277 LIBS=$ac_check_lib_save_LIBS
17279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17280 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17281 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17282 then :
17283 OSS4_LIBS="-lossaudio"
17291 CPPFLAGS="$ac_save_CPPFLAGS"
17293 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17294 then :
17295 case "x$with_oss" in
17296 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17297 xno) ;;
17298 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17299 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17300 esac
17301 enable_wineoss_drv=${enable_wineoss_drv:-no}
17304 if test "x$with_udev" != "xno"
17305 then
17306 rm -f conftest.err
17307 if ${UDEV_CFLAGS:+false} :
17308 then :
17309 if test ${PKG_CONFIG+y}
17310 then :
17311 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17315 if ${UDEV_LIBS:+false} :
17316 then :
17317 if test ${PKG_CONFIG+y}
17318 then :
17319 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17323 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17326 if test -s conftest.err; then
17327 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17328 cat conftest.err >&5
17330 rm -f conftest.err
17331 ac_save_CPPFLAGS=$CPPFLAGS
17332 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17333 for ac_header in libudev.h
17334 do :
17335 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17336 if test "x$ac_cv_header_libudev_h" = xyes
17337 then :
17338 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17340 printf %s "checking for udev_new in -ludev... " >&6; }
17341 if test ${ac_cv_lib_udev_udev_new+y}
17342 then :
17343 printf %s "(cached) " >&6
17344 else $as_nop
17345 ac_check_lib_save_LIBS=$LIBS
17346 LIBS="-ludev $UDEV_LIBS $LIBS"
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17353 char udev_new ();
17355 main (void)
17357 return udev_new ();
17359 return 0;
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"
17363 then :
17364 ac_cv_lib_udev_udev_new=yes
17365 else $as_nop
17366 ac_cv_lib_udev_udev_new=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17369 conftest$ac_exeext conftest.$ac_ext
17370 LIBS=$ac_check_lib_save_LIBS
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17373 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17374 if test "x$ac_cv_lib_udev_udev_new" = xyes
17375 then :
17377 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17379 else $as_nop
17380 UDEV_LIBS=""
17383 else $as_nop
17384 UDEV_LIBS=""
17387 done
17388 CPPFLAGS=$ac_save_CPPFLAGS
17391 if test "x$UDEV_LIBS" = "x"
17392 then :
17393 case "x$with_udev" in
17394 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17395 xno) ;;
17396 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17397 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17398 esac
17402 if test "x$with_unwind" != xno
17403 then
17404 rm -f conftest.err
17405 if ${UNWIND_CFLAGS:+false} :
17406 then :
17407 if test ${PKG_CONFIG+y}
17408 then :
17409 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17413 if ${UNWIND_LIBS:+false} :
17414 then :
17415 if test ${PKG_CONFIG+y}
17416 then :
17417 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17421 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17424 if test -s conftest.err; then
17425 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17426 cat conftest.err >&5
17428 rm -f conftest.err
17429 ac_save_CPPFLAGS=$CPPFLAGS
17430 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17432 printf %s "checking for unw_step... " >&6; }
17433 if test ${wine_cv_have_unw_step+y}
17434 then :
17435 printf %s "(cached) " >&6
17436 else $as_nop
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 #define UNW_LOCAL_ONLY
17440 #include <libunwind.h>
17442 main (void)
17444 unw_cursor_t cursor; unw_step( &cursor );
17446 return 0;
17448 _ACEOF
17449 if ac_fn_c_try_link "$LINENO"
17450 then :
17451 wine_cv_have_unw_step="yes"
17452 else $as_nop
17453 wine_cv_have_unw_step="no"
17455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17456 conftest$ac_exeext conftest.$ac_ext
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17459 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17460 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17461 then
17462 save_libs=$LIBS
17463 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17464 LIBS="$UNWIND_LIBS $LIBS"
17465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17466 printf %s "checking for unw_step in libunwind... " >&6; }
17467 if test ${wine_cv_have_libunwind_unw_step+y}
17468 then :
17469 printf %s "(cached) " >&6
17470 else $as_nop
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 #define UNW_LOCAL_ONLY
17474 #include <libunwind.h>
17476 main (void)
17478 unw_cursor_t cursor; unw_step( &cursor );
17480 return 0;
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"
17484 then :
17485 wine_cv_have_libunwind_unw_step="yes"
17486 else $as_nop
17487 wine_cv_have_libunwind_unw_step="no"
17489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17490 conftest$ac_exeext conftest.$ac_ext
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17493 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17494 LIBS=$save_libs
17496 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17497 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17498 then
17500 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17503 CPPFLAGS=$ac_save_CPPFLAGS
17506 case $host in
17507 aarch64*|*-darwin*)
17508 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17509 then :
17510 case "x$with_unwind" in
17511 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17512 xno) ;;
17513 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17514 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17515 esac
17517 fi ;;
17518 esac
17520 if test "x$with_sdl" != "xno"
17521 then
17522 rm -f conftest.err
17523 if ${SDL2_CFLAGS:+false} :
17524 then :
17525 if test ${PKG_CONFIG+y}
17526 then :
17527 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17531 if ${SDL2_LIBS:+false} :
17532 then :
17533 if test ${PKG_CONFIG+y}
17534 then :
17535 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17539 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17542 if test -s conftest.err; then
17543 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17544 cat conftest.err >&5
17546 rm -f conftest.err
17547 ac_save_CPPFLAGS=$CPPFLAGS
17548 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17549 for ac_header in SDL.h
17550 do :
17551 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17552 if test "x$ac_cv_header_SDL_h" = xyes
17553 then :
17554 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17556 printf %s "checking for -lSDL2... " >&6; }
17557 if test ${ac_cv_lib_soname_SDL2+y}
17558 then :
17559 printf %s "(cached) " >&6
17560 else $as_nop
17561 ac_check_soname_save_LIBS=$LIBS
17562 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17566 /* Override any GCC internal prototype to avoid an error.
17567 Use char because int might match the return type of a GCC
17568 builtin and then its argument prototype would still apply. */
17569 char SDL_Init ();
17571 main (void)
17573 return SDL_Init ();
17575 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"
17579 then :
17580 case "$LIBEXT" in
17581 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17582 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'` ;;
17583 *) 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'`
17584 if ${ac_cv_lib_soname_SDL2:+false} :
17585 then :
17586 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17587 fi ;;
17588 esac
17589 else $as_nop
17590 ac_cv_lib_soname_SDL2=
17592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17593 conftest$ac_exeext conftest.$ac_ext
17594 LIBS=$ac_check_soname_save_LIBS
17596 if ${ac_cv_lib_soname_SDL2:+false} :
17597 then :
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17599 printf "%s\n" "not found" >&6; }
17601 else $as_nop
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17603 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17605 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17611 done
17612 CPPFLAGS=$ac_save_CPPFLAGS
17615 if test "x$ac_cv_lib_soname_SDL2" = "x"
17616 then :
17617 case "x$with_sdl" in
17618 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17619 xno) ;;
17620 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17621 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17622 esac
17626 if test "x$with_capi" != "xno"
17627 then
17628 rm -f conftest.err
17629 if ${CAPI20_CFLAGS:+false} :
17630 then :
17631 if test ${PKG_CONFIG+y}
17632 then :
17633 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17637 if ${CAPI20_LIBS:+false} :
17638 then :
17639 if test ${PKG_CONFIG+y}
17640 then :
17641 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17648 if test -s conftest.err; then
17649 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17650 cat conftest.err >&5
17652 rm -f conftest.err
17653 ac_save_CPPFLAGS=$CPPFLAGS
17654 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17655 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17657 if test "x$ac_cv_header_capi20_h" = xyes
17658 then :
17659 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17662 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17664 if test "x$ac_cv_header_linux_capi_h" = xyes
17665 then :
17666 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17670 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17671 then
17672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17673 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17674 if test ${ac_cv_lib_capi20_capi20_register+y}
17675 then :
17676 printf %s "(cached) " >&6
17677 else $as_nop
17678 ac_check_lib_save_LIBS=$LIBS
17679 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17683 /* Override any GCC internal prototype to avoid an error.
17684 Use char because int might match the return type of a GCC
17685 builtin and then its argument prototype would still apply. */
17686 char capi20_register ();
17688 main (void)
17690 return capi20_register ();
17692 return 0;
17694 _ACEOF
17695 if ac_fn_c_try_link "$LINENO"
17696 then :
17697 ac_cv_lib_capi20_capi20_register=yes
17698 else $as_nop
17699 ac_cv_lib_capi20_capi20_register=no
17701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17702 conftest$ac_exeext conftest.$ac_ext
17703 LIBS=$ac_check_lib_save_LIBS
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17706 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17707 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17708 then :
17710 else $as_nop
17711 CAPI20_LIBS=""
17715 CPPFLAGS=$ac_save_CPPFLAGS
17718 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17719 then :
17720 case "x$with_capi" in
17721 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17722 xno) ;;
17723 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17724 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17725 esac
17726 enable_capi2032=${enable_capi2032:-no}
17729 if test "x$with_cups" != "xno"
17730 then
17731 rm -f conftest.err
17732 if ${CUPS_CFLAGS:+false} :
17733 then :
17734 if test ${PKG_CONFIG+y}
17735 then :
17736 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17739 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17740 if ${CUPS_LIBS:+false} :
17741 then :
17742 if test ${PKG_CONFIG+y}
17743 then :
17744 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17747 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17748 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17751 if test -s conftest.err; then
17752 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17753 cat conftest.err >&5
17755 rm -f conftest.err
17756 ac_save_CPPFLAGS=$CPPFLAGS
17757 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17758 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17759 if test "x$ac_cv_header_cups_cups_h" = xyes
17760 then :
17761 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17764 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17765 if test "x$ac_cv_header_cups_ppd_h" = xyes
17766 then :
17767 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17771 if test "$ac_cv_header_cups_cups_h" = "yes"
17772 then
17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17774 printf %s "checking for -lcups... " >&6; }
17775 if test ${ac_cv_lib_soname_cups+y}
17776 then :
17777 printf %s "(cached) " >&6
17778 else $as_nop
17779 ac_check_soname_save_LIBS=$LIBS
17780 LIBS="-lcups $CUPS_LIBS $LIBS"
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17784 /* Override any GCC internal prototype to avoid an error.
17785 Use char because int might match the return type of a GCC
17786 builtin and then its argument prototype would still apply. */
17787 char cupsGetDefault ();
17789 main (void)
17791 return cupsGetDefault ();
17793 return 0;
17795 _ACEOF
17796 if ac_fn_c_try_link "$LINENO"
17797 then :
17798 case "$LIBEXT" in
17799 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17800 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'` ;;
17801 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17802 if ${ac_cv_lib_soname_cups:+false} :
17803 then :
17804 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17805 fi ;;
17806 esac
17807 else $as_nop
17808 ac_cv_lib_soname_cups=
17810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17811 conftest$ac_exeext conftest.$ac_ext
17812 LIBS=$ac_check_soname_save_LIBS
17814 if ${ac_cv_lib_soname_cups:+false} :
17815 then :
17816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17817 printf "%s\n" "not found" >&6; }
17818 CUPS_LIBS=""
17819 else $as_nop
17820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17821 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17823 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17827 else
17828 CUPS_CFLAGS=""
17829 CUPS_LIBS=""
17831 CPPFLAGS=$ac_save_CPPFLAGS
17834 if test "x$ac_cv_lib_soname_cups" = "x"
17835 then :
17836 case "x$with_cups" in
17837 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17838 xno) ;;
17839 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17840 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17841 esac
17845 if test "x$with_fontconfig" != "xno"
17846 then
17847 rm -f conftest.err
17848 if ${FONTCONFIG_CFLAGS:+false} :
17849 then :
17850 if test ${PKG_CONFIG+y}
17851 then :
17852 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17855 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17856 if ${FONTCONFIG_LIBS:+false} :
17857 then :
17858 if test ${PKG_CONFIG+y}
17859 then :
17860 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17863 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17867 if test -s conftest.err; then
17868 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17869 cat conftest.err >&5
17871 rm -f conftest.err
17872 ac_save_CPPFLAGS=$CPPFLAGS
17873 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17874 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17875 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17876 then :
17877 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17881 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17882 then
17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17884 printf %s "checking for -lfontconfig... " >&6; }
17885 if test ${ac_cv_lib_soname_fontconfig+y}
17886 then :
17887 printf %s "(cached) " >&6
17888 else $as_nop
17889 ac_check_soname_save_LIBS=$LIBS
17890 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17897 char FcInit ();
17899 main (void)
17901 return FcInit ();
17903 return 0;
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"
17907 then :
17908 case "$LIBEXT" in
17909 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17910 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'` ;;
17911 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17912 if ${ac_cv_lib_soname_fontconfig:+false} :
17913 then :
17914 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17915 fi ;;
17916 esac
17917 else $as_nop
17918 ac_cv_lib_soname_fontconfig=
17920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17921 conftest$ac_exeext conftest.$ac_ext
17922 LIBS=$ac_check_soname_save_LIBS
17924 if ${ac_cv_lib_soname_fontconfig:+false} :
17925 then :
17926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17927 printf "%s\n" "not found" >&6; }
17928 FONTCONFIG_CFLAGS=""
17929 else $as_nop
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17931 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17933 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17937 else
17938 FONTCONFIG_CFLAGS=""
17940 CPPFLAGS=$ac_save_CPPFLAGS
17943 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17944 then :
17945 case "x$with_fontconfig" in
17946 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17947 xno) ;;
17948 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17949 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17950 esac
17954 if test "x$with_krb5" != "xno"
17955 then
17956 rm -f conftest.err
17957 if ${KRB5_CFLAGS:+false} :
17958 then :
17959 if test ${PKG_CONFIG+y}
17960 then :
17961 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17964 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17965 if ${KRB5_LIBS:+false} :
17966 then :
17967 if test ${PKG_CONFIG+y}
17968 then :
17969 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17972 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17976 if test -s conftest.err; then
17977 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17978 cat conftest.err >&5
17980 rm -f conftest.err
17981 ac_save_CPPFLAGS=$CPPFLAGS
17982 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17983 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17984 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17985 then :
17986 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17990 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17991 then
17992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17993 printf %s "checking for -lkrb5... " >&6; }
17994 if test ${ac_cv_lib_soname_krb5+y}
17995 then :
17996 printf %s "(cached) " >&6
17997 else $as_nop
17998 ac_check_soname_save_LIBS=$LIBS
17999 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18003 /* Override any GCC internal prototype to avoid an error.
18004 Use char because int might match the return type of a GCC
18005 builtin and then its argument prototype would still apply. */
18006 char krb5_is_config_principal ();
18008 main (void)
18010 return krb5_is_config_principal ();
18012 return 0;
18014 _ACEOF
18015 if ac_fn_c_try_link "$LINENO"
18016 then :
18017 case "$LIBEXT" in
18018 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18019 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'` ;;
18020 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18021 if ${ac_cv_lib_soname_krb5:+false} :
18022 then :
18023 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18024 fi ;;
18025 esac
18026 else $as_nop
18027 ac_cv_lib_soname_krb5=
18029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18030 conftest$ac_exeext conftest.$ac_ext
18031 LIBS=$ac_check_soname_save_LIBS
18033 if ${ac_cv_lib_soname_krb5:+false} :
18034 then :
18035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18036 printf "%s\n" "not found" >&6; }
18037 KRB5_CFLAGS=""
18038 else $as_nop
18039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18040 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18042 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18046 else
18047 KRB5_CFLAGS=""
18049 CPPFLAGS=$ac_save_CPPFLAGS
18052 if test "x$ac_cv_lib_soname_krb5" = "x"
18053 then :
18054 case "x$with_krb5" in
18055 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18056 xno) ;;
18057 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18058 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18059 esac
18062 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18064 if test "x$with_gssapi" != "xno"
18065 then
18066 rm -f conftest.err
18067 if ${GSSAPI_CFLAGS:+false} :
18068 then :
18069 if test ${PKG_CONFIG+y}
18070 then :
18071 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18074 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18075 if ${GSSAPI_LIBS:+false} :
18076 then :
18077 if test ${PKG_CONFIG+y}
18078 then :
18079 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18082 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18086 if test -s conftest.err; then
18087 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18088 cat conftest.err >&5
18090 rm -f conftest.err
18091 ac_save_CPPFLAGS=$CPPFLAGS
18092 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18093 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18094 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18095 then :
18096 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18099 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18100 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18101 then :
18102 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18106 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18107 then
18108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18109 printf %s "checking for -lgssapi_krb5... " >&6; }
18110 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18111 then :
18112 printf %s "(cached) " >&6
18113 else $as_nop
18114 ac_check_soname_save_LIBS=$LIBS
18115 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 /* Override any GCC internal prototype to avoid an error.
18120 Use char because int might match the return type of a GCC
18121 builtin and then its argument prototype would still apply. */
18122 char gss_init_sec_context ();
18124 main (void)
18126 return gss_init_sec_context ();
18128 return 0;
18130 _ACEOF
18131 if ac_fn_c_try_link "$LINENO"
18132 then :
18133 case "$LIBEXT" in
18134 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18135 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'` ;;
18136 *) 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'`
18137 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18138 then :
18139 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18140 fi ;;
18141 esac
18142 else $as_nop
18143 ac_cv_lib_soname_gssapi_krb5=
18145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18146 conftest$ac_exeext conftest.$ac_ext
18147 LIBS=$ac_check_soname_save_LIBS
18149 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18150 then :
18151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18152 printf "%s\n" "not found" >&6; }
18153 GSSAPI_CFLAGS=""
18154 else $as_nop
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18156 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18158 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18162 else
18163 GSSAPI_CFLAGS=""
18165 CPPFLAGS=$ac_save_CPPFLAGS
18168 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18169 then :
18170 case "x$with_gssapi" in
18171 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18172 xno) ;;
18173 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18174 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18175 esac
18179 if test "$ac_cv_header_libprocstat_h" = "yes"
18180 then
18181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18182 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18183 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18184 then :
18185 printf %s "(cached) " >&6
18186 else $as_nop
18187 ac_check_lib_save_LIBS=$LIBS
18188 LIBS="-lprocstat $LIBS"
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18192 /* Override any GCC internal prototype to avoid an error.
18193 Use char because int might match the return type of a GCC
18194 builtin and then its argument prototype would still apply. */
18195 char procstat_open_sysctl ();
18197 main (void)
18199 return procstat_open_sysctl ();
18201 return 0;
18203 _ACEOF
18204 if ac_fn_c_try_link "$LINENO"
18205 then :
18206 ac_cv_lib_procstat_procstat_open_sysctl=yes
18207 else $as_nop
18208 ac_cv_lib_procstat_procstat_open_sysctl=no
18210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18211 conftest$ac_exeext conftest.$ac_ext
18212 LIBS=$ac_check_lib_save_LIBS
18214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18215 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18216 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18217 then :
18219 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18221 PROCSTAT_LIBS="-lprocstat"
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18228 printf %s "checking for -lodbc... " >&6; }
18229 if test ${ac_cv_lib_soname_odbc+y}
18230 then :
18231 printf %s "(cached) " >&6
18232 else $as_nop
18233 ac_check_soname_save_LIBS=$LIBS
18234 LIBS="-lodbc $LIBS"
18235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18236 /* end confdefs.h. */
18238 /* Override any GCC internal prototype to avoid an error.
18239 Use char because int might match the return type of a GCC
18240 builtin and then its argument prototype would still apply. */
18241 char SQLConnect ();
18243 main (void)
18245 return SQLConnect ();
18247 return 0;
18249 _ACEOF
18250 if ac_fn_c_try_link "$LINENO"
18251 then :
18252 case "$LIBEXT" in
18253 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18254 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'` ;;
18255 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18256 if ${ac_cv_lib_soname_odbc:+false} :
18257 then :
18258 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18259 fi ;;
18260 esac
18261 else $as_nop
18262 ac_cv_lib_soname_odbc=
18264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18265 conftest$ac_exeext conftest.$ac_ext
18266 LIBS=$ac_check_soname_save_LIBS
18268 if ${ac_cv_lib_soname_odbc:+false} :
18269 then :
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18271 printf "%s\n" "not found" >&6; }
18272 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18274 else $as_nop
18275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18276 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18278 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18283 if test "x$with_netapi" != "xno"
18284 then
18285 rm -f conftest.err
18286 if ${NETAPI_CFLAGS:+false} :
18287 then :
18288 if test ${PKG_CONFIG+y}
18289 then :
18290 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18294 if ${NETAPI_LIBS:+false} :
18295 then :
18296 if test ${PKG_CONFIG+y}
18297 then :
18298 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18305 if test -s conftest.err; then
18306 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18307 cat conftest.err >&5
18309 rm -f conftest.err
18310 ac_save_CPPFLAGS=$CPPFLAGS
18311 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18313 printf %s "checking for -lnetapi... " >&6; }
18314 if test ${ac_cv_lib_soname_netapi+y}
18315 then :
18316 printf %s "(cached) " >&6
18317 else $as_nop
18318 ac_check_soname_save_LIBS=$LIBS
18319 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18323 /* Override any GCC internal prototype to avoid an error.
18324 Use char because int might match the return type of a GCC
18325 builtin and then its argument prototype would still apply. */
18326 char libnetapi_init ();
18328 main (void)
18330 return libnetapi_init ();
18332 return 0;
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"
18336 then :
18337 case "$LIBEXT" in
18338 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18339 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'` ;;
18340 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18341 if ${ac_cv_lib_soname_netapi:+false} :
18342 then :
18343 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18344 fi ;;
18345 esac
18346 else $as_nop
18347 ac_cv_lib_soname_netapi=
18349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18350 conftest$ac_exeext conftest.$ac_ext
18351 LIBS=$ac_check_soname_save_LIBS
18353 if ${ac_cv_lib_soname_netapi:+false} :
18354 then :
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18356 printf "%s\n" "not found" >&6; }
18357 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18359 else $as_nop
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18361 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18363 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18367 CPPFLAGS=$ac_save_CPPFLAGS
18370 if test "x$ac_cv_lib_soname_netapi" = "x"
18371 then :
18372 case "x$with_netapi" in
18373 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18374 xno) ;;
18375 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18376 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18377 esac
18378 enable_netapi=${enable_netapi:-no}
18382 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18383 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18384 then
18385 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18388 if test "x$with_vulkan" != "xno"
18389 then
18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18391 printf %s "checking for -lvulkan... " >&6; }
18392 if test ${ac_cv_lib_soname_vulkan+y}
18393 then :
18394 printf %s "(cached) " >&6
18395 else $as_nop
18396 ac_check_soname_save_LIBS=$LIBS
18397 LIBS="-lvulkan $LIBS"
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18404 char vkGetInstanceProcAddr ();
18406 main (void)
18408 return vkGetInstanceProcAddr ();
18410 return 0;
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"
18414 then :
18415 case "$LIBEXT" in
18416 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18417 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'` ;;
18418 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18419 if ${ac_cv_lib_soname_vulkan:+false} :
18420 then :
18421 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18422 fi ;;
18423 esac
18424 else $as_nop
18425 ac_cv_lib_soname_vulkan=
18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18428 conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_soname_save_LIBS
18431 if ${ac_cv_lib_soname_vulkan:+false} :
18432 then :
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18434 printf "%s\n" "not found" >&6; }
18436 else $as_nop
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18438 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18440 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18444 if test "x$ac_cv_lib_soname_vulkan" = "x"
18445 then
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18447 printf %s "checking for -lMoltenVK... " >&6; }
18448 if test ${ac_cv_lib_soname_MoltenVK+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_check_soname_save_LIBS=$LIBS
18453 LIBS="-lMoltenVK $LIBS"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18460 char vkGetInstanceProcAddr ();
18462 main (void)
18464 return vkGetInstanceProcAddr ();
18466 return 0;
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 case "$LIBEXT" in
18472 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18473 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'` ;;
18474 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18475 if ${ac_cv_lib_soname_MoltenVK:+false} :
18476 then :
18477 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18478 fi ;;
18479 esac
18480 else $as_nop
18481 ac_cv_lib_soname_MoltenVK=
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_soname_save_LIBS
18487 if ${ac_cv_lib_soname_MoltenVK:+false} :
18488 then :
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18490 printf "%s\n" "not found" >&6; }
18492 else $as_nop
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18494 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18496 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18502 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18503 then :
18504 case "x$with_vulkan" in
18505 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18506 xno) ;;
18507 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18508 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18509 esac
18514 if test "x${GCC}" = "xyes"
18515 then
18516 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18518 saved_CFLAGS=$CFLAGS
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18520 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18521 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18522 then :
18523 printf %s "(cached) " >&6
18524 else $as_nop
18525 ac_wine_try_cflags_saved=$CFLAGS
18526 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_cflags__Werror_unknown_warning_option=yes
18534 else $as_nop
18535 ac_cv_cflags__Werror_unknown_warning_option=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 CFLAGS=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18542 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18543 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18544 then :
18545 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18548 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18549 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_wine_try_cflags_saved=$CFLAGS
18554 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"
18560 then :
18561 ac_cv_cflags__Werror_unused_command_line_argument=yes
18562 else $as_nop
18563 ac_cv_cflags__Werror_unused_command_line_argument=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18566 conftest$ac_exeext conftest.$ac_ext
18567 CFLAGS=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18570 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18571 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18572 then :
18573 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18576 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18577 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_wine_try_cflags_saved=$CFLAGS
18582 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"
18588 then :
18589 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18590 else $as_nop
18591 ac_cv_cflags__Werror_ignored_optimization_argument=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18594 conftest$ac_exeext conftest.$ac_ext
18595 CFLAGS=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18598 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18599 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18600 then :
18601 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18604 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18605 if test ${ac_cv_cflags__fcf_protection_none+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -fcf-protection=none"
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18614 _ACEOF
18615 if ac_fn_c_try_link "$LINENO"
18616 then :
18617 ac_cv_cflags__fcf_protection_none=yes
18618 else $as_nop
18619 ac_cv_cflags__fcf_protection_none=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18622 conftest$ac_exeext conftest.$ac_ext
18623 CFLAGS=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18626 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18627 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18628 then :
18629 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18632 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18633 if test ${ac_cv_cflags__fno_stack_protector+y}
18634 then :
18635 printf %s "(cached) " >&6
18636 else $as_nop
18637 ac_wine_try_cflags_saved=$CFLAGS
18638 CFLAGS="$CFLAGS -fno-stack-protector"
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"
18644 then :
18645 ac_cv_cflags__fno_stack_protector=yes
18646 else $as_nop
18647 ac_cv_cflags__fno_stack_protector=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18650 conftest$ac_exeext conftest.$ac_ext
18651 CFLAGS=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18654 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18655 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18656 then :
18657 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18660 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18661 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18662 then :
18663 printf %s "(cached) " >&6
18664 else $as_nop
18665 ac_wine_try_cflags_saved=$CFLAGS
18666 CFLAGS="$CFLAGS -fno-strict-aliasing"
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"
18672 then :
18673 ac_cv_cflags__fno_strict_aliasing=yes
18674 else $as_nop
18675 ac_cv_cflags__fno_strict_aliasing=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18678 conftest$ac_exeext conftest.$ac_ext
18679 CFLAGS=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18682 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18683 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18684 then :
18685 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18688 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18689 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_wine_try_cflags_saved=$CFLAGS
18694 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"
18700 then :
18701 ac_cv_cflags__Wdeclaration_after_statement=yes
18702 else $as_nop
18703 ac_cv_cflags__Wdeclaration_after_statement=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18706 conftest$ac_exeext conftest.$ac_ext
18707 CFLAGS=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18710 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18711 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18712 then :
18713 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18716 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18717 if test ${ac_cv_cflags__Wempty_body+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -Wempty-body"
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18726 _ACEOF
18727 if ac_fn_c_try_link "$LINENO"
18728 then :
18729 ac_cv_cflags__Wempty_body=yes
18730 else $as_nop
18731 ac_cv_cflags__Wempty_body=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18734 conftest$ac_exeext conftest.$ac_ext
18735 CFLAGS=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18738 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18739 if test "x$ac_cv_cflags__Wempty_body" = xyes
18740 then :
18741 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18744 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18745 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Wignored-qualifiers"
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"
18756 then :
18757 ac_cv_cflags__Wignored_qualifiers=yes
18758 else $as_nop
18759 ac_cv_cflags__Wignored_qualifiers=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18762 conftest$ac_exeext conftest.$ac_ext
18763 CFLAGS=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18767 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18768 then :
18769 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18772 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18773 if test ${ac_cv_cflags__Winit_self+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Winit-self"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Winit_self=yes
18786 else $as_nop
18787 ac_cv_cflags__Winit_self=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18794 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18795 if test "x$ac_cv_cflags__Winit_self" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18800 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18801 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__Wpacked_not_aligned=yes
18814 else $as_nop
18815 ac_cv_cflags__Wpacked_not_aligned=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18823 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18828 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18829 if test ${ac_cv_cflags__Wpragma_pack+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -Wpragma-pack"
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18838 _ACEOF
18839 if ac_fn_c_try_link "$LINENO"
18840 then :
18841 ac_cv_cflags__Wpragma_pack=yes
18842 else $as_nop
18843 ac_cv_cflags__Wpragma_pack=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18846 conftest$ac_exeext conftest.$ac_ext
18847 CFLAGS=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18850 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18851 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18856 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18857 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -Wshift-overflow=2"
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 ac_cv_cflags__Wshift_overflow_2=yes
18870 else $as_nop
18871 ac_cv_cflags__Wshift_overflow_2=no
18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18874 conftest$ac_exeext conftest.$ac_ext
18875 CFLAGS=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18879 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18884 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18885 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wstrict-prototypes"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__Wstrict_prototypes=yes
18898 else $as_nop
18899 ac_cv_cflags__Wstrict_prototypes=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18907 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18912 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18913 if test ${ac_cv_cflags__Wtype_limits+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 ac_wine_try_cflags_saved=$CFLAGS
18918 CFLAGS="$CFLAGS -Wtype-limits"
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 ac_cv_cflags__Wtype_limits=yes
18926 else $as_nop
18927 ac_cv_cflags__Wtype_limits=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18930 conftest$ac_exeext conftest.$ac_ext
18931 CFLAGS=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18935 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18936 then :
18937 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18940 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18941 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wunused_but_set_parameter=yes
18954 else $as_nop
18955 ac_cv_cflags__Wunused_but_set_parameter=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18963 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18964 then :
18965 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18968 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18969 if test ${ac_cv_cflags__Wvla+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_wine_try_cflags_saved=$CFLAGS
18974 CFLAGS="$CFLAGS -Wvla"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"
18980 then :
18981 ac_cv_cflags__Wvla=yes
18982 else $as_nop
18983 ac_cv_cflags__Wvla=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18986 conftest$ac_exeext conftest.$ac_ext
18987 CFLAGS=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18991 if test "x$ac_cv_cflags__Wvla" = xyes
18992 then :
18993 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18996 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18997 if test ${ac_cv_cflags__Wwrite_strings+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 ac_wine_try_cflags_saved=$CFLAGS
19002 CFLAGS="$CFLAGS -Wwrite-strings"
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"
19008 then :
19009 ac_cv_cflags__Wwrite_strings=yes
19010 else $as_nop
19011 ac_cv_cflags__Wwrite_strings=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19014 conftest$ac_exeext conftest.$ac_ext
19015 CFLAGS=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19018 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19019 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19020 then :
19021 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19025 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19026 if test ${ac_cv_cflags__Wpointer_arith+y}
19027 then :
19028 printf %s "(cached) " >&6
19029 else $as_nop
19030 ac_wine_try_cflags_saved=$CFLAGS
19031 CFLAGS="$CFLAGS -Wpointer-arith"
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 int main(int argc, char **argv) { return 0; }
19035 _ACEOF
19036 if ac_fn_c_try_link "$LINENO"
19037 then :
19038 ac_cv_cflags__Wpointer_arith=yes
19039 else $as_nop
19040 ac_cv_cflags__Wpointer_arith=no
19042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19043 conftest$ac_exeext conftest.$ac_ext
19044 CFLAGS=$ac_wine_try_cflags_saved
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19047 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19048 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19049 then :
19050 saved_string_h_CFLAGS=$CFLAGS
19051 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19053 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19054 if test ${ac_cv_c_string_h_warnings+y}
19055 then :
19056 printf %s "(cached) " >&6
19057 else $as_nop
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h. */
19060 #include <string.h>
19062 main (void)
19066 return 0;
19068 _ACEOF
19069 if ac_fn_c_try_compile "$LINENO"
19070 then :
19071 ac_cv_c_string_h_warnings=no
19072 else $as_nop
19073 ac_cv_c_string_h_warnings=yes
19075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19078 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19079 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19080 CFLAGS=$saved_string_h_CFLAGS
19083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19084 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19085 if test ${ac_cv_cflags__Wlogical_op+y}
19086 then :
19087 printf %s "(cached) " >&6
19088 else $as_nop
19089 ac_wine_try_cflags_saved=$CFLAGS
19090 CFLAGS="$CFLAGS -Wlogical-op"
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 int main(int argc, char **argv) { return 0; }
19094 _ACEOF
19095 if ac_fn_c_try_link "$LINENO"
19096 then :
19097 ac_cv_cflags__Wlogical_op=yes
19098 else $as_nop
19099 ac_cv_cflags__Wlogical_op=no
19101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19102 conftest$ac_exeext conftest.$ac_ext
19103 CFLAGS=$ac_wine_try_cflags_saved
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19106 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19107 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19108 then :
19109 saved_string_h_CFLAGS=$CFLAGS
19110 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19112 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19113 if test ${ac_cv_c_logicalop_noisy+y}
19114 then :
19115 printf %s "(cached) " >&6
19116 else $as_nop
19117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19118 /* end confdefs.h. */
19119 #include <string.h>
19120 char*f(const char *h,char n) {return strchr(h,n);}
19122 main (void)
19126 return 0;
19128 _ACEOF
19129 if ac_fn_c_try_compile "$LINENO"
19130 then :
19131 ac_cv_c_logicalop_noisy=no
19132 else $as_nop
19133 ac_cv_c_logicalop_noisy=yes
19135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19138 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19139 CFLAGS=$saved_string_h_CFLAGS
19140 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19144 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19145 if test ${wine_cv_64bit_compare_swap+y}
19146 then :
19147 printf %s "(cached) " >&6
19148 else $as_nop
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19152 #error no
19153 #endif
19155 main (void)
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_compile "$LINENO"
19163 then :
19164 wine_cv_64bit_compare_swap="none needed"
19165 else $as_nop
19166 case $host_cpu in
19167 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19168 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19169 *) wine_cv_64bit_compare_swap="unknown" ;;
19170 esac
19171 if test "x$wine_cv_64bit_compare_swap" != xunknown
19172 then
19173 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19177 #error no
19178 #endif
19180 main (void)
19184 return 0;
19186 _ACEOF
19187 if ac_fn_c_try_compile "$LINENO"
19188 then :
19190 else $as_nop
19191 wine_cv_64bit_compare_swap="unknown"
19193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19194 CFLAGS=$saved_CFLAGS
19197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19200 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19201 case "$wine_cv_64bit_compare_swap" in
19202 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19203 "none needed") ;;
19204 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19205 esac
19207 ac_debug_format_seen=""
19208 for ac_flag in $CFLAGS; do
19209 case $ac_flag in
19210 -gdwarf*) ac_debug_format_seen=yes ;;
19211 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19212 esac
19213 done
19214 if test "x$ac_debug_format_seen" = xdefault
19215 then
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19217 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19218 if test ${ac_cv_cflags__gdwarf_4+y}
19219 then :
19220 printf %s "(cached) " >&6
19221 else $as_nop
19222 ac_wine_try_cflags_saved=$CFLAGS
19223 CFLAGS="$CFLAGS -gdwarf-4"
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 int main(int argc, char **argv) { return 0; }
19227 _ACEOF
19228 if ac_fn_c_try_link "$LINENO"
19229 then :
19230 ac_cv_cflags__gdwarf_4=yes
19231 else $as_nop
19232 ac_cv_cflags__gdwarf_4=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19235 conftest$ac_exeext conftest.$ac_ext
19236 CFLAGS=$ac_wine_try_cflags_saved
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19239 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19240 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19241 then :
19242 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19246 MSVCRTFLAGS=""
19248 case $host_os in
19249 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19250 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19251 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19252 then :
19253 printf %s "(cached) " >&6
19254 else $as_nop
19255 ac_wine_try_cflags_saved=$CFLAGS
19256 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258 /* end confdefs.h. */
19259 int main(int argc, char **argv) { return 0; }
19260 _ACEOF
19261 if ac_fn_c_try_link "$LINENO"
19262 then :
19263 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19264 else $as_nop
19265 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19268 conftest$ac_exeext conftest.$ac_ext
19269 CFLAGS=$ac_wine_try_cflags_saved
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19272 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19273 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19274 then :
19275 DELAYLOADFLAG="-Wl,-delayload,"
19277 fi ;;
19278 *) MSVCRTFLAGS="-D_WIN32"
19279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19280 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19281 if test ${ac_cv_cflags__fno_builtin+y}
19282 then :
19283 printf %s "(cached) " >&6
19284 else $as_nop
19285 ac_wine_try_cflags_saved=$CFLAGS
19286 CFLAGS="$CFLAGS -fno-builtin"
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 int main(int argc, char **argv) { return 0; }
19290 _ACEOF
19291 if ac_fn_c_try_link "$LINENO"
19292 then :
19293 ac_cv_cflags__fno_builtin=yes
19294 else $as_nop
19295 ac_cv_cflags__fno_builtin=no
19297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19298 conftest$ac_exeext conftest.$ac_ext
19299 CFLAGS=$ac_wine_try_cflags_saved
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19302 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19303 if test "x$ac_cv_cflags__fno_builtin" = xyes
19304 then :
19305 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19308 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19309 if test ${ac_cv_cflags__fshort_wchar+y}
19310 then :
19311 printf %s "(cached) " >&6
19312 else $as_nop
19313 ac_wine_try_cflags_saved=$CFLAGS
19314 CFLAGS="$CFLAGS -fshort-wchar"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19317 int main(int argc, char **argv) { return 0; }
19318 _ACEOF
19319 if ac_fn_c_try_link "$LINENO"
19320 then :
19321 ac_cv_cflags__fshort_wchar=yes
19322 else $as_nop
19323 ac_cv_cflags__fshort_wchar=no
19325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19326 conftest$ac_exeext conftest.$ac_ext
19327 CFLAGS=$ac_wine_try_cflags_saved
19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19330 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19331 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19332 then :
19333 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19336 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19337 if test ${ac_cv_cflags__Wno_format+y}
19338 then :
19339 printf %s "(cached) " >&6
19340 else $as_nop
19341 ac_wine_try_cflags_saved=$CFLAGS
19342 CFLAGS="$CFLAGS -Wno-format"
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19346 _ACEOF
19347 if ac_fn_c_try_link "$LINENO"
19348 then :
19349 ac_cv_cflags__Wno_format=yes
19350 else $as_nop
19351 ac_cv_cflags__Wno_format=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19354 conftest$ac_exeext conftest.$ac_ext
19355 CFLAGS=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19358 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19359 if test "x$ac_cv_cflags__Wno_format" = xyes
19360 then :
19361 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19362 fi ;;
19363 esac
19365 case $host_cpu in
19366 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19367 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19368 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19369 then :
19370 printf %s "(cached) " >&6
19371 else $as_nop
19372 ac_wine_try_cflags_saved=$CFLAGS
19373 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h. */
19376 int main(int argc, char **argv) { return 0; }
19377 _ACEOF
19378 if ac_fn_c_try_link "$LINENO"
19379 then :
19380 ac_cv_cflags__fno_omit_frame_pointer=yes
19381 else $as_nop
19382 ac_cv_cflags__fno_omit_frame_pointer=no
19384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19385 conftest$ac_exeext conftest.$ac_ext
19386 CFLAGS=$ac_wine_try_cflags_saved
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19389 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19390 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19391 then :
19392 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19393 fi ;;
19394 *x86_64*)
19395 case $host_os in
19396 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19397 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19398 if test ${ac_cv_cflags__Wno_format+y}
19399 then :
19400 printf %s "(cached) " >&6
19401 else $as_nop
19402 ac_wine_try_cflags_saved=$CFLAGS
19403 CFLAGS="$CFLAGS -Wno-format"
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 int main(int argc, char **argv) { return 0; }
19407 _ACEOF
19408 if ac_fn_c_try_link "$LINENO"
19409 then :
19410 ac_cv_cflags__Wno_format=yes
19411 else $as_nop
19412 ac_cv_cflags__Wno_format=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19415 conftest$ac_exeext conftest.$ac_ext
19416 CFLAGS=$ac_wine_try_cflags_saved
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19419 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19420 if test "x$ac_cv_cflags__Wno_format" = xyes
19421 then :
19422 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19423 fi ;;
19424 *) if test -z "$PE_ARCHS"
19425 then
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19427 printf %s "checking for working -mabi=ms... " >&6; }
19428 if test ${ac_cv_mabi_ms+y}
19429 then :
19430 printf %s "(cached) " >&6
19431 else $as_nop
19432 CFLAGS="$CFLAGS -mabi=ms"
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <stdarg.h>
19436 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19438 main (void)
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"
19446 then :
19447 ac_cv_mabi_ms=yes
19448 else $as_nop
19449 ac_cv_mabi_ms=no
19451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19452 CFLAGS=$saved_CFLAGS
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19455 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19456 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
19458 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19459 esac ;;
19460 arm*)
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19462 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19463 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19464 then :
19465 printf %s "(cached) " >&6
19466 else $as_nop
19467 ac_wine_try_cflags_saved=$CFLAGS
19468 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 int main(int argc, char **argv) { return 0; }
19472 _ACEOF
19473 if ac_fn_c_try_link "$LINENO"
19474 then :
19475 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19476 else $as_nop
19477 ac_cv_cflags__Wincompatible_function_pointer_types=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19480 conftest$ac_exeext conftest.$ac_ext
19481 CFLAGS=$ac_wine_try_cflags_saved
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19484 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19485 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19486 then :
19487 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19488 fi ;;
19489 esac
19491 CFLAGS=$saved_CFLAGS
19493 if test "x$enable_werror" = "xyes"
19494 then
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19496 printf %s "checking whether the compiler supports -Werror... " >&6; }
19497 if test ${ac_cv_cflags__Werror+y}
19498 then :
19499 printf %s "(cached) " >&6
19500 else $as_nop
19501 ac_wine_try_cflags_saved=$CFLAGS
19502 CFLAGS="$CFLAGS -Werror"
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 int main(int argc, char **argv) { return 0; }
19506 _ACEOF
19507 if ac_fn_c_try_link "$LINENO"
19508 then :
19509 ac_cv_cflags__Werror=yes
19510 else $as_nop
19511 ac_cv_cflags__Werror=no
19513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19514 conftest$ac_exeext conftest.$ac_ext
19515 CFLAGS=$ac_wine_try_cflags_saved
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19518 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19519 if test "x$ac_cv_cflags__Werror" = xyes
19520 then :
19521 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19524 if test "x$enable_build_id" = "xyes"
19525 then
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19527 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19528 if test ${ac_cv_cflags__Wl___build_id+y}
19529 then :
19530 printf %s "(cached) " >&6
19531 else $as_nop
19532 ac_wine_try_cflags_saved=$CFLAGS
19533 CFLAGS="$CFLAGS -Wl,--build-id"
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 int main(int argc, char **argv) { return 0; }
19537 _ACEOF
19538 if ac_fn_c_try_link "$LINENO"
19539 then :
19540 ac_cv_cflags__Wl___build_id=yes
19541 else $as_nop
19542 ac_cv_cflags__Wl___build_id=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19545 conftest$ac_exeext conftest.$ac_ext
19546 CFLAGS=$ac_wine_try_cflags_saved
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19549 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19550 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19551 then :
19552 CFLAGS="$CFLAGS -Wl,--build-id"
19553 LDFLAGS="$LDFLAGS -Wl,--build-id"
19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19560 printf %s "checking for the need to disable Fortify... " >&6; }
19561 if test ${ac_cv_c_fortify_enabled+y}
19562 then :
19563 printf %s "(cached) " >&6
19564 else $as_nop
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19567 #include <string.h>
19569 main (void)
19571 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19572 #error Fortify enabled
19573 #endif
19575 return 0;
19577 _ACEOF
19578 if ac_fn_c_try_compile "$LINENO"
19579 then :
19580 ac_cv_c_fortify_enabled=no
19581 else $as_nop
19582 ac_cv_c_fortify_enabled=yes
19584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19587 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19588 if test "$ac_cv_c_fortify_enabled" = yes
19589 then
19590 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19595 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19596 if test ${ac_cv_c_cfi_support+y}
19597 then :
19598 printf %s "(cached) " >&6
19599 else $as_nop
19600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h. */
19602 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19604 main (void)
19608 return 0;
19610 _ACEOF
19611 if ac_fn_c_try_compile "$LINENO"
19612 then :
19613 ac_cv_c_cfi_support="yes"
19614 else $as_nop
19615 ac_cv_c_cfi_support="no"
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19620 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19621 if test "$ac_cv_c_cfi_support" = "yes"
19622 then
19623 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19624 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19625 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19626 elif test $HOST_ARCH = x86_64
19627 then
19628 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19632 case "$HOST_ARCH,$PE_ARCHS" in
19633 x86_64,*i386*) wine_binary="wine" ;;
19634 x86_64,*) wine_binary="wine64" ;;
19635 *) wine_binary="wine" ;;
19636 esac
19637 WINELOADER_PROGRAMS="$wine_binary"
19640 case $host_os in
19641 linux*)
19642 case $host_cpu in
19643 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19644 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19645 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19647 esac
19649 darwin*|macosx*)
19650 if test "$wine_can_build_preloader" = "yes"
19651 then
19652 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19653 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19656 esac
19659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19660 printf %s "checking for library containing dlopen... " >&6; }
19661 if test ${ac_cv_search_dlopen+y}
19662 then :
19663 printf %s "(cached) " >&6
19664 else $as_nop
19665 ac_func_search_save_LIBS=$LIBS
19666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19669 /* Override any GCC internal prototype to avoid an error.
19670 Use char because int might match the return type of a GCC
19671 builtin and then its argument prototype would still apply. */
19672 char dlopen ();
19674 main (void)
19676 return dlopen ();
19678 return 0;
19680 _ACEOF
19681 for ac_lib in '' dl
19683 if test -z "$ac_lib"; then
19684 ac_res="none required"
19685 else
19686 ac_res=-l$ac_lib
19687 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19689 if ac_fn_c_try_link "$LINENO"
19690 then :
19691 ac_cv_search_dlopen=$ac_res
19693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19694 conftest$ac_exeext
19695 if test ${ac_cv_search_dlopen+y}
19696 then :
19697 break
19699 done
19700 if test ${ac_cv_search_dlopen+y}
19701 then :
19703 else $as_nop
19704 ac_cv_search_dlopen=no
19706 rm conftest.$ac_ext
19707 LIBS=$ac_func_search_save_LIBS
19709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19710 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19711 ac_res=$ac_cv_search_dlopen
19712 if test "$ac_res" != no
19713 then :
19714 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19720 printf %s "checking for library containing gethostbyname... " >&6; }
19721 if test ${ac_cv_search_gethostbyname+y}
19722 then :
19723 printf %s "(cached) " >&6
19724 else $as_nop
19725 ac_func_search_save_LIBS=$LIBS
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19729 /* Override any GCC internal prototype to avoid an error.
19730 Use char because int might match the return type of a GCC
19731 builtin and then its argument prototype would still apply. */
19732 char gethostbyname ();
19734 main (void)
19736 return gethostbyname ();
19738 return 0;
19740 _ACEOF
19741 for ac_lib in '' nsl
19743 if test -z "$ac_lib"; then
19744 ac_res="none required"
19745 else
19746 ac_res=-l$ac_lib
19747 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19749 if ac_fn_c_try_link "$LINENO"
19750 then :
19751 ac_cv_search_gethostbyname=$ac_res
19753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19754 conftest$ac_exeext
19755 if test ${ac_cv_search_gethostbyname+y}
19756 then :
19757 break
19759 done
19760 if test ${ac_cv_search_gethostbyname+y}
19761 then :
19763 else $as_nop
19764 ac_cv_search_gethostbyname=no
19766 rm conftest.$ac_ext
19767 LIBS=$ac_func_search_save_LIBS
19769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19770 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19771 ac_res=$ac_cv_search_gethostbyname
19772 if test "$ac_res" != no
19773 then :
19774 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19780 printf %s "checking for library containing connect... " >&6; }
19781 if test ${ac_cv_search_connect+y}
19782 then :
19783 printf %s "(cached) " >&6
19784 else $as_nop
19785 ac_func_search_save_LIBS=$LIBS
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19789 /* Override any GCC internal prototype to avoid an error.
19790 Use char because int might match the return type of a GCC
19791 builtin and then its argument prototype would still apply. */
19792 char connect ();
19794 main (void)
19796 return connect ();
19798 return 0;
19800 _ACEOF
19801 for ac_lib in '' socket
19803 if test -z "$ac_lib"; then
19804 ac_res="none required"
19805 else
19806 ac_res=-l$ac_lib
19807 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19809 if ac_fn_c_try_link "$LINENO"
19810 then :
19811 ac_cv_search_connect=$ac_res
19813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19814 conftest$ac_exeext
19815 if test ${ac_cv_search_connect+y}
19816 then :
19817 break
19819 done
19820 if test ${ac_cv_search_connect+y}
19821 then :
19823 else $as_nop
19824 ac_cv_search_connect=no
19826 rm conftest.$ac_ext
19827 LIBS=$ac_func_search_save_LIBS
19829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19830 printf "%s\n" "$ac_cv_search_connect" >&6; }
19831 ac_res=$ac_cv_search_connect
19832 if test "$ac_res" != no
19833 then :
19834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19840 printf %s "checking for library containing inet_aton... " >&6; }
19841 if test ${ac_cv_search_inet_aton+y}
19842 then :
19843 printf %s "(cached) " >&6
19844 else $as_nop
19845 ac_func_search_save_LIBS=$LIBS
19846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19847 /* end confdefs.h. */
19849 /* Override any GCC internal prototype to avoid an error.
19850 Use char because int might match the return type of a GCC
19851 builtin and then its argument prototype would still apply. */
19852 char inet_aton ();
19854 main (void)
19856 return inet_aton ();
19858 return 0;
19860 _ACEOF
19861 for ac_lib in '' resolv
19863 if test -z "$ac_lib"; then
19864 ac_res="none required"
19865 else
19866 ac_res=-l$ac_lib
19867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19869 if ac_fn_c_try_link "$LINENO"
19870 then :
19871 ac_cv_search_inet_aton=$ac_res
19873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19874 conftest$ac_exeext
19875 if test ${ac_cv_search_inet_aton+y}
19876 then :
19877 break
19879 done
19880 if test ${ac_cv_search_inet_aton+y}
19881 then :
19883 else $as_nop
19884 ac_cv_search_inet_aton=no
19886 rm conftest.$ac_ext
19887 LIBS=$ac_func_search_save_LIBS
19889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19890 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19891 ac_res=$ac_cv_search_inet_aton
19892 if test "$ac_res" != no
19893 then :
19894 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19899 ac_save_CFLAGS="$CFLAGS"
19900 CFLAGS="$CFLAGS $BUILTINFLAG"
19901 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19902 if test "x$ac_cv_func_dladdr1" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19908 if test "x$ac_cv_func_dlinfo" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19914 if test "x$ac_cv_func_epoll_create" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19920 if test "x$ac_cv_func_fstatfs" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19926 if test "x$ac_cv_func_futimens" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19932 if test "x$ac_cv_func_futimes" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19938 if test "x$ac_cv_func_futimesat" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19944 if test "x$ac_cv_func_getaddrinfo" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19950 if test "x$ac_cv_func_getattrlist" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19956 if test "x$ac_cv_func_getauxval" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19962 if test "x$ac_cv_func_getifaddrs" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19968 if test "x$ac_cv_func_getrandom" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19974 if test "x$ac_cv_func_kqueue" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19980 if test "x$ac_cv_func_mach_continuous_time" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19986 if test "x$ac_cv_func_pipe2" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19992 if test "x$ac_cv_func_port_create" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19998 if test "x$ac_cv_func_posix_fadvise" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20004 if test "x$ac_cv_func_posix_fallocate" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20010 if test "x$ac_cv_func_prctl" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20016 if test "x$ac_cv_func_proc_pidinfo" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20022 if test "x$ac_cv_func_sched_yield" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20028 if test "x$ac_cv_func_setproctitle" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20034 if test "x$ac_cv_func_setprogname" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20040 if test "x$ac_cv_func_sigprocmask" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20046 if test "x$ac_cv_func_sysinfo" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20051 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20052 if test "x$ac_cv_func_tcdrain" = xyes
20053 then :
20054 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20057 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20058 if test "x$ac_cv_func_thr_kill2" = xyes
20059 then :
20060 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20064 CFLAGS="$ac_save_CFLAGS"
20066 case $host_os in
20067 darwin*|macosx*) ;;
20068 *) ac_save_LIBS=$LIBS
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20070 printf %s "checking for library containing clock_gettime... " >&6; }
20071 if test ${ac_cv_search_clock_gettime+y}
20072 then :
20073 printf %s "(cached) " >&6
20074 else $as_nop
20075 ac_func_search_save_LIBS=$LIBS
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20079 /* Override any GCC internal prototype to avoid an error.
20080 Use char because int might match the return type of a GCC
20081 builtin and then its argument prototype would still apply. */
20082 char clock_gettime ();
20084 main (void)
20086 return clock_gettime ();
20088 return 0;
20090 _ACEOF
20091 for ac_lib in '' rt
20093 if test -z "$ac_lib"; then
20094 ac_res="none required"
20095 else
20096 ac_res=-l$ac_lib
20097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20099 if ac_fn_c_try_link "$LINENO"
20100 then :
20101 ac_cv_search_clock_gettime=$ac_res
20103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20104 conftest$ac_exeext
20105 if test ${ac_cv_search_clock_gettime+y}
20106 then :
20107 break
20109 done
20110 if test ${ac_cv_search_clock_gettime+y}
20111 then :
20113 else $as_nop
20114 ac_cv_search_clock_gettime=no
20116 rm conftest.$ac_ext
20117 LIBS=$ac_func_search_save_LIBS
20119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20120 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20121 ac_res=$ac_cv_search_clock_gettime
20122 if test "$ac_res" != no
20123 then :
20124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20126 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20128 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20132 LIBS=$ac_save_LIBS
20134 esac
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20137 printf %s "checking for sched_setaffinity... " >&6; }
20138 if test ${wine_cv_have_sched_setaffinity+y}
20139 then :
20140 printf %s "(cached) " >&6
20141 else $as_nop
20142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20144 #include <sched.h>
20146 main (void)
20148 sched_setaffinity(0, 0, 0);
20150 return 0;
20152 _ACEOF
20153 if ac_fn_c_try_link "$LINENO"
20154 then :
20155 wine_cv_have_sched_setaffinity=yes
20156 else $as_nop
20157 wine_cv_have_sched_setaffinity=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20160 conftest$ac_exeext conftest.$ac_ext
20162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20163 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20164 if test "$wine_cv_have_sched_setaffinity" = "yes"
20165 then
20167 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20173 printf %s "checking for inline... " >&6; }
20174 if test ${ac_cv_c_inline+y}
20175 then :
20176 printf %s "(cached) " >&6
20177 else $as_nop
20178 ac_cv_c_inline=no
20179 for ac_kw in inline __inline__ __inline; do
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #ifndef __cplusplus
20183 typedef int foo_t;
20184 static $ac_kw foo_t static_foo (void) {return 0; }
20185 $ac_kw foo_t foo (void) {return 0; }
20186 #endif
20188 _ACEOF
20189 if ac_fn_c_try_compile "$LINENO"
20190 then :
20191 ac_cv_c_inline=$ac_kw
20193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20194 test "$ac_cv_c_inline" != no && break
20195 done
20198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20199 printf "%s\n" "$ac_cv_c_inline" >&6; }
20201 case $ac_cv_c_inline in
20202 inline | yes) ;;
20204 case $ac_cv_c_inline in
20205 no) ac_val=;;
20206 *) ac_val=$ac_cv_c_inline;;
20207 esac
20208 cat >>confdefs.h <<_ACEOF
20209 #ifndef __cplusplus
20210 #define inline $ac_val
20211 #endif
20212 _ACEOF
20214 esac
20216 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20218 if test "x$ac_cv_type_request_sense" = xyes
20219 then :
20221 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20227 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20228 #include <sys/socket.h>
20229 #ifdef HAVE_SYS_SOCKETVAR_H
20230 #include <sys/socketvar.h>
20231 #endif
20232 #ifdef HAVE_NET_ROUTE_H
20233 #include <net/route.h>
20234 #endif
20235 #ifdef HAVE_NETINET_IN_H
20236 #include <netinet/in.h>
20237 #endif
20238 #ifdef HAVE_NETINET_IN_SYSTM_H
20239 #include <netinet/in_systm.h>
20240 #endif
20241 #ifdef HAVE_NETINET_IP_H
20242 #include <netinet/ip.h>
20243 #endif
20244 #ifdef HAVE_NETINET_IN_PCB_H
20245 #include <netinet/in_pcb.h>
20246 #endif
20248 if test "x$ac_cv_type_struct_xinpgen" = xyes
20249 then :
20251 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20258 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20259 if test ${wine_cv_linux_gethostbyname_r_6+y}
20260 then :
20261 printf %s "(cached) " >&6
20262 else $as_nop
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <netdb.h>
20267 main (void)
20270 char *name=0;
20271 struct hostent he;
20272 struct hostent *result;
20273 char *buf=0;
20274 int bufsize=0;
20275 int errnr;
20276 char *addr=0;
20277 int addrlen=0;
20278 int addrtype=0;
20279 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20280 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20283 return 0;
20285 _ACEOF
20286 if ac_fn_c_try_link "$LINENO"
20287 then :
20288 wine_cv_linux_gethostbyname_r_6=yes
20289 else $as_nop
20290 wine_cv_linux_gethostbyname_r_6=no
20293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20294 conftest$ac_exeext conftest.$ac_ext
20297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20298 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20299 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20300 then
20302 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20306 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20307 #include <sys/socket.h>
20308 #ifdef HAVE_SYS_UN_H
20309 # include <sys/un.h>
20310 #endif
20312 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20313 then :
20315 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20320 #include <sys/socket.h>
20321 #ifdef HAVE_SYS_UN_H
20322 # include <sys/un.h>
20323 #endif
20325 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20334 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20335 #ifdef HAVE_SCSI_SG_H
20336 #include <scsi/sg.h>
20337 #endif
20339 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20340 then :
20342 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20346 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>
20347 #ifdef HAVE_SCSI_SG_H
20348 #include <scsi/sg.h>
20349 #endif
20351 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20352 then :
20354 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20362 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20371 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20372 #ifdef HAVE_SYS_MTIO_H
20373 #include <sys/mtio.h>
20374 #endif
20376 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20377 then :
20379 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20396 #ifdef HAVE_SYS_MTIO_H
20397 #include <sys/mtio.h>
20398 #endif
20400 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20417 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20425 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20433 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20441 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20443 then :
20445 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20449 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20450 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20451 then :
20453 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20457 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20458 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20459 then :
20461 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20465 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20481 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20489 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20499 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>
20500 #ifdef HAVE_NETINET_IN_H
20501 #include <netinet/in.h>
20502 #endif
20504 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20505 then :
20507 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20513 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
20514 #include <resolv.h>
20515 #endif
20517 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20527 #include <netinet/in.h>
20528 #endif
20530 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20540 #ifdef HAVE_SYS_SOCKETVAR_H
20541 #include <sys/socketvar.h>
20542 #endif
20543 #ifdef HAVE_NETINET_IN_H
20544 #include <netinet/in.h>
20545 #endif
20546 #ifdef HAVE_NETINET_IP_VAR_H
20547 #include <netinet/ip_var.h>
20548 #endif
20550 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20559 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
20560 #include <netinet/ip_var.h>
20561 #endif
20563 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20573 #ifdef HAVE_SYS_SOCKETVAR_H
20574 #include <sys/socketvar.h>
20575 #endif
20576 #ifdef HAVE_NETINET_IN_H
20577 #include <netinet/in.h>
20578 #endif
20579 #ifdef HAVE_NETINET6_IP6_VAR_H
20580 #include <netinet6/ip6_var.h>
20581 #endif
20583 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20592 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20593 #ifdef HAVE_SYS_SOCKETVAR_H
20594 #include <sys/socketvar.h>
20595 #endif
20596 #ifdef HAVE_NETINET_IN_H
20597 #include <netinet/in.h>
20598 #endif
20599 #ifdef HAVE_NETINET_IP_H
20600 #include <netinet/ip.h>
20601 #endif
20602 #ifdef HAVE_NETINET_IP_ICMP_H
20603 #include <netinet/ip_icmp.h>
20604 #endif
20605 #ifdef HAVE_NETINET_ICMP_VAR_H
20606 #include <netinet/icmp_var.h>
20607 #endif
20609 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20610 then :
20612 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20618 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20619 #ifdef HAVE_SYS_SOCKETVAR_H
20620 #include <sys/socketvar.h>
20621 #endif
20622 #ifdef HAVE_NETINET_IN_H
20623 #include <netinet/in.h>
20624 #endif
20625 #ifdef HAVE_NETINET_ICMP6_H
20626 #include <netinet/icmp6.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20639 #ifdef HAVE_SYS_SOCKETVAR_H
20640 #include <sys/socketvar.h>
20641 #endif
20642 #ifdef HAVE_NETINET_IN_H
20643 #include <netinet/in.h>
20644 #endif
20645 #ifdef HAVE_NETINET_TCP_H
20646 #include <netinet/tcp.h>
20647 #endif
20648 #ifdef HAVE_NETINET_TCP_VAR_H
20649 #include <netinet/tcp_var.h>
20650 #endif
20652 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20653 then :
20655 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20661 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
20662 #include <netinet/tcp_var.h>
20663 #endif
20665 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20674 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20677 #endif
20678 #ifdef HAVE_NETINET_IP_VAR_H
20679 #include <netinet/ip_var.h>
20680 #endif
20681 #ifdef HAVE_NETINET_UDP_H
20682 #include <netinet/udp.h>
20683 #endif
20684 #ifdef HAVE_NETINET_UDP_VAR_H
20685 #include <netinet/udp_var.h>
20686 #endif
20688 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20689 then :
20691 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20698 #ifdef HAVE_NET_IF_H
20699 # include <net/if.h>
20700 #endif
20702 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20703 then :
20705 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20711 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20712 # include <sys/sysinfo.h>
20713 #endif
20715 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20722 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20723 # include <sys/sysinfo.h>
20724 #endif
20726 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20727 then :
20729 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20735 LIBS="$ac_save_LIBS"
20737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20738 printf %s "checking for __builtin_popcount... " >&6; }
20739 if test ${ac_cv_have___builtin_popcount+y}
20740 then :
20741 printf %s "(cached) " >&6
20742 else $as_nop
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20747 main (void)
20749 return __builtin_popcount(1)
20751 return 0;
20753 _ACEOF
20754 if ac_fn_c_try_link "$LINENO"
20755 then :
20756 ac_cv_have___builtin_popcount="yes"
20757 else $as_nop
20758 ac_cv_have___builtin_popcount="no"
20760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20761 conftest$ac_exeext conftest.$ac_ext
20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20764 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20765 if test "$ac_cv_have___builtin_popcount" = "yes"
20766 then
20768 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20773 printf %s "checking for __clear_cache... " >&6; }
20774 if test ${ac_cv_have___clear_cache+y}
20775 then :
20776 printf %s "(cached) " >&6
20777 else $as_nop
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20782 main (void)
20784 __clear_cache((void*)0, (void*)0); return 0;
20786 return 0;
20788 _ACEOF
20789 if ac_fn_c_try_link "$LINENO"
20790 then :
20791 ac_cv_have___clear_cache="yes"
20792 else $as_nop
20793 ac_cv_have___clear_cache="no"
20795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20796 conftest$ac_exeext conftest.$ac_ext
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20799 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20800 if test "$ac_cv_have___clear_cache" = "yes"
20801 then
20803 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20808 case $host_cpu in
20809 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20810 printf %s "checking whether we need to define __i386__... " >&6; }
20811 if test ${ac_cv_cpp_def___i386__+y}
20812 then :
20813 printf %s "(cached) " >&6
20814 else $as_nop
20815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20817 #ifndef __i386__
20819 #endif
20820 _ACEOF
20821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20822 $EGREP "yes" >/dev/null 2>&1
20823 then :
20824 ac_cv_cpp_def___i386__=yes
20825 else $as_nop
20826 ac_cv_cpp_def___i386__=no
20828 rm -rf conftest*
20831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20832 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20833 if test "x$ac_cv_cpp_def___i386__" = xyes
20834 then :
20835 CFLAGS="$CFLAGS -D__i386__"
20836 LINTFLAGS="$LINTFLAGS -D__i386__"
20837 fi ;;
20838 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20839 printf %s "checking whether we need to define __x86_64__... " >&6; }
20840 if test ${ac_cv_cpp_def___x86_64__+y}
20841 then :
20842 printf %s "(cached) " >&6
20843 else $as_nop
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846 #ifndef __x86_64__
20848 #endif
20849 _ACEOF
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "yes" >/dev/null 2>&1
20852 then :
20853 ac_cv_cpp_def___x86_64__=yes
20854 else $as_nop
20855 ac_cv_cpp_def___x86_64__=no
20857 rm -rf conftest*
20860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20861 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20862 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20863 then :
20864 CFLAGS="$CFLAGS -D__x86_64__"
20865 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20866 fi ;;
20867 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20868 printf %s "checking whether we need to define __sparc64__... " >&6; }
20869 if test ${ac_cv_cpp_def___sparc64__+y}
20870 then :
20871 printf %s "(cached) " >&6
20872 else $as_nop
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20875 #ifndef __sparc64__
20877 #endif
20878 _ACEOF
20879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20880 $EGREP "yes" >/dev/null 2>&1
20881 then :
20882 ac_cv_cpp_def___sparc64__=yes
20883 else $as_nop
20884 ac_cv_cpp_def___sparc64__=no
20886 rm -rf conftest*
20889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20890 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20891 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20892 then :
20893 CFLAGS="$CFLAGS -D__sparc64__"
20894 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20895 fi ;;
20896 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20897 printf %s "checking whether we need to define __sparc__... " >&6; }
20898 if test ${ac_cv_cpp_def___sparc__+y}
20899 then :
20900 printf %s "(cached) " >&6
20901 else $as_nop
20902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20904 #ifndef __sparc__
20906 #endif
20907 _ACEOF
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev/null 2>&1
20910 then :
20911 ac_cv_cpp_def___sparc__=yes
20912 else $as_nop
20913 ac_cv_cpp_def___sparc__=no
20915 rm -rf conftest*
20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20919 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20920 if test "x$ac_cv_cpp_def___sparc__" = xyes
20921 then :
20922 CFLAGS="$CFLAGS -D__sparc__"
20923 LINTFLAGS="$LINTFLAGS -D__sparc__"
20924 fi ;;
20925 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20926 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20927 if test ${ac_cv_cpp_def___powerpc64__+y}
20928 then :
20929 printf %s "(cached) " >&6
20930 else $as_nop
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #ifndef __powerpc64__
20935 #endif
20936 _ACEOF
20937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20938 $EGREP "yes" >/dev/null 2>&1
20939 then :
20940 ac_cv_cpp_def___powerpc64__=yes
20941 else $as_nop
20942 ac_cv_cpp_def___powerpc64__=no
20944 rm -rf conftest*
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20948 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20949 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20950 then :
20951 CFLAGS="$CFLAGS -D__powerpc64__"
20952 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20953 fi ;;
20954 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20955 printf %s "checking whether we need to define __powerpc__... " >&6; }
20956 if test ${ac_cv_cpp_def___powerpc__+y}
20957 then :
20958 printf %s "(cached) " >&6
20959 else $as_nop
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #ifndef __powerpc__
20964 #endif
20965 _ACEOF
20966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20967 $EGREP "yes" >/dev/null 2>&1
20968 then :
20969 ac_cv_cpp_def___powerpc__=yes
20970 else $as_nop
20971 ac_cv_cpp_def___powerpc__=no
20973 rm -rf conftest*
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20977 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20978 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20979 then :
20980 CFLAGS="$CFLAGS -D__powerpc__"
20981 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20982 fi ;;
20983 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20984 printf %s "checking whether we need to define __aarch64__... " >&6; }
20985 if test ${ac_cv_cpp_def___aarch64__+y}
20986 then :
20987 printf %s "(cached) " >&6
20988 else $as_nop
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #ifndef __aarch64__
20993 #endif
20994 _ACEOF
20995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20996 $EGREP "yes" >/dev/null 2>&1
20997 then :
20998 ac_cv_cpp_def___aarch64__=yes
20999 else $as_nop
21000 ac_cv_cpp_def___aarch64__=no
21002 rm -rf conftest*
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21006 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21007 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21008 then :
21009 CFLAGS="$CFLAGS -D__aarch64__"
21010 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21011 fi ;;
21012 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21013 printf %s "checking whether we need to define __arm__... " >&6; }
21014 if test ${ac_cv_cpp_def___arm__+y}
21015 then :
21016 printf %s "(cached) " >&6
21017 else $as_nop
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #ifndef __arm__
21022 #endif
21023 _ACEOF
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev/null 2>&1
21026 then :
21027 ac_cv_cpp_def___arm__=yes
21028 else $as_nop
21029 ac_cv_cpp_def___arm__=no
21031 rm -rf conftest*
21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21035 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21036 if test "x$ac_cv_cpp_def___arm__" = xyes
21037 then :
21038 CFLAGS="$CFLAGS -D__arm__"
21039 LINTFLAGS="$LINTFLAGS -D__arm__"
21040 fi ;;
21041 esac
21043 case $host_vendor in
21044 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21045 printf %s "checking whether we need to define __sun__... " >&6; }
21046 if test ${ac_cv_cpp_def___sun__+y}
21047 then :
21048 printf %s "(cached) " >&6
21049 else $as_nop
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #ifndef __sun__
21054 #endif
21055 _ACEOF
21056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21057 $EGREP "yes" >/dev/null 2>&1
21058 then :
21059 ac_cv_cpp_def___sun__=yes
21060 else $as_nop
21061 ac_cv_cpp_def___sun__=no
21063 rm -rf conftest*
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21067 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21068 if test "x$ac_cv_cpp_def___sun__" = xyes
21069 then :
21070 CFLAGS="$CFLAGS -D__sun__"
21071 LINTFLAGS="$LINTFLAGS -D__sun__"
21072 fi ;;
21073 esac
21079 ac_config_commands="$ac_config_commands include/stamp-h"
21081 printf %s "creating Makefile rules..." >&6
21083 makedep_flags=""
21084 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21086 wine_srcdir=
21087 test "$srcdir" = . || wine_srcdir="$srcdir/"
21089 ac_config_links="$ac_config_links wine:tools/winewrapper"
21090 wine_fn_config_symlink wine
21091 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21092 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21093 wine_fn_config_symlink wine64
21096 wine_fn_config_makefile dlls/acledit enable_acledit
21097 wine_fn_config_makefile dlls/aclui enable_aclui
21098 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21099 wine_fn_config_makefile dlls/activeds enable_activeds
21100 wine_fn_config_makefile dlls/activeds/tests enable_tests
21101 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21102 wine_fn_config_makefile dlls/adsldp enable_adsldp
21103 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21104 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21105 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21106 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21107 wine_fn_config_makefile dlls/advpack enable_advpack
21108 wine_fn_config_makefile dlls/advpack/tests enable_tests
21109 wine_fn_config_makefile dlls/amsi enable_amsi
21110 wine_fn_config_makefile dlls/amstream enable_amstream
21111 wine_fn_config_makefile dlls/amstream/tests enable_tests
21112 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21113 wine_fn_config_makefile dlls/apphelp enable_apphelp
21114 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21115 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21116 wine_fn_config_makefile dlls/atl enable_atl
21117 wine_fn_config_makefile dlls/atl/tests enable_tests
21118 wine_fn_config_makefile dlls/atl100 enable_atl100
21119 wine_fn_config_makefile dlls/atl100/tests enable_tests
21120 wine_fn_config_makefile dlls/atl110 enable_atl110
21121 wine_fn_config_makefile dlls/atl110/tests enable_tests
21122 wine_fn_config_makefile dlls/atl80 enable_atl80
21123 wine_fn_config_makefile dlls/atl80/tests enable_tests
21124 wine_fn_config_makefile dlls/atl90 enable_atl90
21125 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21126 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21127 wine_fn_config_makefile dlls/atmlib enable_atmlib
21128 wine_fn_config_makefile dlls/authz enable_authz
21129 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21130 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21131 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21132 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21133 wine_fn_config_makefile dlls/avrt enable_avrt
21134 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21135 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21136 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21137 wine_fn_config_makefile dlls/browseui enable_browseui
21138 wine_fn_config_makefile dlls/browseui/tests enable_tests
21139 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21140 wine_fn_config_makefile dlls/cabinet enable_cabinet
21141 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21142 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21143 wine_fn_config_makefile dlls/cards enable_cards
21144 wine_fn_config_makefile dlls/cdosys enable_cdosys
21145 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21146 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21147 wine_fn_config_makefile dlls/clusapi enable_clusapi
21148 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21149 wine_fn_config_makefile dlls/combase enable_combase
21150 wine_fn_config_makefile dlls/combase/tests enable_tests
21151 wine_fn_config_makefile dlls/comcat enable_comcat
21152 wine_fn_config_makefile dlls/comcat/tests enable_tests
21153 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21154 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21155 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21156 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21157 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21158 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21159 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21160 wine_fn_config_makefile dlls/compstui enable_compstui
21161 wine_fn_config_makefile dlls/compstui/tests enable_tests
21162 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21163 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21164 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21165 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21166 wine_fn_config_makefile dlls/connect enable_connect
21167 wine_fn_config_makefile dlls/credui enable_credui
21168 wine_fn_config_makefile dlls/credui/tests enable_tests
21169 wine_fn_config_makefile dlls/crtdll enable_crtdll
21170 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21171 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21172 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21173 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21174 wine_fn_config_makefile dlls/cryptext enable_cryptext
21175 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21176 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21177 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21178 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21179 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21180 wine_fn_config_makefile dlls/cryptui enable_cryptui
21181 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21182 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21183 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21184 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21185 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21186 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21187 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21188 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21189 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21190 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21191 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21192 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21193 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21194 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21195 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21197 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21199 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21200 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21201 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21202 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21203 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21204 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21205 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21206 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21207 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21208 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21209 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21210 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21211 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21212 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21213 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21214 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21215 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21217 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21219 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dim enable_d3dim
21221 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21222 wine_fn_config_makefile dlls/d3drm enable_d3drm
21223 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21225 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21226 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21228 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21229 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21230 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21231 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21232 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21233 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21234 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21236 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21238 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21240 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21242 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21244 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21246 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21248 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21250 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21251 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21252 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21253 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21254 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21255 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21256 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21257 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21258 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21259 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21260 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21261 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21262 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21263 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21264 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21265 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21266 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21267 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21268 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21269 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21270 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21271 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21272 wine_fn_config_makefile dlls/davclnt enable_davclnt
21273 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21274 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21275 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21276 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21277 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21278 wine_fn_config_makefile dlls/dcomp enable_dcomp
21279 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21280 wine_fn_config_makefile dlls/ddraw enable_ddraw
21281 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21282 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21283 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21284 wine_fn_config_makefile dlls/devenum enable_devenum
21285 wine_fn_config_makefile dlls/devenum/tests enable_tests
21286 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21287 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21288 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21289 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21290 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21291 wine_fn_config_makefile dlls/difxapi enable_difxapi
21292 wine_fn_config_makefile dlls/dinput enable_dinput
21293 wine_fn_config_makefile dlls/dinput/tests enable_tests
21294 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21295 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21296 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21297 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21298 wine_fn_config_makefile dlls/dispex enable_dispex
21299 wine_fn_config_makefile dlls/dispex/tests enable_tests
21300 wine_fn_config_makefile dlls/display.drv16 enable_win16
21301 wine_fn_config_makefile dlls/dmband enable_dmband
21302 wine_fn_config_makefile dlls/dmband/tests enable_tests
21303 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21304 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21305 wine_fn_config_makefile dlls/dmime enable_dmime
21306 wine_fn_config_makefile dlls/dmime/tests enable_tests
21307 wine_fn_config_makefile dlls/dmloader enable_dmloader
21308 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21309 wine_fn_config_makefile dlls/dmscript enable_dmscript
21310 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21311 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21312 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21313 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21314 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21315 wine_fn_config_makefile dlls/dmusic enable_dmusic
21316 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21317 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21318 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21319 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21320 wine_fn_config_makefile dlls/dplay enable_dplay
21321 wine_fn_config_makefile dlls/dplayx enable_dplayx
21322 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21323 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21324 wine_fn_config_makefile dlls/dpnet enable_dpnet
21325 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21326 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21327 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21328 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21329 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21330 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21331 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21332 wine_fn_config_makefile dlls/drmclien enable_drmclien
21333 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21334 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21335 wine_fn_config_makefile dlls/dsound enable_dsound
21336 wine_fn_config_makefile dlls/dsound/tests enable_tests
21337 wine_fn_config_makefile dlls/dsquery enable_dsquery
21338 wine_fn_config_makefile dlls/dssenh enable_dssenh
21339 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21340 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21341 wine_fn_config_makefile dlls/dswave enable_dswave
21342 wine_fn_config_makefile dlls/dswave/tests enable_tests
21343 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21344 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21345 wine_fn_config_makefile dlls/dwrite enable_dwrite
21346 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21347 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21348 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21349 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21350 wine_fn_config_makefile dlls/dxgi enable_dxgi
21351 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21352 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21353 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21354 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21355 wine_fn_config_makefile dlls/esent enable_esent
21356 wine_fn_config_makefile dlls/evr enable_evr
21357 wine_fn_config_makefile dlls/evr/tests enable_tests
21358 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21359 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21360 wine_fn_config_makefile dlls/faultrep enable_faultrep
21361 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21362 wine_fn_config_makefile dlls/feclient enable_feclient
21363 wine_fn_config_makefile dlls/fltlib enable_fltlib
21364 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21365 wine_fn_config_makefile dlls/fntcache enable_fntcache
21366 wine_fn_config_makefile dlls/fontsub enable_fontsub
21367 wine_fn_config_makefile dlls/fusion enable_fusion
21368 wine_fn_config_makefile dlls/fusion/tests enable_tests
21369 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21370 wine_fn_config_makefile dlls/gameux enable_gameux
21371 wine_fn_config_makefile dlls/gameux/tests enable_tests
21372 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21373 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21374 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21375 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21376 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21377 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21378 wine_fn_config_makefile dlls/glu32 enable_glu32
21379 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21380 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21381 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21382 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21383 wine_fn_config_makefile dlls/hal enable_hal
21384 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21385 wine_fn_config_makefile dlls/hid enable_hid
21386 wine_fn_config_makefile dlls/hid/tests enable_tests
21387 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21388 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21389 wine_fn_config_makefile dlls/hlink enable_hlink
21390 wine_fn_config_makefile dlls/hlink/tests enable_tests
21391 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21392 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21393 wine_fn_config_makefile dlls/http.sys enable_http_sys
21394 wine_fn_config_makefile dlls/httpapi enable_httpapi
21395 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21396 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21397 wine_fn_config_makefile dlls/iccvid enable_iccvid
21398 wine_fn_config_makefile dlls/icmp enable_icmp
21399 wine_fn_config_makefile dlls/ieframe enable_ieframe
21400 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21401 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21402 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21403 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21404 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21405 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21406 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21407 wine_fn_config_makefile dlls/imm32 enable_imm32
21408 wine_fn_config_makefile dlls/imm32/tests enable_tests
21409 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21410 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21411 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21412 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21413 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21414 wine_fn_config_makefile dlls/infosoft enable_infosoft
21415 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21416 wine_fn_config_makefile dlls/initpki enable_initpki
21417 wine_fn_config_makefile dlls/inkobj enable_inkobj
21418 wine_fn_config_makefile dlls/inseng enable_inseng
21419 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21420 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21421 wine_fn_config_makefile dlls/iprop enable_iprop
21422 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21423 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21424 wine_fn_config_makefile dlls/itircl enable_itircl
21425 wine_fn_config_makefile dlls/itss enable_itss
21426 wine_fn_config_makefile dlls/itss/tests enable_tests
21427 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21428 wine_fn_config_makefile dlls/jscript enable_jscript
21429 wine_fn_config_makefile dlls/jscript/tests enable_tests
21430 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21431 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21432 wine_fn_config_makefile dlls/kerberos enable_kerberos
21433 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21434 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21435 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21436 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21437 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21438 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21439 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21440 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21441 wine_fn_config_makefile dlls/ksuser enable_ksuser
21442 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21443 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21444 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21445 wine_fn_config_makefile dlls/loadperf enable_loadperf
21446 wine_fn_config_makefile dlls/localspl enable_localspl
21447 wine_fn_config_makefile dlls/localspl/tests enable_tests
21448 wine_fn_config_makefile dlls/localui enable_localui
21449 wine_fn_config_makefile dlls/localui/tests enable_tests
21450 wine_fn_config_makefile dlls/lz32 enable_lz32
21451 wine_fn_config_makefile dlls/lz32/tests enable_tests
21452 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21453 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21454 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21455 wine_fn_config_makefile dlls/mapistub enable_mapistub
21456 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21457 wine_fn_config_makefile dlls/mcicda enable_mcicda
21458 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21459 wine_fn_config_makefile dlls/mciseq enable_mciseq
21460 wine_fn_config_makefile dlls/mciwave enable_mciwave
21461 wine_fn_config_makefile dlls/mf enable_mf
21462 wine_fn_config_makefile dlls/mf/tests enable_tests
21463 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21464 wine_fn_config_makefile dlls/mferror enable_mferror
21465 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21466 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21467 wine_fn_config_makefile dlls/mfplat enable_mfplat
21468 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21469 wine_fn_config_makefile dlls/mfplay enable_mfplay
21470 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21471 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21472 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21473 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21474 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21475 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21476 wine_fn_config_makefile dlls/midimap enable_midimap
21477 wine_fn_config_makefile dlls/mlang enable_mlang
21478 wine_fn_config_makefile dlls/mlang/tests enable_tests
21479 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21480 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21481 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21482 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21483 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21484 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21485 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21486 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21487 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21488 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21489 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21490 wine_fn_config_makefile dlls/mpr enable_mpr
21491 wine_fn_config_makefile dlls/mpr/tests enable_tests
21492 wine_fn_config_makefile dlls/mprapi enable_mprapi
21493 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21494 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21495 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21496 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21497 wine_fn_config_makefile dlls/msado15 enable_msado15
21498 wine_fn_config_makefile dlls/msado15/tests enable_tests
21499 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21500 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21501 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21502 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21503 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21504 wine_fn_config_makefile dlls/mscms enable_mscms
21505 wine_fn_config_makefile dlls/mscms/tests enable_tests
21506 wine_fn_config_makefile dlls/mscoree enable_mscoree
21507 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21508 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21509 wine_fn_config_makefile dlls/msctf enable_msctf
21510 wine_fn_config_makefile dlls/msctf/tests enable_tests
21511 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21512 wine_fn_config_makefile dlls/msctfp enable_msctfp
21513 wine_fn_config_makefile dlls/msdaps enable_msdaps
21514 wine_fn_config_makefile dlls/msdasql enable_msdasql
21515 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21516 wine_fn_config_makefile dlls/msdelta enable_msdelta
21517 wine_fn_config_makefile dlls/msdmo enable_msdmo
21518 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21519 wine_fn_config_makefile dlls/msdrm enable_msdrm
21520 wine_fn_config_makefile dlls/msftedit enable_msftedit
21521 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21522 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21523 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21524 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21525 wine_fn_config_makefile dlls/mshtml enable_mshtml
21526 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21527 wine_fn_config_makefile dlls/msi enable_msi
21528 wine_fn_config_makefile dlls/msi/tests enable_tests
21529 wine_fn_config_makefile dlls/msident enable_msident
21530 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21531 wine_fn_config_makefile dlls/msimsg enable_msimsg
21532 wine_fn_config_makefile dlls/msimtf enable_msimtf
21533 wine_fn_config_makefile dlls/msisip enable_msisip
21534 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21535 wine_fn_config_makefile dlls/msls31 enable_msls31
21536 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21537 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21538 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21539 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21540 wine_fn_config_makefile dlls/msports enable_msports
21541 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21542 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21543 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21544 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21545 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21546 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21547 wine_fn_config_makefile dlls/mstask enable_mstask
21548 wine_fn_config_makefile dlls/mstask/tests enable_tests
21549 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21550 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21551 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21552 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21553 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21554 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21555 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21556 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21557 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21558 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21559 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21560 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21561 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21562 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21564 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21565 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21566 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21567 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21569 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21571 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21572 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21573 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21574 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21576 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21577 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21579 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21581 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21582 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21583 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21584 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21586 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21588 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21589 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21590 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21591 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21592 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21593 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21594 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21595 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21596 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21597 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21598 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21599 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21600 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21601 wine_fn_config_makefile dlls/mswsock enable_mswsock
21602 wine_fn_config_makefile dlls/msxml enable_msxml
21603 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21604 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21605 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21606 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21607 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21608 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21609 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21610 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21611 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21612 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21613 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21614 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21615 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21616 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21617 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21618 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21619 wine_fn_config_makefile dlls/netprofm enable_netprofm
21620 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21621 wine_fn_config_makefile dlls/netutils enable_netutils
21622 wine_fn_config_makefile dlls/newdev enable_newdev
21623 wine_fn_config_makefile dlls/ninput enable_ninput
21624 wine_fn_config_makefile dlls/ninput/tests enable_tests
21625 wine_fn_config_makefile dlls/normaliz enable_normaliz
21626 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21627 wine_fn_config_makefile dlls/npptools enable_npptools
21628 wine_fn_config_makefile dlls/nsi enable_nsi
21629 wine_fn_config_makefile dlls/nsi/tests enable_tests
21630 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21631 wine_fn_config_makefile dlls/ntdll enable_ntdll
21632 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21633 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21634 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21635 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21636 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21637 wine_fn_config_makefile dlls/ntprint enable_ntprint
21638 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21639 wine_fn_config_makefile dlls/objsel enable_objsel
21640 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21641 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21642 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21643 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21644 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21645 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21646 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21647 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21648 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21649 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21650 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21651 wine_fn_config_makefile dlls/ole32 enable_ole32
21652 wine_fn_config_makefile dlls/ole32/tests enable_tests
21653 wine_fn_config_makefile dlls/oleacc enable_oleacc
21654 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21655 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21656 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21657 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21658 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21659 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21660 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21661 wine_fn_config_makefile dlls/oledlg enable_oledlg
21662 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21663 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21664 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21665 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21666 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21667 wine_fn_config_makefile dlls/opcservices enable_opcservices
21668 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21669 wine_fn_config_makefile dlls/opencl enable_opencl
21670 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21671 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21672 wine_fn_config_makefile dlls/packager enable_packager
21673 wine_fn_config_makefile dlls/packager/tests enable_tests
21674 wine_fn_config_makefile dlls/pdh enable_pdh
21675 wine_fn_config_makefile dlls/pdh/tests enable_tests
21676 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21677 wine_fn_config_makefile dlls/pidgen enable_pidgen
21678 wine_fn_config_makefile dlls/powrprof enable_powrprof
21679 wine_fn_config_makefile dlls/printui enable_printui
21680 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21681 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21682 wine_fn_config_makefile dlls/propsys enable_propsys
21683 wine_fn_config_makefile dlls/propsys/tests enable_tests
21684 wine_fn_config_makefile dlls/psapi enable_psapi
21685 wine_fn_config_makefile dlls/psapi/tests enable_tests
21686 wine_fn_config_makefile dlls/pstorec enable_pstorec
21687 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21688 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21689 wine_fn_config_makefile dlls/qasf enable_qasf
21690 wine_fn_config_makefile dlls/qasf/tests enable_tests
21691 wine_fn_config_makefile dlls/qcap enable_qcap
21692 wine_fn_config_makefile dlls/qcap/tests enable_tests
21693 wine_fn_config_makefile dlls/qdvd enable_qdvd
21694 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21695 wine_fn_config_makefile dlls/qedit enable_qedit
21696 wine_fn_config_makefile dlls/qedit/tests enable_tests
21697 wine_fn_config_makefile dlls/qmgr enable_qmgr
21698 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21699 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21700 wine_fn_config_makefile dlls/quartz enable_quartz
21701 wine_fn_config_makefile dlls/quartz/tests enable_tests
21702 wine_fn_config_makefile dlls/query enable_query
21703 wine_fn_config_makefile dlls/qwave enable_qwave
21704 wine_fn_config_makefile dlls/qwave/tests enable_tests
21705 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21706 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21707 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21708 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21709 wine_fn_config_makefile dlls/regapi enable_regapi
21710 wine_fn_config_makefile dlls/resutils enable_resutils
21711 wine_fn_config_makefile dlls/riched20 enable_riched20
21712 wine_fn_config_makefile dlls/riched20/tests enable_tests
21713 wine_fn_config_makefile dlls/riched32 enable_riched32
21714 wine_fn_config_makefile dlls/riched32/tests enable_tests
21715 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21716 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21717 wine_fn_config_makefile dlls/rsabase enable_rsabase
21718 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21719 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21720 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21721 wine_fn_config_makefile dlls/rtutils enable_rtutils
21722 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21723 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21724 wine_fn_config_makefile dlls/samlib enable_samlib
21725 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21726 wine_fn_config_makefile dlls/sapi enable_sapi
21727 wine_fn_config_makefile dlls/sapi/tests enable_tests
21728 wine_fn_config_makefile dlls/sas enable_sas
21729 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21730 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21731 wine_fn_config_makefile dlls/sccbase enable_sccbase
21732 wine_fn_config_makefile dlls/schannel enable_schannel
21733 wine_fn_config_makefile dlls/schannel/tests enable_tests
21734 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21735 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21736 wine_fn_config_makefile dlls/scrobj enable_scrobj
21737 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21738 wine_fn_config_makefile dlls/scrrun enable_scrrun
21739 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21740 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21741 wine_fn_config_makefile dlls/sechost enable_sechost
21742 wine_fn_config_makefile dlls/secur32 enable_secur32
21743 wine_fn_config_makefile dlls/secur32/tests enable_tests
21744 wine_fn_config_makefile dlls/security enable_security
21745 wine_fn_config_makefile dlls/sensapi enable_sensapi
21746 wine_fn_config_makefile dlls/serialui enable_serialui
21747 wine_fn_config_makefile dlls/serialui/tests enable_tests
21748 wine_fn_config_makefile dlls/setupapi enable_setupapi
21749 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21750 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21751 wine_fn_config_makefile dlls/sfc enable_sfc
21752 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21753 wine_fn_config_makefile dlls/shcore enable_shcore
21754 wine_fn_config_makefile dlls/shcore/tests enable_tests
21755 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21756 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21757 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21758 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21759 wine_fn_config_makefile dlls/shell32 enable_shell32
21760 wine_fn_config_makefile dlls/shell32/tests enable_tests
21761 wine_fn_config_makefile dlls/shfolder enable_shfolder
21762 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21763 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21764 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21765 wine_fn_config_makefile dlls/slc enable_slc
21766 wine_fn_config_makefile dlls/slc/tests enable_tests
21767 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21768 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21769 wine_fn_config_makefile dlls/softpub enable_softpub
21770 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21771 wine_fn_config_makefile dlls/spoolss enable_spoolss
21772 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21773 wine_fn_config_makefile dlls/sppc enable_sppc
21774 wine_fn_config_makefile dlls/srclient enable_srclient
21775 wine_fn_config_makefile dlls/srvcli enable_srvcli
21776 wine_fn_config_makefile dlls/sspicli enable_sspicli
21777 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21778 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21779 wine_fn_config_makefile dlls/sti enable_sti
21780 wine_fn_config_makefile dlls/sti/tests enable_tests
21781 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21782 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21783 wine_fn_config_makefile dlls/strmdll enable_strmdll
21784 wine_fn_config_makefile dlls/svrapi enable_svrapi
21785 wine_fn_config_makefile dlls/sxs enable_sxs
21786 wine_fn_config_makefile dlls/sxs/tests enable_tests
21787 wine_fn_config_makefile dlls/system.drv16 enable_win16
21788 wine_fn_config_makefile dlls/t2embed enable_t2embed
21789 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21790 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21791 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21792 wine_fn_config_makefile dlls/taskschd enable_taskschd
21793 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21794 wine_fn_config_makefile dlls/tbs enable_tbs
21795 wine_fn_config_makefile dlls/tdh enable_tdh
21796 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21797 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21798 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21799 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21800 wine_fn_config_makefile dlls/traffic enable_traffic
21801 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21802 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21803 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21804 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21805 wine_fn_config_makefile dlls/tzres enable_tzres
21806 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21807 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21808 wine_fn_config_makefile dlls/uianimation enable_uianimation
21809 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21810 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21811 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21812 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21813 wine_fn_config_makefile dlls/unicows enable_unicows
21814 wine_fn_config_makefile dlls/updspapi enable_updspapi
21815 wine_fn_config_makefile dlls/url enable_url
21816 wine_fn_config_makefile dlls/urlmon enable_urlmon
21817 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21818 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21819 wine_fn_config_makefile dlls/user.exe16 enable_win16
21820 wine_fn_config_makefile dlls/user32 enable_user32
21821 wine_fn_config_makefile dlls/user32/tests enable_tests
21822 wine_fn_config_makefile dlls/userenv enable_userenv
21823 wine_fn_config_makefile dlls/userenv/tests enable_tests
21824 wine_fn_config_makefile dlls/usp10 enable_usp10
21825 wine_fn_config_makefile dlls/usp10/tests enable_tests
21826 wine_fn_config_makefile dlls/utildll enable_utildll
21827 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21828 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21829 wine_fn_config_makefile dlls/vbscript enable_vbscript
21830 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21831 wine_fn_config_makefile dlls/vcomp enable_vcomp
21832 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21833 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21834 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21835 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21836 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21837 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21838 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21839 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21840 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21841 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21842 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21843 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21844 wine_fn_config_makefile dlls/version enable_version
21845 wine_fn_config_makefile dlls/version/tests enable_tests
21846 wine_fn_config_makefile dlls/vga enable_vga
21847 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21848 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21849 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21850 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21851 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21852 wine_fn_config_makefile dlls/vssapi enable_vssapi
21853 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21854 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21855 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21856 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21857 wine_fn_config_makefile dlls/w32skrnl enable_win16
21858 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21859 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21860 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21861 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21862 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21863 wine_fn_config_makefile dlls/wdscore enable_wdscore
21864 wine_fn_config_makefile dlls/webservices enable_webservices
21865 wine_fn_config_makefile dlls/webservices/tests enable_tests
21866 wine_fn_config_makefile dlls/websocket enable_websocket
21867 wine_fn_config_makefile dlls/wer enable_wer
21868 wine_fn_config_makefile dlls/wer/tests enable_tests
21869 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21870 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21871 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21872 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21873 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21874 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21875 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21876 wine_fn_config_makefile dlls/win32u enable_win32u
21877 wine_fn_config_makefile dlls/win32u/tests enable_tests
21878 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21879 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21880 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21881 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21882 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21883 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21884 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21885 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21886 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21887 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21888 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21889 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21890 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21891 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21892 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21893 wine_fn_config_makefile dlls/windows.media enable_windows_media
21894 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21895 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21896 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21897 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21898 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21899 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21900 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21901 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21902 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21903 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21904 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21905 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21906 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21907 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21908 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21909 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21910 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21911 wine_fn_config_makefile dlls/wined3d enable_wined3d
21912 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21913 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21914 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21915 wine_fn_config_makefile dlls/winemapi enable_winemapi
21916 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21917 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21918 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21919 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21920 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21921 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21922 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21923 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21924 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21925 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21926 wine_fn_config_makefile dlls/wing32 enable_wing32
21927 wine_fn_config_makefile dlls/winhttp enable_winhttp
21928 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21929 wine_fn_config_makefile dlls/wininet enable_wininet
21930 wine_fn_config_makefile dlls/wininet/tests enable_tests
21931 wine_fn_config_makefile dlls/winmm enable_winmm
21932 wine_fn_config_makefile dlls/winmm/tests enable_tests
21933 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21934 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21935 wine_fn_config_makefile dlls/winprint enable_winprint
21936 wine_fn_config_makefile dlls/winscard enable_winscard
21937 wine_fn_config_makefile dlls/winscard/tests enable_tests
21938 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21939 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21940 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21941 wine_fn_config_makefile dlls/winsta enable_winsta
21942 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21943 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21944 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21945 wine_fn_config_makefile dlls/wintrust enable_wintrust
21946 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21947 wine_fn_config_makefile dlls/wintypes enable_wintypes
21948 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21949 wine_fn_config_makefile dlls/winusb enable_winusb
21950 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21951 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21952 wine_fn_config_makefile dlls/wlanui enable_wlanui
21953 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21954 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21955 wine_fn_config_makefile dlls/wmasf enable_wmasf
21956 wine_fn_config_makefile dlls/wmi enable_wmi
21957 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21958 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21959 wine_fn_config_makefile dlls/wmp enable_wmp
21960 wine_fn_config_makefile dlls/wmp/tests enable_tests
21961 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21962 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21963 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21964 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21965 wine_fn_config_makefile dlls/wofutil enable_wofutil
21966 wine_fn_config_makefile dlls/wow32 enable_win16
21967 wine_fn_config_makefile dlls/wow64 enable_wow64
21968 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21969 wine_fn_config_makefile dlls/wow64win enable_wow64win
21970 wine_fn_config_makefile dlls/wpc enable_wpc
21971 wine_fn_config_makefile dlls/wpc/tests enable_tests
21972 wine_fn_config_makefile dlls/wpcap enable_wpcap
21973 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21974 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21975 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21976 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21977 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21978 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21979 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21980 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21981 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21982 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21983 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21984 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21985 wine_fn_config_makefile dlls/wuapi enable_wuapi
21986 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21987 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21988 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21989 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21990 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21991 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21992 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21993 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21994 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21995 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21996 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21997 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21998 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21999 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22000 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22001 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22002 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22003 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22004 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22005 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22006 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22007 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22008 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22009 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22010 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22011 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22012 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22013 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22014 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22015 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22016 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22017 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22018 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22019 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22020 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22021 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22022 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22023 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22024 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22025 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22026 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22027 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22028 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22029 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22030 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22031 wine_fn_config_makefile dlls/xmllite enable_xmllite
22032 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22033 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22034 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22035 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22036 wine_fn_config_makefile fonts enable_fonts
22037 wine_fn_config_makefile include enable_include
22038 wine_fn_config_makefile libs/adsiid enable_adsiid
22039 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22040 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22041 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22042 wine_fn_config_makefile libs/dxguid enable_dxguid
22043 wine_fn_config_makefile libs/faudio enable_faudio
22044 wine_fn_config_makefile libs/gsm enable_gsm
22045 wine_fn_config_makefile libs/jpeg enable_jpeg
22046 wine_fn_config_makefile libs/jxr enable_jxr
22047 wine_fn_config_makefile libs/lcms2 enable_lcms2
22048 wine_fn_config_makefile libs/ldap enable_ldap
22049 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22050 wine_fn_config_makefile libs/mpg123 enable_mpg123
22051 wine_fn_config_makefile libs/musl enable_musl
22052 wine_fn_config_makefile libs/png enable_png
22053 wine_fn_config_makefile libs/strmbase enable_strmbase
22054 wine_fn_config_makefile libs/strmiids enable_strmiids
22055 wine_fn_config_makefile libs/tiff enable_tiff
22056 wine_fn_config_makefile libs/uuid enable_uuid
22057 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22058 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22059 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22060 wine_fn_config_makefile libs/xml2 enable_xml2
22061 wine_fn_config_makefile libs/xslt enable_xslt
22062 wine_fn_config_makefile libs/zlib enable_zlib
22063 wine_fn_config_makefile libs/zydis enable_zydis
22064 wine_fn_config_makefile loader enable_loader
22065 wine_fn_config_makefile nls enable_nls
22066 wine_fn_config_makefile po enable_po
22067 wine_fn_config_makefile programs/arp enable_arp
22068 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22069 wine_fn_config_makefile programs/attrib enable_attrib
22070 wine_fn_config_makefile programs/cabarc enable_cabarc
22071 wine_fn_config_makefile programs/cacls enable_cacls
22072 wine_fn_config_makefile programs/certutil enable_certutil
22073 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22074 wine_fn_config_makefile programs/clock enable_clock
22075 wine_fn_config_makefile programs/cmd enable_cmd
22076 wine_fn_config_makefile programs/cmd/tests enable_tests
22077 wine_fn_config_makefile programs/conhost enable_conhost
22078 wine_fn_config_makefile programs/conhost/tests enable_tests
22079 wine_fn_config_makefile programs/control enable_control
22080 wine_fn_config_makefile programs/cscript enable_cscript
22081 wine_fn_config_makefile programs/dism enable_dism
22082 wine_fn_config_makefile programs/dllhost enable_dllhost
22083 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22084 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22085 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22086 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22087 wine_fn_config_makefile programs/eject enable_eject
22088 wine_fn_config_makefile programs/expand enable_expand
22089 wine_fn_config_makefile programs/explorer enable_explorer
22090 wine_fn_config_makefile programs/explorer/tests enable_tests
22091 wine_fn_config_makefile programs/extrac32 enable_extrac32
22092 wine_fn_config_makefile programs/fc enable_fc
22093 wine_fn_config_makefile programs/find enable_find
22094 wine_fn_config_makefile programs/find/tests enable_tests
22095 wine_fn_config_makefile programs/findstr enable_findstr
22096 wine_fn_config_makefile programs/fsutil enable_fsutil
22097 wine_fn_config_makefile programs/fsutil/tests enable_tests
22098 wine_fn_config_makefile programs/hh enable_hh
22099 wine_fn_config_makefile programs/hostname enable_hostname
22100 wine_fn_config_makefile programs/icacls enable_icacls
22101 wine_fn_config_makefile programs/icinfo enable_icinfo
22102 wine_fn_config_makefile programs/iexplore enable_iexplore
22103 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22104 wine_fn_config_makefile programs/lodctr enable_lodctr
22105 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22106 wine_fn_config_makefile programs/mshta enable_mshta
22107 wine_fn_config_makefile programs/msidb enable_msidb
22108 wine_fn_config_makefile programs/msiexec enable_msiexec
22109 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22110 wine_fn_config_makefile programs/net enable_net
22111 wine_fn_config_makefile programs/netsh enable_netsh
22112 wine_fn_config_makefile programs/netstat enable_netstat
22113 wine_fn_config_makefile programs/ngen enable_ngen
22114 wine_fn_config_makefile programs/notepad enable_notepad
22115 wine_fn_config_makefile programs/oleview enable_oleview
22116 wine_fn_config_makefile programs/ping enable_ping
22117 wine_fn_config_makefile programs/plugplay enable_plugplay
22118 wine_fn_config_makefile programs/powershell enable_powershell
22119 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22120 wine_fn_config_makefile programs/progman enable_progman
22121 wine_fn_config_makefile programs/reg enable_reg
22122 wine_fn_config_makefile programs/reg/tests enable_tests
22123 wine_fn_config_makefile programs/regasm enable_regasm
22124 wine_fn_config_makefile programs/regedit enable_regedit
22125 wine_fn_config_makefile programs/regedit/tests enable_tests
22126 wine_fn_config_makefile programs/regini enable_regini
22127 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22128 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22129 wine_fn_config_makefile programs/robocopy enable_robocopy
22130 wine_fn_config_makefile programs/rpcss enable_rpcss
22131 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22132 wine_fn_config_makefile programs/rundll32 enable_rundll32
22133 wine_fn_config_makefile programs/sc enable_sc
22134 wine_fn_config_makefile programs/sc/tests enable_tests
22135 wine_fn_config_makefile programs/schtasks enable_schtasks
22136 wine_fn_config_makefile programs/schtasks/tests enable_tests
22137 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22138 wine_fn_config_makefile programs/secedit enable_secedit
22139 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22140 wine_fn_config_makefile programs/services enable_services
22141 wine_fn_config_makefile programs/services/tests enable_tests
22142 wine_fn_config_makefile programs/setx enable_setx
22143 wine_fn_config_makefile programs/shutdown enable_shutdown
22144 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22145 wine_fn_config_makefile programs/start enable_start
22146 wine_fn_config_makefile programs/subst enable_subst
22147 wine_fn_config_makefile programs/svchost enable_svchost
22148 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22149 wine_fn_config_makefile programs/taskkill enable_taskkill
22150 wine_fn_config_makefile programs/tasklist enable_tasklist
22151 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22152 wine_fn_config_makefile programs/termsv enable_termsv
22153 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22154 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22155 wine_fn_config_makefile programs/view enable_view
22156 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22157 wine_fn_config_makefile programs/where enable_where
22158 wine_fn_config_makefile programs/whoami enable_whoami
22159 wine_fn_config_makefile programs/wineboot enable_wineboot
22160 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22161 wine_fn_config_makefile programs/winecfg enable_winecfg
22162 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22163 wine_fn_config_makefile programs/winedbg enable_winedbg
22164 wine_fn_config_makefile programs/winedevice enable_winedevice
22165 wine_fn_config_makefile programs/winefile enable_winefile
22166 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22167 wine_fn_config_makefile programs/winemine enable_winemine
22168 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22169 wine_fn_config_makefile programs/winepath enable_winepath
22170 wine_fn_config_makefile programs/winetest enable_winetest
22171 wine_fn_config_makefile programs/winevdm enable_win16
22172 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22173 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22174 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22175 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22176 wine_fn_config_makefile programs/winver enable_winver
22177 wine_fn_config_makefile programs/wmic enable_wmic
22178 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22179 wine_fn_config_makefile programs/wordpad enable_wordpad
22180 wine_fn_config_makefile programs/write enable_write
22181 wine_fn_config_makefile programs/wscript enable_wscript
22182 wine_fn_config_makefile programs/wscript/tests enable_tests
22183 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22184 wine_fn_config_makefile programs/wusa enable_wusa
22185 wine_fn_config_makefile programs/xcopy enable_xcopy
22186 wine_fn_config_makefile programs/xcopy/tests enable_tests
22187 wine_fn_config_makefile server enable_server
22188 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22190 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22191 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22192 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22193 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22194 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22199 as_fn_append CONFIGURE_TARGETS " TAGS"
22200 as_fn_append CONFIGURE_TARGETS " tags"
22201 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22202 as_fn_append CONFIGURE_TARGETS " config.log"
22203 as_fn_append CONFIGURE_TARGETS " config.status"
22204 as_fn_append CONFIGURE_TARGETS " include/config.h"
22205 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22206 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22208 if test "x$enable_tools" != xno
22209 then
22210 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22211 ac_config_commands="$ac_config_commands tools/makedep"
22215 ac_config_commands="$ac_config_commands Makefile"
22219 SHELL=/bin/sh
22222 as_fn_append wine_rules "
22223 all: wine
22224 @echo \"Wine build complete.\"
22225 .INIT: Makefile
22226 .MAKEFILEDEPS:
22227 all: Makefile
22228 Makefile: config.status \$(MAKEDEP)
22229 @./config.status Makefile
22230 depend: \$(MAKEDEP)
22231 \$(MAKEDEP)$makedep_flags"
22234 as_fn_append wine_rules "
22235 config.status: ${wine_srcdir}configure
22236 @./config.status --recheck
22237 include/config.h: include/stamp-h
22238 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22239 @./config.status include/config.h include/stamp-h"
22241 if test "x$enable_maintainer_mode" = xyes
22242 then
22243 as_fn_append wine_rules "
22244 configure: configure.ac aclocal.m4
22245 autoconf --warnings=all
22246 include/config.h.in: include/stamp-h.in
22247 include/stamp-h.in: configure.ac aclocal.m4
22248 autoheader --warnings=all
22249 @echo timestamp > \$@"
22252 if test "x$enable_tools" != xno
22253 then
22254 as_fn_append wine_rules "
22255 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22256 @./config.status tools/makedep
22257 Makefile: tools/makedep$ac_exeext"
22258 else
22259 as_fn_append wine_rules "
22260 \$(MAKEDEP):
22261 @echo \"You need to run make in $toolsdir first\" && false"
22265 if test -n "$with_wine64"
22266 then
22267 case "$with_wine64" in
22268 /*) reldir="" ;;
22269 *) reldir="../" ;;
22270 esac
22271 rm -f fonts server 2>/dev/null
22272 as_fn_append wine_rules "
22273 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22274 loader/wine64 loader/wine64-preloader:
22275 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22276 $with_wine64/loader/wine:
22277 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22278 $with_wine64/loader/wine-preloader:
22279 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22280 clean::
22281 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22282 else
22283 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22284 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22285 fonts \
22286 loader/wine.inf \
22287 nls \
22288 programs/msidb/msidb \
22289 programs/msiexec/msiexec \
22290 programs/notepad/notepad \
22291 programs/regedit/regedit \
22292 programs/regsvr32/regsvr32 \
22293 programs/wineboot/wineboot \
22294 programs/winecfg/winecfg \
22295 programs/wineconsole/wineconsole \
22296 programs/winedbg/winedbg \
22297 programs/winefile/winefile \
22298 programs/winemine/winemine \
22299 programs/winepath/winepath \
22300 server/wineserver"
22302 case $host_os in
22303 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22304 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22305 esac
22309 as_fn_append wine_rules "
22310 distclean:: clean
22311 rm -rf autom4te.cache
22312 maintainer-clean::
22313 rm -f configure include/config.h.in"
22316 as_fn_append wine_rules "
22317 dlls/ntdll/unix/version.c: dummy
22318 @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)
22319 programs/winetest/build.rc: dummy
22320 @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)
22321 programs/winetest/build.nfo:
22322 @-\$(CC) -v 2>\$@
22323 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
22324 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22325 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22328 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22330 as_fn_append wine_rules "
22331 TAGS etags:
22332 rm -f TAGS
22333 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22334 tags ctags:
22335 rm -f tags
22336 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22337 dummy:
22338 .PHONY: depend dummy install-manpages"
22340 printf "%s\n" " done" >&6
22341 cat >confcache <<\_ACEOF
22342 # This file is a shell script that caches the results of configure
22343 # tests run on this system so they can be shared between configure
22344 # scripts and configure runs, see configure's option --config-cache.
22345 # It is not useful on other systems. If it contains results you don't
22346 # want to keep, you may remove or edit it.
22348 # config.status only pays attention to the cache file if you give it
22349 # the --recheck option to rerun configure.
22351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22353 # following values.
22355 _ACEOF
22357 # The following way of writing the cache mishandles newlines in values,
22358 # but we know of no workaround that is simple, portable, and efficient.
22359 # So, we kill variables containing newlines.
22360 # Ultrix sh set writes to stderr and can't be redirected directly,
22361 # and sets the high bit in the cache file unless we assign to the vars.
22363 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22364 eval ac_val=\$$ac_var
22365 case $ac_val in #(
22366 *${as_nl}*)
22367 case $ac_var in #(
22368 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22369 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22370 esac
22371 case $ac_var in #(
22372 _ | IFS | as_nl) ;; #(
22373 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22374 *) { eval $ac_var=; unset $ac_var;} ;;
22375 esac ;;
22376 esac
22377 done
22379 (set) 2>&1 |
22380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22381 *${as_nl}ac_space=\ *)
22382 # `set' does not quote correctly, so add quotes: double-quote
22383 # substitution turns \\\\ into \\, and sed turns \\ into \.
22384 sed -n \
22385 "s/'/'\\\\''/g;
22386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22387 ;; #(
22389 # `set' quotes correctly as required by POSIX, so do not add quotes.
22390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22392 esac |
22393 sort
22395 sed '
22396 /^ac_cv_env_/b end
22397 t clear
22398 :clear
22399 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22400 t end
22401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22402 :end' >>confcache
22403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22404 if test -w "$cache_file"; then
22405 if test "x$cache_file" != "x/dev/null"; then
22406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22407 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22408 if test ! -f "$cache_file" || test -h "$cache_file"; then
22409 cat confcache >"$cache_file"
22410 else
22411 case $cache_file in #(
22412 */* | ?:*)
22413 mv -f confcache "$cache_file"$$ &&
22414 mv -f "$cache_file"$$ "$cache_file" ;; #(
22416 mv -f confcache "$cache_file" ;;
22417 esac
22420 else
22421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22422 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22425 rm -f confcache
22427 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22428 # Let make expand exec_prefix.
22429 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22431 DEFS=-DHAVE_CONFIG_H
22433 ac_libobjs=
22434 ac_ltlibobjs=
22436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22437 # 1. Remove the extension, and $U if already installed.
22438 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22439 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22440 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22441 # will be set to the directory where LIBOBJS objects are built.
22442 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22443 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22444 done
22445 LIBOBJS=$ac_libobjs
22447 LTLIBOBJS=$ac_ltlibobjs
22451 : "${CONFIG_STATUS=./config.status}"
22452 ac_write_fail=0
22453 ac_clean_files_save=$ac_clean_files
22454 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22456 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22457 as_write_fail=0
22458 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22459 #! $SHELL
22460 # Generated by $as_me.
22461 # Run this file to recreate the current configuration.
22462 # Compiler output produced by configure, useful for debugging
22463 # configure, is in config.log if it exists.
22465 debug=false
22466 ac_cs_recheck=false
22467 ac_cs_silent=false
22469 SHELL=\${CONFIG_SHELL-$SHELL}
22470 export SHELL
22471 _ASEOF
22472 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22473 ## -------------------- ##
22474 ## M4sh Initialization. ##
22475 ## -------------------- ##
22477 # Be more Bourne compatible
22478 DUALCASE=1; export DUALCASE # for MKS sh
22479 as_nop=:
22480 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22481 then :
22482 emulate sh
22483 NULLCMD=:
22484 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22485 # is contrary to our usage. Disable this feature.
22486 alias -g '${1+"$@"}'='"$@"'
22487 setopt NO_GLOB_SUBST
22488 else $as_nop
22489 case `(set -o) 2>/dev/null` in #(
22490 *posix*) :
22491 set -o posix ;; #(
22492 *) :
22494 esac
22499 # Reset variables that may have inherited troublesome values from
22500 # the environment.
22502 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22503 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22504 # side effect of setting IFS to empty, thus disabling word splitting.)
22505 # Quoting is to prevent editors from complaining about space-tab.
22506 as_nl='
22508 export as_nl
22509 IFS=" "" $as_nl"
22511 PS1='$ '
22512 PS2='> '
22513 PS4='+ '
22515 # Ensure predictable behavior from utilities with locale-dependent output.
22516 LC_ALL=C
22517 export LC_ALL
22518 LANGUAGE=C
22519 export LANGUAGE
22521 # We cannot yet rely on "unset" to work, but we need these variables
22522 # to be unset--not just set to an empty or harmless value--now, to
22523 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22524 # also avoids known problems related to "unset" and subshell syntax
22525 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22526 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22527 do eval test \${$as_var+y} \
22528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22529 done
22531 # Ensure that fds 0, 1, and 2 are open.
22532 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22533 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22534 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22536 # The user is always right.
22537 if ${PATH_SEPARATOR+false} :; then
22538 PATH_SEPARATOR=:
22539 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22540 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22541 PATH_SEPARATOR=';'
22546 # Find who we are. Look in the path if we contain no directory separator.
22547 as_myself=
22548 case $0 in #((
22549 *[\\/]* ) as_myself=$0 ;;
22550 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22551 for as_dir in $PATH
22553 IFS=$as_save_IFS
22554 case $as_dir in #(((
22555 '') as_dir=./ ;;
22556 */) ;;
22557 *) as_dir=$as_dir/ ;;
22558 esac
22559 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22560 done
22561 IFS=$as_save_IFS
22564 esac
22565 # We did not find ourselves, most probably we were run as `sh COMMAND'
22566 # in which case we are not to be found in the path.
22567 if test "x$as_myself" = x; then
22568 as_myself=$0
22570 if test ! -f "$as_myself"; then
22571 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22572 exit 1
22577 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22578 # ----------------------------------------
22579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22581 # script with STATUS, using 1 if that was 0.
22582 as_fn_error ()
22584 as_status=$1; test $as_status -eq 0 && as_status=1
22585 if test "$4"; then
22586 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22589 printf "%s\n" "$as_me: error: $2" >&2
22590 as_fn_exit $as_status
22591 } # as_fn_error
22595 # as_fn_set_status STATUS
22596 # -----------------------
22597 # Set $? to STATUS, without forking.
22598 as_fn_set_status ()
22600 return $1
22601 } # as_fn_set_status
22603 # as_fn_exit STATUS
22604 # -----------------
22605 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22606 as_fn_exit ()
22608 set +e
22609 as_fn_set_status $1
22610 exit $1
22611 } # as_fn_exit
22613 # as_fn_unset VAR
22614 # ---------------
22615 # Portably unset VAR.
22616 as_fn_unset ()
22618 { eval $1=; unset $1;}
22620 as_unset=as_fn_unset
22622 # as_fn_append VAR VALUE
22623 # ----------------------
22624 # Append the text in VALUE to the end of the definition contained in VAR. Take
22625 # advantage of any shell optimizations that allow amortized linear growth over
22626 # repeated appends, instead of the typical quadratic growth present in naive
22627 # implementations.
22628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22629 then :
22630 eval 'as_fn_append ()
22632 eval $1+=\$2
22634 else $as_nop
22635 as_fn_append ()
22637 eval $1=\$$1\$2
22639 fi # as_fn_append
22641 # as_fn_arith ARG...
22642 # ------------------
22643 # Perform arithmetic evaluation on the ARGs, and store the result in the
22644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22645 # must be portable across $(()) and expr.
22646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22647 then :
22648 eval 'as_fn_arith ()
22650 as_val=$(( $* ))
22652 else $as_nop
22653 as_fn_arith ()
22655 as_val=`expr "$@" || test $? -eq 1`
22657 fi # as_fn_arith
22660 if expr a : '\(a\)' >/dev/null 2>&1 &&
22661 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22662 as_expr=expr
22663 else
22664 as_expr=false
22667 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22668 as_basename=basename
22669 else
22670 as_basename=false
22673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22674 as_dirname=dirname
22675 else
22676 as_dirname=false
22679 as_me=`$as_basename -- "$0" ||
22680 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22681 X"$0" : 'X\(//\)$' \| \
22682 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22683 printf "%s\n" X/"$0" |
22684 sed '/^.*\/\([^/][^/]*\)\/*$/{
22685 s//\1/
22688 /^X\/\(\/\/\)$/{
22689 s//\1/
22692 /^X\/\(\/\).*/{
22693 s//\1/
22696 s/.*/./; q'`
22698 # Avoid depending upon Character Ranges.
22699 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22700 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22701 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22702 as_cr_digits='0123456789'
22703 as_cr_alnum=$as_cr_Letters$as_cr_digits
22706 # Determine whether it's possible to make 'echo' print without a newline.
22707 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22708 # for compatibility with existing Makefiles.
22709 ECHO_C= ECHO_N= ECHO_T=
22710 case `echo -n x` in #(((((
22711 -n*)
22712 case `echo 'xy\c'` in
22713 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22714 xy) ECHO_C='\c';;
22715 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22716 ECHO_T=' ';;
22717 esac;;
22719 ECHO_N='-n';;
22720 esac
22722 # For backward compatibility with old third-party macros, we provide
22723 # the shell variables $as_echo and $as_echo_n. New code should use
22724 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22725 as_echo='printf %s\n'
22726 as_echo_n='printf %s'
22728 rm -f conf$$ conf$$.exe conf$$.file
22729 if test -d conf$$.dir; then
22730 rm -f conf$$.dir/conf$$.file
22731 else
22732 rm -f conf$$.dir
22733 mkdir conf$$.dir 2>/dev/null
22735 if (echo >conf$$.file) 2>/dev/null; then
22736 if ln -s conf$$.file conf$$ 2>/dev/null; then
22737 as_ln_s='ln -s'
22738 # ... but there are two gotchas:
22739 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22740 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22741 # In both cases, we have to default to `cp -pR'.
22742 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22743 as_ln_s='cp -pR'
22744 elif ln conf$$.file conf$$ 2>/dev/null; then
22745 as_ln_s=ln
22746 else
22747 as_ln_s='cp -pR'
22749 else
22750 as_ln_s='cp -pR'
22752 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22753 rmdir conf$$.dir 2>/dev/null
22756 # as_fn_mkdir_p
22757 # -------------
22758 # Create "$as_dir" as a directory, including parents if necessary.
22759 as_fn_mkdir_p ()
22762 case $as_dir in #(
22763 -*) as_dir=./$as_dir;;
22764 esac
22765 test -d "$as_dir" || eval $as_mkdir_p || {
22766 as_dirs=
22767 while :; do
22768 case $as_dir in #(
22769 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22770 *) as_qdir=$as_dir;;
22771 esac
22772 as_dirs="'$as_qdir' $as_dirs"
22773 as_dir=`$as_dirname -- "$as_dir" ||
22774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22775 X"$as_dir" : 'X\(//\)[^/]' \| \
22776 X"$as_dir" : 'X\(//\)$' \| \
22777 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22778 printf "%s\n" X"$as_dir" |
22779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22780 s//\1/
22783 /^X\(\/\/\)[^/].*/{
22784 s//\1/
22787 /^X\(\/\/\)$/{
22788 s//\1/
22791 /^X\(\/\).*/{
22792 s//\1/
22795 s/.*/./; q'`
22796 test -d "$as_dir" && break
22797 done
22798 test -z "$as_dirs" || eval "mkdir $as_dirs"
22799 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22802 } # as_fn_mkdir_p
22803 if mkdir -p . 2>/dev/null; then
22804 as_mkdir_p='mkdir -p "$as_dir"'
22805 else
22806 test -d ./-p && rmdir ./-p
22807 as_mkdir_p=false
22811 # as_fn_executable_p FILE
22812 # -----------------------
22813 # Test if FILE is an executable regular file.
22814 as_fn_executable_p ()
22816 test -f "$1" && test -x "$1"
22817 } # as_fn_executable_p
22818 as_test_x='test -x'
22819 as_executable_p=as_fn_executable_p
22821 # Sed expression to map a string onto a valid CPP name.
22822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22824 # Sed expression to map a string onto a valid variable name.
22825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22828 exec 6>&1
22829 ## ----------------------------------- ##
22830 ## Main body of $CONFIG_STATUS script. ##
22831 ## ----------------------------------- ##
22832 _ASEOF
22833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22836 # Save the log message, to keep $0 and so on meaningful, and to
22837 # report actual input values of CONFIG_FILES etc. instead of their
22838 # values after options handling.
22839 ac_log="
22840 This file was extended by Wine $as_me 8.6, which was
22841 generated by GNU Autoconf 2.71. Invocation command line was
22843 CONFIG_FILES = $CONFIG_FILES
22844 CONFIG_HEADERS = $CONFIG_HEADERS
22845 CONFIG_LINKS = $CONFIG_LINKS
22846 CONFIG_COMMANDS = $CONFIG_COMMANDS
22847 $ $0 $@
22849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22852 _ACEOF
22855 case $ac_config_headers in *"
22856 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22857 esac
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22861 # Files that config.status was made for.
22862 config_headers="$ac_config_headers"
22863 config_links="$ac_config_links"
22864 config_commands="$ac_config_commands"
22866 _ACEOF
22868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22869 ac_cs_usage="\
22870 \`$as_me' instantiates files and other configuration actions
22871 from templates according to the current configuration. Unless the files
22872 and actions are specified as TAGs, all are instantiated by default.
22874 Usage: $0 [OPTION]... [TAG]...
22876 -h, --help print this help, then exit
22877 -V, --version print version number and configuration settings, then exit
22878 --config print configuration, then exit
22879 -q, --quiet, --silent
22880 do not print progress messages
22881 -d, --debug don't remove temporary files
22882 --recheck update $as_me by reconfiguring in the same conditions
22883 --header=FILE[:TEMPLATE]
22884 instantiate the configuration header FILE
22886 Configuration headers:
22887 $config_headers
22889 Configuration links:
22890 $config_links
22892 Configuration commands:
22893 $config_commands
22895 Report bugs to <wine-devel@winehq.org>.
22896 Wine home page: <https://www.winehq.org>."
22898 _ACEOF
22899 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22900 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22902 ac_cs_config='$ac_cs_config_escaped'
22903 ac_cs_version="\\
22904 Wine config.status 8.6
22905 configured by $0, generated by GNU Autoconf 2.71,
22906 with options \\"\$ac_cs_config\\"
22908 Copyright (C) 2021 Free Software Foundation, Inc.
22909 This config.status script is free software; the Free Software Foundation
22910 gives unlimited permission to copy, distribute and modify it."
22912 ac_pwd='$ac_pwd'
22913 srcdir='$srcdir'
22914 test -n "\$AWK" || AWK=awk
22915 _ACEOF
22917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22918 # The default lists apply if the user does not specify any file.
22919 ac_need_defaults=:
22920 while test $# != 0
22922 case $1 in
22923 --*=?*)
22924 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22925 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22926 ac_shift=:
22928 --*=)
22929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22930 ac_optarg=
22931 ac_shift=:
22934 ac_option=$1
22935 ac_optarg=$2
22936 ac_shift=shift
22938 esac
22940 case $ac_option in
22941 # Handling of the options.
22942 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22943 ac_cs_recheck=: ;;
22944 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22945 printf "%s\n" "$ac_cs_version"; exit ;;
22946 --config | --confi | --conf | --con | --co | --c )
22947 printf "%s\n" "$ac_cs_config"; exit ;;
22948 --debug | --debu | --deb | --de | --d | -d )
22949 debug=: ;;
22950 --header | --heade | --head | --hea )
22951 $ac_shift
22952 case $ac_optarg in
22953 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22954 esac
22955 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22956 ac_need_defaults=false;;
22957 --he | --h)
22958 # Conflict between --help and --header
22959 as_fn_error $? "ambiguous option: \`$1'
22960 Try \`$0 --help' for more information.";;
22961 --help | --hel | -h )
22962 printf "%s\n" "$ac_cs_usage"; exit ;;
22963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22965 ac_cs_silent=: ;;
22967 # This is an error.
22968 -*) as_fn_error $? "unrecognized option: \`$1'
22969 Try \`$0 --help' for more information." ;;
22971 *) as_fn_append ac_config_targets " $1"
22972 ac_need_defaults=false ;;
22974 esac
22975 shift
22976 done
22978 ac_configure_extra_args=
22980 if $ac_cs_silent; then
22981 exec 6>/dev/null
22982 ac_configure_extra_args="$ac_configure_extra_args --silent"
22985 _ACEOF
22986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 if \$ac_cs_recheck; then
22988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22989 shift
22990 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22991 CONFIG_SHELL='$SHELL'
22992 export CONFIG_SHELL
22993 exec "\$@"
22996 _ACEOF
22997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22998 exec 5>>config.log
23000 echo
23001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23002 ## Running $as_me. ##
23003 _ASBOX
23004 printf "%s\n" "$ac_log"
23005 } >&5
23007 _ACEOF
23008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23010 # INIT-COMMANDS
23012 wine_fn_output_makedep ()
23014 as_dir=tools; as_fn_mkdir_p
23015 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23017 wine_fn_output_makefile ()
23019 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23020 # This Makefile understands the following targets:
23022 # all (default): build wine
23023 # clean: remove all intermediate files
23024 # distclean: also remove all files created by configure
23025 # test: run tests
23026 # testclean: clean test results to force running all tests again
23027 # install-lib: install libraries needed to run applications
23028 # install-dev: install development environment
23029 # install: install everything
23030 # uninstall: uninstall everything
23031 # ctags: create a tags file for vim and others.
23032 # etags: create a TAGS file for Emacs.
23034 SHELL = $SHELL
23035 PATH_SEPARATOR = $PATH_SEPARATOR
23036 PACKAGE_NAME = $PACKAGE_NAME
23037 PACKAGE_TARNAME = $PACKAGE_TARNAME
23038 PACKAGE_VERSION = $PACKAGE_VERSION
23039 PACKAGE_STRING = $PACKAGE_STRING
23040 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23041 PACKAGE_URL = $PACKAGE_URL
23042 exec_prefix = $exec_prefix
23043 prefix = $prefix
23044 program_transform_name = $program_transform_name
23045 bindir = $bindir
23046 sbindir = $sbindir
23047 libexecdir = $libexecdir
23048 datarootdir = $datarootdir
23049 datadir = $datadir
23050 sysconfdir = $sysconfdir
23051 sharedstatedir = $sharedstatedir
23052 localstatedir = $localstatedir
23053 runstatedir = $runstatedir
23054 includedir = $includedir
23055 oldincludedir = $oldincludedir
23056 docdir = $docdir
23057 infodir = $infodir
23058 htmldir = $htmldir
23059 dvidir = $dvidir
23060 pdfdir = $pdfdir
23061 psdir = $psdir
23062 libdir = $libdir
23063 localedir = $localedir
23064 mandir = $mandir
23065 DEFS = $DEFS
23066 ECHO_C = $ECHO_C
23067 ECHO_N = $ECHO_N
23068 ECHO_T = $ECHO_T
23069 LIBS = $LIBS
23070 build_alias = $build_alias
23071 host_alias = $host_alias
23072 target_alias = $target_alias
23073 system_dllpath = $system_dllpath
23074 build = $build
23075 build_cpu = $build_cpu
23076 build_vendor = $build_vendor
23077 build_os = $build_os
23078 host = $host
23079 host_cpu = $host_cpu
23080 host_vendor = $host_vendor
23081 host_os = $host_os
23082 dlldir = $dlldir
23083 fontdir = $fontdir
23084 nlsdir = $nlsdir
23085 srcdir = $srcdir
23086 SET_MAKE = $SET_MAKE
23087 CC = $CC
23088 CFLAGS = $CFLAGS
23089 LDFLAGS = $LDFLAGS
23090 CPPFLAGS = $CPPFLAGS
23091 ac_ct_CC = $ac_ct_CC
23092 EXEEXT = $EXEEXT
23093 OBJEXT = $OBJEXT
23094 CXX = $CXX
23095 CXXFLAGS = $CXXFLAGS
23096 ac_ct_CXX = $ac_ct_CXX
23097 CPPBIN = $CPPBIN
23098 LD = $LD
23099 TARGETFLAGS = $TARGETFLAGS
23100 toolsext = $toolsext
23101 HOST_ARCH = $HOST_ARCH
23102 aarch64_CC = $aarch64_CC
23103 aarch64_CFLAGS = $aarch64_CFLAGS
23104 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23105 aarch64_LDFLAGS = $aarch64_LDFLAGS
23106 aarch64_DEBUG = $aarch64_DEBUG
23107 aarch64_TARGET = $aarch64_TARGET
23108 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23109 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23110 arm_CC = $arm_CC
23111 arm_CFLAGS = $arm_CFLAGS
23112 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23113 arm_LDFLAGS = $arm_LDFLAGS
23114 arm_DEBUG = $arm_DEBUG
23115 arm_TARGET = $arm_TARGET
23116 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23117 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23118 i386_CC = $i386_CC
23119 i386_CFLAGS = $i386_CFLAGS
23120 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23121 i386_LDFLAGS = $i386_LDFLAGS
23122 i386_DEBUG = $i386_DEBUG
23123 i386_TARGET = $i386_TARGET
23124 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23125 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23126 x86_64_CC = $x86_64_CC
23127 x86_64_CFLAGS = $x86_64_CFLAGS
23128 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23129 x86_64_LDFLAGS = $x86_64_LDFLAGS
23130 x86_64_DEBUG = $x86_64_DEBUG
23131 x86_64_TARGET = $x86_64_TARGET
23132 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23133 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23134 toolsdir = $toolsdir
23135 MAKEDEP = $MAKEDEP
23136 RUNTESTFLAGS = $RUNTESTFLAGS
23137 SED_CMD = $SED_CMD
23138 FLEX = $FLEX
23139 BISON = $BISON
23140 AR = $AR
23141 ac_ct_AR = $ac_ct_AR
23142 STRIP = $STRIP
23143 RANLIB = $RANLIB
23144 LN_S = $LN_S
23145 GREP = $GREP
23146 EGREP = $EGREP
23147 LDCONFIG = $LDCONFIG
23148 MSGFMT = $MSGFMT
23149 PKG_CONFIG = $PKG_CONFIG
23150 FONTFORGE = $FONTFORGE
23151 RSVG = $RSVG
23152 CONVERT = $CONVERT
23153 ICOTOOL = $ICOTOOL
23154 I386_LIBS = $I386_LIBS
23155 OPENGL_LIBS = $OPENGL_LIBS
23156 DLLFLAGS = $DLLFLAGS
23157 LDDLLFLAGS = $LDDLLFLAGS
23158 LDEXECFLAGS = $LDEXECFLAGS
23159 EXTRACFLAGS = $EXTRACFLAGS
23160 UNIXDLLFLAGS = $UNIXDLLFLAGS
23161 UNIXLDFLAGS = $UNIXLDFLAGS
23162 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23163 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23164 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23165 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23166 LDD = $LDD
23167 OTOOL = $OTOOL
23168 READELF = $READELF
23169 SUBDIRS = $SUBDIRS
23170 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23171 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23172 CARBON_LIBS = $CARBON_LIBS
23173 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23174 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23175 IOKIT_LIBS = $IOKIT_LIBS
23176 METAL_LIBS = $METAL_LIBS
23177 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23178 CORESERVICES_LIBS = $CORESERVICES_LIBS
23179 APPKIT_LIBS = $APPKIT_LIBS
23180 SECURITY_LIBS = $SECURITY_LIBS
23181 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23182 COREAUDIO_LIBS = $COREAUDIO_LIBS
23183 OPENCL_LIBS = $OPENCL_LIBS
23184 OBJC = $OBJC
23185 OBJCFLAGS = $OBJCFLAGS
23186 ac_ct_OBJC = $ac_ct_OBJC
23187 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23188 PE_ARCHS = $PE_ARCHS
23189 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23190 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23191 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23192 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23193 GSM_PE_LIBS = $GSM_PE_LIBS
23194 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23195 JPEG_PE_LIBS = $JPEG_PE_LIBS
23196 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23197 JXR_PE_LIBS = $JXR_PE_LIBS
23198 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23199 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23200 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23201 LDAP_PE_LIBS = $LDAP_PE_LIBS
23202 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23203 MPG123_PE_LIBS = $MPG123_PE_LIBS
23204 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23205 MUSL_PE_LIBS = $MUSL_PE_LIBS
23206 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23207 PNG_PE_LIBS = $PNG_PE_LIBS
23208 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23209 TIFF_PE_LIBS = $TIFF_PE_LIBS
23210 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23211 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23212 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23213 XML2_PE_LIBS = $XML2_PE_LIBS
23214 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23215 XSLT_PE_LIBS = $XSLT_PE_LIBS
23216 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23217 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23218 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23219 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23220 PTHREAD_LIBS = $PTHREAD_LIBS
23221 XMKMF = $XMKMF
23222 CPP = $CPP
23223 X_CFLAGS = $X_CFLAGS
23224 X_PRE_LIBS = $X_PRE_LIBS
23225 X_LIBS = $X_LIBS
23226 X_EXTRA_LIBS = $X_EXTRA_LIBS
23227 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23228 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23229 WAYLAND_SCANNER = $WAYLAND_SCANNER
23230 PCAP_LIBS = $PCAP_LIBS
23231 PCSCLITE_LIBS = $PCSCLITE_LIBS
23232 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23233 INOTIFY_LIBS = $INOTIFY_LIBS
23234 DBUS_CFLAGS = $DBUS_CFLAGS
23235 DBUS_LIBS = $DBUS_LIBS
23236 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23237 GNUTLS_LIBS = $GNUTLS_LIBS
23238 SANE_CFLAGS = $SANE_CFLAGS
23239 SANE_LIBS = $SANE_LIBS
23240 USB_CFLAGS = $USB_CFLAGS
23241 USB_LIBS = $USB_LIBS
23242 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23243 GPHOTO2_LIBS = $GPHOTO2_LIBS
23244 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23245 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23246 RESOLV_LIBS = $RESOLV_LIBS
23247 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23248 FREETYPE_LIBS = $FREETYPE_LIBS
23249 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23250 PULSE_CFLAGS = $PULSE_CFLAGS
23251 PULSE_LIBS = $PULSE_LIBS
23252 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23253 GSTREAMER_LIBS = $GSTREAMER_LIBS
23254 ALSA_LIBS = $ALSA_LIBS
23255 OSS4_CFLAGS = $OSS4_CFLAGS
23256 OSS4_LIBS = $OSS4_LIBS
23257 UDEV_CFLAGS = $UDEV_CFLAGS
23258 UDEV_LIBS = $UDEV_LIBS
23259 UNWIND_CFLAGS = $UNWIND_CFLAGS
23260 UNWIND_LIBS = $UNWIND_LIBS
23261 SDL2_CFLAGS = $SDL2_CFLAGS
23262 SDL2_LIBS = $SDL2_LIBS
23263 CAPI20_CFLAGS = $CAPI20_CFLAGS
23264 CAPI20_LIBS = $CAPI20_LIBS
23265 CUPS_CFLAGS = $CUPS_CFLAGS
23266 CUPS_LIBS = $CUPS_LIBS
23267 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23268 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23269 KRB5_CFLAGS = $KRB5_CFLAGS
23270 KRB5_LIBS = $KRB5_LIBS
23271 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23272 GSSAPI_LIBS = $GSSAPI_LIBS
23273 PROCSTAT_LIBS = $PROCSTAT_LIBS
23274 NETAPI_CFLAGS = $NETAPI_CFLAGS
23275 NETAPI_LIBS = $NETAPI_LIBS
23276 MSVCRTFLAGS = $MSVCRTFLAGS
23277 DELAYLOADFLAG = $DELAYLOADFLAG
23278 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23279 RT_LIBS = $RT_LIBS
23280 TAGSFLAGS = $TAGSFLAGS
23281 LIBOBJS = $LIBOBJS
23282 LTLIBOBJS = $LTLIBOBJS
23283 $SET_MAKE
23284 $wine_rules
23285 _WINE_EOF
23286 as_fn_error $? "could not create Makefile" "$LINENO" 5
23289 _ACEOF
23291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23293 # Handling of arguments.
23294 for ac_config_target in $ac_config_targets
23296 case $ac_config_target in
23297 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23298 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23299 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23300 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23301 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23302 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23304 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23305 esac
23306 done
23309 # If the user did not use the arguments to specify the items to instantiate,
23310 # then the envvar interface is used. Set only those that are not.
23311 # We use the long form for the default assignment because of an extremely
23312 # bizarre bug on SunOS 4.1.3.
23313 if $ac_need_defaults; then
23314 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23315 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23316 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23319 # Have a temporary directory for convenience. Make it in the build tree
23320 # simply because there is no reason against having it here, and in addition,
23321 # creating and moving files from /tmp can sometimes cause problems.
23322 # Hook for its removal unless debugging.
23323 # Note that there is a small window in which the directory will not be cleaned:
23324 # after its creation but before its name has been assigned to `$tmp'.
23325 $debug ||
23327 tmp= ac_tmp=
23328 trap 'exit_status=$?
23329 : "${ac_tmp:=$tmp}"
23330 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23332 trap 'as_fn_exit 1' 1 2 13 15
23334 # Create a (secure) tmp directory for tmp files.
23337 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23338 test -d "$tmp"
23339 } ||
23341 tmp=./conf$$-$RANDOM
23342 (umask 077 && mkdir "$tmp")
23343 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23344 ac_tmp=$tmp
23346 # Set up the scripts for CONFIG_HEADERS section.
23347 # No need to generate them if there are no CONFIG_HEADERS.
23348 # This happens for instance with `./config.status Makefile'.
23349 if test -n "$CONFIG_HEADERS"; then
23350 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23351 BEGIN {
23352 _ACEOF
23354 # Transform confdefs.h into an awk script `defines.awk', embedded as
23355 # here-document in config.status, that substitutes the proper values into
23356 # config.h.in to produce config.h.
23358 # Create a delimiter string that does not exist in confdefs.h, to ease
23359 # handling of long lines.
23360 ac_delim='%!_!# '
23361 for ac_last_try in false false :; do
23362 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23363 if test -z "$ac_tt"; then
23364 break
23365 elif $ac_last_try; then
23366 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23367 else
23368 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23370 done
23372 # For the awk script, D is an array of macro values keyed by name,
23373 # likewise P contains macro parameters if any. Preserve backslash
23374 # newline sequences.
23376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23377 sed -n '
23378 s/.\{148\}/&'"$ac_delim"'/g
23379 t rset
23380 :rset
23381 s/^[ ]*#[ ]*define[ ][ ]*/ /
23382 t def
23384 :def
23385 s/\\$//
23386 t bsnl
23387 s/["\\]/\\&/g
23388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23389 D["\1"]=" \3"/p
23390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23392 :bsnl
23393 s/["\\]/\\&/g
23394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23395 D["\1"]=" \3\\\\\\n"\\/p
23396 t cont
23397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23398 t cont
23400 :cont
23402 s/.\{148\}/&'"$ac_delim"'/g
23403 t clear
23404 :clear
23405 s/\\$//
23406 t bsnlc
23407 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23409 :bsnlc
23410 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23411 b cont
23412 ' <confdefs.h | sed '
23413 s/'"$ac_delim"'/"\\\
23414 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23417 for (key in D) D_is_set[key] = 1
23418 FS = "\a"
23420 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23421 line = \$ 0
23422 split(line, arg, " ")
23423 if (arg[1] == "#") {
23424 defundef = arg[2]
23425 mac1 = arg[3]
23426 } else {
23427 defundef = substr(arg[1], 2)
23428 mac1 = arg[2]
23430 split(mac1, mac2, "(") #)
23431 macro = mac2[1]
23432 prefix = substr(line, 1, index(line, defundef) - 1)
23433 if (D_is_set[macro]) {
23434 # Preserve the white space surrounding the "#".
23435 print prefix "define", macro P[macro] D[macro]
23436 next
23437 } else {
23438 # Replace #undef with comments. This is necessary, for example,
23439 # in the case of _POSIX_SOURCE, which is predefined and required
23440 # on some systems where configure will not decide to define it.
23441 if (defundef == "undef") {
23442 print "/*", prefix defundef, macro, "*/"
23443 next
23447 { print }
23448 _ACAWK
23449 _ACEOF
23450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23451 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23452 fi # test -n "$CONFIG_HEADERS"
23455 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23456 shift
23457 for ac_tag
23459 case $ac_tag in
23460 :[FHLC]) ac_mode=$ac_tag; continue;;
23461 esac
23462 case $ac_mode$ac_tag in
23463 :[FHL]*:*);;
23464 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23465 :[FH]-) ac_tag=-:-;;
23466 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23467 esac
23468 ac_save_IFS=$IFS
23469 IFS=:
23470 set x $ac_tag
23471 IFS=$ac_save_IFS
23472 shift
23473 ac_file=$1
23474 shift
23476 case $ac_mode in
23477 :L) ac_source=$1;;
23478 :[FH])
23479 ac_file_inputs=
23480 for ac_f
23482 case $ac_f in
23483 -) ac_f="$ac_tmp/stdin";;
23484 *) # Look for the file first in the build tree, then in the source tree
23485 # (if the path is not absolute). The absolute path cannot be DOS-style,
23486 # because $ac_f cannot contain `:'.
23487 test -f "$ac_f" ||
23488 case $ac_f in
23489 [\\/$]*) false;;
23490 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23491 esac ||
23492 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23493 esac
23494 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23495 as_fn_append ac_file_inputs " '$ac_f'"
23496 done
23498 # Let's still pretend it is `configure' which instantiates (i.e., don't
23499 # use $as_me), people would be surprised to read:
23500 # /* config.h. Generated by config.status. */
23501 configure_input='Generated from '`
23502 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23503 `' by configure.'
23504 if test x"$ac_file" != x-; then
23505 configure_input="$ac_file. $configure_input"
23506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23507 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23509 # Neutralize special characters interpreted by sed in replacement strings.
23510 case $configure_input in #(
23511 *\&* | *\|* | *\\* )
23512 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23513 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23514 *) ac_sed_conf_input=$configure_input;;
23515 esac
23517 case $ac_tag in
23518 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23519 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23520 esac
23522 esac
23524 ac_dir=`$as_dirname -- "$ac_file" ||
23525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23526 X"$ac_file" : 'X\(//\)[^/]' \| \
23527 X"$ac_file" : 'X\(//\)$' \| \
23528 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23529 printf "%s\n" X"$ac_file" |
23530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23531 s//\1/
23534 /^X\(\/\/\)[^/].*/{
23535 s//\1/
23538 /^X\(\/\/\)$/{
23539 s//\1/
23542 /^X\(\/\).*/{
23543 s//\1/
23546 s/.*/./; q'`
23547 as_dir="$ac_dir"; as_fn_mkdir_p
23548 ac_builddir=.
23550 case "$ac_dir" in
23551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23553 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23554 # A ".." for each directory in $ac_dir_suffix.
23555 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23556 case $ac_top_builddir_sub in
23557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23559 esac ;;
23560 esac
23561 ac_abs_top_builddir=$ac_pwd
23562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23563 # for backward compatibility:
23564 ac_top_builddir=$ac_top_build_prefix
23566 case $srcdir in
23567 .) # We are building in place.
23568 ac_srcdir=.
23569 ac_top_srcdir=$ac_top_builddir_sub
23570 ac_abs_top_srcdir=$ac_pwd ;;
23571 [\\/]* | ?:[\\/]* ) # Absolute name.
23572 ac_srcdir=$srcdir$ac_dir_suffix;
23573 ac_top_srcdir=$srcdir
23574 ac_abs_top_srcdir=$srcdir ;;
23575 *) # Relative name.
23576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23577 ac_top_srcdir=$ac_top_build_prefix$srcdir
23578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23579 esac
23580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23583 case $ac_mode in
23587 # CONFIG_HEADER
23589 if test x"$ac_file" != x-; then
23591 printf "%s\n" "/* $configure_input */" >&1 \
23592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23593 } >"$ac_tmp/config.h" \
23594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23595 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23597 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23598 else
23599 rm -f "$ac_file"
23600 mv "$ac_tmp/config.h" "$ac_file" \
23601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23603 else
23604 printf "%s\n" "/* $configure_input */" >&1 \
23605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23606 || as_fn_error $? "could not create -" "$LINENO" 5
23611 # CONFIG_LINK
23614 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23616 else
23617 # Prefer the file from the source tree if names are identical.
23618 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23619 ac_source=$srcdir/$ac_source
23622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23623 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23625 if test ! -r "$ac_source"; then
23626 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23628 rm -f "$ac_file"
23630 # Try a relative symlink, then a hard link, then a copy.
23631 case $ac_source in
23632 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23633 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23634 esac
23635 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23636 ln "$ac_source" "$ac_file" 2>/dev/null ||
23637 cp -p "$ac_source" "$ac_file" ||
23638 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23641 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23642 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23644 esac
23647 case $ac_file$ac_mode in
23648 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23649 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23650 "Makefile":C) wine_fn_output_makefile Makefile ;;
23652 esac
23653 done # for ac_tag
23656 as_fn_exit 0
23657 _ACEOF
23658 ac_clean_files=$ac_clean_files_save
23660 test $ac_write_fail = 0 ||
23661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23664 # configure is writing to config.log, and then calls config.status.
23665 # config.status does its own redirection, appending to config.log.
23666 # Unfortunately, on DOS this fails, as config.log is still kept open
23667 # by configure, so config.status won't be able to write to it; its
23668 # output is simply discarded. So we exec the FD to /dev/null,
23669 # effectively closing config.log, so it can be properly (re)opened and
23670 # appended to by config.status. When coming back to configure, we
23671 # need to make the FD available again.
23672 if test "$no_create" != yes; then
23673 ac_cs_success=:
23674 ac_config_status_args=
23675 test "$silent" = yes &&
23676 ac_config_status_args="$ac_config_status_args --quiet"
23677 exec 5>/dev/null
23678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23679 exec 5>>config.log
23680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23681 # would make configure fail if this is the last instruction.
23682 $ac_cs_success || as_fn_exit 1
23684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23686 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23690 if test "$no_create" = "yes"
23691 then
23692 exit 0
23695 ac_save_IFS="$IFS"
23696 if test "x$wine_notices" != x; then
23697 echo >&6
23698 IFS="|"
23699 for msg in $wine_notices; do
23700 IFS="$ac_save_IFS"
23701 if ${msg:+false} :
23702 then :
23704 else $as_nop
23705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23706 printf "%s\n" "$as_me: $msg" >&6;}
23708 done
23710 IFS="|"
23711 for msg in $wine_warnings; do
23712 IFS="$ac_save_IFS"
23713 if ${msg:+false} :
23714 then :
23716 else $as_nop
23717 echo >&2
23718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23719 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23721 done
23722 IFS="$ac_save_IFS"
23724 printf "%s\n" "
23725 $as_me: Finished. Do '${ac_make}' to compile Wine.
23726 " >&6