include: Add Windows.UI.Composition.CompositionCommitBatch definition.
[wine.git] / configure
blob4a33bf69ff1c51d8365c433cc5ea72fbc6316a18
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.5.
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.5'
615 PACKAGE_STRING='Wine 8.5'
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_CLIENT_LIBS
706 WAYLAND_CLIENT_CFLAGS
707 X_EXTRA_LIBS
708 X_LIBS
709 X_PRE_LIBS
710 X_CFLAGS
712 XMKMF
713 PTHREAD_LIBS
714 ZYDIS_PE_LIBS
715 ZYDIS_PE_CFLAGS
716 ZLIB_PE_LIBS
717 ZLIB_PE_CFLAGS
718 XSLT_PE_LIBS
719 XSLT_PE_CFLAGS
720 XML2_PE_LIBS
721 XML2_PE_CFLAGS
722 VKD3D_PE_LIBS
723 VKD3D_PE_CFLAGS
724 TIFF_PE_LIBS
725 TIFF_PE_CFLAGS
726 PNG_PE_LIBS
727 PNG_PE_CFLAGS
728 MUSL_PE_LIBS
729 MUSL_PE_CFLAGS
730 MPG123_PE_LIBS
731 MPG123_PE_CFLAGS
732 LDAP_PE_LIBS
733 LDAP_PE_CFLAGS
734 LCMS2_PE_LIBS
735 LCMS2_PE_CFLAGS
736 JXR_PE_LIBS
737 JXR_PE_CFLAGS
738 JPEG_PE_LIBS
739 JPEG_PE_CFLAGS
740 GSM_PE_LIBS
741 GSM_PE_CFLAGS
742 FAUDIO_PE_LIBS
743 FAUDIO_PE_CFLAGS
744 MINGW_PKG_CONFIG
745 PE_ARCHS
746 WINELOADER_DEPENDS
747 ac_ct_OBJC
748 OBJCFLAGS
749 OBJC
750 OPENCL_LIBS
751 COREAUDIO_LIBS
752 SYSTEMCONFIGURATION_LIBS
753 SECURITY_LIBS
754 APPKIT_LIBS
755 CORESERVICES_LIBS
756 APPLICATIONSERVICES_LIBS
757 METAL_LIBS
758 IOKIT_LIBS
759 DISKARBITRATION_LIBS
760 COREFOUNDATION_LIBS
761 CARBON_LIBS
762 CONFIGURE_TARGETS
763 DISABLED_SUBDIRS
764 SUBDIRS
765 READELF
766 OTOOL
768 WINEPRELOADER_LDFLAGS
769 WINELOADER_LDFLAGS
770 TOP_INSTALL_DEV
771 TOP_INSTALL_LIB
772 UNIXLDFLAGS
773 UNIXDLLFLAGS
774 EXTRACFLAGS
775 LDEXECFLAGS
776 LDDLLFLAGS
777 DLLFLAGS
778 OPENGL_LIBS
779 I386_LIBS
780 ICOTOOL
781 CONVERT
782 RSVG
783 FONTFORGE
784 PKG_CONFIG
785 MSGFMT
786 LDCONFIG
787 EGREP
788 GREP
789 LN_S
790 RANLIB
791 STRIP
792 ac_ct_AR
794 BISON
795 FLEX
796 SED_CMD
797 RUNTESTFLAGS
798 MAKEDEP
799 toolsdir
800 x86_64_DISABLED_SUBDIRS
801 x86_64_DELAYLOADFLAG
802 x86_64_TARGET
803 x86_64_DEBUG
804 x86_64_LDFLAGS
805 x86_64_EXTRACFLAGS
806 x86_64_CFLAGS
807 x86_64_CC
808 i386_DISABLED_SUBDIRS
809 i386_DELAYLOADFLAG
810 i386_TARGET
811 i386_DEBUG
812 i386_LDFLAGS
813 i386_EXTRACFLAGS
814 i386_CFLAGS
815 i386_CC
816 arm_DISABLED_SUBDIRS
817 arm_DELAYLOADFLAG
818 arm_TARGET
819 arm_DEBUG
820 arm_LDFLAGS
821 arm_EXTRACFLAGS
822 arm_CFLAGS
823 arm_CC
824 aarch64_DISABLED_SUBDIRS
825 aarch64_DELAYLOADFLAG
826 aarch64_TARGET
827 aarch64_DEBUG
828 aarch64_LDFLAGS
829 aarch64_EXTRACFLAGS
830 aarch64_CFLAGS
831 aarch64_CC
832 HOST_ARCH
833 toolsext
834 TARGETFLAGS
836 CPPBIN
837 ac_ct_CXX
838 CXXFLAGS
840 OBJEXT
841 EXEEXT
842 ac_ct_CC
843 CPPFLAGS
844 LDFLAGS
845 CFLAGS
847 SET_MAKE
848 srcdir
849 nlsdir
850 fontdir
851 dlldir
852 host_os
853 host_vendor
854 host_cpu
855 host
856 build_os
857 build_vendor
858 build_cpu
859 build
860 system_dllpath
861 target_alias
862 host_alias
863 build_alias
864 LIBS
865 ECHO_T
866 ECHO_N
867 ECHO_C
868 DEFS
869 mandir
870 localedir
871 libdir
872 psdir
873 pdfdir
874 dvidir
875 htmldir
876 infodir
877 docdir
878 oldincludedir
879 includedir
880 runstatedir
881 localstatedir
882 sharedstatedir
883 sysconfdir
884 datadir
885 datarootdir
886 libexecdir
887 sbindir
888 bindir
889 program_transform_name
890 prefix
891 exec_prefix
892 PACKAGE_URL
893 PACKAGE_BUGREPORT
894 PACKAGE_STRING
895 PACKAGE_VERSION
896 PACKAGE_TARNAME
897 PACKAGE_NAME
898 PATH_SEPARATOR
899 SHELL'
900 ac_subst_files=''
901 ac_user_opts='
902 enable_option_checking
903 enable_archs
904 enable_win16
905 enable_win64
906 enable_tests
907 enable_build_id
908 enable_maintainer_mode
909 enable_silent_rules
910 enable_werror
911 with_alsa
912 with_capi
913 with_coreaudio
914 with_cups
915 with_dbus
916 with_float_abi
917 with_fontconfig
918 with_freetype
919 with_gettext
920 with_gettextpo
921 with_gphoto
922 with_gnutls
923 with_gssapi
924 with_gstreamer
925 with_inotify
926 with_krb5
927 with_mingw
928 with_netapi
929 with_opencl
930 with_opengl
931 with_osmesa
932 with_oss
933 with_pcap
934 with_pcsclite
935 with_pthread
936 with_pulse
937 with_sane
938 with_sdl
939 with_udev
940 with_unwind
941 with_usb
942 with_v4l2
943 with_vulkan
944 with_wayland
945 with_xcomposite
946 with_xcursor
947 with_xfixes
948 with_xinerama
949 with_xinput
950 with_xinput2
951 with_xrandr
952 with_xrender
953 with_xshape
954 with_xshm
955 with_xxf86vm
956 with_system_dllpath
957 with_wine_tools
958 with_wine64
959 enable_largefile
960 with_x
961 enable_acledit
962 enable_aclui
963 enable_activeds_tlb
964 enable_activeds
965 enable_actxprxy
966 enable_adsldp
967 enable_adsldpc
968 enable_advapi32
969 enable_advpack
970 enable_amsi
971 enable_amstream
972 enable_apisetschema
973 enable_apphelp
974 enable_appwiz_cpl
975 enable_atl
976 enable_atl100
977 enable_atl110
978 enable_atl80
979 enable_atl90
980 enable_atlthunk
981 enable_atmlib
982 enable_authz
983 enable_avicap32
984 enable_avifil32
985 enable_avrt
986 enable_bcrypt
987 enable_bluetoothapis
988 enable_browseui
989 enable_bthprops_cpl
990 enable_cabinet
991 enable_capi2032
992 enable_cards
993 enable_cdosys
994 enable_cfgmgr32
995 enable_clusapi
996 enable_cng_sys
997 enable_combase
998 enable_comcat
999 enable_comctl32
1000 enable_comdlg32
1001 enable_compstui
1002 enable_comsvcs
1003 enable_concrt140
1004 enable_connect
1005 enable_credui
1006 enable_crtdll
1007 enable_crypt32
1008 enable_cryptdlg
1009 enable_cryptdll
1010 enable_cryptext
1011 enable_cryptnet
1012 enable_cryptowinrt
1013 enable_cryptsp
1014 enable_cryptui
1015 enable_ctapi32
1016 enable_ctl3d32
1017 enable_d2d1
1018 enable_d3d10
1019 enable_d3d10_1
1020 enable_d3d10core
1021 enable_d3d11
1022 enable_d3d12
1023 enable_d3d12core
1024 enable_d3d8
1025 enable_d3d8thk
1026 enable_d3d9
1027 enable_d3dcompiler_33
1028 enable_d3dcompiler_34
1029 enable_d3dcompiler_35
1030 enable_d3dcompiler_36
1031 enable_d3dcompiler_37
1032 enable_d3dcompiler_38
1033 enable_d3dcompiler_39
1034 enable_d3dcompiler_40
1035 enable_d3dcompiler_41
1036 enable_d3dcompiler_42
1037 enable_d3dcompiler_43
1038 enable_d3dcompiler_46
1039 enable_d3dcompiler_47
1040 enable_d3dim
1041 enable_d3dim700
1042 enable_d3drm
1043 enable_d3dx10_33
1044 enable_d3dx10_34
1045 enable_d3dx10_35
1046 enable_d3dx10_36
1047 enable_d3dx10_37
1048 enable_d3dx10_38
1049 enable_d3dx10_39
1050 enable_d3dx10_40
1051 enable_d3dx10_41
1052 enable_d3dx10_42
1053 enable_d3dx10_43
1054 enable_d3dx11_42
1055 enable_d3dx11_43
1056 enable_d3dx9_24
1057 enable_d3dx9_25
1058 enable_d3dx9_26
1059 enable_d3dx9_27
1060 enable_d3dx9_28
1061 enable_d3dx9_29
1062 enable_d3dx9_30
1063 enable_d3dx9_31
1064 enable_d3dx9_32
1065 enable_d3dx9_33
1066 enable_d3dx9_34
1067 enable_d3dx9_35
1068 enable_d3dx9_36
1069 enable_d3dx9_37
1070 enable_d3dx9_38
1071 enable_d3dx9_39
1072 enable_d3dx9_40
1073 enable_d3dx9_41
1074 enable_d3dx9_42
1075 enable_d3dx9_43
1076 enable_d3dxof
1077 enable_davclnt
1078 enable_dbgeng
1079 enable_dbghelp
1080 enable_dciman32
1081 enable_dcomp
1082 enable_ddraw
1083 enable_ddrawex
1084 enable_devenum
1085 enable_dhcpcsvc
1086 enable_dhcpcsvc6
1087 enable_dhtmled_ocx
1088 enable_diasymreader
1089 enable_difxapi
1090 enable_dinput
1091 enable_dinput8
1092 enable_directmanipulation
1093 enable_dispex
1094 enable_dmband
1095 enable_dmcompos
1096 enable_dmime
1097 enable_dmloader
1098 enable_dmscript
1099 enable_dmstyle
1100 enable_dmsynth
1101 enable_dmusic
1102 enable_dmusic32
1103 enable_dnsapi
1104 enable_dplay
1105 enable_dplayx
1106 enable_dpnaddr
1107 enable_dpnet
1108 enable_dpnhpast
1109 enable_dpnhupnp
1110 enable_dpnlobby
1111 enable_dpvoice
1112 enable_dpwsockx
1113 enable_drmclien
1114 enable_dsdmo
1115 enable_dsound
1116 enable_dsquery
1117 enable_dssenh
1118 enable_dsuiext
1119 enable_dswave
1120 enable_dwmapi
1121 enable_dwrite
1122 enable_dx8vb
1123 enable_dxdiagn
1124 enable_dxgi
1125 enable_dxtrans
1126 enable_dxva2
1127 enable_esent
1128 enable_evr
1129 enable_explorerframe
1130 enable_faultrep
1131 enable_feclient
1132 enable_fltlib
1133 enable_fltmgr_sys
1134 enable_fntcache
1135 enable_fontsub
1136 enable_fusion
1137 enable_fwpuclnt
1138 enable_gameux
1139 enable_gamingtcui
1140 enable_gdi32
1141 enable_gdiplus
1142 enable_glu32
1143 enable_gphoto2_ds
1144 enable_gpkcsp
1145 enable_graphicscapture
1146 enable_hal
1147 enable_hhctrl_ocx
1148 enable_hid
1149 enable_hidclass_sys
1150 enable_hidparse_sys
1151 enable_hlink
1152 enable_hnetcfg
1153 enable_http_sys
1154 enable_httpapi
1155 enable_ia2comproxy
1156 enable_iccvid
1157 enable_icmp
1158 enable_ieframe
1159 enable_ieproxy
1160 enable_imaadp32_acm
1161 enable_imagehlp
1162 enable_imm32
1163 enable_inetcomm
1164 enable_inetcpl_cpl
1165 enable_inetmib1
1166 enable_infosoft
1167 enable_initpki
1168 enable_inkobj
1169 enable_inseng
1170 enable_iphlpapi
1171 enable_iprop
1172 enable_ir50_32
1173 enable_irprops_cpl
1174 enable_itircl
1175 enable_itss
1176 enable_joy_cpl
1177 enable_jscript
1178 enable_jsproxy
1179 enable_kerberos
1180 enable_kernel32
1181 enable_kernelbase
1182 enable_ksecdd_sys
1183 enable_ksproxy_ax
1184 enable_ksuser
1185 enable_ktmw32
1186 enable_l3codeca_acm
1187 enable_light_msstyles
1188 enable_loadperf
1189 enable_localspl
1190 enable_localui
1191 enable_lz32
1192 enable_mapi32
1193 enable_mapistub
1194 enable_mciavi32
1195 enable_mcicda
1196 enable_mciqtz32
1197 enable_mciseq
1198 enable_mciwave
1199 enable_mf
1200 enable_mf3216
1201 enable_mferror
1202 enable_mfmediaengine
1203 enable_mfplat
1204 enable_mfplay
1205 enable_mfreadwrite
1206 enable_mfsrcsnk
1207 enable_mgmtapi
1208 enable_midimap
1209 enable_mlang
1210 enable_mmcndmgr
1211 enable_mmdevapi
1212 enable_mountmgr_sys
1213 enable_mp3dmod
1214 enable_mpr
1215 enable_mprapi
1216 enable_msacm32_drv
1217 enable_msacm32
1218 enable_msado15
1219 enable_msadp32_acm
1220 enable_msasn1
1221 enable_msauddecmft
1222 enable_mscat32
1223 enable_mscms
1224 enable_mscoree
1225 enable_mscorwks
1226 enable_msctf
1227 enable_msctfmonitor
1228 enable_msctfp
1229 enable_msdaps
1230 enable_msdasql
1231 enable_msdelta
1232 enable_msdmo
1233 enable_msdrm
1234 enable_msftedit
1235 enable_msg711_acm
1236 enable_msgsm32_acm
1237 enable_mshtml_tlb
1238 enable_mshtml
1239 enable_msi
1240 enable_msident
1241 enable_msimg32
1242 enable_msimsg
1243 enable_msimtf
1244 enable_msisip
1245 enable_msisys_ocx
1246 enable_msls31
1247 enable_msmpeg2vdec
1248 enable_msnet32
1249 enable_mspatcha
1250 enable_msports
1251 enable_msrle32
1252 enable_msscript_ocx
1253 enable_mssign32
1254 enable_mssip32
1255 enable_mstask
1256 enable_msv1_0
1257 enable_msvcirt
1258 enable_msvcm80
1259 enable_msvcm90
1260 enable_msvcp100
1261 enable_msvcp110
1262 enable_msvcp120
1263 enable_msvcp120_app
1264 enable_msvcp140
1265 enable_msvcp140_1
1266 enable_msvcp140_2
1267 enable_msvcp140_atomic_wait
1268 enable_msvcp60
1269 enable_msvcp70
1270 enable_msvcp71
1271 enable_msvcp80
1272 enable_msvcp90
1273 enable_msvcp_win
1274 enable_msvcr100
1275 enable_msvcr110
1276 enable_msvcr120
1277 enable_msvcr120_app
1278 enable_msvcr70
1279 enable_msvcr71
1280 enable_msvcr80
1281 enable_msvcr90
1282 enable_msvcrt
1283 enable_msvcrt20
1284 enable_msvcrt40
1285 enable_msvcrtd
1286 enable_msvfw32
1287 enable_msvidc32
1288 enable_mswsock
1289 enable_msxml
1290 enable_msxml2
1291 enable_msxml3
1292 enable_msxml4
1293 enable_msxml6
1294 enable_mtxdm
1295 enable_ncrypt
1296 enable_nddeapi
1297 enable_ndis_sys
1298 enable_netapi32
1299 enable_netcfgx
1300 enable_netio_sys
1301 enable_netprofm
1302 enable_netutils
1303 enable_newdev
1304 enable_ninput
1305 enable_normaliz
1306 enable_npmshtml
1307 enable_npptools
1308 enable_nsi
1309 enable_nsiproxy_sys
1310 enable_ntdll
1311 enable_ntdsapi
1312 enable_ntoskrnl_exe
1313 enable_ntprint
1314 enable_objsel
1315 enable_odbc32
1316 enable_odbcbcp
1317 enable_odbccp32
1318 enable_odbccu32
1319 enable_ole32
1320 enable_oleacc
1321 enable_oleaut32
1322 enable_olecli32
1323 enable_oledb32
1324 enable_oledlg
1325 enable_olepro32
1326 enable_olesvr32
1327 enable_olethk32
1328 enable_opcservices
1329 enable_opencl
1330 enable_opengl32
1331 enable_packager
1332 enable_pdh
1333 enable_photometadatahandler
1334 enable_pidgen
1335 enable_powrprof
1336 enable_printui
1337 enable_prntvpt
1338 enable_propsys
1339 enable_psapi
1340 enable_pstorec
1341 enable_pwrshplugin
1342 enable_qasf
1343 enable_qcap
1344 enable_qdvd
1345 enable_qedit
1346 enable_qmgr
1347 enable_qmgrprxy
1348 enable_quartz
1349 enable_query
1350 enable_qwave
1351 enable_rasapi32
1352 enable_rasdlg
1353 enable_regapi
1354 enable_resutils
1355 enable_riched20
1356 enable_riched32
1357 enable_rpcrt4
1358 enable_rsabase
1359 enable_rsaenh
1360 enable_rstrtmgr
1361 enable_rtutils
1362 enable_rtworkq
1363 enable_samlib
1364 enable_sane_ds
1365 enable_sapi
1366 enable_sas
1367 enable_scarddlg
1368 enable_scardsvr
1369 enable_sccbase
1370 enable_schannel
1371 enable_schedsvc
1372 enable_scrobj
1373 enable_scrrun
1374 enable_scsiport_sys
1375 enable_sechost
1376 enable_secur32
1377 enable_security
1378 enable_sensapi
1379 enable_serialui
1380 enable_setupapi
1381 enable_sfc
1382 enable_sfc_os
1383 enable_shcore
1384 enable_shdoclc
1385 enable_shdocvw
1386 enable_shell32
1387 enable_shfolder
1388 enable_shlwapi
1389 enable_slbcsp
1390 enable_slc
1391 enable_snmpapi
1392 enable_softpub
1393 enable_spoolss
1394 enable_sppc
1395 enable_srclient
1396 enable_srvcli
1397 enable_sspicli
1398 enable_stdole2_tlb
1399 enable_stdole32_tlb
1400 enable_sti
1401 enable_strmdll
1402 enable_svrapi
1403 enable_sxs
1404 enable_t2embed
1405 enable_tapi32
1406 enable_taskschd
1407 enable_tbs
1408 enable_tdh
1409 enable_tdi_sys
1410 enable_threadpoolwinrt
1411 enable_traffic
1412 enable_twain_32
1413 enable_tzres
1414 enable_ucrtbase
1415 enable_uianimation
1416 enable_uiautomationcore
1417 enable_uiribbon
1418 enable_unicows
1419 enable_updspapi
1420 enable_url
1421 enable_urlmon
1422 enable_usbd_sys
1423 enable_user32
1424 enable_userenv
1425 enable_usp10
1426 enable_utildll
1427 enable_uxtheme
1428 enable_vbscript
1429 enable_vcomp
1430 enable_vcomp100
1431 enable_vcomp110
1432 enable_vcomp120
1433 enable_vcomp140
1434 enable_vcomp90
1435 enable_vcruntime140
1436 enable_vcruntime140_1
1437 enable_vdmdbg
1438 enable_version
1439 enable_vga
1440 enable_virtdisk
1441 enable_vssapi
1442 enable_vulkan_1
1443 enable_wbemdisp
1444 enable_wbemprox
1445 enable_wdscore
1446 enable_webservices
1447 enable_websocket
1448 enable_wer
1449 enable_wevtapi
1450 enable_wevtsvc
1451 enable_wiaservc
1452 enable_wimgapi
1453 enable_win32u
1454 enable_windows_devices_enumeration
1455 enable_windows_gaming_input
1456 enable_windows_gaming_ui_gamebar
1457 enable_windows_globalization
1458 enable_windows_media_devices
1459 enable_windows_media_speech
1460 enable_windows_media
1461 enable_windows_networking
1462 enable_windows_perception_stub
1463 enable_windows_system_profile_systemmanufacturers
1464 enable_windows_ui
1465 enable_windowscodecs
1466 enable_windowscodecsext
1467 enable_winealsa_drv
1468 enable_wineandroid_drv
1469 enable_winebus_sys
1470 enable_winecoreaudio_drv
1471 enable_winecrt0
1472 enable_wined3d
1473 enable_winegstreamer
1474 enable_winehid_sys
1475 enable_winemac_drv
1476 enable_winemapi
1477 enable_wineoss_drv
1478 enable_wineps_drv
1479 enable_winepulse_drv
1480 enable_wineusb_sys
1481 enable_winevulkan
1482 enable_winewayland_drv
1483 enable_winex11_drv
1484 enable_winexinput_sys
1485 enable_wing32
1486 enable_winhttp
1487 enable_wininet
1488 enable_winmm
1489 enable_winnls32
1490 enable_winprint
1491 enable_winscard
1492 enable_winspool_drv
1493 enable_winsta
1494 enable_wintab32
1495 enable_wintrust
1496 enable_wintypes
1497 enable_winusb
1498 enable_wlanapi
1499 enable_wlanui
1500 enable_wldap32
1501 enable_wmasf
1502 enable_wmi
1503 enable_wmiutils
1504 enable_wmp
1505 enable_wmphoto
1506 enable_wmvcore
1507 enable_wnaspi32
1508 enable_wofutil
1509 enable_wow64
1510 enable_wow64cpu
1511 enable_wow64win
1512 enable_wpc
1513 enable_wpcap
1514 enable_ws2_32
1515 enable_wsdapi
1516 enable_wshom_ocx
1517 enable_wsnmp32
1518 enable_wsock32
1519 enable_wtsapi32
1520 enable_wuapi
1521 enable_wuaueng
1522 enable_x3daudio1_0
1523 enable_x3daudio1_1
1524 enable_x3daudio1_2
1525 enable_x3daudio1_3
1526 enable_x3daudio1_4
1527 enable_x3daudio1_5
1528 enable_x3daudio1_6
1529 enable_x3daudio1_7
1530 enable_xactengine2_0
1531 enable_xactengine2_4
1532 enable_xactengine2_7
1533 enable_xactengine2_9
1534 enable_xactengine3_0
1535 enable_xactengine3_1
1536 enable_xactengine3_2
1537 enable_xactengine3_3
1538 enable_xactengine3_4
1539 enable_xactengine3_5
1540 enable_xactengine3_6
1541 enable_xactengine3_7
1542 enable_xapofx1_1
1543 enable_xapofx1_2
1544 enable_xapofx1_3
1545 enable_xapofx1_4
1546 enable_xapofx1_5
1547 enable_xaudio2_0
1548 enable_xaudio2_1
1549 enable_xaudio2_2
1550 enable_xaudio2_3
1551 enable_xaudio2_4
1552 enable_xaudio2_5
1553 enable_xaudio2_6
1554 enable_xaudio2_7
1555 enable_xaudio2_8
1556 enable_xaudio2_9
1557 enable_xinput1_1
1558 enable_xinput1_2
1559 enable_xinput1_3
1560 enable_xinput1_4
1561 enable_xinput9_1_0
1562 enable_xinputuap
1563 enable_xmllite
1564 enable_xolehlp
1565 enable_xpsprint
1566 enable_xpssvcs
1567 enable_fonts
1568 enable_include
1569 enable_adsiid
1570 enable_dmoguids
1571 enable_dxerr8
1572 enable_dxerr9
1573 enable_dxguid
1574 enable_faudio
1575 enable_gsm
1576 enable_jpeg
1577 enable_jxr
1578 enable_lcms2
1579 enable_ldap
1580 enable_mfuuid
1581 enable_mpg123
1582 enable_musl
1583 enable_png
1584 enable_strmbase
1585 enable_strmiids
1586 enable_tiff
1587 enable_uuid
1588 enable_vkd3d
1589 enable_wbemuuid
1590 enable_wmcodecdspuuid
1591 enable_xml2
1592 enable_xslt
1593 enable_zlib
1594 enable_zydis
1595 enable_loader
1596 enable_nls
1597 enable_po
1598 enable_arp
1599 enable_aspnet_regiis
1600 enable_attrib
1601 enable_cabarc
1602 enable_cacls
1603 enable_certutil
1604 enable_chcp_com
1605 enable_clock
1606 enable_cmd
1607 enable_conhost
1608 enable_control
1609 enable_cscript
1610 enable_dism
1611 enable_dllhost
1612 enable_dplaysvr
1613 enable_dpnsvr
1614 enable_dpvsetup
1615 enable_dxdiag
1616 enable_eject
1617 enable_expand
1618 enable_explorer
1619 enable_extrac32
1620 enable_fc
1621 enable_find
1622 enable_findstr
1623 enable_fsutil
1624 enable_hh
1625 enable_hostname
1626 enable_icacls
1627 enable_icinfo
1628 enable_iexplore
1629 enable_ipconfig
1630 enable_lodctr
1631 enable_mofcomp
1632 enable_mshta
1633 enable_msidb
1634 enable_msiexec
1635 enable_msinfo32
1636 enable_net
1637 enable_netsh
1638 enable_netstat
1639 enable_ngen
1640 enable_notepad
1641 enable_oleview
1642 enable_ping
1643 enable_plugplay
1644 enable_powershell
1645 enable_presentationfontcache
1646 enable_progman
1647 enable_reg
1648 enable_regasm
1649 enable_regedit
1650 enable_regini
1651 enable_regsvcs
1652 enable_regsvr32
1653 enable_robocopy
1654 enable_rpcss
1655 enable_rundll32
1656 enable_sc
1657 enable_schtasks
1658 enable_sdbinst
1659 enable_secedit
1660 enable_servicemodelreg
1661 enable_services
1662 enable_setx
1663 enable_shutdown
1664 enable_spoolsv
1665 enable_start
1666 enable_subst
1667 enable_svchost
1668 enable_systeminfo
1669 enable_taskkill
1670 enable_tasklist
1671 enable_taskmgr
1672 enable_termsv
1673 enable_uninstaller
1674 enable_unlodctr
1675 enable_view
1676 enable_wevtutil
1677 enable_where
1678 enable_whoami
1679 enable_wineboot
1680 enable_winebrowser
1681 enable_winecfg
1682 enable_wineconsole
1683 enable_winedbg
1684 enable_winedevice
1685 enable_winefile
1686 enable_winemenubuilder
1687 enable_winemine
1688 enable_winemsibuilder
1689 enable_winepath
1690 enable_winetest
1691 enable_winhlp32
1692 enable_winmgmt
1693 enable_winver
1694 enable_wmic
1695 enable_wmplayer
1696 enable_wordpad
1697 enable_write
1698 enable_wscript
1699 enable_wuauserv
1700 enable_wusa
1701 enable_xcopy
1702 enable_server
1703 enable_tools
1704 enable_sfnt2fon
1705 enable_widl
1706 enable_winebuild
1707 enable_winedump
1708 enable_winegcc
1709 enable_winemaker
1710 enable_wmc
1711 enable_wrc
1713 ac_precious_vars='build_alias
1714 host_alias
1715 target_alias
1717 CFLAGS
1718 LDFLAGS
1719 LIBS
1720 CPPFLAGS
1722 CXXFLAGS
1724 OBJC
1725 OBJCFLAGS
1726 FAUDIO_PE_CFLAGS
1727 FAUDIO_PE_LIBS
1728 GSM_PE_CFLAGS
1729 GSM_PE_LIBS
1730 JPEG_PE_CFLAGS
1731 JPEG_PE_LIBS
1732 JXR_PE_CFLAGS
1733 JXR_PE_LIBS
1734 LCMS2_PE_CFLAGS
1735 LCMS2_PE_LIBS
1736 LDAP_PE_CFLAGS
1737 LDAP_PE_LIBS
1738 MPG123_PE_CFLAGS
1739 MPG123_PE_LIBS
1740 MUSL_PE_CFLAGS
1741 MUSL_PE_LIBS
1742 PNG_PE_CFLAGS
1743 PNG_PE_LIBS
1744 TIFF_PE_CFLAGS
1745 TIFF_PE_LIBS
1746 VKD3D_PE_CFLAGS
1747 VKD3D_PE_LIBS
1748 XML2_PE_CFLAGS
1749 XML2_PE_LIBS
1750 XSLT_PE_CFLAGS
1751 XSLT_PE_LIBS
1752 ZLIB_PE_CFLAGS
1753 ZLIB_PE_LIBS
1754 ZYDIS_PE_CFLAGS
1755 ZYDIS_PE_LIBS
1756 XMKMF
1758 WAYLAND_CLIENT_CFLAGS
1759 WAYLAND_CLIENT_LIBS
1760 INOTIFY_CFLAGS
1761 INOTIFY_LIBS
1762 DBUS_CFLAGS
1763 DBUS_LIBS
1764 GNUTLS_CFLAGS
1765 GNUTLS_LIBS
1766 SANE_CFLAGS
1767 SANE_LIBS
1768 USB_CFLAGS
1769 USB_LIBS
1770 GPHOTO2_CFLAGS
1771 GPHOTO2_LIBS
1772 GPHOTO2_PORT_CFLAGS
1773 GPHOTO2_PORT_LIBS
1774 FREETYPE_CFLAGS
1775 FREETYPE_LIBS
1776 PULSE_CFLAGS
1777 PULSE_LIBS
1778 GSTREAMER_CFLAGS
1779 GSTREAMER_LIBS
1780 UDEV_CFLAGS
1781 UDEV_LIBS
1782 UNWIND_CFLAGS
1783 UNWIND_LIBS
1784 SDL2_CFLAGS
1785 SDL2_LIBS
1786 CAPI20_CFLAGS
1787 CAPI20_LIBS
1788 CUPS_CFLAGS
1789 CUPS_LIBS
1790 FONTCONFIG_CFLAGS
1791 FONTCONFIG_LIBS
1792 KRB5_CFLAGS
1793 KRB5_LIBS
1794 GSSAPI_CFLAGS
1795 GSSAPI_LIBS
1796 NETAPI_CFLAGS
1797 NETAPI_LIBS'
1800 # Initialize some variables set by options.
1801 ac_init_help=
1802 ac_init_version=false
1803 ac_unrecognized_opts=
1804 ac_unrecognized_sep=
1805 # The variables have the same names as the options, with
1806 # dashes changed to underlines.
1807 cache_file=/dev/null
1808 exec_prefix=NONE
1809 no_create=
1810 no_recursion=
1811 prefix=NONE
1812 program_prefix=NONE
1813 program_suffix=NONE
1814 program_transform_name=s,x,x,
1815 silent=
1816 site=
1817 srcdir=
1818 verbose=
1819 x_includes=NONE
1820 x_libraries=NONE
1822 # Installation directory options.
1823 # These are left unexpanded so users can "make install exec_prefix=/foo"
1824 # and all the variables that are supposed to be based on exec_prefix
1825 # by default will actually change.
1826 # Use braces instead of parens because sh, perl, etc. also accept them.
1827 # (The list follows the same order as the GNU Coding Standards.)
1828 bindir='${exec_prefix}/bin'
1829 sbindir='${exec_prefix}/sbin'
1830 libexecdir='${exec_prefix}/libexec'
1831 datarootdir='${prefix}/share'
1832 datadir='${datarootdir}'
1833 sysconfdir='${prefix}/etc'
1834 sharedstatedir='${prefix}/com'
1835 localstatedir='${prefix}/var'
1836 runstatedir='${localstatedir}/run'
1837 includedir='${prefix}/include'
1838 oldincludedir='/usr/include'
1839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1840 infodir='${datarootdir}/info'
1841 htmldir='${docdir}'
1842 dvidir='${docdir}'
1843 pdfdir='${docdir}'
1844 psdir='${docdir}'
1845 libdir='${exec_prefix}/lib'
1846 localedir='${datarootdir}/locale'
1847 mandir='${datarootdir}/man'
1849 ac_prev=
1850 ac_dashdash=
1851 for ac_option
1853 # If the previous option needs an argument, assign it.
1854 if test -n "$ac_prev"; then
1855 eval $ac_prev=\$ac_option
1856 ac_prev=
1857 continue
1860 case $ac_option in
1861 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1862 *=) ac_optarg= ;;
1863 *) ac_optarg=yes ;;
1864 esac
1866 case $ac_dashdash$ac_option in
1868 ac_dashdash=yes ;;
1870 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1871 ac_prev=bindir ;;
1872 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1873 bindir=$ac_optarg ;;
1875 -build | --build | --buil | --bui | --bu)
1876 ac_prev=build_alias ;;
1877 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1878 build_alias=$ac_optarg ;;
1880 -cache-file | --cache-file | --cache-fil | --cache-fi \
1881 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1882 ac_prev=cache_file ;;
1883 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1884 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1885 cache_file=$ac_optarg ;;
1887 --config-cache | -C)
1888 cache_file=config.cache ;;
1890 -datadir | --datadir | --datadi | --datad)
1891 ac_prev=datadir ;;
1892 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1893 datadir=$ac_optarg ;;
1895 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1896 | --dataroo | --dataro | --datar)
1897 ac_prev=datarootdir ;;
1898 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1899 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1900 datarootdir=$ac_optarg ;;
1902 -disable-* | --disable-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval enable_$ac_useropt=no ;;
1918 -docdir | --docdir | --docdi | --doc | --do)
1919 ac_prev=docdir ;;
1920 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1921 docdir=$ac_optarg ;;
1923 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1924 ac_prev=dvidir ;;
1925 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1926 dvidir=$ac_optarg ;;
1928 -enable-* | --enable-*)
1929 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1930 # Reject names that are not valid shell variable names.
1931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1932 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1933 ac_useropt_orig=$ac_useropt
1934 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1935 case $ac_user_opts in
1937 "enable_$ac_useropt"
1938 "*) ;;
1939 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1940 ac_unrecognized_sep=', ';;
1941 esac
1942 eval enable_$ac_useropt=\$ac_optarg ;;
1944 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1945 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1946 | --exec | --exe | --ex)
1947 ac_prev=exec_prefix ;;
1948 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1949 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1950 | --exec=* | --exe=* | --ex=*)
1951 exec_prefix=$ac_optarg ;;
1953 -gas | --gas | --ga | --g)
1954 # Obsolete; use --with-gas.
1955 with_gas=yes ;;
1957 -help | --help | --hel | --he | -h)
1958 ac_init_help=long ;;
1959 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1960 ac_init_help=recursive ;;
1961 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1962 ac_init_help=short ;;
1964 -host | --host | --hos | --ho)
1965 ac_prev=host_alias ;;
1966 -host=* | --host=* | --hos=* | --ho=*)
1967 host_alias=$ac_optarg ;;
1969 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1970 ac_prev=htmldir ;;
1971 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1972 | --ht=*)
1973 htmldir=$ac_optarg ;;
1975 -includedir | --includedir | --includedi | --included | --include \
1976 | --includ | --inclu | --incl | --inc)
1977 ac_prev=includedir ;;
1978 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1979 | --includ=* | --inclu=* | --incl=* | --inc=*)
1980 includedir=$ac_optarg ;;
1982 -infodir | --infodir | --infodi | --infod | --info | --inf)
1983 ac_prev=infodir ;;
1984 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1985 infodir=$ac_optarg ;;
1987 -libdir | --libdir | --libdi | --libd)
1988 ac_prev=libdir ;;
1989 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1990 libdir=$ac_optarg ;;
1992 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1993 | --libexe | --libex | --libe)
1994 ac_prev=libexecdir ;;
1995 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1996 | --libexe=* | --libex=* | --libe=*)
1997 libexecdir=$ac_optarg ;;
1999 -localedir | --localedir | --localedi | --localed | --locale)
2000 ac_prev=localedir ;;
2001 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2002 localedir=$ac_optarg ;;
2004 -localstatedir | --localstatedir | --localstatedi | --localstated \
2005 | --localstate | --localstat | --localsta | --localst | --locals)
2006 ac_prev=localstatedir ;;
2007 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2008 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2009 localstatedir=$ac_optarg ;;
2011 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2012 ac_prev=mandir ;;
2013 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2014 mandir=$ac_optarg ;;
2016 -nfp | --nfp | --nf)
2017 # Obsolete; use --without-fp.
2018 with_fp=no ;;
2020 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2021 | --no-cr | --no-c | -n)
2022 no_create=yes ;;
2024 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2025 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2026 no_recursion=yes ;;
2028 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2029 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2030 | --oldin | --oldi | --old | --ol | --o)
2031 ac_prev=oldincludedir ;;
2032 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2033 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2034 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2035 oldincludedir=$ac_optarg ;;
2037 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2038 ac_prev=prefix ;;
2039 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2040 prefix=$ac_optarg ;;
2042 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2043 | --program-pre | --program-pr | --program-p)
2044 ac_prev=program_prefix ;;
2045 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2046 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2047 program_prefix=$ac_optarg ;;
2049 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2050 | --program-suf | --program-su | --program-s)
2051 ac_prev=program_suffix ;;
2052 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2053 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2054 program_suffix=$ac_optarg ;;
2056 -program-transform-name | --program-transform-name \
2057 | --program-transform-nam | --program-transform-na \
2058 | --program-transform-n | --program-transform- \
2059 | --program-transform | --program-transfor \
2060 | --program-transfo | --program-transf \
2061 | --program-trans | --program-tran \
2062 | --progr-tra | --program-tr | --program-t)
2063 ac_prev=program_transform_name ;;
2064 -program-transform-name=* | --program-transform-name=* \
2065 | --program-transform-nam=* | --program-transform-na=* \
2066 | --program-transform-n=* | --program-transform-=* \
2067 | --program-transform=* | --program-transfor=* \
2068 | --program-transfo=* | --program-transf=* \
2069 | --program-trans=* | --program-tran=* \
2070 | --progr-tra=* | --program-tr=* | --program-t=*)
2071 program_transform_name=$ac_optarg ;;
2073 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2074 ac_prev=pdfdir ;;
2075 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2076 pdfdir=$ac_optarg ;;
2078 -psdir | --psdir | --psdi | --psd | --ps)
2079 ac_prev=psdir ;;
2080 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2081 psdir=$ac_optarg ;;
2083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2084 | -silent | --silent | --silen | --sile | --sil)
2085 silent=yes ;;
2087 -runstatedir | --runstatedir | --runstatedi | --runstated \
2088 | --runstate | --runstat | --runsta | --runst | --runs \
2089 | --run | --ru | --r)
2090 ac_prev=runstatedir ;;
2091 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2092 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2093 | --run=* | --ru=* | --r=*)
2094 runstatedir=$ac_optarg ;;
2096 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2097 ac_prev=sbindir ;;
2098 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2099 | --sbi=* | --sb=*)
2100 sbindir=$ac_optarg ;;
2102 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2103 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2104 | --sharedst | --shareds | --shared | --share | --shar \
2105 | --sha | --sh)
2106 ac_prev=sharedstatedir ;;
2107 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2108 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2109 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2110 | --sha=* | --sh=*)
2111 sharedstatedir=$ac_optarg ;;
2113 -site | --site | --sit)
2114 ac_prev=site ;;
2115 -site=* | --site=* | --sit=*)
2116 site=$ac_optarg ;;
2118 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2119 ac_prev=srcdir ;;
2120 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2121 srcdir=$ac_optarg ;;
2123 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2124 | --syscon | --sysco | --sysc | --sys | --sy)
2125 ac_prev=sysconfdir ;;
2126 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2127 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2128 sysconfdir=$ac_optarg ;;
2130 -target | --target | --targe | --targ | --tar | --ta | --t)
2131 ac_prev=target_alias ;;
2132 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2133 target_alias=$ac_optarg ;;
2135 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2136 verbose=yes ;;
2138 -version | --version | --versio | --versi | --vers | -V)
2139 ac_init_version=: ;;
2141 -with-* | --with-*)
2142 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2143 # Reject names that are not valid shell variable names.
2144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2145 as_fn_error $? "invalid package name: \`$ac_useropt'"
2146 ac_useropt_orig=$ac_useropt
2147 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2148 case $ac_user_opts in
2150 "with_$ac_useropt"
2151 "*) ;;
2152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2153 ac_unrecognized_sep=', ';;
2154 esac
2155 eval with_$ac_useropt=\$ac_optarg ;;
2157 -without-* | --without-*)
2158 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2159 # Reject names that are not valid shell variable names.
2160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2161 as_fn_error $? "invalid package name: \`$ac_useropt'"
2162 ac_useropt_orig=$ac_useropt
2163 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2164 case $ac_user_opts in
2166 "with_$ac_useropt"
2167 "*) ;;
2168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2169 ac_unrecognized_sep=', ';;
2170 esac
2171 eval with_$ac_useropt=no ;;
2173 --x)
2174 # Obsolete; use --with-x.
2175 with_x=yes ;;
2177 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2178 | --x-incl | --x-inc | --x-in | --x-i)
2179 ac_prev=x_includes ;;
2180 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2181 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2182 x_includes=$ac_optarg ;;
2184 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2185 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2186 ac_prev=x_libraries ;;
2187 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2188 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2189 x_libraries=$ac_optarg ;;
2191 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2192 Try \`$0 --help' for more information"
2195 *=*)
2196 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2197 # Reject names that are not valid shell variable names.
2198 case $ac_envvar in #(
2199 '' | [0-9]* | *[!_$as_cr_alnum]* )
2200 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2201 esac
2202 eval $ac_envvar=\$ac_optarg
2203 export $ac_envvar ;;
2206 # FIXME: should be removed in autoconf 3.0.
2207 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2208 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2209 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2210 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2213 esac
2214 done
2216 if test -n "$ac_prev"; then
2217 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2218 as_fn_error $? "missing argument to $ac_option"
2221 if test -n "$ac_unrecognized_opts"; then
2222 case $enable_option_checking in
2223 no) ;;
2224 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2225 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2226 esac
2229 # Check all directory arguments for consistency.
2230 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2231 datadir sysconfdir sharedstatedir localstatedir includedir \
2232 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2233 libdir localedir mandir runstatedir
2235 eval ac_val=\$$ac_var
2236 # Remove trailing slashes.
2237 case $ac_val in
2238 */ )
2239 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2240 eval $ac_var=\$ac_val;;
2241 esac
2242 # Be sure to have absolute directory names.
2243 case $ac_val in
2244 [\\/$]* | ?:[\\/]* ) continue;;
2245 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2246 esac
2247 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2248 done
2250 # There might be people who depend on the old broken behavior: `$host'
2251 # used to hold the argument of --host etc.
2252 # FIXME: To remove some day.
2253 build=$build_alias
2254 host=$host_alias
2255 target=$target_alias
2257 # FIXME: To remove some day.
2258 if test "x$host_alias" != x; then
2259 if test "x$build_alias" = x; then
2260 cross_compiling=maybe
2261 elif test "x$build_alias" != "x$host_alias"; then
2262 cross_compiling=yes
2266 ac_tool_prefix=
2267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2269 test "$silent" = yes && exec 6>/dev/null
2272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2273 ac_ls_di=`ls -di .` &&
2274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2275 as_fn_error $? "working directory cannot be determined"
2276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2277 as_fn_error $? "pwd does not report name of working directory"
2280 # Find the source files, if location was not specified.
2281 if test -z "$srcdir"; then
2282 ac_srcdir_defaulted=yes
2283 # Try the directory containing this script, then the parent directory.
2284 ac_confdir=`$as_dirname -- "$as_myself" ||
2285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2286 X"$as_myself" : 'X\(//\)[^/]' \| \
2287 X"$as_myself" : 'X\(//\)$' \| \
2288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2289 printf "%s\n" X"$as_myself" |
2290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2291 s//\1/
2294 /^X\(\/\/\)[^/].*/{
2295 s//\1/
2298 /^X\(\/\/\)$/{
2299 s//\1/
2302 /^X\(\/\).*/{
2303 s//\1/
2306 s/.*/./; q'`
2307 srcdir=$ac_confdir
2308 if test ! -r "$srcdir/$ac_unique_file"; then
2309 srcdir=..
2311 else
2312 ac_srcdir_defaulted=no
2314 if test ! -r "$srcdir/$ac_unique_file"; then
2315 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2316 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2319 ac_abs_confdir=`(
2320 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2321 pwd)`
2322 # When building in place, set srcdir=.
2323 if test "$ac_abs_confdir" = "$ac_pwd"; then
2324 srcdir=.
2326 # Remove unnecessary trailing slashes from srcdir.
2327 # Double slashes in file names in object file debugging info
2328 # mess up M-x gdb in Emacs.
2329 case $srcdir in
2330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2331 esac
2332 for ac_var in $ac_precious_vars; do
2333 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2334 eval ac_env_${ac_var}_value=\$${ac_var}
2335 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2336 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2337 done
2340 # Report the --help message.
2342 if test "$ac_init_help" = "long"; then
2343 # Omit some internal or obsolete options to make the list less imposing.
2344 # This message is too long to be a string in the A/UX 3.1 sh.
2345 cat <<_ACEOF
2346 \`configure' configures Wine 8.5 to adapt to many kinds of systems.
2348 Usage: $0 [OPTION]... [VAR=VALUE]...
2350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2351 VAR=VALUE. See below for descriptions of some of the useful variables.
2353 Defaults for the options are specified in brackets.
2355 Configuration:
2356 -h, --help display this help and exit
2357 --help=short display options specific to this package
2358 --help=recursive display the short help of all the included packages
2359 -V, --version display version information and exit
2360 -q, --quiet, --silent do not print \`checking ...' messages
2361 --cache-file=FILE cache test results in FILE [disabled]
2362 -C, --config-cache alias for \`--cache-file=config.cache'
2363 -n, --no-create do not create output files
2364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2366 Installation directories:
2367 --prefix=PREFIX install architecture-independent files in PREFIX
2368 [$ac_default_prefix]
2369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2370 [PREFIX]
2372 By default, \`make install' will install all the files in
2373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2375 for instance \`--prefix=\$HOME'.
2377 For better control, use the options below.
2379 Fine tuning of the installation directories:
2380 --bindir=DIR user executables [EPREFIX/bin]
2381 --sbindir=DIR system admin executables [EPREFIX/sbin]
2382 --libexecdir=DIR program executables [EPREFIX/libexec]
2383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2386 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2387 --libdir=DIR object code libraries [EPREFIX/lib]
2388 --includedir=DIR C header files [PREFIX/include]
2389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2392 --infodir=DIR info documentation [DATAROOTDIR/info]
2393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2394 --mandir=DIR man documentation [DATAROOTDIR/man]
2395 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2396 --htmldir=DIR html documentation [DOCDIR]
2397 --dvidir=DIR dvi documentation [DOCDIR]
2398 --pdfdir=DIR pdf documentation [DOCDIR]
2399 --psdir=DIR ps documentation [DOCDIR]
2400 _ACEOF
2402 cat <<\_ACEOF
2404 X features:
2405 --x-includes=DIR X include files are in DIR
2406 --x-libraries=DIR X library files are in DIR
2408 System types:
2409 --build=BUILD configure for building on BUILD [guessed]
2410 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2411 _ACEOF
2414 if test -n "$ac_init_help"; then
2415 case $ac_init_help in
2416 short | recursive ) echo "Configuration of Wine 8.5:";;
2417 esac
2418 cat <<\_ACEOF
2420 Optional Features:
2421 --disable-option-checking ignore unrecognized --enable/--with options
2422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2424 --enable-archs={i386,x86_64,arm,aarch64}
2425 enable multiple architectures for PE compilation
2426 --disable-win16 do not include Win16 support
2427 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2428 binaries)
2429 --disable-tests do not build the regression tests
2430 --enable-build-id include .buildid section in output objects
2431 --enable-maintainer-mode
2432 enable maintainer-specific build rules
2433 --enable-silent-rules use silent build rules (override: "make V=1")
2434 --enable-werror treat compilation warnings as errors
2435 --disable-largefile omit support for large files
2437 Optional Packages:
2438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2440 --without-alsa do not use the Alsa sound support
2441 --without-capi do not use CAPI (ISDN support)
2442 --without-coreaudio do not use the CoreAudio sound support
2443 --without-cups do not use CUPS
2444 --without-dbus do not use DBus (dynamic device support)
2445 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2446 --without-fontconfig do not use fontconfig
2447 --without-freetype do not use the FreeType library
2448 --without-gettext do not use gettext
2449 --with-gettextpo use the GetTextPO library to rebuild po files
2450 --without-gphoto do not use gphoto (Digital Camera support)
2451 --without-gnutls do not use GnuTLS (schannel support)
2452 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2453 --without-gstreamer do not use GStreamer (codecs support)
2454 --without-inotify do not use inotify (filesystem change notifications)
2455 --without-krb5 do not use krb5 (Kerberos)
2456 --without-mingw do not use the MinGW cross-compiler
2457 --without-netapi do not use the Samba NetAPI library
2458 --without-opencl do not use OpenCL
2459 --without-opengl do not use OpenGL
2460 --without-osmesa do not use the OSMesa library
2461 --without-oss do not use the OSS sound support
2462 --without-pcap do not use the Packet Capture library
2463 --without-pcsclite do not use PCSC lite
2464 --without-pthread do not use the pthread library
2465 --without-pulse do not use PulseAudio sound support
2466 --without-sane do not use SANE (scanner support)
2467 --without-sdl do not use SDL
2468 --without-udev do not use udev (plug and play support)
2469 --without-unwind do not use the libunwind library (exception
2470 handling)
2471 --without-usb do not use the libusb library
2472 --without-v4l2 do not use v4l2 (video capture)
2473 --without-vulkan do not use Vulkan
2474 --without-wayland do not build the Wayland driver
2475 --without-xcomposite do not use the Xcomposite extension
2476 --without-xcursor do not use the Xcursor extension
2477 --without-xfixes do not use Xfixes for clipboard change notifications
2478 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2479 --without-xinput do not use the Xinput extension
2480 --without-xinput2 do not use the Xinput 2 extension
2481 --without-xrandr do not use Xrandr (multi-monitor support)
2482 --without-xrender do not use the Xrender extension
2483 --without-xshape do not use the Xshape extension
2484 --without-xshm do not use XShm (shared memory extension)
2485 --without-xxf86vm do not use XFree video mode extension
2486 --with-system-dllpath=PATH
2487 load external PE dependencies from colon-separated
2488 path PATH
2489 --with-wine-tools=DIR use Wine tools from directory DIR
2490 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2491 --with-x use the X Window System
2493 Some influential environment variables:
2494 CC C compiler command
2495 CFLAGS C compiler flags
2496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2497 nonstandard directory <lib dir>
2498 LIBS libraries to pass to the linker, e.g. -l<library>
2499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2500 you have headers in a nonstandard directory <include dir>
2501 CXX C++ compiler command
2502 CXXFLAGS C++ compiler flags
2503 OBJC Objective C compiler command
2504 OBJCFLAGS Objective C compiler flags
2505 FAUDIO_PE_CFLAGS
2506 C compiler flags for the PE faudio, overriding the bundled
2507 version
2508 FAUDIO_PE_LIBS
2509 Linker flags for the PE faudio, overriding the bundled version
2510 GSM_PE_CFLAGS
2511 C compiler flags for the PE gsm, overriding the bundled version
2512 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2513 JPEG_PE_CFLAGS
2514 C compiler flags for the PE jpeg, overriding the bundled version
2515 JPEG_PE_LIBS
2516 Linker flags for the PE jpeg, overriding the bundled version
2517 JXR_PE_CFLAGS
2518 C compiler flags for the PE jxr, overriding the bundled version
2519 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2520 LCMS2_PE_CFLAGS
2521 C compiler flags for the PE lcms2, overriding the bundled
2522 version
2523 LCMS2_PE_LIBS
2524 Linker flags for the PE lcms2, overriding the bundled version
2525 LDAP_PE_CFLAGS
2526 C compiler flags for the PE ldap, overriding the bundled version
2527 LDAP_PE_LIBS
2528 Linker flags for the PE ldap, overriding the bundled version
2529 MPG123_PE_CFLAGS
2530 C compiler flags for the PE mpg123, overriding the bundled
2531 version
2532 MPG123_PE_LIBS
2533 Linker flags for the PE mpg123, overriding the bundled version
2534 MUSL_PE_CFLAGS
2535 C compiler flags for the PE musl, overriding the bundled version
2536 MUSL_PE_LIBS
2537 Linker flags for the PE musl, overriding the bundled version
2538 PNG_PE_CFLAGS
2539 C compiler flags for the PE png, overriding the bundled version
2540 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2541 TIFF_PE_CFLAGS
2542 C compiler flags for the PE tiff, overriding the bundled version
2543 TIFF_PE_LIBS
2544 Linker flags for the PE tiff, overriding the bundled version
2545 VKD3D_PE_CFLAGS
2546 C compiler flags for the PE vkd3d, overriding the bundled
2547 version
2548 VKD3D_PE_LIBS
2549 Linker flags for the PE vkd3d, overriding the bundled version
2550 XML2_PE_CFLAGS
2551 C compiler flags for the PE xml2, overriding the bundled version
2552 XML2_PE_LIBS
2553 Linker flags for the PE xml2, overriding the bundled version
2554 XSLT_PE_CFLAGS
2555 C compiler flags for the PE xslt, overriding the bundled version
2556 XSLT_PE_LIBS
2557 Linker flags for the PE xslt, overriding the bundled version
2558 ZLIB_PE_CFLAGS
2559 C compiler flags for the PE zlib, overriding the bundled version
2560 ZLIB_PE_LIBS
2561 Linker flags for the PE zlib, overriding the bundled version
2562 ZYDIS_PE_CFLAGS
2563 C compiler flags for the PE zydis, overriding the bundled
2564 version
2565 ZYDIS_PE_LIBS
2566 Linker flags for the PE zydis, overriding the bundled version
2567 XMKMF Path to xmkmf, Makefile generator for X Window System
2568 CPP C preprocessor
2569 WAYLAND_CLIENT_CFLAGS
2570 C compiler flags for wayland-client, overriding pkg-config
2571 WAYLAND_CLIENT_LIBS
2572 Linker flags for wayland-client, overriding pkg-config
2573 INOTIFY_CFLAGS
2574 C compiler flags for libinotify, overriding pkg-config
2575 INOTIFY_LIBS
2576 Linker flags for libinotify, overriding pkg-config
2577 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2578 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2579 GNUTLS_CFLAGS
2580 C compiler flags for gnutls, overriding pkg-config
2581 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2582 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2583 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2584 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2585 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2586 GPHOTO2_CFLAGS
2587 C compiler flags for libgphoto2, overriding pkg-config
2588 GPHOTO2_LIBS
2589 Linker flags for libgphoto2, overriding pkg-config
2590 GPHOTO2_PORT_CFLAGS
2591 C compiler flags for libgphoto2_port, overriding pkg-config
2592 GPHOTO2_PORT_LIBS
2593 Linker flags for libgphoto2_port, overriding pkg-config
2594 FREETYPE_CFLAGS
2595 C compiler flags for freetype2, overriding pkg-config
2596 FREETYPE_LIBS
2597 Linker flags for freetype2, overriding pkg-config
2598 PULSE_CFLAGS
2599 C compiler flags for libpulse, overriding pkg-config
2600 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2601 GSTREAMER_CFLAGS
2602 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2603 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2604 GSTREAMER_LIBS
2605 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2606 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2607 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2608 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2609 UNWIND_CFLAGS
2610 C compiler flags for libunwind, overriding pkg-config
2611 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2612 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2613 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2614 CAPI20_CFLAGS
2615 C compiler flags for capi20, overriding pkg-config
2616 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2617 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2618 CUPS_LIBS Linker flags for cups, overriding pkg-config
2619 FONTCONFIG_CFLAGS
2620 C compiler flags for fontconfig, overriding pkg-config
2621 FONTCONFIG_LIBS
2622 Linker flags for fontconfig, overriding pkg-config
2623 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2624 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2625 GSSAPI_CFLAGS
2626 C compiler flags for krb5-gssapi, overriding pkg-config
2627 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2628 NETAPI_CFLAGS
2629 C compiler flags for netapi, overriding pkg-config
2630 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2632 Use these variables to override the choices made by `configure' or to help
2633 it to find libraries and programs with nonstandard names/locations.
2635 Report bugs to <wine-devel@winehq.org>.
2636 Wine home page: <https://www.winehq.org>.
2637 _ACEOF
2638 ac_status=$?
2641 if test "$ac_init_help" = "recursive"; then
2642 # If there are subdirs, report their specific --help.
2643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2644 test -d "$ac_dir" ||
2645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2646 continue
2647 ac_builddir=.
2649 case "$ac_dir" in
2650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2652 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2653 # A ".." for each directory in $ac_dir_suffix.
2654 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2655 case $ac_top_builddir_sub in
2656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2658 esac ;;
2659 esac
2660 ac_abs_top_builddir=$ac_pwd
2661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2662 # for backward compatibility:
2663 ac_top_builddir=$ac_top_build_prefix
2665 case $srcdir in
2666 .) # We are building in place.
2667 ac_srcdir=.
2668 ac_top_srcdir=$ac_top_builddir_sub
2669 ac_abs_top_srcdir=$ac_pwd ;;
2670 [\\/]* | ?:[\\/]* ) # Absolute name.
2671 ac_srcdir=$srcdir$ac_dir_suffix;
2672 ac_top_srcdir=$srcdir
2673 ac_abs_top_srcdir=$srcdir ;;
2674 *) # Relative name.
2675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2676 ac_top_srcdir=$ac_top_build_prefix$srcdir
2677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2678 esac
2679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2681 cd "$ac_dir" || { ac_status=$?; continue; }
2682 # Check for configure.gnu first; this name is used for a wrapper for
2683 # Metaconfig's "Configure" on case-insensitive file systems.
2684 if test -f "$ac_srcdir/configure.gnu"; then
2685 echo &&
2686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2687 elif test -f "$ac_srcdir/configure"; then
2688 echo &&
2689 $SHELL "$ac_srcdir/configure" --help=recursive
2690 else
2691 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2692 fi || ac_status=$?
2693 cd "$ac_pwd" || { ac_status=$?; break; }
2694 done
2697 test -n "$ac_init_help" && exit $ac_status
2698 if $ac_init_version; then
2699 cat <<\_ACEOF
2700 Wine configure 8.5
2701 generated by GNU Autoconf 2.71
2703 Copyright (C) 2021 Free Software Foundation, Inc.
2704 This configure script is free software; the Free Software Foundation
2705 gives unlimited permission to copy, distribute and modify it.
2706 _ACEOF
2707 exit
2710 ## ------------------------ ##
2711 ## Autoconf initialization. ##
2712 ## ------------------------ ##
2714 # ac_fn_c_try_compile LINENO
2715 # --------------------------
2716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2717 ac_fn_c_try_compile ()
2719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720 rm -f conftest.$ac_objext conftest.beam
2721 if { { ac_try="$ac_compile"
2722 case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 printf "%s\n" "$ac_try_echo"; } >&5
2728 (eval "$ac_compile") 2>conftest.err
2729 ac_status=$?
2730 if test -s conftest.err; then
2731 grep -v '^ *+' conftest.err >conftest.er1
2732 cat conftest.er1 >&5
2733 mv -f conftest.er1 conftest.err
2735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; } && {
2737 test -z "$ac_c_werror_flag" ||
2738 test ! -s conftest.err
2739 } && test -s conftest.$ac_objext
2740 then :
2741 ac_retval=0
2742 else $as_nop
2743 printf "%s\n" "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2746 ac_retval=1
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2751 } # ac_fn_c_try_compile
2753 # ac_fn_cxx_try_compile LINENO
2754 # ----------------------------
2755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2756 ac_fn_cxx_try_compile ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 rm -f conftest.$ac_objext conftest.beam
2760 if { { ac_try="$ac_compile"
2761 case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764 esac
2765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2766 printf "%s\n" "$ac_try_echo"; } >&5
2767 (eval "$ac_compile") 2>conftest.err
2768 ac_status=$?
2769 if test -s conftest.err; then
2770 grep -v '^ *+' conftest.err >conftest.er1
2771 cat conftest.er1 >&5
2772 mv -f conftest.er1 conftest.err
2774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; } && {
2776 test -z "$ac_cxx_werror_flag" ||
2777 test ! -s conftest.err
2778 } && test -s conftest.$ac_objext
2779 then :
2780 ac_retval=0
2781 else $as_nop
2782 printf "%s\n" "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2785 ac_retval=1
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 as_fn_set_status $ac_retval
2790 } # ac_fn_cxx_try_compile
2792 # ac_fn_c_try_link LINENO
2793 # -----------------------
2794 # Try to link conftest.$ac_ext, and return whether this succeeded.
2795 ac_fn_c_try_link ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2799 if { { ac_try="$ac_link"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 printf "%s\n" "$ac_try_echo"; } >&5
2806 (eval "$ac_link") 2>conftest.err
2807 ac_status=$?
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && {
2815 test -z "$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest$ac_exeext && {
2818 test "$cross_compiling" = yes ||
2819 test -x conftest$ac_exeext
2821 then :
2822 ac_retval=0
2823 else $as_nop
2824 printf "%s\n" "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2830 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2831 # interfere with the next link command; also delete a directory that is
2832 # left behind by Apple's compiler. We do this before executing the actions.
2833 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status $ac_retval
2837 } # ac_fn_c_try_link
2839 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2840 # -------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_c_check_header_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 printf %s "checking for $2... " >&6; }
2848 if eval test \${$3+y}
2849 then :
2850 printf %s "(cached) " >&6
2851 else $as_nop
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 #include <$2>
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"
2858 then :
2859 eval "$3=yes"
2860 else $as_nop
2861 eval "$3=no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2865 eval ac_res=\$$3
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 printf "%s\n" "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_header_compile
2872 # ac_fn_objc_try_compile LINENO
2873 # -----------------------------
2874 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_objc_try_compile ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 rm -f conftest.$ac_objext conftest.beam
2879 if { { ac_try="$ac_compile"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 printf "%s\n" "$ac_try_echo"; } >&5
2886 (eval "$ac_compile") 2>conftest.err
2887 ac_status=$?
2888 if test -s conftest.err; then
2889 grep -v '^ *+' conftest.err >conftest.er1
2890 cat conftest.er1 >&5
2891 mv -f conftest.er1 conftest.err
2893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; } && {
2895 test -z "$ac_objc_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.$ac_objext
2898 then :
2899 ac_retval=0
2900 else $as_nop
2901 printf "%s\n" "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2904 ac_retval=1
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2907 as_fn_set_status $ac_retval
2909 } # ac_fn_objc_try_compile
2911 # ac_fn_c_check_func LINENO FUNC VAR
2912 # ----------------------------------
2913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2914 ac_fn_c_check_func ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2918 printf %s "checking for $2... " >&6; }
2919 if eval test \${$3+y}
2920 then :
2921 printf %s "(cached) " >&6
2922 else $as_nop
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2925 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2927 #define $2 innocuous_$2
2929 /* System header to define __stub macros and hopefully few prototypes,
2930 which can conflict with char $2 (); below. */
2932 #include <limits.h>
2933 #undef $2
2935 /* Override any GCC internal prototype to avoid an error.
2936 Use char because int might match the return type of a GCC
2937 builtin and then its argument prototype would still apply. */
2938 #ifdef __cplusplus
2939 extern "C"
2940 #endif
2941 char $2 ();
2942 /* The GNU C library defines this for functions which it implements
2943 to always fail with ENOSYS. Some functions are actually named
2944 something starting with __ and the normal name is an alias. */
2945 #if defined __stub_$2 || defined __stub___$2
2946 choke me
2947 #endif
2950 main (void)
2952 return $2 ();
2954 return 0;
2956 _ACEOF
2957 if ac_fn_c_try_link "$LINENO"
2958 then :
2959 eval "$3=yes"
2960 else $as_nop
2961 eval "$3=no"
2963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2964 conftest$ac_exeext conftest.$ac_ext
2966 eval ac_res=\$$3
2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2968 printf "%s\n" "$ac_res" >&6; }
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2971 } # ac_fn_c_check_func
2973 # ac_fn_c_try_cpp LINENO
2974 # ----------------------
2975 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2976 ac_fn_c_try_cpp ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 if { { ac_try="$ac_cpp conftest.$ac_ext"
2980 case "(($ac_try" in
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2983 esac
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 printf "%s\n" "$ac_try_echo"; } >&5
2986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2987 ac_status=$?
2988 if test -s conftest.err; then
2989 grep -v '^ *+' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2991 mv -f conftest.er1 conftest.err
2993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; } > conftest.i && {
2995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2998 then :
2999 ac_retval=0
3000 else $as_nop
3001 printf "%s\n" "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_retval=1
3006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 as_fn_set_status $ac_retval
3009 } # ac_fn_c_try_cpp
3011 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3012 # ----------------------------------------------------
3013 # Tries to find if the field MEMBER exists in type AGGR, after including
3014 # INCLUDES, setting cache variable VAR accordingly.
3015 ac_fn_c_check_member ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3019 printf %s "checking for $2.$3... " >&6; }
3020 if eval test \${$4+y}
3021 then :
3022 printf %s "(cached) " >&6
3023 else $as_nop
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3028 main (void)
3030 static $2 ac_aggr;
3031 if (ac_aggr.$3)
3032 return 0;
3034 return 0;
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"
3038 then :
3039 eval "$4=yes"
3040 else $as_nop
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main (void)
3047 static $2 ac_aggr;
3048 if (sizeof ac_aggr.$3)
3049 return 0;
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"
3055 then :
3056 eval "$4=yes"
3057 else $as_nop
3058 eval "$4=no"
3060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3064 eval ac_res=\$$4
3065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3066 printf "%s\n" "$ac_res" >&6; }
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 } # ac_fn_c_check_member
3071 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3072 # -------------------------------------------
3073 # Tests whether TYPE exists after having included INCLUDES, setting cache
3074 # variable VAR accordingly.
3075 ac_fn_c_check_type ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3079 printf %s "checking for $2... " >&6; }
3080 if eval test \${$3+y}
3081 then :
3082 printf %s "(cached) " >&6
3083 else $as_nop
3084 eval "$3=no"
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 main (void)
3091 if (sizeof ($2))
3092 return 0;
3094 return 0;
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"
3098 then :
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3103 main (void)
3105 if (sizeof (($2)))
3106 return 0;
3108 return 0;
3110 _ACEOF
3111 if ac_fn_c_try_compile "$LINENO"
3112 then :
3114 else $as_nop
3115 eval "$3=yes"
3117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 eval ac_res=\$$3
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 printf "%s\n" "$ac_res" >&6; }
3124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3126 } # ac_fn_c_check_type
3127 ac_configure_args_raw=
3128 for ac_arg
3130 case $ac_arg in
3131 *\'*)
3132 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3133 esac
3134 as_fn_append ac_configure_args_raw " '$ac_arg'"
3135 done
3137 case $ac_configure_args_raw in
3138 *$as_nl*)
3139 ac_safe_unquote= ;;
3141 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3142 ac_unsafe_a="$ac_unsafe_z#~"
3143 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3144 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3145 esac
3147 cat >config.log <<_ACEOF
3148 This file contains any messages produced by compilers while
3149 running configure, to aid debugging if configure makes a mistake.
3151 It was created by Wine $as_me 8.5, which was
3152 generated by GNU Autoconf 2.71. Invocation command line was
3154 $ $0$ac_configure_args_raw
3156 _ACEOF
3157 exec 5>>config.log
3159 cat <<_ASUNAME
3160 ## --------- ##
3161 ## Platform. ##
3162 ## --------- ##
3164 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3165 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3166 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3167 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3168 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3170 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3171 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3173 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3174 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3175 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3176 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3177 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3178 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3179 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3181 _ASUNAME
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186 IFS=$as_save_IFS
3187 case $as_dir in #(((
3188 '') as_dir=./ ;;
3189 */) ;;
3190 *) as_dir=$as_dir/ ;;
3191 esac
3192 printf "%s\n" "PATH: $as_dir"
3193 done
3194 IFS=$as_save_IFS
3196 } >&5
3198 cat >&5 <<_ACEOF
3201 ## ----------- ##
3202 ## Core tests. ##
3203 ## ----------- ##
3205 _ACEOF
3208 # Keep a trace of the command line.
3209 # Strip out --no-create and --no-recursion so they do not pile up.
3210 # Strip out --silent because we don't want to record it for future runs.
3211 # Also quote any args containing shell meta-characters.
3212 # Make two passes to allow for proper duplicate-argument suppression.
3213 ac_configure_args=
3214 ac_configure_args0=
3215 ac_configure_args1=
3216 ac_must_keep_next=false
3217 for ac_pass in 1 2
3219 for ac_arg
3221 case $ac_arg in
3222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3224 | -silent | --silent | --silen | --sile | --sil)
3225 continue ;;
3226 *\'*)
3227 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3228 esac
3229 case $ac_pass in
3230 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3232 as_fn_append ac_configure_args1 " '$ac_arg'"
3233 if test $ac_must_keep_next = true; then
3234 ac_must_keep_next=false # Got value, back to normal.
3235 else
3236 case $ac_arg in
3237 *=* | --config-cache | -C | -disable-* | --disable-* \
3238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3240 | -with-* | --with-* | -without-* | --without-* | --x)
3241 case "$ac_configure_args0 " in
3242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3243 esac
3245 -* ) ac_must_keep_next=true ;;
3246 esac
3248 as_fn_append ac_configure_args " '$ac_arg'"
3250 esac
3251 done
3252 done
3253 { ac_configure_args0=; unset ac_configure_args0;}
3254 { ac_configure_args1=; unset ac_configure_args1;}
3256 # When interrupted or exit'd, cleanup temporary files, and complete
3257 # config.log. We remove comments because anyway the quotes in there
3258 # would cause problems or look ugly.
3259 # WARNING: Use '\'' to represent an apostrophe within the trap.
3260 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3261 trap 'exit_status=$?
3262 # Sanitize IFS.
3263 IFS=" "" $as_nl"
3264 # Save into config.log some information that might help in debugging.
3266 echo
3268 printf "%s\n" "## ---------------- ##
3269 ## Cache variables. ##
3270 ## ---------------- ##"
3271 echo
3272 # The following way of writing the cache mishandles newlines in values,
3274 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3275 eval ac_val=\$$ac_var
3276 case $ac_val in #(
3277 *${as_nl}*)
3278 case $ac_var in #(
3279 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3280 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3281 esac
3282 case $ac_var in #(
3283 _ | IFS | as_nl) ;; #(
3284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3285 *) { eval $ac_var=; unset $ac_var;} ;;
3286 esac ;;
3287 esac
3288 done
3289 (set) 2>&1 |
3290 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3291 *${as_nl}ac_space=\ *)
3292 sed -n \
3293 "s/'\''/'\''\\\\'\'''\''/g;
3294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3295 ;; #(
3297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3299 esac |
3300 sort
3302 echo
3304 printf "%s\n" "## ----------------- ##
3305 ## Output variables. ##
3306 ## ----------------- ##"
3307 echo
3308 for ac_var in $ac_subst_vars
3310 eval ac_val=\$$ac_var
3311 case $ac_val in
3312 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3313 esac
3314 printf "%s\n" "$ac_var='\''$ac_val'\''"
3315 done | sort
3316 echo
3318 if test -n "$ac_subst_files"; then
3319 printf "%s\n" "## ------------------- ##
3320 ## File substitutions. ##
3321 ## ------------------- ##"
3322 echo
3323 for ac_var in $ac_subst_files
3325 eval ac_val=\$$ac_var
3326 case $ac_val in
3327 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3328 esac
3329 printf "%s\n" "$ac_var='\''$ac_val'\''"
3330 done | sort
3331 echo
3334 if test -s confdefs.h; then
3335 printf "%s\n" "## ----------- ##
3336 ## confdefs.h. ##
3337 ## ----------- ##"
3338 echo
3339 cat confdefs.h
3340 echo
3342 test "$ac_signal" != 0 &&
3343 printf "%s\n" "$as_me: caught signal $ac_signal"
3344 printf "%s\n" "$as_me: exit $exit_status"
3345 } >&5
3346 rm -f core *.core core.conftest.* &&
3347 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3348 exit $exit_status
3350 for ac_signal in 1 2 13 15; do
3351 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3352 done
3353 ac_signal=0
3355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3356 rm -f -r conftest* confdefs.h
3358 printf "%s\n" "/* confdefs.h */" > confdefs.h
3360 # Predefined preprocessor variables.
3362 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3366 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3375 # Let the site file select an alternate cache file if it wants to.
3376 # Prefer an explicitly selected file to automatically selected ones.
3377 if test -n "$CONFIG_SITE"; then
3378 ac_site_files="$CONFIG_SITE"
3379 elif test "x$prefix" != xNONE; then
3380 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3381 else
3382 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3385 for ac_site_file in $ac_site_files
3387 case $ac_site_file in #(
3388 */*) :
3389 ;; #(
3390 *) :
3391 ac_site_file=./$ac_site_file ;;
3392 esac
3393 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3395 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3396 sed 's/^/| /' "$ac_site_file" >&5
3397 . "$ac_site_file" \
3398 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error $? "failed to load site script $ac_site_file
3401 See \`config.log' for more details" "$LINENO" 5; }
3403 done
3405 if test -r "$cache_file"; then
3406 # Some versions of bash will fail to source /dev/null (special files
3407 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3408 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3410 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3411 case $cache_file in
3412 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3413 *) . "./$cache_file";;
3414 esac
3416 else
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3418 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3419 >$cache_file
3422 # Test code for whether the C compiler supports C89 (global declarations)
3423 ac_c_conftest_c89_globals='
3424 /* Does the compiler advertise C89 conformance?
3425 Do not test the value of __STDC__, because some compilers set it to 0
3426 while being otherwise adequately conformant. */
3427 #if !defined __STDC__
3428 # error "Compiler does not advertise C89 conformance"
3429 #endif
3431 #include <stddef.h>
3432 #include <stdarg.h>
3433 struct stat;
3434 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3435 struct buf { int x; };
3436 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3437 static char *e (p, i)
3438 char **p;
3439 int i;
3441 return p[i];
3443 static char *f (char * (*g) (char **, int), char **p, ...)
3445 char *s;
3446 va_list v;
3447 va_start (v,p);
3448 s = g (p, va_arg (v,int));
3449 va_end (v);
3450 return s;
3453 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3454 function prototypes and stuff, but not \xHH hex character constants.
3455 These do not provoke an error unfortunately, instead are silently treated
3456 as an "x". The following induces an error, until -std is added to get
3457 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3458 array size at least. It is necessary to write \x00 == 0 to get something
3459 that is true only with -std. */
3460 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3462 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3463 inside strings and character constants. */
3464 #define FOO(x) '\''x'\''
3465 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3467 int test (int i, double x);
3468 struct s1 {int (*f) (int a);};
3469 struct s2 {int (*f) (double a);};
3470 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3471 int, int);'
3473 # Test code for whether the C compiler supports C89 (body of main).
3474 ac_c_conftest_c89_main='
3475 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3478 # Test code for whether the C compiler supports C99 (global declarations)
3479 ac_c_conftest_c99_globals='
3480 // Does the compiler advertise C99 conformance?
3481 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3482 # error "Compiler does not advertise C99 conformance"
3483 #endif
3485 #include <stdbool.h>
3486 extern int puts (const char *);
3487 extern int printf (const char *, ...);
3488 extern int dprintf (int, const char *, ...);
3489 extern void *malloc (size_t);
3491 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3492 // dprintf is used instead of fprintf to avoid needing to declare
3493 // FILE and stderr.
3494 #define debug(...) dprintf (2, __VA_ARGS__)
3495 #define showlist(...) puts (#__VA_ARGS__)
3496 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3497 static void
3498 test_varargs_macros (void)
3500 int x = 1234;
3501 int y = 5678;
3502 debug ("Flag");
3503 debug ("X = %d\n", x);
3504 showlist (The first, second, and third items.);
3505 report (x>y, "x is %d but y is %d", x, y);
3508 // Check long long types.
3509 #define BIG64 18446744073709551615ull
3510 #define BIG32 4294967295ul
3511 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3512 #if !BIG_OK
3513 #error "your preprocessor is broken"
3514 #endif
3515 #if BIG_OK
3516 #else
3517 #error "your preprocessor is broken"
3518 #endif
3519 static long long int bignum = -9223372036854775807LL;
3520 static unsigned long long int ubignum = BIG64;
3522 struct incomplete_array
3524 int datasize;
3525 double data[];
3528 struct named_init {
3529 int number;
3530 const wchar_t *name;
3531 double average;
3534 typedef const char *ccp;
3536 static inline int
3537 test_restrict (ccp restrict text)
3539 // See if C++-style comments work.
3540 // Iterate through items via the restricted pointer.
3541 // Also check for declarations in for loops.
3542 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3543 continue;
3544 return 0;
3547 // Check varargs and va_copy.
3548 static bool
3549 test_varargs (const char *format, ...)
3551 va_list args;
3552 va_start (args, format);
3553 va_list args_copy;
3554 va_copy (args_copy, args);
3556 const char *str = "";
3557 int number = 0;
3558 float fnumber = 0;
3560 while (*format)
3562 switch (*format++)
3564 case '\''s'\'': // string
3565 str = va_arg (args_copy, const char *);
3566 break;
3567 case '\''d'\'': // int
3568 number = va_arg (args_copy, int);
3569 break;
3570 case '\''f'\'': // float
3571 fnumber = va_arg (args_copy, double);
3572 break;
3573 default:
3574 break;
3577 va_end (args_copy);
3578 va_end (args);
3580 return *str && number && fnumber;
3584 # Test code for whether the C compiler supports C99 (body of main).
3585 ac_c_conftest_c99_main='
3586 // Check bool.
3587 _Bool success = false;
3588 success |= (argc != 0);
3590 // Check restrict.
3591 if (test_restrict ("String literal") == 0)
3592 success = true;
3593 char *restrict newvar = "Another string";
3595 // Check varargs.
3596 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3597 test_varargs_macros ();
3599 // Check flexible array members.
3600 struct incomplete_array *ia =
3601 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3602 ia->datasize = 10;
3603 for (int i = 0; i < ia->datasize; ++i)
3604 ia->data[i] = i * 1.234;
3606 // Check named initializers.
3607 struct named_init ni = {
3608 .number = 34,
3609 .name = L"Test wide string",
3610 .average = 543.34343,
3613 ni.number = 58;
3615 int dynamic_array[ni.number];
3616 dynamic_array[0] = argv[0][0];
3617 dynamic_array[ni.number - 1] = 543;
3619 // work around unused variable warnings
3620 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3621 || dynamic_array[ni.number - 1] != 543);
3624 # Test code for whether the C compiler supports C11 (global declarations)
3625 ac_c_conftest_c11_globals='
3626 // Does the compiler advertise C11 conformance?
3627 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3628 # error "Compiler does not advertise C11 conformance"
3629 #endif
3631 // Check _Alignas.
3632 char _Alignas (double) aligned_as_double;
3633 char _Alignas (0) no_special_alignment;
3634 extern char aligned_as_int;
3635 char _Alignas (0) _Alignas (int) aligned_as_int;
3637 // Check _Alignof.
3638 enum
3640 int_alignment = _Alignof (int),
3641 int_array_alignment = _Alignof (int[100]),
3642 char_alignment = _Alignof (char)
3644 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3646 // Check _Noreturn.
3647 int _Noreturn does_not_return (void) { for (;;) continue; }
3649 // Check _Static_assert.
3650 struct test_static_assert
3652 int x;
3653 _Static_assert (sizeof (int) <= sizeof (long int),
3654 "_Static_assert does not work in struct");
3655 long int y;
3658 // Check UTF-8 literals.
3659 #define u8 syntax error!
3660 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3662 // Check duplicate typedefs.
3663 typedef long *long_ptr;
3664 typedef long int *long_ptr;
3665 typedef long_ptr long_ptr;
3667 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3668 struct anonymous
3670 union {
3671 struct { int i; int j; };
3672 struct { int k; long int l; } w;
3674 int m;
3675 } v1;
3678 # Test code for whether the C compiler supports C11 (body of main).
3679 ac_c_conftest_c11_main='
3680 _Static_assert ((offsetof (struct anonymous, i)
3681 == offsetof (struct anonymous, w.k)),
3682 "Anonymous union alignment botch");
3683 v1.i = 2;
3684 v1.w.k = 5;
3685 ok |= v1.i != 5;
3688 # Test code for whether the C compiler supports C11 (complete).
3689 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3690 ${ac_c_conftest_c99_globals}
3691 ${ac_c_conftest_c11_globals}
3694 main (int argc, char **argv)
3696 int ok = 0;
3697 ${ac_c_conftest_c89_main}
3698 ${ac_c_conftest_c99_main}
3699 ${ac_c_conftest_c11_main}
3700 return ok;
3704 # Test code for whether the C compiler supports C99 (complete).
3705 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3706 ${ac_c_conftest_c99_globals}
3709 main (int argc, char **argv)
3711 int ok = 0;
3712 ${ac_c_conftest_c89_main}
3713 ${ac_c_conftest_c99_main}
3714 return ok;
3718 # Test code for whether the C compiler supports C89 (complete).
3719 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3722 main (int argc, char **argv)
3724 int ok = 0;
3725 ${ac_c_conftest_c89_main}
3726 return ok;
3730 # Test code for whether the C++ compiler supports C++98 (global declarations)
3731 ac_cxx_conftest_cxx98_globals='
3732 // Does the compiler advertise C++98 conformance?
3733 #if !defined __cplusplus || __cplusplus < 199711L
3734 # error "Compiler does not advertise C++98 conformance"
3735 #endif
3737 // These inclusions are to reject old compilers that
3738 // lack the unsuffixed header files.
3739 #include <cstdlib>
3740 #include <exception>
3742 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3743 extern void assert (int);
3744 namespace std {
3745 extern int strcmp (const char *, const char *);
3748 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3749 using std::exception;
3750 using std::strcmp;
3752 namespace {
3754 void test_exception_syntax()
3756 try {
3757 throw "test";
3758 } catch (const char *s) {
3759 // Extra parentheses suppress a warning when building autoconf itself,
3760 // due to lint rules shared with more typical C programs.
3761 assert (!(strcmp) (s, "test"));
3765 template <typename T> struct test_template
3767 T const val;
3768 explicit test_template(T t) : val(t) {}
3769 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3772 } // anonymous namespace
3775 # Test code for whether the C++ compiler supports C++98 (body of main)
3776 ac_cxx_conftest_cxx98_main='
3777 assert (argc);
3778 assert (! argv[0]);
3780 test_exception_syntax ();
3781 test_template<double> tt (2.0);
3782 assert (tt.add (4) == 6.0);
3783 assert (true && !false);
3787 # Test code for whether the C++ compiler supports C++11 (global declarations)
3788 ac_cxx_conftest_cxx11_globals='
3789 // Does the compiler advertise C++ 2011 conformance?
3790 #if !defined __cplusplus || __cplusplus < 201103L
3791 # error "Compiler does not advertise C++11 conformance"
3792 #endif
3794 namespace cxx11test
3796 constexpr int get_val() { return 20; }
3798 struct testinit
3800 int i;
3801 double d;
3804 class delegate
3806 public:
3807 delegate(int n) : n(n) {}
3808 delegate(): delegate(2354) {}
3810 virtual int getval() { return this->n; };
3811 protected:
3812 int n;
3815 class overridden : public delegate
3817 public:
3818 overridden(int n): delegate(n) {}
3819 virtual int getval() override final { return this->n * 2; }
3822 class nocopy
3824 public:
3825 nocopy(int i): i(i) {}
3826 nocopy() = default;
3827 nocopy(const nocopy&) = delete;
3828 nocopy & operator=(const nocopy&) = delete;
3829 private:
3830 int i;
3833 // for testing lambda expressions
3834 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3836 return f(v);
3839 // for testing variadic templates and trailing return types
3840 template <typename V> auto sum(V first) -> V
3842 return first;
3844 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3846 return first + sum(rest...);
3851 # Test code for whether the C++ compiler supports C++11 (body of main)
3852 ac_cxx_conftest_cxx11_main='
3854 // Test auto and decltype
3855 auto a1 = 6538;
3856 auto a2 = 48573953.4;
3857 auto a3 = "String literal";
3859 int total = 0;
3860 for (auto i = a3; *i; ++i) { total += *i; }
3862 decltype(a2) a4 = 34895.034;
3865 // Test constexpr
3866 short sa[cxx11test::get_val()] = { 0 };
3869 // Test initializer lists
3870 cxx11test::testinit il = { 4323, 435234.23544 };
3873 // Test range-based for
3874 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3875 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3876 for (auto &x : array) { x += 23; }
3879 // Test lambda expressions
3880 using cxx11test::eval;
3881 assert (eval ([](int x) { return x*2; }, 21) == 42);
3882 double d = 2.0;
3883 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3884 assert (d == 5.0);
3885 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3886 assert (d == 5.0);
3889 // Test use of variadic templates
3890 using cxx11test::sum;
3891 auto a = sum(1);
3892 auto b = sum(1, 2);
3893 auto c = sum(1.0, 2.0, 3.0);
3896 // Test constructor delegation
3897 cxx11test::delegate d1;
3898 cxx11test::delegate d2();
3899 cxx11test::delegate d3(45);
3902 // Test override and final
3903 cxx11test::overridden o1(55464);
3906 // Test nullptr
3907 char *c = nullptr;
3910 // Test template brackets
3911 test_template<::test_template<int>> v(test_template<int>(12));
3914 // Unicode literals
3915 char const *utf8 = u8"UTF-8 string \u2500";
3916 char16_t const *utf16 = u"UTF-8 string \u2500";
3917 char32_t const *utf32 = U"UTF-32 string \u2500";
3921 # Test code for whether the C compiler supports C++11 (complete).
3922 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3923 ${ac_cxx_conftest_cxx11_globals}
3926 main (int argc, char **argv)
3928 int ok = 0;
3929 ${ac_cxx_conftest_cxx98_main}
3930 ${ac_cxx_conftest_cxx11_main}
3931 return ok;
3935 # Test code for whether the C compiler supports C++98 (complete).
3936 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3938 main (int argc, char **argv)
3940 int ok = 0;
3941 ${ac_cxx_conftest_cxx98_main}
3942 return ok;
3946 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3947 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3948 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3949 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3950 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3951 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3952 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3953 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3954 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3956 # Auxiliary files required by this configure script.
3957 ac_aux_files="config.guess config.sub"
3959 # Locations in which to look for auxiliary files.
3960 ac_aux_dir_candidates="${srcdir}/tools"
3962 # Search for a directory containing all of the required auxiliary files,
3963 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3964 # If we don't find one directory that contains all the files we need,
3965 # we report the set of missing files from the *first* directory in
3966 # $ac_aux_dir_candidates and give up.
3967 ac_missing_aux_files=""
3968 ac_first_candidate=:
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 as_found=false
3972 for as_dir in $ac_aux_dir_candidates
3974 IFS=$as_save_IFS
3975 case $as_dir in #(((
3976 '') as_dir=./ ;;
3977 */) ;;
3978 *) as_dir=$as_dir/ ;;
3979 esac
3980 as_found=:
3982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3983 ac_aux_dir_found=yes
3984 ac_install_sh=
3985 for ac_aux in $ac_aux_files
3987 # As a special case, if "install-sh" is required, that requirement
3988 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3989 # and $ac_install_sh is set appropriately for whichever one is found.
3990 if test x"$ac_aux" = x"install-sh"
3991 then
3992 if test -f "${as_dir}install-sh"; then
3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3994 ac_install_sh="${as_dir}install-sh -c"
3995 elif test -f "${as_dir}install.sh"; then
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3997 ac_install_sh="${as_dir}install.sh -c"
3998 elif test -f "${as_dir}shtool"; then
3999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4000 ac_install_sh="${as_dir}shtool install -c"
4001 else
4002 ac_aux_dir_found=no
4003 if $ac_first_candidate; then
4004 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4005 else
4006 break
4009 else
4010 if test -f "${as_dir}${ac_aux}"; then
4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4012 else
4013 ac_aux_dir_found=no
4014 if $ac_first_candidate; then
4015 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4016 else
4017 break
4021 done
4022 if test "$ac_aux_dir_found" = yes; then
4023 ac_aux_dir="$as_dir"
4024 break
4026 ac_first_candidate=false
4028 as_found=false
4029 done
4030 IFS=$as_save_IFS
4031 if $as_found
4032 then :
4034 else $as_nop
4035 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4039 # These three variables are undocumented and unsupported,
4040 # and are intended to be withdrawn in a future Autoconf release.
4041 # They can cause serious problems if a builder's source tree is in a directory
4042 # whose full name contains unusual characters.
4043 if test -f "${ac_aux_dir}config.guess"; then
4044 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4046 if test -f "${ac_aux_dir}config.sub"; then
4047 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4049 if test -f "$ac_aux_dir/configure"; then
4050 ac_configure="$SHELL ${ac_aux_dir}configure"
4053 # Check that the precious variables saved in the cache have kept the same
4054 # value.
4055 ac_cache_corrupted=false
4056 for ac_var in $ac_precious_vars; do
4057 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4058 eval ac_new_set=\$ac_env_${ac_var}_set
4059 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4060 eval ac_new_val=\$ac_env_${ac_var}_value
4061 case $ac_old_set,$ac_new_set in
4062 set,)
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4064 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4065 ac_cache_corrupted=: ;;
4066 ,set)
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4069 ac_cache_corrupted=: ;;
4070 ,);;
4072 if test "x$ac_old_val" != "x$ac_new_val"; then
4073 # differences in whitespace do not lead to failure.
4074 ac_old_val_w=`echo x $ac_old_val`
4075 ac_new_val_w=`echo x $ac_new_val`
4076 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4078 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4079 ac_cache_corrupted=:
4080 else
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4082 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4083 eval $ac_var=\$ac_old_val
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4086 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4088 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4089 fi;;
4090 esac
4091 # Pass precious variables to config.status.
4092 if test "$ac_new_set" = set; then
4093 case $ac_new_val in
4094 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4095 *) ac_arg=$ac_var=$ac_new_val ;;
4096 esac
4097 case " $ac_configure_args " in
4098 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4099 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4100 esac
4102 done
4103 if $ac_cache_corrupted; then
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4107 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4108 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4109 and start over" "$LINENO" 5
4111 ## -------------------- ##
4112 ## Main body of script. ##
4113 ## -------------------- ##
4115 ac_ext=c
4116 ac_cpp='$CPP $CPPFLAGS'
4117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4123 ac_config_headers="$ac_config_headers include/config.h"
4127 libwine_version="1.0"
4130 # Check whether --enable-archs was given.
4131 if test ${enable_archs+y}
4132 then :
4133 enableval=$enable_archs;
4136 # Check whether --enable-win16 was given.
4137 if test ${enable_win16+y}
4138 then :
4139 enableval=$enable_win16;
4142 # Check whether --enable-win64 was given.
4143 if test ${enable_win64+y}
4144 then :
4145 enableval=$enable_win64;
4148 # Check whether --enable-tests was given.
4149 if test ${enable_tests+y}
4150 then :
4151 enableval=$enable_tests;
4154 # Check whether --enable-build-id was given.
4155 if test ${enable_build_id+y}
4156 then :
4157 enableval=$enable_build_id;
4160 # Check whether --enable-maintainer-mode was given.
4161 if test ${enable_maintainer_mode+y}
4162 then :
4163 enableval=$enable_maintainer_mode;
4166 # Check whether --enable-silent-rules was given.
4167 if test ${enable_silent_rules+y}
4168 then :
4169 enableval=$enable_silent_rules;
4172 # Check whether --enable-werror was given.
4173 if test ${enable_werror+y}
4174 then :
4175 enableval=$enable_werror;
4180 # Check whether --with-alsa was given.
4181 if test ${with_alsa+y}
4182 then :
4183 withval=$with_alsa;
4187 # Check whether --with-capi was given.
4188 if test ${with_capi+y}
4189 then :
4190 withval=$with_capi;
4194 # Check whether --with-coreaudio was given.
4195 if test ${with_coreaudio+y}
4196 then :
4197 withval=$with_coreaudio;
4201 # Check whether --with-cups was given.
4202 if test ${with_cups+y}
4203 then :
4204 withval=$with_cups;
4208 # Check whether --with-dbus was given.
4209 if test ${with_dbus+y}
4210 then :
4211 withval=$with_dbus;
4215 # Check whether --with-float-abi was given.
4216 if test ${with_float_abi+y}
4217 then :
4218 withval=$with_float_abi;
4222 # Check whether --with-fontconfig was given.
4223 if test ${with_fontconfig+y}
4224 then :
4225 withval=$with_fontconfig;
4229 # Check whether --with-freetype was given.
4230 if test ${with_freetype+y}
4231 then :
4232 withval=$with_freetype;
4236 # Check whether --with-gettext was given.
4237 if test ${with_gettext+y}
4238 then :
4239 withval=$with_gettext;
4243 # Check whether --with-gettextpo was given.
4244 if test ${with_gettextpo+y}
4245 then :
4246 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4250 # Check whether --with-gphoto was given.
4251 if test ${with_gphoto+y}
4252 then :
4253 withval=$with_gphoto;
4257 # Check whether --with-gnutls was given.
4258 if test ${with_gnutls+y}
4259 then :
4260 withval=$with_gnutls;
4264 # Check whether --with-gssapi was given.
4265 if test ${with_gssapi+y}
4266 then :
4267 withval=$with_gssapi;
4271 # Check whether --with-gstreamer was given.
4272 if test ${with_gstreamer+y}
4273 then :
4274 withval=$with_gstreamer;
4278 # Check whether --with-inotify was given.
4279 if test ${with_inotify+y}
4280 then :
4281 withval=$with_inotify;
4285 # Check whether --with-krb5 was given.
4286 if test ${with_krb5+y}
4287 then :
4288 withval=$with_krb5;
4292 # Check whether --with-mingw was given.
4293 if test ${with_mingw+y}
4294 then :
4295 withval=$with_mingw;
4299 # Check whether --with-netapi was given.
4300 if test ${with_netapi+y}
4301 then :
4302 withval=$with_netapi;
4306 # Check whether --with-opencl was given.
4307 if test ${with_opencl+y}
4308 then :
4309 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4313 # Check whether --with-opengl was given.
4314 if test ${with_opengl+y}
4315 then :
4316 withval=$with_opengl;
4320 # Check whether --with-osmesa was given.
4321 if test ${with_osmesa+y}
4322 then :
4323 withval=$with_osmesa;
4327 # Check whether --with-oss was given.
4328 if test ${with_oss+y}
4329 then :
4330 withval=$with_oss;
4334 # Check whether --with-pcap was given.
4335 if test ${with_pcap+y}
4336 then :
4337 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4341 # Check whether --with-pcsclite was given.
4342 if test ${with_pcsclite+y}
4343 then :
4344 withval=$with_pcsclite;
4348 # Check whether --with-pthread was given.
4349 if test ${with_pthread+y}
4350 then :
4351 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4355 # Check whether --with-pulse was given.
4356 if test ${with_pulse+y}
4357 then :
4358 withval=$with_pulse;
4362 # Check whether --with-sane was given.
4363 if test ${with_sane+y}
4364 then :
4365 withval=$with_sane;
4369 # Check whether --with-sdl was given.
4370 if test ${with_sdl+y}
4371 then :
4372 withval=$with_sdl;
4376 # Check whether --with-udev was given.
4377 if test ${with_udev+y}
4378 then :
4379 withval=$with_udev;
4383 # Check whether --with-unwind was given.
4384 if test ${with_unwind+y}
4385 then :
4386 withval=$with_unwind;
4390 # Check whether --with-usb was given.
4391 if test ${with_usb+y}
4392 then :
4393 withval=$with_usb;
4397 # Check whether --with-v4l2 was given.
4398 if test ${with_v4l2+y}
4399 then :
4400 withval=$with_v4l2;
4404 # Check whether --with-vulkan was given.
4405 if test ${with_vulkan+y}
4406 then :
4407 withval=$with_vulkan;
4411 # Check whether --with-wayland was given.
4412 if test ${with_wayland+y}
4413 then :
4414 withval=$with_wayland;
4418 # Check whether --with-xcomposite was given.
4419 if test ${with_xcomposite+y}
4420 then :
4421 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4425 # Check whether --with-xcursor was given.
4426 if test ${with_xcursor+y}
4427 then :
4428 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4432 # Check whether --with-xfixes was given.
4433 if test ${with_xfixes+y}
4434 then :
4435 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4439 # Check whether --with-xinerama was given.
4440 if test ${with_xinerama+y}
4441 then :
4442 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4446 # Check whether --with-xinput was given.
4447 if test ${with_xinput+y}
4448 then :
4449 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4453 # Check whether --with-xinput2 was given.
4454 if test ${with_xinput2+y}
4455 then :
4456 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4460 # Check whether --with-xrandr was given.
4461 if test ${with_xrandr+y}
4462 then :
4463 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4467 # Check whether --with-xrender was given.
4468 if test ${with_xrender+y}
4469 then :
4470 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4474 # Check whether --with-xshape was given.
4475 if test ${with_xshape+y}
4476 then :
4477 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4481 # Check whether --with-xshm was given.
4482 if test ${with_xshm+y}
4483 then :
4484 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4488 # Check whether --with-xxf86vm was given.
4489 if test ${with_xxf86vm+y}
4490 then :
4491 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
4496 # Check whether --with-system-dllpath was given.
4497 if test ${with_system_dllpath+y}
4498 then :
4499 withval=$with_system_dllpath; system_dllpath=$withval
4504 # Check whether --with-wine-tools was given.
4505 if test ${with_wine_tools+y}
4506 then :
4507 withval=$with_wine_tools;
4511 # Check whether --with-wine64 was given.
4512 if test ${with_wine64+y}
4513 then :
4514 withval=$with_wine64;
4521 # Make sure we can run config.sub.
4522 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4523 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4526 printf %s "checking build system type... " >&6; }
4527 if test ${ac_cv_build+y}
4528 then :
4529 printf %s "(cached) " >&6
4530 else $as_nop
4531 ac_build_alias=$build_alias
4532 test "x$ac_build_alias" = x &&
4533 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4534 test "x$ac_build_alias" = x &&
4535 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4536 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4537 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4541 printf "%s\n" "$ac_cv_build" >&6; }
4542 case $ac_cv_build in
4543 *-*-*) ;;
4544 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4545 esac
4546 build=$ac_cv_build
4547 ac_save_IFS=$IFS; IFS='-'
4548 set x $ac_cv_build
4549 shift
4550 build_cpu=$1
4551 build_vendor=$2
4552 shift; shift
4553 # Remember, the first character of IFS is used to create $*,
4554 # except with old shells:
4555 build_os=$*
4556 IFS=$ac_save_IFS
4557 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4561 printf %s "checking host system type... " >&6; }
4562 if test ${ac_cv_host+y}
4563 then :
4564 printf %s "(cached) " >&6
4565 else $as_nop
4566 if test "x$host_alias" = x; then
4567 ac_cv_host=$ac_cv_build
4568 else
4569 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4570 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4575 printf "%s\n" "$ac_cv_host" >&6; }
4576 case $ac_cv_host in
4577 *-*-*) ;;
4578 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4579 esac
4580 host=$ac_cv_host
4581 ac_save_IFS=$IFS; IFS='-'
4582 set x $ac_cv_host
4583 shift
4584 host_cpu=$1
4585 host_vendor=$2
4586 shift; shift
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4589 host_os=$*
4590 IFS=$ac_save_IFS
4591 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4595 dlldir=\${libdir}/wine
4597 fontdir=\${datadir}/wine/fonts
4599 nlsdir=\${datadir}/wine/nls
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4605 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4606 set x ${MAKE-make}
4607 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4608 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4609 then :
4610 printf %s "(cached) " >&6
4611 else $as_nop
4612 cat >conftest.make <<\_ACEOF
4613 SHELL = /bin/sh
4614 all:
4615 @echo '@@@%%%=$(MAKE)=@@@%%%'
4616 _ACEOF
4617 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4618 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4619 *@@@%%%=?*=@@@%%%*)
4620 eval ac_cv_prog_make_${ac_make}_set=yes;;
4622 eval ac_cv_prog_make_${ac_make}_set=no;;
4623 esac
4624 rm -f conftest.make
4626 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4628 printf "%s\n" "yes" >&6; }
4629 SET_MAKE=
4630 else
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 printf "%s\n" "no" >&6; }
4633 SET_MAKE="MAKE=${MAKE-make}"
4645 ac_ext=c
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4652 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s "checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_CC+y}
4656 then :
4657 printf %s "(cached) " >&6
4658 else $as_nop
4659 if test -n "$CC"; then
4660 ac_cv_prog_CC="$CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 case $as_dir in #(((
4667 '') as_dir=./ ;;
4668 */) ;;
4669 *) as_dir=$as_dir/ ;;
4670 esac
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 CC=$ac_cv_prog_CC
4684 if test -n "$CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4686 printf "%s\n" "$CC" >&6; }
4687 else
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4694 if test -z "$ac_cv_prog_CC"; then
4695 ac_ct_CC=$CC
4696 # Extract the first word of "gcc", so it can be a program name with args.
4697 set dummy gcc; ac_word=$2
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 printf %s "checking for $ac_word... " >&6; }
4700 if test ${ac_cv_prog_ac_ct_CC+y}
4701 then :
4702 printf %s "(cached) " >&6
4703 else $as_nop
4704 if test -n "$ac_ct_CC"; then
4705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4706 else
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $PATH
4710 IFS=$as_save_IFS
4711 case $as_dir in #(((
4712 '') as_dir=./ ;;
4713 */) ;;
4714 *) as_dir=$as_dir/ ;;
4715 esac
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_ac_ct_CC="gcc"
4719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4720 break 2
4722 done
4723 done
4724 IFS=$as_save_IFS
4728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4729 if test -n "$ac_ct_CC"; then
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4731 printf "%s\n" "$ac_ct_CC" >&6; }
4732 else
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 printf "%s\n" "no" >&6; }
4737 if test "x$ac_ct_CC" = x; then
4738 CC=""
4739 else
4740 case $cross_compiling:$ac_tool_warned in
4741 yes:)
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4743 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4744 ac_tool_warned=yes ;;
4745 esac
4746 CC=$ac_ct_CC
4748 else
4749 CC="$ac_cv_prog_CC"
4752 if test -z "$CC"; then
4753 if test -n "$ac_tool_prefix"; then
4754 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4755 set dummy ${ac_tool_prefix}cc; ac_word=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s "checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4759 then :
4760 printf %s "(cached) " >&6
4761 else $as_nop
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC="$CC" # Let the user override the test.
4764 else
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH
4768 IFS=$as_save_IFS
4769 case $as_dir in #(((
4770 '') as_dir=./ ;;
4771 */) ;;
4772 *) as_dir=$as_dir/ ;;
4773 esac
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4776 ac_cv_prog_CC="${ac_tool_prefix}cc"
4777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4778 break 2
4780 done
4781 done
4782 IFS=$as_save_IFS
4786 CC=$ac_cv_prog_CC
4787 if test -n "$CC"; then
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4789 printf "%s\n" "$CC" >&6; }
4790 else
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 printf "%s\n" "no" >&6; }
4798 if test -z "$CC"; then
4799 # Extract the first word of "cc", so it can be a program name with args.
4800 set dummy cc; ac_word=$2
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4802 printf %s "checking for $ac_word... " >&6; }
4803 if test ${ac_cv_prog_CC+y}
4804 then :
4805 printf %s "(cached) " >&6
4806 else $as_nop
4807 if test -n "$CC"; then
4808 ac_cv_prog_CC="$CC" # Let the user override the test.
4809 else
4810 ac_prog_rejected=no
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4814 IFS=$as_save_IFS
4815 case $as_dir in #(((
4816 '') as_dir=./ ;;
4817 */) ;;
4818 *) as_dir=$as_dir/ ;;
4819 esac
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4822 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4823 ac_prog_rejected=yes
4824 continue
4826 ac_cv_prog_CC="cc"
4827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4828 break 2
4830 done
4831 done
4832 IFS=$as_save_IFS
4834 if test $ac_prog_rejected = yes; then
4835 # We found a bogon in the path, so make sure we never use it.
4836 set dummy $ac_cv_prog_CC
4837 shift
4838 if test $# != 0; then
4839 # We chose a different compiler from the bogus one.
4840 # However, it has the same basename, so the bogon will be chosen
4841 # first if we set CC to just the basename; use the full file name.
4842 shift
4843 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4848 CC=$ac_cv_prog_CC
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4852 else
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4859 if test -z "$CC"; then
4860 if test -n "$ac_tool_prefix"; then
4861 for ac_prog in cl.exe
4863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 printf %s "checking for $ac_word... " >&6; }
4867 if test ${ac_cv_prog_CC+y}
4868 then :
4869 printf %s "(cached) " >&6
4870 else $as_nop
4871 if test -n "$CC"; then
4872 ac_cv_prog_CC="$CC" # Let the user override the test.
4873 else
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH
4877 IFS=$as_save_IFS
4878 case $as_dir in #(((
4879 '') as_dir=./ ;;
4880 */) ;;
4881 *) as_dir=$as_dir/ ;;
4882 esac
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4895 CC=$ac_cv_prog_CC
4896 if test -n "$CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4898 printf "%s\n" "$CC" >&6; }
4899 else
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 printf "%s\n" "no" >&6; }
4905 test -n "$CC" && break
4906 done
4908 if test -z "$CC"; then
4909 ac_ct_CC=$CC
4910 for ac_prog in cl.exe
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy $ac_prog; ac_word=$2
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 printf %s "checking for $ac_word... " >&6; }
4916 if test ${ac_cv_prog_ac_ct_CC+y}
4917 then :
4918 printf %s "(cached) " >&6
4919 else $as_nop
4920 if test -n "$ac_ct_CC"; then
4921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4922 else
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 for as_dir in $PATH
4926 IFS=$as_save_IFS
4927 case $as_dir in #(((
4928 '') as_dir=./ ;;
4929 */) ;;
4930 *) as_dir=$as_dir/ ;;
4931 esac
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_ac_ct_CC="$ac_prog"
4935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4936 break 2
4938 done
4939 done
4940 IFS=$as_save_IFS
4944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4945 if test -n "$ac_ct_CC"; then
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4947 printf "%s\n" "$ac_ct_CC" >&6; }
4948 else
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 printf "%s\n" "no" >&6; }
4954 test -n "$ac_ct_CC" && break
4955 done
4957 if test "x$ac_ct_CC" = x; then
4958 CC=""
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 CC=$ac_ct_CC
4971 if test -z "$CC"; then
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4974 set dummy ${ac_tool_prefix}clang; ac_word=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s "checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_CC+y}
4978 then :
4979 printf %s "(cached) " >&6
4980 else $as_nop
4981 if test -n "$CC"; then
4982 ac_cv_prog_CC="$CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 case $as_dir in #(((
4989 '') as_dir=./ ;;
4990 */) ;;
4991 *) as_dir=$as_dir/ ;;
4992 esac
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_CC="${ac_tool_prefix}clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 CC=$ac_cv_prog_CC
5006 if test -n "$CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5008 printf "%s\n" "$CC" >&6; }
5009 else
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5016 if test -z "$ac_cv_prog_CC"; then
5017 ac_ct_CC=$CC
5018 # Extract the first word of "clang", so it can be a program name with args.
5019 set dummy clang; ac_word=$2
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 printf %s "checking for $ac_word... " >&6; }
5022 if test ${ac_cv_prog_ac_ct_CC+y}
5023 then :
5024 printf %s "(cached) " >&6
5025 else $as_nop
5026 if test -n "$ac_ct_CC"; then
5027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 case $as_dir in #(((
5034 '') as_dir=./ ;;
5035 */) ;;
5036 *) as_dir=$as_dir/ ;;
5037 esac
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_CC="clang"
5041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5051 if test -n "$ac_ct_CC"; then
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5053 printf "%s\n" "$ac_ct_CC" >&6; }
5054 else
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 printf "%s\n" "no" >&6; }
5059 if test "x$ac_ct_CC" = x; then
5060 CC=""
5061 else
5062 case $cross_compiling:$ac_tool_warned in
5063 yes:)
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned=yes ;;
5067 esac
5068 CC=$ac_ct_CC
5070 else
5071 CC="$ac_cv_prog_CC"
5077 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5078 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5079 as_fn_error $? "no acceptable C compiler found in \$PATH
5080 See \`config.log' for more details" "$LINENO" 5; }
5082 # Provide some information about the compiler.
5083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5084 set X $ac_compile
5085 ac_compiler=$2
5086 for ac_option in --version -v -V -qversion -version; do
5087 { { ac_try="$ac_compiler $ac_option >&5"
5088 case "(($ac_try" in
5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5091 esac
5092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5093 printf "%s\n" "$ac_try_echo"; } >&5
5094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5095 ac_status=$?
5096 if test -s conftest.err; then
5097 sed '10a\
5098 ... rest of stderr output deleted ...
5099 10q' conftest.err >conftest.er1
5100 cat conftest.er1 >&5
5102 rm -f conftest.er1 conftest.err
5103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5104 test $ac_status = 0; }
5105 done
5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5111 main (void)
5115 return 0;
5117 _ACEOF
5118 ac_clean_files_save=$ac_clean_files
5119 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5120 # Try to create an executable without -o first, disregard a.out.
5121 # It will help us diagnose broken compilers, and finding out an intuition
5122 # of exeext.
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5124 printf %s "checking whether the C compiler works... " >&6; }
5125 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5127 # The possible output files:
5128 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5130 ac_rmfiles=
5131 for ac_file in $ac_files
5133 case $ac_file in
5134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5136 esac
5137 done
5138 rm -f $ac_rmfiles
5140 if { { ac_try="$ac_link_default"
5141 case "(($ac_try" in
5142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143 *) ac_try_echo=$ac_try;;
5144 esac
5145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5146 printf "%s\n" "$ac_try_echo"; } >&5
5147 (eval "$ac_link_default") 2>&5
5148 ac_status=$?
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5150 test $ac_status = 0; }
5151 then :
5152 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5153 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5154 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5155 # so that the user can short-circuit this test for compilers unknown to
5156 # Autoconf.
5157 for ac_file in $ac_files ''
5159 test -f "$ac_file" || continue
5160 case $ac_file in
5161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5163 [ab].out )
5164 # We found the default executable, but exeext='' is most
5165 # certainly right.
5166 break;;
5167 *.* )
5168 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5169 then :; else
5170 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5172 # We set ac_cv_exeext here because the later test for it is not
5173 # safe: cross compilers may not add the suffix if given an `-o'
5174 # argument, so we may need to know it at that point already.
5175 # Even if this section looks crufty: it has the advantage of
5176 # actually working.
5177 break;;
5179 break;;
5180 esac
5181 done
5182 test "$ac_cv_exeext" = no && ac_cv_exeext=
5184 else $as_nop
5185 ac_file=''
5187 if test -z "$ac_file"
5188 then :
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 printf "%s\n" "no" >&6; }
5191 printf "%s\n" "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5194 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5195 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5196 as_fn_error 77 "C compiler cannot create executables
5197 See \`config.log' for more details" "$LINENO" 5; }
5198 else $as_nop
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5200 printf "%s\n" "yes" >&6; }
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5203 printf %s "checking for C compiler default output file name... " >&6; }
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5205 printf "%s\n" "$ac_file" >&6; }
5206 ac_exeext=$ac_cv_exeext
5208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5209 ac_clean_files=$ac_clean_files_save
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5211 printf %s "checking for suffix of executables... " >&6; }
5212 if { { ac_try="$ac_link"
5213 case "(($ac_try" in
5214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5215 *) ac_try_echo=$ac_try;;
5216 esac
5217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5218 printf "%s\n" "$ac_try_echo"; } >&5
5219 (eval "$ac_link") 2>&5
5220 ac_status=$?
5221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5222 test $ac_status = 0; }
5223 then :
5224 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5225 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5226 # work properly (i.e., refer to `conftest.exe'), while it won't with
5227 # `rm'.
5228 for ac_file in conftest.exe conftest conftest.*; do
5229 test -f "$ac_file" || continue
5230 case $ac_file in
5231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5232 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5233 break;;
5234 * ) break;;
5235 esac
5236 done
5237 else $as_nop
5238 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5239 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5240 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5241 See \`config.log' for more details" "$LINENO" 5; }
5243 rm -f conftest conftest$ac_cv_exeext
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5245 printf "%s\n" "$ac_cv_exeext" >&6; }
5247 rm -f conftest.$ac_ext
5248 EXEEXT=$ac_cv_exeext
5249 ac_exeext=$EXEEXT
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5252 #include <stdio.h>
5254 main (void)
5256 FILE *f = fopen ("conftest.out", "w");
5257 return ferror (f) || fclose (f) != 0;
5260 return 0;
5262 _ACEOF
5263 ac_clean_files="$ac_clean_files conftest.out"
5264 # Check that the compiler produces executables we can run. If not, either
5265 # the compiler is broken, or we cross compile.
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5267 printf %s "checking whether we are cross compiling... " >&6; }
5268 if test "$cross_compiling" != yes; then
5269 { { ac_try="$ac_link"
5270 case "(($ac_try" in
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5273 esac
5274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5275 printf "%s\n" "$ac_try_echo"; } >&5
5276 (eval "$ac_link") 2>&5
5277 ac_status=$?
5278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5279 test $ac_status = 0; }
5280 if { ac_try='./conftest$ac_cv_exeext'
5281 { { case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_try") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }; }; then
5291 cross_compiling=no
5292 else
5293 if test "$cross_compiling" = maybe; then
5294 cross_compiling=yes
5295 else
5296 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5297 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5298 as_fn_error 77 "cannot run C compiled programs.
5299 If you meant to cross compile, use \`--host'.
5300 See \`config.log' for more details" "$LINENO" 5; }
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5305 printf "%s\n" "$cross_compiling" >&6; }
5307 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5308 ac_clean_files=$ac_clean_files_save
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5310 printf %s "checking for suffix of object files... " >&6; }
5311 if test ${ac_cv_objext+y}
5312 then :
5313 printf %s "(cached) " >&6
5314 else $as_nop
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main (void)
5323 return 0;
5325 _ACEOF
5326 rm -f conftest.o conftest.obj
5327 if { { ac_try="$ac_compile"
5328 case "(($ac_try" in
5329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5331 esac
5332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5333 printf "%s\n" "$ac_try_echo"; } >&5
5334 (eval "$ac_compile") 2>&5
5335 ac_status=$?
5336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5337 test $ac_status = 0; }
5338 then :
5339 for ac_file in conftest.o conftest.obj conftest.*; do
5340 test -f "$ac_file" || continue;
5341 case $ac_file in
5342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5343 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5344 break;;
5345 esac
5346 done
5347 else $as_nop
5348 printf "%s\n" "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5351 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5352 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5353 as_fn_error $? "cannot compute suffix of object files: cannot compile
5354 See \`config.log' for more details" "$LINENO" 5; }
5356 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5359 printf "%s\n" "$ac_cv_objext" >&6; }
5360 OBJEXT=$ac_cv_objext
5361 ac_objext=$OBJEXT
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5363 printf %s "checking whether the compiler supports GNU C... " >&6; }
5364 if test ${ac_cv_c_compiler_gnu+y}
5365 then :
5366 printf %s "(cached) " >&6
5367 else $as_nop
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5372 main (void)
5374 #ifndef __GNUC__
5375 choke me
5376 #endif
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_compile "$LINENO"
5383 then :
5384 ac_compiler_gnu=yes
5385 else $as_nop
5386 ac_compiler_gnu=no
5388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5393 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396 if test $ac_compiler_gnu = yes; then
5397 GCC=yes
5398 else
5399 GCC=
5401 ac_test_CFLAGS=${CFLAGS+y}
5402 ac_save_CFLAGS=$CFLAGS
5403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5404 printf %s "checking whether $CC accepts -g... " >&6; }
5405 if test ${ac_cv_prog_cc_g+y}
5406 then :
5407 printf %s "(cached) " >&6
5408 else $as_nop
5409 ac_save_c_werror_flag=$ac_c_werror_flag
5410 ac_c_werror_flag=yes
5411 ac_cv_prog_cc_g=no
5412 CFLAGS="-g"
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5417 main (void)
5421 return 0;
5423 _ACEOF
5424 if ac_fn_c_try_compile "$LINENO"
5425 then :
5426 ac_cv_prog_cc_g=yes
5427 else $as_nop
5428 CFLAGS=""
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5433 main (void)
5437 return 0;
5439 _ACEOF
5440 if ac_fn_c_try_compile "$LINENO"
5441 then :
5443 else $as_nop
5444 ac_c_werror_flag=$ac_save_c_werror_flag
5445 CFLAGS="-g"
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5450 main (void)
5454 return 0;
5456 _ACEOF
5457 if ac_fn_c_try_compile "$LINENO"
5458 then :
5459 ac_cv_prog_cc_g=yes
5461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 ac_c_werror_flag=$ac_save_c_werror_flag
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5469 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5470 if test $ac_test_CFLAGS; then
5471 CFLAGS=$ac_save_CFLAGS
5472 elif test $ac_cv_prog_cc_g = yes; then
5473 if test "$GCC" = yes; then
5474 CFLAGS="-g -O2"
5475 else
5476 CFLAGS="-g"
5478 else
5479 if test "$GCC" = yes; then
5480 CFLAGS="-O2"
5481 else
5482 CFLAGS=
5485 ac_prog_cc_stdc=no
5486 if test x$ac_prog_cc_stdc = xno
5487 then :
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5489 printf %s "checking for $CC option to enable C11 features... " >&6; }
5490 if test ${ac_cv_prog_cc_c11+y}
5491 then :
5492 printf %s "(cached) " >&6
5493 else $as_nop
5494 ac_cv_prog_cc_c11=no
5495 ac_save_CC=$CC
5496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5498 $ac_c_conftest_c11_program
5499 _ACEOF
5500 for ac_arg in '' -std=gnu11
5502 CC="$ac_save_CC $ac_arg"
5503 if ac_fn_c_try_compile "$LINENO"
5504 then :
5505 ac_cv_prog_cc_c11=$ac_arg
5507 rm -f core conftest.err conftest.$ac_objext conftest.beam
5508 test "x$ac_cv_prog_cc_c11" != "xno" && break
5509 done
5510 rm -f conftest.$ac_ext
5511 CC=$ac_save_CC
5514 if test "x$ac_cv_prog_cc_c11" = xno
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5517 printf "%s\n" "unsupported" >&6; }
5518 else $as_nop
5519 if test "x$ac_cv_prog_cc_c11" = x
5520 then :
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5522 printf "%s\n" "none needed" >&6; }
5523 else $as_nop
5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5525 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5526 CC="$CC $ac_cv_prog_cc_c11"
5528 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5529 ac_prog_cc_stdc=c11
5532 if test x$ac_prog_cc_stdc = xno
5533 then :
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5535 printf %s "checking for $CC option to enable C99 features... " >&6; }
5536 if test ${ac_cv_prog_cc_c99+y}
5537 then :
5538 printf %s "(cached) " >&6
5539 else $as_nop
5540 ac_cv_prog_cc_c99=no
5541 ac_save_CC=$CC
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5544 $ac_c_conftest_c99_program
5545 _ACEOF
5546 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5548 CC="$ac_save_CC $ac_arg"
5549 if ac_fn_c_try_compile "$LINENO"
5550 then :
5551 ac_cv_prog_cc_c99=$ac_arg
5553 rm -f core conftest.err conftest.$ac_objext conftest.beam
5554 test "x$ac_cv_prog_cc_c99" != "xno" && break
5555 done
5556 rm -f conftest.$ac_ext
5557 CC=$ac_save_CC
5560 if test "x$ac_cv_prog_cc_c99" = xno
5561 then :
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5563 printf "%s\n" "unsupported" >&6; }
5564 else $as_nop
5565 if test "x$ac_cv_prog_cc_c99" = x
5566 then :
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5568 printf "%s\n" "none needed" >&6; }
5569 else $as_nop
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5571 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5572 CC="$CC $ac_cv_prog_cc_c99"
5574 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5575 ac_prog_cc_stdc=c99
5578 if test x$ac_prog_cc_stdc = xno
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5581 printf %s "checking for $CC option to enable C89 features... " >&6; }
5582 if test ${ac_cv_prog_cc_c89+y}
5583 then :
5584 printf %s "(cached) " >&6
5585 else $as_nop
5586 ac_cv_prog_cc_c89=no
5587 ac_save_CC=$CC
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590 $ac_c_conftest_c89_program
5591 _ACEOF
5592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5594 CC="$ac_save_CC $ac_arg"
5595 if ac_fn_c_try_compile "$LINENO"
5596 then :
5597 ac_cv_prog_cc_c89=$ac_arg
5599 rm -f core conftest.err conftest.$ac_objext conftest.beam
5600 test "x$ac_cv_prog_cc_c89" != "xno" && break
5601 done
5602 rm -f conftest.$ac_ext
5603 CC=$ac_save_CC
5606 if test "x$ac_cv_prog_cc_c89" = xno
5607 then :
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5609 printf "%s\n" "unsupported" >&6; }
5610 else $as_nop
5611 if test "x$ac_cv_prog_cc_c89" = x
5612 then :
5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5614 printf "%s\n" "none needed" >&6; }
5615 else $as_nop
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5617 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5618 CC="$CC $ac_cv_prog_cc_c89"
5620 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5621 ac_prog_cc_stdc=c89
5625 ac_ext=c
5626 ac_cpp='$CPP $CPPFLAGS'
5627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5637 ac_ext=cpp
5638 ac_cpp='$CXXCPP $CPPFLAGS'
5639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5642 if test -z "$CXX"; then
5643 if test -n "$CCC"; then
5644 CXX=$CCC
5645 else
5646 if test -n "$ac_tool_prefix"; then
5647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 printf %s "checking for $ac_word... " >&6; }
5653 if test ${ac_cv_prog_CXX+y}
5654 then :
5655 printf %s "(cached) " >&6
5656 else $as_nop
5657 if test -n "$CXX"; then
5658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 case $as_dir in #(((
5665 '') as_dir=./ ;;
5666 */) ;;
5667 *) as_dir=$as_dir/ ;;
5668 esac
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 CXX=$ac_cv_prog_CXX
5682 if test -n "$CXX"; then
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5684 printf "%s\n" "$CXX" >&6; }
5685 else
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 printf "%s\n" "no" >&6; }
5691 test -n "$CXX" && break
5692 done
5694 if test -z "$CXX"; then
5695 ac_ct_CXX=$CXX
5696 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy $ac_prog; ac_word=$2
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 printf %s "checking for $ac_word... " >&6; }
5702 if test ${ac_cv_prog_ac_ct_CXX+y}
5703 then :
5704 printf %s "(cached) " >&6
5705 else $as_nop
5706 if test -n "$ac_ct_CXX"; then
5707 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 case $as_dir in #(((
5714 '') as_dir=./ ;;
5715 */) ;;
5716 *) as_dir=$as_dir/ ;;
5717 esac
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5720 ac_cv_prog_ac_ct_CXX="$ac_prog"
5721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5731 if test -n "$ac_ct_CXX"; then
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5733 printf "%s\n" "$ac_ct_CXX" >&6; }
5734 else
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 printf "%s\n" "no" >&6; }
5740 test -n "$ac_ct_CXX" && break
5741 done
5743 if test "x$ac_ct_CXX" = x; then
5744 CXX="g++"
5745 else
5746 case $cross_compiling:$ac_tool_warned in
5747 yes:)
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5749 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5750 ac_tool_warned=yes ;;
5751 esac
5752 CXX=$ac_ct_CXX
5758 # Provide some information about the compiler.
5759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5760 set X $ac_compile
5761 ac_compiler=$2
5762 for ac_option in --version -v -V -qversion; do
5763 { { ac_try="$ac_compiler $ac_option >&5"
5764 case "(($ac_try" in
5765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5766 *) ac_try_echo=$ac_try;;
5767 esac
5768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5769 printf "%s\n" "$ac_try_echo"; } >&5
5770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5771 ac_status=$?
5772 if test -s conftest.err; then
5773 sed '10a\
5774 ... rest of stderr output deleted ...
5775 10q' conftest.err >conftest.er1
5776 cat conftest.er1 >&5
5778 rm -f conftest.er1 conftest.err
5779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780 test $ac_status = 0; }
5781 done
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5784 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5785 if test ${ac_cv_cxx_compiler_gnu+y}
5786 then :
5787 printf %s "(cached) " >&6
5788 else $as_nop
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main (void)
5795 #ifndef __GNUC__
5796 choke me
5797 #endif
5800 return 0;
5802 _ACEOF
5803 if ac_fn_cxx_try_compile "$LINENO"
5804 then :
5805 ac_compiler_gnu=yes
5806 else $as_nop
5807 ac_compiler_gnu=no
5809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5810 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5814 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5817 if test $ac_compiler_gnu = yes; then
5818 GXX=yes
5819 else
5820 GXX=
5822 ac_test_CXXFLAGS=${CXXFLAGS+y}
5823 ac_save_CXXFLAGS=$CXXFLAGS
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5825 printf %s "checking whether $CXX accepts -g... " >&6; }
5826 if test ${ac_cv_prog_cxx_g+y}
5827 then :
5828 printf %s "(cached) " >&6
5829 else $as_nop
5830 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5831 ac_cxx_werror_flag=yes
5832 ac_cv_prog_cxx_g=no
5833 CXXFLAGS="-g"
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5838 main (void)
5842 return 0;
5844 _ACEOF
5845 if ac_fn_cxx_try_compile "$LINENO"
5846 then :
5847 ac_cv_prog_cxx_g=yes
5848 else $as_nop
5849 CXXFLAGS=""
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5854 main (void)
5858 return 0;
5860 _ACEOF
5861 if ac_fn_cxx_try_compile "$LINENO"
5862 then :
5864 else $as_nop
5865 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5866 CXXFLAGS="-g"
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5871 main (void)
5875 return 0;
5877 _ACEOF
5878 if ac_fn_cxx_try_compile "$LINENO"
5879 then :
5880 ac_cv_prog_cxx_g=yes
5882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5887 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5890 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5891 if test $ac_test_CXXFLAGS; then
5892 CXXFLAGS=$ac_save_CXXFLAGS
5893 elif test $ac_cv_prog_cxx_g = yes; then
5894 if test "$GXX" = yes; then
5895 CXXFLAGS="-g -O2"
5896 else
5897 CXXFLAGS="-g"
5899 else
5900 if test "$GXX" = yes; then
5901 CXXFLAGS="-O2"
5902 else
5903 CXXFLAGS=
5906 ac_prog_cxx_stdcxx=no
5907 if test x$ac_prog_cxx_stdcxx = xno
5908 then :
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5910 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5911 if test ${ac_cv_prog_cxx_cxx11+y}
5912 then :
5913 printf %s "(cached) " >&6
5914 else $as_nop
5915 ac_cv_prog_cxx_cxx11=no
5916 ac_save_CXX=$CXX
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5919 $ac_cxx_conftest_cxx11_program
5920 _ACEOF
5921 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5923 CXX="$ac_save_CXX $ac_arg"
5924 if ac_fn_cxx_try_compile "$LINENO"
5925 then :
5926 ac_cv_prog_cxx_cxx11=$ac_arg
5928 rm -f core conftest.err conftest.$ac_objext conftest.beam
5929 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5930 done
5931 rm -f conftest.$ac_ext
5932 CXX=$ac_save_CXX
5935 if test "x$ac_cv_prog_cxx_cxx11" = xno
5936 then :
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5938 printf "%s\n" "unsupported" >&6; }
5939 else $as_nop
5940 if test "x$ac_cv_prog_cxx_cxx11" = x
5941 then :
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5943 printf "%s\n" "none needed" >&6; }
5944 else $as_nop
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5946 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5947 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5949 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5950 ac_prog_cxx_stdcxx=cxx11
5953 if test x$ac_prog_cxx_stdcxx = xno
5954 then :
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5956 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5957 if test ${ac_cv_prog_cxx_cxx98+y}
5958 then :
5959 printf %s "(cached) " >&6
5960 else $as_nop
5961 ac_cv_prog_cxx_cxx98=no
5962 ac_save_CXX=$CXX
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h. */
5965 $ac_cxx_conftest_cxx98_program
5966 _ACEOF
5967 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5969 CXX="$ac_save_CXX $ac_arg"
5970 if ac_fn_cxx_try_compile "$LINENO"
5971 then :
5972 ac_cv_prog_cxx_cxx98=$ac_arg
5974 rm -f core conftest.err conftest.$ac_objext conftest.beam
5975 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5976 done
5977 rm -f conftest.$ac_ext
5978 CXX=$ac_save_CXX
5981 if test "x$ac_cv_prog_cxx_cxx98" = xno
5982 then :
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5984 printf "%s\n" "unsupported" >&6; }
5985 else $as_nop
5986 if test "x$ac_cv_prog_cxx_cxx98" = x
5987 then :
5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5989 printf "%s\n" "none needed" >&6; }
5990 else $as_nop
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5992 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5993 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5995 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5996 ac_prog_cxx_stdcxx=cxx98
6000 ac_ext=c
6001 ac_cpp='$CPP $CPPFLAGS'
6002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6006 if test -n "$ac_tool_prefix"; then
6007 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6008 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s "checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_CPPBIN+y}
6012 then :
6013 printf %s "(cached) " >&6
6014 else $as_nop
6015 if test -n "$CPPBIN"; then
6016 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 case $as_dir in #(((
6023 '') as_dir=./ ;;
6024 */) ;;
6025 *) as_dir=$as_dir/ ;;
6026 esac
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 CPPBIN=$ac_cv_prog_CPPBIN
6040 if test -n "$CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6042 printf "%s\n" "$CPPBIN" >&6; }
6043 else
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6050 if test -z "$ac_cv_prog_CPPBIN"; then
6051 ac_ct_CPPBIN=$CPPBIN
6052 # Extract the first word of "cpp", so it can be a program name with args.
6053 set dummy cpp; ac_word=$2
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 printf %s "checking for $ac_word... " >&6; }
6056 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6057 then :
6058 printf %s "(cached) " >&6
6059 else $as_nop
6060 if test -n "$ac_ct_CPPBIN"; then
6061 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 case $as_dir in #(((
6068 '') as_dir=./ ;;
6069 */) ;;
6070 *) as_dir=$as_dir/ ;;
6071 esac
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_CPPBIN="cpp"
6075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6085 if test -n "$ac_ct_CPPBIN"; then
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6087 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6088 else
6089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 printf "%s\n" "no" >&6; }
6093 if test "x$ac_ct_CPPBIN" = x; then
6094 CPPBIN="cpp"
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 CPPBIN=$ac_ct_CPPBIN
6104 else
6105 CPPBIN="$ac_cv_prog_CPPBIN"
6109 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}ld; ac_word=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s "checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_LD+y}
6117 then :
6118 printf %s "(cached) " >&6
6119 else $as_nop
6120 if test -n "$LD"; then
6121 ac_cv_prog_LD="$LD" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 case $as_dir in #(((
6128 '') as_dir=./ ;;
6129 */) ;;
6130 *) as_dir=$as_dir/ ;;
6131 esac
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_LD="${ac_tool_prefix}ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 LD=$ac_cv_prog_LD
6145 if test -n "$LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6147 printf "%s\n" "$LD" >&6; }
6148 else
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6155 if test -z "$ac_cv_prog_LD"; then
6156 ac_ct_LD=$LD
6157 # Extract the first word of "ld", so it can be a program name with args.
6158 set dummy ld; ac_word=$2
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 printf %s "checking for $ac_word... " >&6; }
6161 if test ${ac_cv_prog_ac_ct_LD+y}
6162 then :
6163 printf %s "(cached) " >&6
6164 else $as_nop
6165 if test -n "$ac_ct_LD"; then
6166 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6171 IFS=$as_save_IFS
6172 case $as_dir in #(((
6173 '') as_dir=./ ;;
6174 */) ;;
6175 *) as_dir=$as_dir/ ;;
6176 esac
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_ac_ct_LD="ld"
6180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6181 break 2
6183 done
6184 done
6185 IFS=$as_save_IFS
6189 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6190 if test -n "$ac_ct_LD"; then
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6192 printf "%s\n" "$ac_ct_LD" >&6; }
6193 else
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 printf "%s\n" "no" >&6; }
6198 if test "x$ac_ct_LD" = x; then
6199 LD=""
6200 else
6201 case $cross_compiling:$ac_tool_warned in
6202 yes:)
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned=yes ;;
6206 esac
6207 LD=$ac_ct_LD
6209 else
6210 LD="$ac_cv_prog_LD"
6214 case $host in
6215 *-darwin*)
6216 with_fontconfig=${with_fontconfig:-no}
6218 *-mingw32*|*-cygwin*)
6219 enable_win16=${enable_win16:-no}
6220 with_mingw=${with_mingw:-no}
6222 esac
6225 case $host in
6226 x86_64*|amd64*)
6227 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6228 then
6229 CC="$CC -m32"
6230 CXX="$CXX -m32"
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6233 printf %s "checking whether $CC works... " >&6; }
6234 if test ${wine_cv_cc_m32+y}
6235 then :
6236 printf %s "(cached) " >&6
6237 else $as_nop
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6242 main (void)
6246 return 0;
6248 _ACEOF
6249 if ac_fn_c_try_link "$LINENO"
6250 then :
6251 wine_cv_cc_m32=yes
6252 else $as_nop
6253 wine_cv_cc_m32=no
6255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6256 conftest$ac_exeext conftest.$ac_ext
6258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6259 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6260 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
6261 host_cpu="i386"
6262 notice_platform="32-bit "
6263 TARGETFLAGS="$TARGETFLAGS -m32"
6264 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6265 export PKG_CONFIG_LIBDIR
6266 with_unwind=${with_unwind:-no}
6267 else
6268 if test "x${GCC}" = "xyes"
6269 then
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6271 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6272 if test ${wine_cv_builtin_ms_va_list+y}
6273 then :
6274 printf %s "(cached) " >&6
6275 else $as_nop
6276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6278 #include <stdarg.h>
6280 main (void)
6282 void func(__builtin_ms_va_list *args);
6284 return 0;
6286 _ACEOF
6287 if ac_fn_c_try_compile "$LINENO"
6288 then :
6289 wine_cv_builtin_ms_va_list=yes
6290 else $as_nop
6291 wine_cv_builtin_ms_va_list=no
6293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6296 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6297 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
6299 CC="$CC -m64"
6300 CXX="$CXX -m64"
6301 host_cpu="x86_64"
6302 notice_platform="64-bit "
6303 TARGETFLAGS="$TARGETFLAGS -m64"
6306 arm*)
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6308 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6309 if test ${wine_cv_thumb2+y}
6310 then :
6311 printf %s "(cached) " >&6
6312 else $as_nop
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6317 main (void)
6319 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6321 return 0;
6323 _ACEOF
6324 if ac_fn_c_try_link "$LINENO"
6325 then :
6326 wine_cv_thumb2=yes
6327 else $as_nop
6328 wine_cv_thumb2=no
6330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6331 conftest$ac_exeext conftest.$ac_ext
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6334 printf "%s\n" "$wine_cv_thumb2" >&6; }
6335 if test x"$wine_cv_thumb2" = xyes
6336 then
6337 CFLAGS="$CFLAGS -mthumb"
6338 TARGETFLAGS="$TARGETFLAGS -mthumb"
6339 else
6340 CFLAGS="$CFLAGS -marm"
6341 TARGETFLAGS="$TARGETFLAGS -marm"
6343 case $with_float_abi in
6344 soft|softfp|hard)
6345 float_abi=$with_float_abi ;;
6347 case $host_os in
6348 *eabihf)
6349 float_abi=hard ;;
6351 float_abi=softfp
6352 saved_CFLAGS=$CFLAGS
6353 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6355 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6356 if test ${wine_cv_float_abi+y}
6357 then :
6358 printf %s "(cached) " >&6
6359 else $as_nop
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361 /* end confdefs.h. */
6364 main (void)
6366 asm("vmrs r2,fpscr");
6368 return 0;
6370 _ACEOF
6371 if ac_fn_c_try_link "$LINENO"
6372 then :
6373 wine_cv_float_abi=yes
6374 else $as_nop
6375 wine_cv_float_abi=no
6377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6378 conftest$ac_exeext conftest.$ac_ext
6380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6381 printf "%s\n" "$wine_cv_float_abi" >&6; }
6382 if test $wine_cv_float_abi = no
6383 then
6384 float_abi=soft
6385 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6387 CFLAGS=$saved_CFLAGS
6388 esac
6390 esac
6391 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6392 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6394 i[3456789]86*)
6395 with_unwind=${with_unwind:-no}
6397 esac
6399 enable_win16=${enable_win16:-i386}
6400 enable_win64=${enable_win64:-no}
6401 enable_wow64=${enable_wow64:-aarch64,x86_64}
6402 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6403 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6405 enable_winetest=${enable_winetest:-$enable_tests}
6407 if test "x$enable_win64" = "xyes"
6408 then
6409 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6410 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6413 case $build_os in
6414 cygwin*|mingw32*) toolsext=".exe"
6416 *) toolsext=""
6418 esac
6420 HOST_ARCH=unknown
6421 case "$host_cpu" in
6422 aarch64*) HOST_ARCH=aarch64 ;;
6423 arm*) HOST_ARCH=arm ;;
6424 i[3456789]86*) HOST_ARCH=i386 ;;
6425 x86_64) HOST_ARCH=x86_64 ;;
6426 esac
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6430 printf %s "checking for the directory containing the Wine tools... " >&6; }
6431 if test ${wine_cv_toolsdir+y}
6432 then :
6433 printf %s "(cached) " >&6
6434 else $as_nop
6435 wine_cv_toolsdir="$with_wine_tools"
6436 if test -z "$with_wine_tools"; then
6437 if test "$cross_compiling" = "yes"; then
6438 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6439 elif test -n "$with_wine64"; then
6440 wine_cv_toolsdir="$with_wine64"
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6445 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6446 if test -z "$wine_cv_toolsdir"; then
6447 wine_makedep=tools/makedep$toolsext
6448 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6449 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6450 enable_tools=${enable_tools:-no}
6451 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6452 else
6453 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6455 toolsdir=$wine_cv_toolsdir
6457 MAKEDEP=$wine_makedep
6459 RUNTESTFLAGS="-q -P wine"
6461 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'"
6464 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6465 then
6466 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6469 for ac_prog in flex
6471 # Extract the first word of "$ac_prog", so it can be a program name with args.
6472 set dummy $ac_prog; ac_word=$2
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 printf %s "checking for $ac_word... " >&6; }
6475 if test ${ac_cv_prog_FLEX+y}
6476 then :
6477 printf %s "(cached) " >&6
6478 else $as_nop
6479 if test -n "$FLEX"; then
6480 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 case $as_dir in #(((
6487 '') as_dir=./ ;;
6488 */) ;;
6489 *) as_dir=$as_dir/ ;;
6490 esac
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_FLEX="$ac_prog"
6494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 FLEX=$ac_cv_prog_FLEX
6504 if test -n "$FLEX"; then
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6506 printf "%s\n" "$FLEX" >&6; }
6507 else
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 printf "%s\n" "no" >&6; }
6513 test -n "$FLEX" && break
6514 done
6515 test -n "$FLEX" || FLEX="none"
6517 if test "$FLEX" = "none"
6518 then
6519 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6522 printf %s "checking whether flex is recent enough... " >&6; }
6523 if test ${wine_cv_recent_flex+y}
6524 then :
6525 printf %s "(cached) " >&6
6526 else $as_nop
6527 cat >conftest.l <<EOF
6528 %top{
6529 #include "prediluvian.h"
6533 if $FLEX -t conftest.l >/dev/null 2>&5
6534 then
6535 wine_cv_recent_flex=yes
6536 else
6537 wine_cv_recent_flex=no
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6541 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6542 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
6544 for ac_prog in bison
6546 # Extract the first word of "$ac_prog", so it can be a program name with args.
6547 set dummy $ac_prog; ac_word=$2
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 printf %s "checking for $ac_word... " >&6; }
6550 if test ${ac_cv_prog_BISON+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 if test -n "$BISON"; then
6555 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 case $as_dir in #(((
6562 '') as_dir=./ ;;
6563 */) ;;
6564 *) as_dir=$as_dir/ ;;
6565 esac
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_BISON="$ac_prog"
6569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 BISON=$ac_cv_prog_BISON
6579 if test -n "$BISON"; then
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6581 printf "%s\n" "$BISON" >&6; }
6582 else
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 printf "%s\n" "no" >&6; }
6588 test -n "$BISON" && break
6589 done
6590 test -n "$BISON" || BISON="none"
6592 if test "$BISON" = "none"
6593 then
6594 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6597 printf %s "checking whether bison is recent enough... " >&6; }
6598 if test ${wine_cv_recent_bison+y}
6599 then :
6600 printf %s "(cached) " >&6
6601 else $as_nop
6602 cat >conftest.y <<EOF
6603 %define parse.error verbose
6605 empty: ;
6607 if $BISON conftest.y >/dev/null 2>&5
6608 then
6609 wine_cv_recent_bison=yes
6610 else
6611 wine_cv_recent_bison=no
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6615 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6616 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
6618 if test -n "$ac_tool_prefix"; then
6619 for ac_prog in ar gar
6621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s "checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_AR+y}
6626 then :
6627 printf %s "(cached) " >&6
6628 else $as_nop
6629 if test -n "$AR"; then
6630 ac_cv_prog_AR="$AR" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6635 IFS=$as_save_IFS
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 AR=$ac_cv_prog_AR
6654 if test -n "$AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6656 printf "%s\n" "$AR" >&6; }
6657 else
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$AR" && break
6664 done
6666 if test -z "$AR"; then
6667 ac_ct_AR=$AR
6668 for ac_prog in ar gar
6670 # Extract the first word of "$ac_prog", so it can be a program name with args.
6671 set dummy $ac_prog; ac_word=$2
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 printf %s "checking for $ac_word... " >&6; }
6674 if test ${ac_cv_prog_ac_ct_AR+y}
6675 then :
6676 printf %s "(cached) " >&6
6677 else $as_nop
6678 if test -n "$ac_ct_AR"; then
6679 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6684 IFS=$as_save_IFS
6685 case $as_dir in #(((
6686 '') as_dir=./ ;;
6687 */) ;;
6688 *) as_dir=$as_dir/ ;;
6689 esac
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6692 ac_cv_prog_ac_ct_AR="$ac_prog"
6693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6694 break 2
6696 done
6697 done
6698 IFS=$as_save_IFS
6702 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6703 if test -n "$ac_ct_AR"; then
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6705 printf "%s\n" "$ac_ct_AR" >&6; }
6706 else
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 printf "%s\n" "no" >&6; }
6712 test -n "$ac_ct_AR" && break
6713 done
6715 if test "x$ac_ct_AR" = x; then
6716 AR="ar"
6717 else
6718 case $cross_compiling:$ac_tool_warned in
6719 yes:)
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned=yes ;;
6723 esac
6724 AR=$ac_ct_AR
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}strip; ac_word=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_STRIP+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
6737 if test -n "$STRIP"; then
6738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 STRIP=$ac_cv_prog_STRIP
6762 if test -n "$STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6764 printf "%s\n" "$STRIP" >&6; }
6765 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6772 if test -z "$ac_cv_prog_STRIP"; then
6773 ac_ct_STRIP=$STRIP
6774 # Extract the first word of "strip", so it can be a program name with args.
6775 set dummy strip; ac_word=$2
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 printf %s "checking for $ac_word... " >&6; }
6778 if test ${ac_cv_prog_ac_ct_STRIP+y}
6779 then :
6780 printf %s "(cached) " >&6
6781 else $as_nop
6782 if test -n "$ac_ct_STRIP"; then
6783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6788 IFS=$as_save_IFS
6789 case $as_dir in #(((
6790 '') as_dir=./ ;;
6791 */) ;;
6792 *) as_dir=$as_dir/ ;;
6793 esac
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_STRIP="strip"
6797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6798 break 2
6800 done
6801 done
6802 IFS=$as_save_IFS
6806 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6807 if test -n "$ac_ct_STRIP"; then
6808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6809 printf "%s\n" "$ac_ct_STRIP" >&6; }
6810 else
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 printf "%s\n" "no" >&6; }
6815 if test "x$ac_ct_STRIP" = x; then
6816 STRIP="strip"
6817 else
6818 case $cross_compiling:$ac_tool_warned in
6819 yes:)
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6823 esac
6824 STRIP=$ac_ct_STRIP
6826 else
6827 STRIP="$ac_cv_prog_STRIP"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s "checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_RANLIB+y}
6836 then :
6837 printf %s "(cached) " >&6
6838 else $as_nop
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 case $as_dir in #(((
6847 '') as_dir=./ ;;
6848 */) ;;
6849 *) as_dir=$as_dir/ ;;
6850 esac
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 RANLIB=$ac_cv_prog_RANLIB
6864 if test -n "$RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6866 printf "%s\n" "$RANLIB" >&6; }
6867 else
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6874 if test -z "$ac_cv_prog_RANLIB"; then
6875 ac_ct_RANLIB=$RANLIB
6876 # Extract the first word of "ranlib", so it can be a program name with args.
6877 set dummy ranlib; ac_word=$2
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6879 printf %s "checking for $ac_word... " >&6; }
6880 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6881 then :
6882 printf %s "(cached) " >&6
6883 else $as_nop
6884 if test -n "$ac_ct_RANLIB"; then
6885 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6886 else
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888 for as_dir in $PATH
6890 IFS=$as_save_IFS
6891 case $as_dir in #(((
6892 '') as_dir=./ ;;
6893 */) ;;
6894 *) as_dir=$as_dir/ ;;
6895 esac
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6898 ac_cv_prog_ac_ct_RANLIB="ranlib"
6899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6900 break 2
6902 done
6903 done
6904 IFS=$as_save_IFS
6908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6909 if test -n "$ac_ct_RANLIB"; then
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6911 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6912 else
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 printf "%s\n" "no" >&6; }
6917 if test "x$ac_ct_RANLIB" = x; then
6918 RANLIB=":"
6919 else
6920 case $cross_compiling:$ac_tool_warned in
6921 yes:)
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6925 esac
6926 RANLIB=$ac_ct_RANLIB
6928 else
6929 RANLIB="$ac_cv_prog_RANLIB"
6932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6933 printf %s "checking whether ln -s works... " >&6; }
6934 LN_S=$as_ln_s
6935 if test "$LN_S" = "ln -s"; then
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6937 printf "%s\n" "yes" >&6; }
6938 else
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6940 printf "%s\n" "no, using $LN_S" >&6; }
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6944 printf %s "checking for grep that handles long lines and -e... " >&6; }
6945 if test ${ac_cv_path_GREP+y}
6946 then :
6947 printf %s "(cached) " >&6
6948 else $as_nop
6949 if test -z "$GREP"; then
6950 ac_path_GREP_found=false
6951 # Loop through the user's path and test for each of PROGNAME-LIST
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6955 IFS=$as_save_IFS
6956 case $as_dir in #(((
6957 '') as_dir=./ ;;
6958 */) ;;
6959 *) as_dir=$as_dir/ ;;
6960 esac
6961 for ac_prog in grep ggrep
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6965 as_fn_executable_p "$ac_path_GREP" || continue
6966 # Check for GNU ac_path_GREP and select it if it is found.
6967 # Check for GNU $ac_path_GREP
6968 case `"$ac_path_GREP" --version 2>&1` in
6969 *GNU*)
6970 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6972 ac_count=0
6973 printf %s 0123456789 >"conftest.in"
6974 while :
6976 cat "conftest.in" "conftest.in" >"conftest.tmp"
6977 mv "conftest.tmp" "conftest.in"
6978 cp "conftest.in" "conftest.nl"
6979 printf "%s\n" 'GREP' >> "conftest.nl"
6980 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6981 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6982 as_fn_arith $ac_count + 1 && ac_count=$as_val
6983 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6984 # Best one so far, save it but keep looking for a better one
6985 ac_cv_path_GREP="$ac_path_GREP"
6986 ac_path_GREP_max=$ac_count
6988 # 10*(2^10) chars as input seems more than enough
6989 test $ac_count -gt 10 && break
6990 done
6991 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6992 esac
6994 $ac_path_GREP_found && break 3
6995 done
6996 done
6997 done
6998 IFS=$as_save_IFS
6999 if test -z "$ac_cv_path_GREP"; then
7000 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7002 else
7003 ac_cv_path_GREP=$GREP
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7008 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7009 GREP="$ac_cv_path_GREP"
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7013 printf %s "checking for egrep... " >&6; }
7014 if test ${ac_cv_path_EGREP+y}
7015 then :
7016 printf %s "(cached) " >&6
7017 else $as_nop
7018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7019 then ac_cv_path_EGREP="$GREP -E"
7020 else
7021 if test -z "$EGREP"; then
7022 ac_path_EGREP_found=false
7023 # Loop through the user's path and test for each of PROGNAME-LIST
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7027 IFS=$as_save_IFS
7028 case $as_dir in #(((
7029 '') as_dir=./ ;;
7030 */) ;;
7031 *) as_dir=$as_dir/ ;;
7032 esac
7033 for ac_prog in egrep
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7037 as_fn_executable_p "$ac_path_EGREP" || continue
7038 # Check for GNU ac_path_EGREP and select it if it is found.
7039 # Check for GNU $ac_path_EGREP
7040 case `"$ac_path_EGREP" --version 2>&1` in
7041 *GNU*)
7042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7044 ac_count=0
7045 printf %s 0123456789 >"conftest.in"
7046 while :
7048 cat "conftest.in" "conftest.in" >"conftest.tmp"
7049 mv "conftest.tmp" "conftest.in"
7050 cp "conftest.in" "conftest.nl"
7051 printf "%s\n" 'EGREP' >> "conftest.nl"
7052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7054 as_fn_arith $ac_count + 1 && ac_count=$as_val
7055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7056 # Best one so far, save it but keep looking for a better one
7057 ac_cv_path_EGREP="$ac_path_EGREP"
7058 ac_path_EGREP_max=$ac_count
7060 # 10*(2^10) chars as input seems more than enough
7061 test $ac_count -gt 10 && break
7062 done
7063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7064 esac
7066 $ac_path_EGREP_found && break 3
7067 done
7068 done
7069 done
7070 IFS=$as_save_IFS
7071 if test -z "$ac_cv_path_EGREP"; then
7072 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7074 else
7075 ac_cv_path_EGREP=$EGREP
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7081 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7082 EGREP="$ac_cv_path_EGREP"
7085 # Extract the first word of "ldconfig", so it can be a program name with args.
7086 set dummy ldconfig; ac_word=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s "checking for $ac_word... " >&6; }
7089 if test ${ac_cv_path_LDCONFIG+y}
7090 then :
7091 printf %s "(cached) " >&6
7092 else $as_nop
7093 case $LDCONFIG in
7094 [\\/]* | ?:[\\/]*)
7095 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in /sbin /usr/sbin $PATH
7101 IFS=$as_save_IFS
7102 case $as_dir in #(((
7103 '') as_dir=./ ;;
7104 */) ;;
7105 *) as_dir=$as_dir/ ;;
7106 esac
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7109 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7111 break 2
7113 done
7114 done
7115 IFS=$as_save_IFS
7117 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7119 esac
7121 LDCONFIG=$ac_cv_path_LDCONFIG
7122 if test -n "$LDCONFIG"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7124 printf "%s\n" "$LDCONFIG" >&6; }
7125 else
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 for ac_prog in msgfmt
7133 # Extract the first word of "$ac_prog", so it can be a program name with args.
7134 set dummy $ac_prog; ac_word=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s "checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_MSGFMT+y}
7138 then :
7139 printf %s "(cached) " >&6
7140 else $as_nop
7141 if test -n "$MSGFMT"; then
7142 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_MSGFMT="$ac_prog"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 MSGFMT=$ac_cv_prog_MSGFMT
7166 if test -n "$MSGFMT"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7168 printf "%s\n" "$MSGFMT" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7175 test -n "$MSGFMT" && break
7176 done
7177 test -n "$MSGFMT" || MSGFMT="false"
7179 if test ${ac_tool_prefix+y}
7180 then :
7181 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7182 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 printf %s "checking for $ac_word... " >&6; }
7185 if test ${ac_cv_prog_PKG_CONFIG+y}
7186 then :
7187 printf %s "(cached) " >&6
7188 else $as_nop
7189 if test -n "$PKG_CONFIG"; then
7190 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7191 else
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 for as_dir in $PATH
7195 IFS=$as_save_IFS
7196 case $as_dir in #(((
7197 '') as_dir=./ ;;
7198 */) ;;
7199 *) as_dir=$as_dir/ ;;
7200 esac
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7205 break 2
7207 done
7208 done
7209 IFS=$as_save_IFS
7213 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7214 if test -n "$PKG_CONFIG"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7216 printf "%s\n" "$PKG_CONFIG" >&6; }
7217 else
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 printf "%s\n" "no" >&6; }
7224 if ${ac_cv_prog_PKG_CONFIG:+false} :
7225 then :
7226 if test "x$cross_compiling" = xyes
7227 then :
7229 else $as_nop
7230 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7231 # Extract the first word of "pkg-config", so it can be a program name with args.
7232 set dummy pkg-config; ac_word=$2
7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 printf %s "checking for $ac_word... " >&6; }
7235 if test ${ac_cv_prog_PKG_CONFIG+y}
7236 then :
7237 printf %s "(cached) " >&6
7238 else $as_nop
7239 if test -n "$PKG_CONFIG"; then
7240 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 case $as_dir in #(((
7247 '') as_dir=./ ;;
7248 */) ;;
7249 *) as_dir=$as_dir/ ;;
7250 esac
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_PKG_CONFIG="pkg-config"
7254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7255 break 2
7257 done
7258 done
7259 IFS=$as_save_IFS
7263 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7264 if test -n "$PKG_CONFIG"; then
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7266 printf "%s\n" "$PKG_CONFIG" >&6; }
7267 else
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 printf "%s\n" "no" >&6; }
7274 else $as_nop
7275 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7278 if test "x$enable_maintainer_mode" != "xyes"
7279 then
7280 FONTFORGE=""
7281 RSVG=""
7282 CONVERT=""
7283 ICOTOOL=""
7284 else
7285 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7286 for ac_prog in fontforge
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy $ac_prog; ac_word=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s "checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_FONTFORGE+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if test -n "$FONTFORGE"; then
7297 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 case $as_dir in #(((
7304 '') as_dir=./ ;;
7305 */) ;;
7306 *) as_dir=$as_dir/ ;;
7307 esac
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_FONTFORGE="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7320 FONTFORGE=$ac_cv_prog_FONTFORGE
7321 if test -n "$FONTFORGE"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7323 printf "%s\n" "$FONTFORGE" >&6; }
7324 else
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$FONTFORGE" && break
7331 done
7332 test -n "$FONTFORGE" || FONTFORGE="false"
7334 for ac_prog in rsvg-convert rsvg
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy $ac_prog; ac_word=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s "checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_RSVG+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else $as_nop
7344 if test -n "$RSVG"; then
7345 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 case $as_dir in #(((
7352 '') as_dir=./ ;;
7353 */) ;;
7354 *) as_dir=$as_dir/ ;;
7355 esac
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_RSVG="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 RSVG=$ac_cv_prog_RSVG
7369 if test -n "$RSVG"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7371 printf "%s\n" "$RSVG" >&6; }
7372 else
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$RSVG" && break
7379 done
7380 test -n "$RSVG" || RSVG="false"
7382 for ac_prog in convert
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s "checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_CONVERT+y}
7389 then :
7390 printf %s "(cached) " >&6
7391 else $as_nop
7392 if test -n "$CONVERT"; then
7393 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 case $as_dir in #(((
7400 '') as_dir=./ ;;
7401 */) ;;
7402 *) as_dir=$as_dir/ ;;
7403 esac
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_CONVERT="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 CONVERT=$ac_cv_prog_CONVERT
7417 if test -n "$CONVERT"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7419 printf "%s\n" "$CONVERT" >&6; }
7420 else
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$CONVERT" && break
7427 done
7428 test -n "$CONVERT" || CONVERT="false"
7430 for ac_prog in icotool
7432 # Extract the first word of "$ac_prog", so it can be a program name with args.
7433 set dummy $ac_prog; ac_word=$2
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 printf %s "checking for $ac_word... " >&6; }
7436 if test ${ac_cv_prog_ICOTOOL+y}
7437 then :
7438 printf %s "(cached) " >&6
7439 else $as_nop
7440 if test -n "$ICOTOOL"; then
7441 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 case $as_dir in #(((
7448 '') as_dir=./ ;;
7449 */) ;;
7450 *) as_dir=$as_dir/ ;;
7451 esac
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ICOTOOL="$ac_prog"
7455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7456 break 2
7458 done
7459 done
7460 IFS=$as_save_IFS
7464 ICOTOOL=$ac_cv_prog_ICOTOOL
7465 if test -n "$ICOTOOL"; then
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7467 printf "%s\n" "$ICOTOOL" >&6; }
7468 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 printf "%s\n" "no" >&6; }
7474 test -n "$ICOTOOL" && break
7475 done
7476 test -n "$ICOTOOL" || ICOTOOL="false"
7478 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7479 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7481 if test "$CONVERT" = false
7482 then
7483 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7484 else
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7486 printf %s "checking for recent enough imagemagick... " >&6; }
7487 convert_version=`convert --version | head -n1`
7488 if test "x$convert_version" != "x"
7489 then
7490 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7491 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7492 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7493 then
7494 CONVERT=false
7497 if test "$CONVERT" = false
7498 then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7500 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7501 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7508 if test "$ICOTOOL" = false
7509 then
7510 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7513 printf %s "checking for recent enough icotool... " >&6; }
7514 icotool_version=`icotool --version | head -n1`
7515 if test "x$icotool_version" != "x"
7516 then
7517 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7518 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7519 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7520 then
7521 ICOTOOL=false
7522 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7525 if test "$ICOTOOL" = false
7526 then
7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7528 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7529 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7530 else
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7536 with_gettext=yes
7537 with_gettextpo=yes
7539 enable_werror=yes
7542 test "x$with_gettext" != xno || MSGFMT=false
7543 if test "$MSGFMT" != "false"
7544 then
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7546 printf %s "checking whether msgfmt supports contexts... " >&6; }
7547 if test ${wine_cv_msgfmt_contexts+y}
7548 then :
7549 printf %s "(cached) " >&6
7550 else $as_nop
7551 cat >conftest.po <<EOF
7552 # comment
7553 msgctxt "ctxt"
7554 msgid "id"
7555 msgstr "str"
7557 if $MSGFMT -o /dev/null conftest.po 2>&5
7558 then
7559 wine_cv_msgfmt_contexts=yes
7560 else
7561 wine_cv_msgfmt_contexts=no
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7565 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7566 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7568 if test "$MSGFMT" = false
7569 then :
7570 case "x$with_gettext" in
7571 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7572 xno) ;;
7573 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7574 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7575 esac
7576 enable_po=${enable_po:-no}
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7581 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7582 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7583 then :
7584 printf %s "(cached) " >&6
7585 else $as_nop
7586 ac_check_lib_save_LIBS=$LIBS
7587 LIBS="-li386 $LIBS"
7588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7589 /* end confdefs.h. */
7591 /* Override any GCC internal prototype to avoid an error.
7592 Use char because int might match the return type of a GCC
7593 builtin and then its argument prototype would still apply. */
7594 char i386_set_ldt ();
7596 main (void)
7598 return i386_set_ldt ();
7600 return 0;
7602 _ACEOF
7603 if ac_fn_c_try_link "$LINENO"
7604 then :
7605 ac_cv_lib_i386_i386_set_ldt=yes
7606 else $as_nop
7607 ac_cv_lib_i386_i386_set_ldt=no
7609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7610 conftest$ac_exeext conftest.$ac_ext
7611 LIBS=$ac_check_lib_save_LIBS
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7614 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7615 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7616 then :
7617 I386_LIBS="-li386"
7622 OPENGL_LIBS=""
7626 # Check whether --enable-largefile was given.
7627 if test ${enable_largefile+y}
7628 then :
7629 enableval=$enable_largefile;
7632 if test "$enable_largefile" != no; then
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7635 printf %s "checking for special C compiler options needed for large files... " >&6; }
7636 if test ${ac_cv_sys_largefile_CC+y}
7637 then :
7638 printf %s "(cached) " >&6
7639 else $as_nop
7640 ac_cv_sys_largefile_CC=no
7641 if test "$GCC" != yes; then
7642 ac_save_CC=$CC
7643 while :; do
7644 # IRIX 6.2 and later do not support large files by default,
7645 # so use the C compiler's -n32 option if that helps.
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7656 ? 1 : -1];
7658 main (void)
7662 return 0;
7664 _ACEOF
7665 if ac_fn_c_try_compile "$LINENO"
7666 then :
7667 break
7669 rm -f core conftest.err conftest.$ac_objext conftest.beam
7670 CC="$CC -n32"
7671 if ac_fn_c_try_compile "$LINENO"
7672 then :
7673 ac_cv_sys_largefile_CC=' -n32'; break
7675 rm -f core conftest.err conftest.$ac_objext conftest.beam
7676 break
7677 done
7678 CC=$ac_save_CC
7679 rm -f conftest.$ac_ext
7682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7683 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7684 if test "$ac_cv_sys_largefile_CC" != no; then
7685 CC=$CC$ac_cv_sys_largefile_CC
7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7689 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7690 if test ${ac_cv_sys_file_offset_bits+y}
7691 then :
7692 printf %s "(cached) " >&6
7693 else $as_nop
7694 while :; do
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 /* Check that off_t can represent 2**63 - 1 correctly.
7699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7700 since some C++ compilers masquerading as C compilers
7701 incorrectly reject 9223372036854775807. */
7702 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7704 && LARGE_OFF_T % 2147483647 == 1)
7705 ? 1 : -1];
7707 main (void)
7711 return 0;
7713 _ACEOF
7714 if ac_fn_c_try_compile "$LINENO"
7715 then :
7716 ac_cv_sys_file_offset_bits=no; break
7718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 /* end confdefs.h. */
7721 #define _FILE_OFFSET_BITS 64
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7730 ? 1 : -1];
7732 main (void)
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_compile "$LINENO"
7740 then :
7741 ac_cv_sys_file_offset_bits=64; break
7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7744 ac_cv_sys_file_offset_bits=unknown
7745 break
7746 done
7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7749 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7750 case $ac_cv_sys_file_offset_bits in #(
7751 no | unknown) ;;
7753 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7755 esac
7756 rm -rf conftest*
7757 if test $ac_cv_sys_file_offset_bits = unknown; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7759 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7760 if test ${ac_cv_sys_large_files+y}
7761 then :
7762 printf %s "(cached) " >&6
7763 else $as_nop
7764 while :; do
7765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <sys/types.h>
7768 /* Check that off_t can represent 2**63 - 1 correctly.
7769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7770 since some C++ compilers masquerading as C compilers
7771 incorrectly reject 9223372036854775807. */
7772 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7774 && LARGE_OFF_T % 2147483647 == 1)
7775 ? 1 : -1];
7777 main (void)
7781 return 0;
7783 _ACEOF
7784 if ac_fn_c_try_compile "$LINENO"
7785 then :
7786 ac_cv_sys_large_files=no; break
7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #define _LARGE_FILES 1
7792 #include <sys/types.h>
7793 /* Check that off_t can represent 2**63 - 1 correctly.
7794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7795 since some C++ compilers masquerading as C compilers
7796 incorrectly reject 9223372036854775807. */
7797 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7799 && LARGE_OFF_T % 2147483647 == 1)
7800 ? 1 : -1];
7802 main (void)
7806 return 0;
7808 _ACEOF
7809 if ac_fn_c_try_compile "$LINENO"
7810 then :
7811 ac_cv_sys_large_files=1; break
7813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7814 ac_cv_sys_large_files=unknown
7815 break
7816 done
7818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7819 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7820 case $ac_cv_sys_large_files in #(
7821 no | unknown) ;;
7823 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7825 esac
7826 rm -rf conftest*
7831 ac_header= ac_cache=
7832 for ac_item in $ac_header_c_list
7834 if test $ac_cache; then
7835 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7836 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7837 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7839 ac_header= ac_cache=
7840 elif test $ac_header; then
7841 ac_cache=$ac_item
7842 else
7843 ac_header=$ac_item
7845 done
7854 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7855 then :
7857 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7860 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_CL_cl_h" = xyes
7862 then :
7863 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_EGL_egl_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_arpa_inet_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_asm_types_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_asm_user_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_elf_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_float_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_gettext_po_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_libproc_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_link_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_linux_filter_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_input_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_major_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_param_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_serial_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_types_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_lwp_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_mach_mach_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_machine_cpu_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mntent_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_netdb_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_netinet_in_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_port_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_pthread_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pwd_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_sched_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_scsi_sg_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_stdint_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_sys_attr_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_sys_auxv_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_sys_cdio_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_epoll_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_event_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_extattr_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_filio_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_ipc_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_link_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_modem_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_mtio_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_param_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_prctl_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_queue_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_random_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_resource_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_shm_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_signal_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_sockio_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_strtio_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_syscall_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_times_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_uio_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_user_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_utsname_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_vnode_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_xattr_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_syscall_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_utime_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8337 then :
8339 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8343 if test $ac_cv_header_sys_mkdev_h = no; then
8344 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8346 then :
8348 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8354 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8355 if test ${ac_cv_header_stat_broken+y}
8356 then :
8357 printf %s "(cached) " >&6
8358 else $as_nop
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8361 #include <sys/types.h>
8362 #include <sys/stat.h>
8364 #if defined S_ISBLK && defined S_IFDIR
8365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8366 #endif
8368 #if defined S_ISBLK && defined S_IFCHR
8369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8370 #endif
8372 #if defined S_ISLNK && defined S_IFREG
8373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8374 #endif
8376 #if defined S_ISSOCK && defined S_IFREG
8377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8378 #endif
8380 _ACEOF
8381 if ac_fn_c_try_compile "$LINENO"
8382 then :
8383 ac_cv_header_stat_broken=no
8384 else $as_nop
8385 ac_cv_header_stat_broken=yes
8387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8390 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8391 if test $ac_cv_header_stat_broken = yes; then
8393 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8400 #ifdef HAVE_SYS_PARAM_H
8401 # include <sys/param.h>
8402 #endif
8404 if test "x$ac_cv_header_sys_conf_h" = xyes
8405 then :
8406 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8412 #endif
8414 if test "x$ac_cv_header_sys_mount_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_statfs_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8432 #endif
8434 if test "x$ac_cv_header_sys_user_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8442 #endif
8444 if test "x$ac_cv_header_sys_vfs_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8451 saved_sysctl_h_CFLAGS=$CFLAGS
8452 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8453 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8454 #ifdef HAVE_SYS_PARAM_H
8455 # include <sys/param.h>
8456 #endif
8458 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8464 CFLAGS=$saved_sysctl_h_CFLAGS
8466 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8467 #include <sys/socket.h>
8468 #ifdef HAVE_SYS_SOCKETVAR_H
8469 # include <sys/socketvar.h>
8470 #endif
8471 #ifdef HAVE_NET_ROUTE_H
8472 # include <net/route.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IN_H
8475 # include <netinet/in.h>
8476 #endif
8477 #ifdef HAVE_NETINET_IN_SYSTM_H
8478 # include <netinet/in_systm.h>
8479 #endif
8480 #ifdef HAVE_NET_IF_H
8481 # include <net/if.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IP_H
8484 # include <netinet/ip.h>
8485 #endif
8487 if test "x$ac_cv_header_netinet_ip_h" = xyes
8488 then :
8489 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8492 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8493 #include <sys/socket.h>
8494 #ifdef HAVE_SYS_SOCKETVAR_H
8495 # include <sys/socketvar.h>
8496 #endif
8497 #ifdef HAVE_NET_ROUTE_H
8498 # include <net/route.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IN_H
8501 # include <netinet/in.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IN_SYSTM_H
8504 # include <netinet/in_systm.h>
8505 #endif
8506 #ifdef HAVE_NET_IF_H
8507 # include <net/if.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IP_H
8510 # include <netinet/ip.h>
8511 #endif
8513 if test "x$ac_cv_header_net_if_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8519 #include <sys/socket.h>
8520 #ifdef HAVE_SYS_SOCKETVAR_H
8521 # include <sys/socketvar.h>
8522 #endif
8523 #ifdef HAVE_NET_ROUTE_H
8524 # include <net/route.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IN_H
8527 # include <netinet/in.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IN_SYSTM_H
8530 # include <netinet/in_systm.h>
8531 #endif
8532 #ifdef HAVE_NET_IF_H
8533 # include <net/if.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IP_H
8536 # include <netinet/ip.h>
8537 #endif
8539 if test "x$ac_cv_header_net_if_arp_h" = xyes
8540 then :
8541 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8545 #include <sys/socket.h>
8546 #ifdef HAVE_SYS_SOCKETVAR_H
8547 # include <sys/socketvar.h>
8548 #endif
8549 #ifdef HAVE_NET_ROUTE_H
8550 # include <net/route.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IN_H
8553 # include <netinet/in.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IN_SYSTM_H
8556 # include <netinet/in_systm.h>
8557 #endif
8558 #ifdef HAVE_NET_IF_H
8559 # include <net/if.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IP_H
8562 # include <netinet/ip.h>
8563 #endif
8565 if test "x$ac_cv_header_net_if_dl_h" = xyes
8566 then :
8567 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8570 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8571 #include <sys/socket.h>
8572 #ifdef HAVE_SYS_SOCKETVAR_H
8573 # include <sys/socketvar.h>
8574 #endif
8575 #ifdef HAVE_NET_ROUTE_H
8576 # include <net/route.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IN_H
8579 # include <netinet/in.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IN_SYSTM_H
8582 # include <netinet/in_systm.h>
8583 #endif
8584 #ifdef HAVE_NET_IF_H
8585 # include <net/if.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IP_H
8588 # include <netinet/ip.h>
8589 #endif
8591 if test "x$ac_cv_header_net_if_types_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8597 #include <sys/socket.h>
8598 #ifdef HAVE_SYS_SOCKETVAR_H
8599 # include <sys/socketvar.h>
8600 #endif
8601 #ifdef HAVE_NET_ROUTE_H
8602 # include <net/route.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IN_H
8605 # include <netinet/in.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IN_SYSTM_H
8608 # include <netinet/in_systm.h>
8609 #endif
8610 #ifdef HAVE_NET_IF_H
8611 # include <net/if.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IP_H
8614 # include <netinet/ip.h>
8615 #endif
8617 if test "x$ac_cv_header_net_route_h" = xyes
8618 then :
8619 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8623 #include <sys/socket.h>
8624 #ifdef HAVE_SYS_SOCKETVAR_H
8625 # include <sys/socketvar.h>
8626 #endif
8627 #ifdef HAVE_NET_ROUTE_H
8628 # include <net/route.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IN_H
8631 # include <netinet/in.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IN_SYSTM_H
8634 # include <netinet/in_systm.h>
8635 #endif
8636 #ifdef HAVE_NET_IF_H
8637 # include <net/if.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IP_H
8640 # include <netinet/ip.h>
8641 #endif
8643 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8644 then :
8645 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8648 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8649 #include <sys/socket.h>
8650 #ifdef HAVE_SYS_SOCKETVAR_H
8651 # include <sys/socketvar.h>
8652 #endif
8653 #ifdef HAVE_NET_ROUTE_H
8654 # include <net/route.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IN_H
8657 # include <netinet/in.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IN_SYSTM_H
8660 # include <netinet/in_systm.h>
8661 #endif
8662 #ifdef HAVE_NET_IF_H
8663 # include <net/if.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IP_H
8666 # include <netinet/ip.h>
8667 #endif
8669 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8675 #include <sys/socket.h>
8676 #ifdef HAVE_SYS_SOCKETVAR_H
8677 # include <sys/socketvar.h>
8678 #endif
8679 #ifdef HAVE_NET_ROUTE_H
8680 # include <net/route.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IN_H
8683 # include <netinet/in.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IN_SYSTM_H
8686 # include <netinet/in_systm.h>
8687 #endif
8688 #ifdef HAVE_NET_IF_H
8689 # include <net/if.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IP_H
8692 # include <netinet/ip.h>
8693 #endif
8695 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8696 then :
8697 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8700 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8701 #include <sys/socket.h>
8702 #ifdef HAVE_SYS_SOCKETVAR_H
8703 # include <sys/socketvar.h>
8704 #endif
8705 #ifdef HAVE_NET_ROUTE_H
8706 # include <net/route.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IN_H
8709 # include <netinet/in.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IN_SYSTM_H
8712 # include <netinet/in_systm.h>
8713 #endif
8714 #ifdef HAVE_NET_IF_H
8715 # include <net/if.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IP_H
8718 # include <netinet/ip.h>
8719 #endif
8721 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8722 then :
8723 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8726 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8727 #include <sys/socket.h>
8728 #ifdef HAVE_SYS_SOCKETVAR_H
8729 # include <sys/socketvar.h>
8730 #endif
8731 #ifdef HAVE_NET_ROUTE_H
8732 # include <net/route.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IN_H
8735 # include <netinet/in.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IN_SYSTM_H
8738 # include <netinet/in_systm.h>
8739 #endif
8740 #ifdef HAVE_NET_IF_H
8741 # include <net/if.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IP_H
8744 # include <netinet/ip.h>
8745 #endif
8747 if test "x$ac_cv_header_netinet_udp_h" = xyes
8748 then :
8749 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8753 #include <sys/socket.h>
8754 #ifdef HAVE_SYS_SOCKETVAR_H
8755 # include <sys/socketvar.h>
8756 #endif
8757 #ifdef HAVE_NET_ROUTE_H
8758 # include <net/route.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IN_H
8761 # include <netinet/in.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IN_SYSTM_H
8764 # include <netinet/in_systm.h>
8765 #endif
8766 #ifdef HAVE_NET_IF_H
8767 # include <net/if.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IP_H
8770 # include <netinet/ip.h>
8771 #endif
8773 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8774 then :
8775 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8778 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8779 #include <sys/socket.h>
8780 #ifdef HAVE_SYS_SOCKETVAR_H
8781 # include <sys/socketvar.h>
8782 #endif
8783 #ifdef HAVE_NET_ROUTE_H
8784 # include <net/route.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IN_H
8787 # include <netinet/in.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_SYSTM_H
8790 # include <netinet/in_systm.h>
8791 #endif
8792 #ifdef HAVE_NET_IF_H
8793 # include <net/if.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IP_H
8796 # include <netinet/ip.h>
8797 #endif
8799 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8800 then :
8801 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8804 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8805 #include <sys/socket.h>
8806 #ifdef HAVE_SYS_SOCKETVAR_H
8807 # include <sys/socketvar.h>
8808 #endif
8809 #ifdef HAVE_NET_ROUTE_H
8810 # include <net/route.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IN_H
8813 # include <netinet/in.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IN_SYSTM_H
8816 # include <netinet/in_systm.h>
8817 #endif
8818 #ifdef HAVE_NET_IF_H
8819 # include <net/if.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IP_H
8822 # include <netinet/ip.h>
8823 #endif
8825 if test "x$ac_cv_header_sys_un_h" = xyes
8826 then :
8827 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8832 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8833 #include <sys/socket.h>
8834 #ifdef HAVE_SYS_SOCKETVAR_H
8835 # include <sys/socketvar.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IN_H
8838 # include <netinet/in.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IN_SYSTM_H
8841 # include <netinet/in_systm.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IP_H
8844 # include <netinet/ip.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IP_VAR_H
8847 # include <netinet/ip_var.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IP_ICMP_H
8850 # include <netinet/ip_icmp.h>
8851 #endif
8852 #ifdef HAVE_NETINET_UDP_H
8853 # include <netinet/udp.h>
8854 #endif
8855 #ifdef HAVE_NETINET_TCP_H
8856 # include <netinet/tcp.h>
8857 #endif
8859 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8860 then :
8861 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8864 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8865 #include <sys/socket.h>
8866 #ifdef HAVE_SYS_SOCKETVAR_H
8867 # include <sys/socketvar.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IN_H
8870 # include <netinet/in.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_SYSTM_H
8873 # include <netinet/in_systm.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IP_H
8876 # include <netinet/ip.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_VAR_H
8879 # include <netinet/ip_var.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_ICMP_H
8882 # include <netinet/ip_icmp.h>
8883 #endif
8884 #ifdef HAVE_NETINET_UDP_H
8885 # include <netinet/udp.h>
8886 #endif
8887 #ifdef HAVE_NETINET_TCP_H
8888 # include <netinet/tcp.h>
8889 #endif
8891 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8892 then :
8893 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8896 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8897 #include <sys/socket.h>
8898 #ifdef HAVE_SYS_SOCKETVAR_H
8899 # include <sys/socketvar.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_H
8902 # include <netinet/in.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_SYSTM_H
8905 # include <netinet/in_systm.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_H
8908 # include <netinet/ip.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_VAR_H
8911 # include <netinet/ip_var.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_ICMP_H
8914 # include <netinet/ip_icmp.h>
8915 #endif
8916 #ifdef HAVE_NETINET_UDP_H
8917 # include <netinet/udp.h>
8918 #endif
8919 #ifdef HAVE_NETINET_TCP_H
8920 # include <netinet/tcp.h>
8921 #endif
8923 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8924 then :
8925 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_SYS_SOCKETVAR_H
8931 # include <sys/socketvar.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IN_H
8934 # include <netinet/in.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IN_SYSTM_H
8937 # include <netinet/in_systm.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_H
8940 # include <netinet/ip.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IP_VAR_H
8943 # include <netinet/ip_var.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_ICMP_H
8946 # include <netinet/ip_icmp.h>
8947 #endif
8948 #ifdef HAVE_NETINET_UDP_H
8949 # include <netinet/udp.h>
8950 #endif
8951 #ifdef HAVE_NETINET_TCP_H
8952 # include <netinet/tcp.h>
8953 #endif
8955 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8956 then :
8957 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8966 #endif
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8969 #endif
8971 if test "x$ac_cv_header_linux_ipx_h" = xyes
8972 then :
8973 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8977 #include <sys/socket.h>
8978 #ifdef HAVE_ASM_TYPES_H
8979 # include <asm/types.h>
8980 #endif
8981 #ifdef HAVE_LINUX_TYPES_H
8982 # include <linux/types.h>
8983 #endif
8985 if test "x$ac_cv_header_linux_irda_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8990 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8991 #include <sys/socket.h>
8992 #ifdef HAVE_ASM_TYPES_H
8993 # include <asm/types.h>
8994 #endif
8995 #ifdef HAVE_LINUX_TYPES_H
8996 # include <linux/types.h>
8997 #endif
8999 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9007 #include <sys/socket.h>
9008 #ifdef HAVE_NETINET_IN_H
9009 # include <netinet/in.h>
9010 #endif
9011 #ifdef HAVE_ARPA_NAMESER_H
9012 # include <arpa/nameser.h>
9013 #endif
9015 if test "x$ac_cv_header_resolv_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9024 if test "x$ac_cv_header_ifaddrs_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9033 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9041 #ifdef HAVE_SYS_UCONTEXT_H
9042 #include <sys/ucontext.h>
9043 #endif
9045 if test "x$ac_cv_header_sys_thr_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9053 #include <pthread.h>
9054 #endif
9056 if test "x$ac_cv_header_pthread_np_h" = xyes
9057 then :
9058 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9063 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9064 #include <sys/types.h>
9065 #ifdef HAVE_ASM_TYPES_H
9066 #include <asm/types.h>
9067 #endif
9069 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9070 then :
9071 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9077 #include <sys/param.h>
9078 #endif
9079 #include <sys/socket.h>
9080 #ifdef HAVE_SYS_QUEUE_H
9081 #include <sys/queue.h>
9082 #endif
9084 if test "x$ac_cv_header_libprocstat_h" = xyes
9085 then :
9086 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9091 if test "x$ac_cv_header_sys_xattr_h" = xyes
9092 then
9093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9094 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9095 if test ${wine_cv_xattr_extra_args+y}
9096 then :
9097 printf %s "(cached) " >&6
9098 else $as_nop
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 #include <sys/xattr.h>
9103 main (void)
9105 getxattr("", "", "", 0, 0, 0);
9107 return 0;
9109 _ACEOF
9110 if ac_fn_c_try_compile "$LINENO"
9111 then :
9112 wine_cv_xattr_extra_args=yes
9113 else $as_nop
9114 wine_cv_xattr_extra_args=no
9116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9119 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9120 test $wine_cv_xattr_extra_args != yes ||
9121 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9126 DLLFLAGS=""
9128 LDDLLFLAGS=""
9130 LDEXECFLAGS=""
9132 EXTRACFLAGS=""
9134 UNIXDLLFLAGS="-fPIC"
9136 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9138 TOP_INSTALL_LIB=""
9140 TOP_INSTALL_DEV=""
9142 WINELOADER_LDFLAGS=""
9144 WINEPRELOADER_LDFLAGS=""
9146 LIBEXT="so"
9147 # Extract the first word of "ldd", so it can be a program name with args.
9148 set dummy ldd; ac_word=$2
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 printf %s "checking for $ac_word... " >&6; }
9151 if test ${ac_cv_path_LDD+y}
9152 then :
9153 printf %s "(cached) " >&6
9154 else $as_nop
9155 case $LDD in
9156 [\\/]* | ?:[\\/]*)
9157 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 as_dummy="/sbin:/usr/sbin:$PATH"
9162 for as_dir in $as_dummy
9164 IFS=$as_save_IFS
9165 case $as_dir in #(((
9166 '') as_dir=./ ;;
9167 */) ;;
9168 *) as_dir=$as_dir/ ;;
9169 esac
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9172 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9174 break 2
9176 done
9177 done
9178 IFS=$as_save_IFS
9180 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9182 esac
9184 LDD=$ac_cv_path_LDD
9185 if test -n "$LDD"; then
9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9187 printf "%s\n" "$LDD" >&6; }
9188 else
9189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 printf "%s\n" "no" >&6; }
9194 if test -n "$ac_tool_prefix"; then
9195 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9196 set dummy ${ac_tool_prefix}otool; ac_word=$2
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 printf %s "checking for $ac_word... " >&6; }
9199 if test ${ac_cv_prog_OTOOL+y}
9200 then :
9201 printf %s "(cached) " >&6
9202 else $as_nop
9203 if test -n "$OTOOL"; then
9204 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9205 else
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 for as_dir in $PATH
9209 IFS=$as_save_IFS
9210 case $as_dir in #(((
9211 '') as_dir=./ ;;
9212 */) ;;
9213 *) as_dir=$as_dir/ ;;
9214 esac
9215 for ac_exec_ext in '' $ac_executable_extensions; do
9216 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9217 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9219 break 2
9221 done
9222 done
9223 IFS=$as_save_IFS
9227 OTOOL=$ac_cv_prog_OTOOL
9228 if test -n "$OTOOL"; then
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9230 printf "%s\n" "$OTOOL" >&6; }
9231 else
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 printf "%s\n" "no" >&6; }
9238 if test -z "$ac_cv_prog_OTOOL"; then
9239 ac_ct_OTOOL=$OTOOL
9240 # Extract the first word of "otool", so it can be a program name with args.
9241 set dummy otool; ac_word=$2
9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9243 printf %s "checking for $ac_word... " >&6; }
9244 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9245 then :
9246 printf %s "(cached) " >&6
9247 else $as_nop
9248 if test -n "$ac_ct_OTOOL"; then
9249 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9250 else
9251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 for as_dir in $PATH
9254 IFS=$as_save_IFS
9255 case $as_dir in #(((
9256 '') as_dir=./ ;;
9257 */) ;;
9258 *) as_dir=$as_dir/ ;;
9259 esac
9260 for ac_exec_ext in '' $ac_executable_extensions; do
9261 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9262 ac_cv_prog_ac_ct_OTOOL="otool"
9263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9264 break 2
9266 done
9267 done
9268 IFS=$as_save_IFS
9272 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9273 if test -n "$ac_ct_OTOOL"; then
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9275 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9276 else
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 printf "%s\n" "no" >&6; }
9281 if test "x$ac_ct_OTOOL" = x; then
9282 OTOOL="otool"
9283 else
9284 case $cross_compiling:$ac_tool_warned in
9285 yes:)
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9287 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9288 ac_tool_warned=yes ;;
9289 esac
9290 OTOOL=$ac_ct_OTOOL
9292 else
9293 OTOOL="$ac_cv_prog_OTOOL"
9296 if test -n "$ac_tool_prefix"; then
9297 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9298 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300 printf %s "checking for $ac_word... " >&6; }
9301 if test ${ac_cv_prog_READELF+y}
9302 then :
9303 printf %s "(cached) " >&6
9304 else $as_nop
9305 if test -n "$READELF"; then
9306 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9307 else
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9309 for as_dir in $PATH
9311 IFS=$as_save_IFS
9312 case $as_dir in #(((
9313 '') as_dir=./ ;;
9314 */) ;;
9315 *) as_dir=$as_dir/ ;;
9316 esac
9317 for ac_exec_ext in '' $ac_executable_extensions; do
9318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9319 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9321 break 2
9323 done
9324 done
9325 IFS=$as_save_IFS
9329 READELF=$ac_cv_prog_READELF
9330 if test -n "$READELF"; then
9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9332 printf "%s\n" "$READELF" >&6; }
9333 else
9334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 printf "%s\n" "no" >&6; }
9340 if test -z "$ac_cv_prog_READELF"; then
9341 ac_ct_READELF=$READELF
9342 # Extract the first word of "readelf", so it can be a program name with args.
9343 set dummy readelf; ac_word=$2
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9345 printf %s "checking for $ac_word... " >&6; }
9346 if test ${ac_cv_prog_ac_ct_READELF+y}
9347 then :
9348 printf %s "(cached) " >&6
9349 else $as_nop
9350 if test -n "$ac_ct_READELF"; then
9351 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9352 else
9353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9354 for as_dir in $PATH
9356 IFS=$as_save_IFS
9357 case $as_dir in #(((
9358 '') as_dir=./ ;;
9359 */) ;;
9360 *) as_dir=$as_dir/ ;;
9361 esac
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9364 ac_cv_prog_ac_ct_READELF="readelf"
9365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9366 break 2
9368 done
9369 done
9370 IFS=$as_save_IFS
9374 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9375 if test -n "$ac_ct_READELF"; then
9376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9377 printf "%s\n" "$ac_ct_READELF" >&6; }
9378 else
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9380 printf "%s\n" "no" >&6; }
9383 if test "x$ac_ct_READELF" = x; then
9384 READELF="true"
9385 else
9386 case $cross_compiling:$ac_tool_warned in
9387 yes:)
9388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9389 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9390 ac_tool_warned=yes ;;
9391 esac
9392 READELF=$ac_ct_READELF
9394 else
9395 READELF="$ac_cv_prog_READELF"
9398 wine_rules="all:"
9399 SUBDIRS=""
9401 DISABLED_SUBDIRS=""
9403 CONFIGURE_TARGETS=""
9406 wine_fn_config_makefile ()
9408 as_fn_append SUBDIRS " \\$as_nl $1"
9409 eval enable=\$$2
9410 case "$enable" in
9411 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9412 *aarch64*|*arm*|*i386*|*x86_64*)
9413 if test -n "$PE_ARCHS"
9414 then
9415 for i in $PE_ARCHS
9417 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9418 done
9419 else
9420 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9421 fi;;
9422 esac
9425 wine_fn_config_symlink ()
9427 ac_links=$@
9428 as_fn_append wine_rules "
9429 $ac_links:
9430 @./config.status \$@"
9431 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9434 case $host_os in
9435 cygwin*|mingw32*)
9436 LIBEXT="dll"
9437 EXTRACFLAGS="-D__WINE_PE_BUILD"
9438 case $host_cpu in
9439 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9440 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9441 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9442 then :
9443 printf %s "(cached) " >&6
9444 else $as_nop
9445 ac_wine_try_cflags_saved=$CFLAGS
9446 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"
9452 then :
9453 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9454 else $as_nop
9455 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9458 conftest$ac_exeext conftest.$ac_ext
9459 CFLAGS=$ac_wine_try_cflags_saved
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9462 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9463 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9464 then :
9465 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9466 fi ;;
9467 esac
9468 enable_loader=${enable_loader:-no}
9469 enable_server=${enable_server:-no}
9470 with_x=${with_x:-no}
9471 with_pthread=${with_pthread:-no}
9474 darwin*|macosx*)
9475 LIBEXT="dylib"
9476 DLLFLAGS="$DLLFLAGS -fPIC"
9477 LDDLLFLAGS="-fPIC"
9478 enable_winemac_drv=${enable_winemac_drv:-yes}
9479 CARBON_LIBS="-framework Carbon"
9481 COREFOUNDATION_LIBS="-framework CoreFoundation"
9483 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9485 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9487 METAL_LIBS="-framework Metal"
9489 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9491 CORESERVICES_LIBS="-framework CoreServices"
9493 APPKIT_LIBS="-framework AppKit"
9495 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9497 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9500 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9502 wine_can_build_preloader=yes
9503 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"
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9505 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9506 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9507 then :
9508 printf %s "(cached) " >&6
9509 else $as_nop
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"
9517 then :
9518 ac_cv_cflags__Wl__no_new_main__e__main=yes
9519 else $as_nop
9520 ac_cv_cflags__Wl__no_new_main__e__main=no
9522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9528 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9529 then :
9530 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9531 { 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
9532 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9533 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9534 then :
9535 printf %s "(cached) " >&6
9536 else $as_nop
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"
9544 then :
9545 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9546 else $as_nop
9547 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 { 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
9554 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9555 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9556 then :
9557 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9558 else $as_nop
9559 wine_can_build_preloader=no
9561 else $as_nop
9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9563 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9564 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9565 then :
9566 printf %s "(cached) " >&6
9567 else $as_nop
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"
9575 then :
9576 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9577 else $as_nop
9578 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9581 conftest$ac_exeext conftest.$ac_ext
9582 CFLAGS=$ac_wine_try_cflags_saved
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9585 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9586 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9587 then :
9588 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9589 else $as_nop
9590 wine_can_build_preloader=no
9593 if test "$wine_can_build_preloader" = "yes"
9594 then
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9596 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9597 if test ${ac_cv_cflags__Wl__no_pie+y}
9598 then :
9599 printf %s "(cached) " >&6
9600 else $as_nop
9601 ac_wine_try_cflags_saved=$CFLAGS
9602 CFLAGS="$CFLAGS -Wl,-no_pie"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 int main(int argc, char **argv) { return 0; }
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"
9608 then :
9609 ac_cv_cflags__Wl__no_pie=yes
9610 else $as_nop
9611 ac_cv_cflags__Wl__no_pie=no
9613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9614 conftest$ac_exeext conftest.$ac_ext
9615 CFLAGS=$ac_wine_try_cflags_saved
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9618 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9619 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9620 then :
9621 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9623 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9624 else
9625 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9628 if test "x$with_coreaudio" != "xno";
9629 then
9630 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9632 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9634 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9635 then
9636 OPENCL_LIBS="-framework OpenCL"
9638 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9642 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9643 ac_ext=m
9644 ac_cpp='$OBJCPP $CPPFLAGS'
9645 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9646 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9647 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9649 ac_ext=m
9650 ac_cpp='$OBJCPP $CPPFLAGS'
9651 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9652 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9653 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9654 if test -n "$ac_tool_prefix"; then
9655 for ac_prog in gcc objcc objc cc CC clang
9657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 printf %s "checking for $ac_word... " >&6; }
9661 if test ${ac_cv_prog_OBJC+y}
9662 then :
9663 printf %s "(cached) " >&6
9664 else $as_nop
9665 if test -n "$OBJC"; then
9666 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9667 else
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $PATH
9671 IFS=$as_save_IFS
9672 case $as_dir in #(((
9673 '') as_dir=./ ;;
9674 */) ;;
9675 *) as_dir=$as_dir/ ;;
9676 esac
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9681 break 2
9683 done
9684 done
9685 IFS=$as_save_IFS
9689 OBJC=$ac_cv_prog_OBJC
9690 if test -n "$OBJC"; then
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9692 printf "%s\n" "$OBJC" >&6; }
9693 else
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 printf "%s\n" "no" >&6; }
9699 test -n "$OBJC" && break
9700 done
9702 if test -z "$OBJC"; then
9703 ac_ct_OBJC=$OBJC
9704 for ac_prog in gcc objcc objc cc CC clang
9706 # Extract the first word of "$ac_prog", so it can be a program name with args.
9707 set dummy $ac_prog; ac_word=$2
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9709 printf %s "checking for $ac_word... " >&6; }
9710 if test ${ac_cv_prog_ac_ct_OBJC+y}
9711 then :
9712 printf %s "(cached) " >&6
9713 else $as_nop
9714 if test -n "$ac_ct_OBJC"; then
9715 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9716 else
9717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9718 for as_dir in $PATH
9720 IFS=$as_save_IFS
9721 case $as_dir in #(((
9722 '') as_dir=./ ;;
9723 */) ;;
9724 *) as_dir=$as_dir/ ;;
9725 esac
9726 for ac_exec_ext in '' $ac_executable_extensions; do
9727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9728 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9730 break 2
9732 done
9733 done
9734 IFS=$as_save_IFS
9738 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9739 if test -n "$ac_ct_OBJC"; then
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9741 printf "%s\n" "$ac_ct_OBJC" >&6; }
9742 else
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9744 printf "%s\n" "no" >&6; }
9748 test -n "$ac_ct_OBJC" && break
9749 done
9751 if test "x$ac_ct_OBJC" = x; then
9752 OBJC="gcc"
9753 else
9754 case $cross_compiling:$ac_tool_warned in
9755 yes:)
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9758 ac_tool_warned=yes ;;
9759 esac
9760 OBJC=$ac_ct_OBJC
9764 # Provide some information about the compiler.
9765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9766 set X $ac_compile
9767 ac_compiler=$2
9768 for ac_option in --version -v -V -qversion; do
9769 { { ac_try="$ac_compiler $ac_option >&5"
9770 case "(($ac_try" in
9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9773 esac
9774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9775 printf "%s\n" "$ac_try_echo"; } >&5
9776 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9777 ac_status=$?
9778 if test -s conftest.err; then
9779 sed '10a\
9780 ... rest of stderr output deleted ...
9781 10q' conftest.err >conftest.er1
9782 cat conftest.er1 >&5
9784 rm -f conftest.er1 conftest.err
9785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9786 test $ac_status = 0; }
9787 done
9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9790 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9791 if test ${ac_cv_objc_compiler_gnu+y}
9792 then :
9793 printf %s "(cached) " >&6
9794 else $as_nop
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main (void)
9801 #ifndef __GNUC__
9802 choke me
9803 #endif
9806 return 0;
9808 _ACEOF
9809 if ac_fn_objc_try_compile "$LINENO"
9810 then :
9811 ac_compiler_gnu=yes
9812 else $as_nop
9813 ac_compiler_gnu=no
9815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9816 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9820 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9821 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9823 if test $ac_compiler_gnu = yes; then
9824 GOBJC=yes
9825 else
9826 GOBJC=
9828 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9829 ac_save_OBJCFLAGS=$OBJCFLAGS
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9831 printf %s "checking whether $OBJC accepts -g... " >&6; }
9832 if test ${ac_cv_prog_objc_g+y}
9833 then :
9834 printf %s "(cached) " >&6
9835 else $as_nop
9836 ac_save_objc_werror_flag=$ac_objc_werror_flag
9837 ac_objc_werror_flag=yes
9838 ac_cv_prog_objc_g=no
9839 OBJCFLAGS="-g"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9844 main (void)
9848 return 0;
9850 _ACEOF
9851 if ac_fn_objc_try_compile "$LINENO"
9852 then :
9853 ac_cv_prog_objc_g=yes
9854 else $as_nop
9855 OBJCFLAGS=""
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9860 main (void)
9864 return 0;
9866 _ACEOF
9867 if ac_fn_objc_try_compile "$LINENO"
9868 then :
9870 else $as_nop
9871 ac_objc_werror_flag=$ac_save_objc_werror_flag
9872 OBJCFLAGS="-g"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9877 main (void)
9881 return 0;
9883 _ACEOF
9884 if ac_fn_objc_try_compile "$LINENO"
9885 then :
9886 ac_cv_prog_objc_g=yes
9888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 ac_objc_werror_flag=$ac_save_objc_werror_flag
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9896 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9897 if test $ac_test_OBJCFLAGS; then
9898 OBJCFLAGS=$ac_save_OBJCFLAGS
9899 elif test $ac_cv_prog_objc_g = yes; then
9900 if test "$GOBJC" = yes; then
9901 OBJCFLAGS="-g -O2"
9902 else
9903 OBJCFLAGS="-g"
9905 else
9906 if test "$GOBJC" = yes; then
9907 OBJCFLAGS="-O2"
9908 else
9909 OBJCFLAGS=
9912 ac_ext=m
9913 ac_cpp='$OBJCPP $CPPFLAGS'
9914 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9915 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9916 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 #include <Metal/Metal.h>
9923 main (void)
9925 id<MTLDevice> device; device.registryID;
9927 return 0;
9929 _ACEOF
9930 if ac_fn_objc_try_compile "$LINENO"
9931 then :
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9933 printf "%s\n" "yes" >&6; }
9935 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9937 else $as_nop
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 printf "%s\n" "no" >&6; }
9941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9942 ac_ext=c
9943 ac_cpp='$CPP $CPPFLAGS'
9944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9949 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9950 WINELOADER_DEPENDS="wine_info.plist"
9954 linux-android*)
9956 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9958 DLLFLAGS="$DLLFLAGS -fPIC"
9959 LDDLLFLAGS="-fPIC"
9960 LDEXECFLAGS="-Wl,-pie"
9961 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9963 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9964 if test ${ac_cv_cflags__Wl__z_defs+y}
9965 then :
9966 printf %s "(cached) " >&6
9967 else $as_nop
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 CFLAGS="$CFLAGS -Wl,-z,defs"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"
9975 then :
9976 ac_cv_cflags__Wl__z_defs=yes
9977 else $as_nop
9978 ac_cv_cflags__Wl__z_defs=no
9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9985 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9986 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9987 then :
9988 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9991 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9992 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9993 then :
9994 printf %s "(cached) " >&6
9995 else $as_nop
9996 ac_wine_try_cflags_saved=$CFLAGS
9997 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int main(int argc, char **argv) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"
10003 then :
10004 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10005 else $as_nop
10006 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10013 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10014 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10015 then :
10016 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10018 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10021 printf %s "checking for -lEGL... " >&6; }
10022 if test ${ac_cv_lib_soname_EGL+y}
10023 then :
10024 printf %s "(cached) " >&6
10025 else $as_nop
10026 ac_check_soname_save_LIBS=$LIBS
10027 LIBS="-lEGL $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 char eglGetProcAddress ();
10036 main (void)
10038 return eglGetProcAddress ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"
10044 then :
10045 case "$LIBEXT" in
10046 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10047 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'` ;;
10048 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10049 if ${ac_cv_lib_soname_EGL:+false} :
10050 then :
10051 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10052 fi ;;
10053 esac
10054 else $as_nop
10055 ac_cv_lib_soname_EGL=
10057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10058 conftest$ac_exeext conftest.$ac_ext
10059 LIBS=$ac_check_soname_save_LIBS
10061 if ${ac_cv_lib_soname_EGL:+false} :
10062 then :
10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 printf "%s\n" "not found" >&6; }
10066 else $as_nop
10067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10068 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10070 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10075 printf %s "checking for -lGLESv2... " >&6; }
10076 if test ${ac_cv_lib_soname_GLESv2+y}
10077 then :
10078 printf %s "(cached) " >&6
10079 else $as_nop
10080 ac_check_soname_save_LIBS=$LIBS
10081 LIBS="-lGLESv2 $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10088 char glFlush ();
10090 main (void)
10092 return glFlush ();
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"
10098 then :
10099 case "$LIBEXT" in
10100 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10101 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'` ;;
10102 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10103 if ${ac_cv_lib_soname_GLESv2:+false} :
10104 then :
10105 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10106 fi ;;
10107 esac
10108 else $as_nop
10109 ac_cv_lib_soname_GLESv2=
10111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_soname_save_LIBS
10115 if ${ac_cv_lib_soname_GLESv2:+false} :
10116 then :
10117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10118 printf "%s\n" "not found" >&6; }
10120 else $as_nop
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10122 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10124 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10129 if test "x$exec_prefix" = xNONE
10130 then
10131 case $host_cpu in
10132 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10133 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10134 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10135 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10136 esac
10142 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10144 test "$ac_cv_sys_file_offset_bits" = 64 &&
10145 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10147 case $host_cpu in
10148 *i[3456789]86*)
10149 DLLFLAGS="$DLLFLAGS -fno-PIC"
10150 LDDLLFLAGS="-fno-PIC"
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10152 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10153 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10154 then :
10155 printf %s "(cached) " >&6
10156 else $as_nop
10157 ac_wine_try_cflags_saved=$CFLAGS
10158 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 int main(int argc, char **argv) { return 0; }
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"
10164 then :
10165 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10166 else $as_nop
10167 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10174 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10175 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10176 then :
10177 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10181 DLLFLAGS="$DLLFLAGS -fPIC"
10182 LDDLLFLAGS="-fPIC" ;;
10183 esac
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10186 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10187 if test ${ac_cv_cflags__Wl__z_defs+y}
10188 then :
10189 printf %s "(cached) " >&6
10190 else $as_nop
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 CFLAGS="$CFLAGS -Wl,-z,defs"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int main(int argc, char **argv) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"
10198 then :
10199 ac_cv_cflags__Wl__z_defs=yes
10200 else $as_nop
10201 ac_cv_cflags__Wl__z_defs=no
10203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10204 conftest$ac_exeext conftest.$ac_ext
10205 CFLAGS=$ac_wine_try_cflags_saved
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10208 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10209 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10210 then :
10211 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10214 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10215 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10216 then :
10217 printf %s "(cached) " >&6
10218 else $as_nop
10219 ac_wine_try_cflags_saved=$CFLAGS
10220 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 int main(int argc, char **argv) { return 0; }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"
10226 then :
10227 ac_cv_cflags__Wl___export_dynamic=yes
10228 else $as_nop
10229 ac_cv_cflags__Wl___export_dynamic=no
10231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10236 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10237 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10238 then :
10239 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10241 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10243 case $host_cpu in
10244 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10246 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10247 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10248 then :
10249 printf %s "(cached) " >&6
10250 else $as_nop
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"
10258 then :
10259 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10260 else $as_nop
10261 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10268 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10269 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10270 then :
10271 case $host_os in
10272 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10273 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10274 esac
10275 else $as_nop
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10277 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10278 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10279 then :
10280 printf %s "(cached) " >&6
10281 else $as_nop
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 int main(int argc, char **argv) { return 0; }
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"
10289 then :
10290 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10291 else $as_nop
10292 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10295 conftest$ac_exeext conftest.$ac_ext
10296 CFLAGS=$ac_wine_try_cflags_saved
10298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10299 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10300 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10301 then :
10302 case $host_os in
10303 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10304 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10305 esac
10308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10309 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10310 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10311 then :
10312 printf %s "(cached) " >&6
10313 else $as_nop
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317 /* end confdefs.h. */
10318 int main(int argc, char **argv) { return 0; }
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"
10321 then :
10322 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10323 else $as_nop
10324 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10331 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10332 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10333 then :
10334 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10337 esac
10339 esac
10341 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10342 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10343 enable_winemac_drv=${enable_winemac_drv:-no}
10345 PE_ARCHS=""
10347 cross_archs=
10348 if test ${enable_archs+y}
10349 then :
10350 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10351 ac_save_IFS=$IFS
10352 IFS=' ,'
10353 set x $enable_archs
10354 IFS=$ac_save_IFS
10355 shift
10356 for arch
10358 case $arch in
10359 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10360 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10361 esac
10362 done
10363 else $as_nop
10364 if test "x$with_mingw" != xno
10365 then
10366 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10367 case "x$with_mingw" in
10368 x|xyes) ;;
10369 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10370 esac
10374 for wine_arch in $cross_archs
10376 if eval \${${wine_arch}_CC:+false} :
10377 then :
10378 case $wine_arch in
10379 aarch64)
10380 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10382 # Extract the first word of "$ac_prog", so it can be a program name with args.
10383 set dummy $ac_prog; ac_word=$2
10384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10385 printf %s "checking for $ac_word... " >&6; }
10386 if test ${ac_cv_prog_aarch64_CC+y}
10387 then :
10388 printf %s "(cached) " >&6
10389 else $as_nop
10390 if test -n "$aarch64_CC"; then
10391 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10392 else
10393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10394 for as_dir in $PATH
10396 IFS=$as_save_IFS
10397 case $as_dir in #(((
10398 '') as_dir=./ ;;
10399 */) ;;
10400 *) as_dir=$as_dir/ ;;
10401 esac
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10404 ac_cv_prog_aarch64_CC="$ac_prog"
10405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10406 break 2
10408 done
10409 done
10410 IFS=$as_save_IFS
10414 aarch64_CC=$ac_cv_prog_aarch64_CC
10415 if test -n "$aarch64_CC"; then
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10417 printf "%s\n" "$aarch64_CC" >&6; }
10418 else
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10420 printf "%s\n" "no" >&6; }
10424 test -n "$aarch64_CC" && break
10425 done
10426 test -n "$aarch64_CC" || aarch64_CC="false"
10429 arm)
10430 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10432 # Extract the first word of "$ac_prog", so it can be a program name with args.
10433 set dummy $ac_prog; ac_word=$2
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435 printf %s "checking for $ac_word... " >&6; }
10436 if test ${ac_cv_prog_arm_CC+y}
10437 then :
10438 printf %s "(cached) " >&6
10439 else $as_nop
10440 if test -n "$arm_CC"; then
10441 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10442 else
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10446 IFS=$as_save_IFS
10447 case $as_dir in #(((
10448 '') as_dir=./ ;;
10449 */) ;;
10450 *) as_dir=$as_dir/ ;;
10451 esac
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_arm_CC="$ac_prog"
10455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456 break 2
10458 done
10459 done
10460 IFS=$as_save_IFS
10464 arm_CC=$ac_cv_prog_arm_CC
10465 if test -n "$arm_CC"; then
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10467 printf "%s\n" "$arm_CC" >&6; }
10468 else
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10470 printf "%s\n" "no" >&6; }
10474 test -n "$arm_CC" && break
10475 done
10476 test -n "$arm_CC" || arm_CC="false"
10479 i386)
10480 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 "
10481 for ac_prog in $ac_prefix_list clang
10483 # Extract the first word of "$ac_prog", so it can be a program name with args.
10484 set dummy $ac_prog; ac_word=$2
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10486 printf %s "checking for $ac_word... " >&6; }
10487 if test ${ac_cv_prog_i386_CC+y}
10488 then :
10489 printf %s "(cached) " >&6
10490 else $as_nop
10491 if test -n "$i386_CC"; then
10492 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10493 else
10494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495 for as_dir in $PATH
10497 IFS=$as_save_IFS
10498 case $as_dir in #(((
10499 '') as_dir=./ ;;
10500 */) ;;
10501 *) as_dir=$as_dir/ ;;
10502 esac
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10505 ac_cv_prog_i386_CC="$ac_prog"
10506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10507 break 2
10509 done
10510 done
10511 IFS=$as_save_IFS
10515 i386_CC=$ac_cv_prog_i386_CC
10516 if test -n "$i386_CC"; then
10517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10518 printf "%s\n" "$i386_CC" >&6; }
10519 else
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10521 printf "%s\n" "no" >&6; }
10525 test -n "$i386_CC" && break
10526 done
10527 test -n "$i386_CC" || i386_CC="false"
10530 x86_64)
10531 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10532 for ac_prog in $ac_prefix_list clang
10534 # Extract the first word of "$ac_prog", so it can be a program name with args.
10535 set dummy $ac_prog; ac_word=$2
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10537 printf %s "checking for $ac_word... " >&6; }
10538 if test ${ac_cv_prog_x86_64_CC+y}
10539 then :
10540 printf %s "(cached) " >&6
10541 else $as_nop
10542 if test -n "$x86_64_CC"; then
10543 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10544 else
10545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10546 for as_dir in $PATH
10548 IFS=$as_save_IFS
10549 case $as_dir in #(((
10550 '') as_dir=./ ;;
10551 */) ;;
10552 *) as_dir=$as_dir/ ;;
10553 esac
10554 for ac_exec_ext in '' $ac_executable_extensions; do
10555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10556 ac_cv_prog_x86_64_CC="$ac_prog"
10557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10558 break 2
10560 done
10561 done
10562 IFS=$as_save_IFS
10566 x86_64_CC=$ac_cv_prog_x86_64_CC
10567 if test -n "$x86_64_CC"; then
10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10569 printf "%s\n" "$x86_64_CC" >&6; }
10570 else
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 printf "%s\n" "no" >&6; }
10576 test -n "$x86_64_CC" && break
10577 done
10578 test -n "$x86_64_CC" || x86_64_CC="false"
10581 esac
10584 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10585 then :
10586 continue
10589 saved_CC=$CC
10590 saved_CFLAGS=$CFLAGS
10592 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10593 eval CC=\$${wine_arch}_CC
10594 eval ${wine_arch}_CFLAGS=\$CFLAGS
10595 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10596 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10598 target=""
10599 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10602 printf %s "checking whether $CC works... " >&6; }
10603 if eval test \${$as_wine_cv_crosscc+y}
10604 then :
10605 printf %s "(cached) " >&6
10606 else $as_nop
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10611 main (void)
10615 return 0;
10617 _ACEOF
10618 if ac_fn_c_try_compile "$LINENO"
10619 then :
10620 eval "$as_wine_cv_crosscc=yes"
10621 else $as_nop
10622 eval "$as_wine_cv_crosscc=no"
10624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10626 eval ac_res=\$$as_wine_cv_crosscc
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10628 printf "%s\n" "$ac_res" >&6; }
10629 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10630 then :
10631 set x $CC
10632 shift
10633 while test $# -ge 1
10635 case "$1" in
10636 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10637 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10638 esac
10639 shift
10640 done
10642 llvm_target=$target
10643 if test -z "$llvm_target"
10644 then
10645 case $wine_arch in
10646 i386) llvm_target=i686-windows ;;
10647 arm) llvm_target=armv7-windows ;;
10648 *) llvm_target=$wine_arch-windows ;;
10649 esac
10651 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10652 case $llvm_target in
10653 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10654 esac
10655 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10657 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10658 if eval test \${$as_ac_var+y}
10659 then :
10660 printf %s "(cached) " >&6
10661 else $as_nop
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 ac_wine_try_cflags_saved_exeext=$ac_exeext
10664 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10665 ac_exeext=".exe"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 int __cdecl mainCRTStartup(void) { return 0; }
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"
10671 then :
10672 eval "$as_ac_var=yes"
10673 else $as_nop
10674 eval "$as_ac_var=no"
10676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10677 conftest$ac_exeext conftest.$ac_ext
10678 CFLAGS=$ac_wine_try_cflags_saved
10679 ac_exeext=$ac_wine_try_cflags_saved_exeext
10681 eval ac_res=\$$as_ac_var
10682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10683 printf "%s\n" "$ac_res" >&6; }
10684 if eval test \"x\$"$as_ac_var"\" = x"yes"
10685 then :
10686 target=$llvm_target
10687 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10688 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10689 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10690 fi }
10691 eval "${wine_arch}_TARGET=\$target"
10695 if test -z "$target"
10696 then
10697 CC=$saved_CC
10698 CFLAGS=$saved_CFLAGS
10699 continue
10701 as_fn_append PE_ARCHS " $wine_arch"
10703 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10706 printf %s "checking for $CC option to enable C99 features... " >&6; }
10707 if eval test \${$as_wine_cv_crosscc_c99+y}
10708 then :
10709 printf %s "(cached) " >&6
10710 else $as_nop
10711 eval "$as_wine_cv_crosscc_c99=no"
10712 for arg in '' '-std=gnu99'
10714 test -z "$arg" || CC="$CC $arg"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 $ac_c_conftest_c99_program
10718 _ACEOF
10719 if ac_fn_c_try_compile "$LINENO"
10720 then :
10721 eval "$as_wine_cv_crosscc_c99=\$arg"
10722 else $as_nop
10723 eval "$as_wine_cv_crosscc_c99=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10726 eval CC=\$${wine_arch}_CC
10727 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10728 then :
10730 else $as_nop
10731 break
10733 done
10736 eval res=\$$as_wine_cv_crosscc_c99
10737 case "x$res" in
10738 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10739 printf "%s\n" "none needed" >&6; } ;;
10740 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10741 printf "%s\n" "unsupported" >&6; } ;;
10742 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10743 printf "%s\n" "$res" >&6; }
10744 as_fn_append ${wine_arch}_CC " $res" ;;
10745 esac
10748 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10750 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10751 if eval test \${$as_ac_var+y}
10752 then :
10753 printf %s "(cached) " >&6
10754 else $as_nop
10755 ac_wine_try_cflags_saved=$CFLAGS
10756 ac_wine_try_cflags_saved_exeext=$ac_exeext
10757 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10758 ac_exeext=".exe"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10761 int __cdecl mainCRTStartup(void) { return 0; }
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"
10764 then :
10765 eval "$as_ac_var=yes"
10766 else $as_nop
10767 eval "$as_ac_var=no"
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 eval ac_res=\$$as_ac_var
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10776 printf "%s\n" "$ac_res" >&6; }
10777 if eval test \"x\$"$as_ac_var"\" = x"yes"
10778 then :
10779 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10780 fi }
10781 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10783 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10784 if eval test \${$as_ac_var+y}
10785 then :
10786 printf %s "(cached) " >&6
10787 else $as_nop
10788 ac_wine_try_cflags_saved=$CFLAGS
10789 ac_wine_try_cflags_saved_exeext=$ac_exeext
10790 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10791 ac_exeext=".exe"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 int __cdecl mainCRTStartup(void) { return 0; }
10795 _ACEOF
10796 if ac_fn_c_try_link "$LINENO"
10797 then :
10798 eval "$as_ac_var=yes"
10799 else $as_nop
10800 eval "$as_ac_var=no"
10802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 CFLAGS=$ac_wine_try_cflags_saved
10805 ac_exeext=$ac_wine_try_cflags_saved_exeext
10807 eval ac_res=\$$as_ac_var
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10809 printf "%s\n" "$ac_res" >&6; }
10810 if eval test \"x\$"$as_ac_var"\" = x"yes"
10811 then :
10812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10813 fi }
10814 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10816 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10817 if eval test \${$as_ac_var+y}
10818 then :
10819 printf %s "(cached) " >&6
10820 else $as_nop
10821 ac_wine_try_cflags_saved=$CFLAGS
10822 ac_wine_try_cflags_saved_exeext=$ac_exeext
10823 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10824 ac_exeext=".exe"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 int __cdecl mainCRTStartup(void) { return 0; }
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"
10830 then :
10831 eval "$as_ac_var=yes"
10832 else $as_nop
10833 eval "$as_ac_var=no"
10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10836 conftest$ac_exeext conftest.$ac_ext
10837 CFLAGS=$ac_wine_try_cflags_saved
10838 ac_exeext=$ac_wine_try_cflags_saved_exeext
10840 eval ac_res=\$$as_ac_var
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10842 printf "%s\n" "$ac_res" >&6; }
10843 if eval test \"x\$"$as_ac_var"\" = x"yes"
10844 then :
10845 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10846 fi }
10847 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10849 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10850 if eval test \${$as_ac_var+y}
10851 then :
10852 printf %s "(cached) " >&6
10853 else $as_nop
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_exeext=$ac_exeext
10856 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10857 ac_exeext=".exe"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 int __cdecl mainCRTStartup(void) { return 0; }
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"
10863 then :
10864 eval "$as_ac_var=yes"
10865 else $as_nop
10866 eval "$as_ac_var=no"
10868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10869 conftest$ac_exeext conftest.$ac_ext
10870 CFLAGS=$ac_wine_try_cflags_saved
10871 ac_exeext=$ac_wine_try_cflags_saved_exeext
10873 eval ac_res=\$$as_ac_var
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10875 printf "%s\n" "$ac_res" >&6; }
10876 if eval test \"x\$"$as_ac_var"\" = x"yes"
10877 then :
10878 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10879 fi }
10880 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10882 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10883 if eval test \${$as_ac_var+y}
10884 then :
10885 printf %s "(cached) " >&6
10886 else $as_nop
10887 ac_wine_try_cflags_saved=$CFLAGS
10888 ac_wine_try_cflags_saved_exeext=$ac_exeext
10889 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10890 ac_exeext=".exe"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 int __cdecl mainCRTStartup(void) { return 0; }
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"
10896 then :
10897 eval "$as_ac_var=yes"
10898 else $as_nop
10899 eval "$as_ac_var=no"
10901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10902 conftest$ac_exeext conftest.$ac_ext
10903 CFLAGS=$ac_wine_try_cflags_saved
10904 ac_exeext=$ac_wine_try_cflags_saved_exeext
10906 eval ac_res=\$$as_ac_var
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10908 printf "%s\n" "$ac_res" >&6; }
10909 if eval test \"x\$"$as_ac_var"\" = x"yes"
10910 then :
10911 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10912 fi }
10913 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10915 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10916 if eval test \${$as_ac_var+y}
10917 then :
10918 printf %s "(cached) " >&6
10919 else $as_nop
10920 ac_wine_try_cflags_saved=$CFLAGS
10921 ac_wine_try_cflags_saved_exeext=$ac_exeext
10922 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10923 ac_exeext=".exe"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926 int __cdecl mainCRTStartup(void) { return 0; }
10927 _ACEOF
10928 if ac_fn_c_try_link "$LINENO"
10929 then :
10930 eval "$as_ac_var=yes"
10931 else $as_nop
10932 eval "$as_ac_var=no"
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10937 ac_exeext=$ac_wine_try_cflags_saved_exeext
10939 eval ac_res=\$$as_ac_var
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10941 printf "%s\n" "$ac_res" >&6; }
10942 if eval test \"x\$"$as_ac_var"\" = x"yes"
10943 then :
10944 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10945 fi }
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10948 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10949 if eval test \${$as_ac_var+y}
10950 then :
10951 printf %s "(cached) " >&6
10952 else $as_nop
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10956 ac_exeext=".exe"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"
10962 then :
10963 eval "$as_ac_var=yes"
10964 else $as_nop
10965 eval "$as_ac_var=no"
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 ac_exeext=$ac_wine_try_cflags_saved_exeext
10972 eval ac_res=\$$as_ac_var
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10974 printf "%s\n" "$ac_res" >&6; }
10975 if eval test \"x\$"$as_ac_var"\" = x"yes"
10976 then :
10977 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10978 fi }
10979 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10981 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10982 if eval test \${$as_ac_var+y}
10983 then :
10984 printf %s "(cached) " >&6
10985 else $as_nop
10986 ac_wine_try_cflags_saved=$CFLAGS
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10989 ac_exeext=".exe"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992 int __cdecl mainCRTStartup(void) { return 0; }
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"
10995 then :
10996 eval "$as_ac_var=yes"
10997 else $as_nop
10998 eval "$as_ac_var=no"
11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11001 conftest$ac_exeext conftest.$ac_ext
11002 CFLAGS=$ac_wine_try_cflags_saved
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 eval ac_res=\$$as_ac_var
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11007 printf "%s\n" "$ac_res" >&6; }
11008 if eval test \"x\$"$as_ac_var"\" = x"yes"
11009 then :
11010 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11011 fi }
11012 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11014 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11015 if eval test \${$as_ac_var+y}
11016 then :
11017 printf %s "(cached) " >&6
11018 else $as_nop
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_exeext=$ac_exeext
11021 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11022 ac_exeext=".exe"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"
11028 then :
11029 eval "$as_ac_var=yes"
11030 else $as_nop
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 eval ac_res=\$$as_ac_var
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11040 printf "%s\n" "$ac_res" >&6; }
11041 if eval test \"x\$"$as_ac_var"\" = x"yes"
11042 then :
11043 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11044 fi }
11045 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11047 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11048 if eval test \${$as_ac_var+y}
11049 then :
11050 printf %s "(cached) " >&6
11051 else $as_nop
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11055 ac_exeext=".exe"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"
11061 then :
11062 eval "$as_ac_var=yes"
11063 else $as_nop
11064 eval "$as_ac_var=no"
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 eval ac_res=\$$as_ac_var
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11073 printf "%s\n" "$ac_res" >&6; }
11074 if eval test \"x\$"$as_ac_var"\" = x"yes"
11075 then :
11076 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11077 fi }
11078 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11080 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11081 if eval test \${$as_ac_var+y}
11082 then :
11083 printf %s "(cached) " >&6
11084 else $as_nop
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11088 ac_exeext=".exe"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"
11094 then :
11095 eval "$as_ac_var=yes"
11096 else $as_nop
11097 eval "$as_ac_var=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 eval ac_res=\$$as_ac_var
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11106 printf "%s\n" "$ac_res" >&6; }
11107 if eval test \"x\$"$as_ac_var"\" = x"yes"
11108 then :
11109 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11110 fi }
11111 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11113 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11114 if eval test \${$as_ac_var+y}
11115 then :
11116 printf %s "(cached) " >&6
11117 else $as_nop
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11121 ac_exeext=".exe"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11124 int __cdecl mainCRTStartup(void) { return 0; }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"
11127 then :
11128 eval "$as_ac_var=yes"
11129 else $as_nop
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 then :
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11143 fi }
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11146 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11147 if eval test \${$as_ac_var+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11154 ac_exeext=".exe"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"
11160 then :
11161 eval "$as_ac_var=yes"
11162 else $as_nop
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11174 then :
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11176 fi }
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11179 printf %s "checking whether $CC supports -Wvla... " >&6; }
11180 if eval test \${$as_ac_var+y}
11181 then :
11182 printf %s "(cached) " >&6
11183 else $as_nop
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11187 ac_exeext=".exe"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"
11193 then :
11194 eval "$as_ac_var=yes"
11195 else $as_nop
11196 eval "$as_ac_var=no"
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 ac_exeext=$ac_wine_try_cflags_saved_exeext
11203 eval ac_res=\$$as_ac_var
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11205 printf "%s\n" "$ac_res" >&6; }
11206 if eval test \"x\$"$as_ac_var"\" = x"yes"
11207 then :
11208 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11209 fi }
11210 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11212 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11213 if eval test \${$as_ac_var+y}
11214 then :
11215 printf %s "(cached) " >&6
11216 else $as_nop
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11220 ac_exeext=".exe"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 int __cdecl mainCRTStartup(void) { return 0; }
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"
11226 then :
11227 eval "$as_ac_var=yes"
11228 else $as_nop
11229 eval "$as_ac_var=no"
11231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 conftest$ac_exeext conftest.$ac_ext
11233 CFLAGS=$ac_wine_try_cflags_saved
11234 ac_exeext=$ac_wine_try_cflags_saved_exeext
11236 eval ac_res=\$$as_ac_var
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11238 printf "%s\n" "$ac_res" >&6; }
11239 if eval test \"x\$"$as_ac_var"\" = x"yes"
11240 then :
11241 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11242 fi }
11243 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11245 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11246 if eval test \${$as_ac_var+y}
11247 then :
11248 printf %s "(cached) " >&6
11249 else $as_nop
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_exeext=$ac_exeext
11252 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11253 ac_exeext=".exe"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 int __cdecl mainCRTStartup(void) { return 0; }
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"
11259 then :
11260 eval "$as_ac_var=yes"
11261 else $as_nop
11262 eval "$as_ac_var=no"
11264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11265 conftest$ac_exeext conftest.$ac_ext
11266 CFLAGS=$ac_wine_try_cflags_saved
11267 ac_exeext=$ac_wine_try_cflags_saved_exeext
11269 eval ac_res=\$$as_ac_var
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11271 printf "%s\n" "$ac_res" >&6; }
11272 if eval test \"x\$"$as_ac_var"\" = x"yes"
11273 then :
11274 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11275 fi }
11276 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11278 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11279 if eval test \${$as_ac_var+y}
11280 then :
11281 printf %s "(cached) " >&6
11282 else $as_nop
11283 ac_wine_try_cflags_saved=$CFLAGS
11284 ac_wine_try_cflags_saved_exeext=$ac_exeext
11285 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11286 ac_exeext=".exe"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 int __cdecl mainCRTStartup(void) { return 0; }
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"
11292 then :
11293 eval "$as_ac_var=yes"
11294 else $as_nop
11295 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11298 conftest$ac_exeext conftest.$ac_ext
11299 CFLAGS=$ac_wine_try_cflags_saved
11300 ac_exeext=$ac_wine_try_cflags_saved_exeext
11302 eval ac_res=\$$as_ac_var
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11304 printf "%s\n" "$ac_res" >&6; }
11305 if eval test \"x\$"$as_ac_var"\" = x"yes"
11306 then :
11307 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11308 fi }
11309 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11311 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11312 if eval test \${$as_ac_var+y}
11313 then :
11314 printf %s "(cached) " >&6
11315 else $as_nop
11316 ac_wine_try_cflags_saved=$CFLAGS
11317 ac_wine_try_cflags_saved_exeext=$ac_exeext
11318 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11319 ac_exeext=".exe"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int __cdecl mainCRTStartup(void) { return 0; }
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"
11325 then :
11326 eval "$as_ac_var=yes"
11327 else $as_nop
11328 eval "$as_ac_var=no"
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11331 conftest$ac_exeext conftest.$ac_ext
11332 CFLAGS=$ac_wine_try_cflags_saved
11333 ac_exeext=$ac_wine_try_cflags_saved_exeext
11335 eval ac_res=\$$as_ac_var
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11337 printf "%s\n" "$ac_res" >&6; }
11338 if eval test \"x\$"$as_ac_var"\" = x"yes"
11339 then :
11340 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11341 fi }
11343 case $wine_arch in
11344 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11346 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11347 if eval test \${$as_ac_var+y}
11348 then :
11349 printf %s "(cached) " >&6
11350 else $as_nop
11351 ac_wine_try_cflags_saved=$CFLAGS
11352 ac_wine_try_cflags_saved_exeext=$ac_exeext
11353 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11354 ac_exeext=".exe"
11355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11356 /* end confdefs.h. */
11357 int __cdecl mainCRTStartup(void) { return 0; }
11358 _ACEOF
11359 if ac_fn_c_try_link "$LINENO"
11360 then :
11361 eval "$as_ac_var=yes"
11362 else $as_nop
11363 eval "$as_ac_var=no"
11365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11366 conftest$ac_exeext conftest.$ac_ext
11367 CFLAGS=$ac_wine_try_cflags_saved
11368 ac_exeext=$ac_wine_try_cflags_saved_exeext
11370 eval ac_res=\$$as_ac_var
11371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11372 printf "%s\n" "$ac_res" >&6; }
11373 if eval test \"x\$"$as_ac_var"\" = x"yes"
11374 then :
11375 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11376 fi }
11377 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11379 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11380 if eval test \${$as_ac_var+y}
11381 then :
11382 printf %s "(cached) " >&6
11383 else $as_nop
11384 ac_wine_try_cflags_saved=$CFLAGS
11385 ac_wine_try_cflags_saved_exeext=$ac_exeext
11386 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11387 ac_exeext=".exe"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 int __cdecl mainCRTStartup(void) { return 0; }
11391 _ACEOF
11392 if ac_fn_c_try_link "$LINENO"
11393 then :
11394 eval "$as_ac_var=yes"
11395 else $as_nop
11396 eval "$as_ac_var=no"
11398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11399 conftest$ac_exeext conftest.$ac_ext
11400 CFLAGS=$ac_wine_try_cflags_saved
11401 ac_exeext=$ac_wine_try_cflags_saved_exeext
11403 eval ac_res=\$$as_ac_var
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11405 printf "%s\n" "$ac_res" >&6; }
11406 if eval test \"x\$"$as_ac_var"\" = x"yes"
11407 then :
11408 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11409 fi } ;;
11410 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11412 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11413 if eval test \${$as_ac_var+y}
11414 then :
11415 printf %s "(cached) " >&6
11416 else $as_nop
11417 ac_wine_try_cflags_saved=$CFLAGS
11418 ac_wine_try_cflags_saved_exeext=$ac_exeext
11419 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11420 ac_exeext=".exe"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423 int __cdecl mainCRTStartup(void) { return 0; }
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"
11426 then :
11427 eval "$as_ac_var=yes"
11428 else $as_nop
11429 eval "$as_ac_var=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11432 conftest$ac_exeext conftest.$ac_ext
11433 CFLAGS=$ac_wine_try_cflags_saved
11434 ac_exeext=$ac_wine_try_cflags_saved_exeext
11436 eval ac_res=\$$as_ac_var
11437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11438 printf "%s\n" "$ac_res" >&6; }
11439 if eval test \"x\$"$as_ac_var"\" = x"yes"
11440 then :
11441 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11442 fi }
11443 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11445 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11446 if eval test \${$as_ac_var+y}
11447 then :
11448 printf %s "(cached) " >&6
11449 else $as_nop
11450 ac_wine_try_cflags_saved=$CFLAGS
11451 ac_wine_try_cflags_saved_exeext=$ac_exeext
11452 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11453 ac_exeext=".exe"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456 int __cdecl mainCRTStartup(void) { return 0; }
11457 _ACEOF
11458 if ac_fn_c_try_link "$LINENO"
11459 then :
11460 eval "$as_ac_var=yes"
11461 else $as_nop
11462 eval "$as_ac_var=no"
11464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11465 conftest$ac_exeext conftest.$ac_ext
11466 CFLAGS=$ac_wine_try_cflags_saved
11467 ac_exeext=$ac_wine_try_cflags_saved_exeext
11469 eval ac_res=\$$as_ac_var
11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11471 printf "%s\n" "$ac_res" >&6; }
11472 if eval test \"x\$"$as_ac_var"\" = x"yes"
11473 then :
11474 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11475 fi }
11476 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11478 printf %s "checking whether $CC supports -mcx16... " >&6; }
11479 if eval test \${$as_ac_var+y}
11480 then :
11481 printf %s "(cached) " >&6
11482 else $as_nop
11483 ac_wine_try_cflags_saved=$CFLAGS
11484 ac_wine_try_cflags_saved_exeext=$ac_exeext
11485 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11486 ac_exeext=".exe"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11489 int __cdecl mainCRTStartup(void) { return 0; }
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"
11492 then :
11493 eval "$as_ac_var=yes"
11494 else $as_nop
11495 eval "$as_ac_var=no"
11497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11498 conftest$ac_exeext conftest.$ac_ext
11499 CFLAGS=$ac_wine_try_cflags_saved
11500 ac_exeext=$ac_wine_try_cflags_saved_exeext
11502 eval ac_res=\$$as_ac_var
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11504 printf "%s\n" "$ac_res" >&6; }
11505 if eval test \"x\$"$as_ac_var"\" = x"yes"
11506 then :
11507 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11508 fi } ;;
11509 esac
11511 wine_crossdebug=$CROSSDEBUG
11512 if test -z "$wine_crossdebug"
11513 then
11514 for ac_flag in $CFLAGS; do
11515 case $ac_flag in
11516 -gdwarf*) wine_crossdebug=dwarf ;;
11517 -gcodeview) wine_crossdebug=pdb ;;
11518 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11519 esac
11520 done
11523 ac_debug_format_seen=""
11524 for ac_flag in $CFLAGS; do
11525 case $ac_flag in
11526 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11527 esac
11528 done
11529 if test "x$ac_debug_format_seen" = x
11530 then
11531 case $wine_crossdebug in
11532 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11534 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11535 if eval test \${$as_ac_var+y}
11536 then :
11537 printf %s "(cached) " >&6
11538 else $as_nop
11539 ac_wine_try_cflags_saved=$CFLAGS
11540 ac_wine_try_cflags_saved_exeext=$ac_exeext
11541 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11542 ac_exeext=".exe"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"
11548 then :
11549 eval "$as_ac_var=yes"
11550 else $as_nop
11551 eval "$as_ac_var=no"
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 eval ac_res=\$$as_ac_var
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11560 printf "%s\n" "$ac_res" >&6; }
11561 if eval test \"x\$"$as_ac_var"\" = x"yes"
11562 then :
11563 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11564 fi } ;;
11565 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11567 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11568 if eval test \${$as_ac_var+y}
11569 then :
11570 printf %s "(cached) " >&6
11571 else $as_nop
11572 ac_wine_try_cflags_saved=$CFLAGS
11573 ac_wine_try_cflags_saved_exeext=$ac_exeext
11574 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11575 ac_exeext=".exe"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"
11581 then :
11582 eval "$as_ac_var=yes"
11583 else $as_nop
11584 eval "$as_ac_var=no"
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 ac_exeext=$ac_wine_try_cflags_saved_exeext
11591 eval ac_res=\$$as_ac_var
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11593 printf "%s\n" "$ac_res" >&6; }
11594 if eval test \"x\$"$as_ac_var"\" = x"yes"
11595 then :
11596 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11597 fi } ;;
11598 esac
11600 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11602 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11604 printf %s "checking whether $CC supports -Werror... " >&6; }
11605 if eval test \${$as_ac_var+y}
11606 then :
11607 printf %s "(cached) " >&6
11608 else $as_nop
11609 ac_wine_try_cflags_saved=$CFLAGS
11610 ac_wine_try_cflags_saved_exeext=$ac_exeext
11611 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11612 ac_exeext=".exe"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11615 int __cdecl mainCRTStartup(void) { return 0; }
11616 _ACEOF
11617 if ac_fn_c_try_link "$LINENO"
11618 then :
11619 eval "$as_ac_var=yes"
11620 else $as_nop
11621 eval "$as_ac_var=no"
11623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11624 conftest$ac_exeext conftest.$ac_ext
11625 CFLAGS=$ac_wine_try_cflags_saved
11626 ac_exeext=$ac_wine_try_cflags_saved_exeext
11628 eval ac_res=\$$as_ac_var
11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11630 printf "%s\n" "$ac_res" >&6; }
11631 if eval test \"x\$"$as_ac_var"\" = x"yes"
11632 then :
11633 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11634 fi }
11635 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11637 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11638 if eval test \${$as_ac_var+y}
11639 then :
11640 printf %s "(cached) " >&6
11641 else $as_nop
11642 ac_wine_try_cflags_saved=$CFLAGS
11643 ac_wine_try_cflags_saved_exeext=$ac_exeext
11644 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11645 ac_exeext=".exe"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 int __cdecl mainCRTStartup(void) { return 0; }
11649 _ACEOF
11650 if ac_fn_c_try_link "$LINENO"
11651 then :
11652 eval "$as_ac_var=yes"
11653 else $as_nop
11654 eval "$as_ac_var=no"
11656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11657 conftest$ac_exeext conftest.$ac_ext
11658 CFLAGS=$ac_wine_try_cflags_saved
11659 ac_exeext=$ac_wine_try_cflags_saved_exeext
11661 eval ac_res=\$$as_ac_var
11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11663 printf "%s\n" "$ac_res" >&6; }
11664 if eval test \"x\$"$as_ac_var"\" = x"yes"
11665 then :
11666 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11667 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11668 fi }
11670 CC=$saved_CC
11671 CFLAGS=$saved_CFLAGS
11672 done
11674 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11675 then
11676 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11679 if test "x$PE_ARCHS" = "x"
11680 then :
11681 case "x$with_mingw" in
11682 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11683 xno) ;;
11684 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11685 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11686 esac
11691 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11692 then
11693 case "$host_cpu" in
11694 i[3456789]86*)
11695 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11697 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11698 esac
11699 for ac_prog in $ac_prefix_list
11701 # Extract the first word of "$ac_prog", so it can be a program name with args.
11702 set dummy $ac_prog; ac_word=$2
11703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11704 printf %s "checking for $ac_word... " >&6; }
11705 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11706 then :
11707 printf %s "(cached) " >&6
11708 else $as_nop
11709 if test -n "$MINGW_PKG_CONFIG"; then
11710 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11711 else
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $PATH
11715 IFS=$as_save_IFS
11716 case $as_dir in #(((
11717 '') as_dir=./ ;;
11718 */) ;;
11719 *) as_dir=$as_dir/ ;;
11720 esac
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11723 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11725 break 2
11727 done
11728 done
11729 IFS=$as_save_IFS
11733 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11734 if test -n "$MINGW_PKG_CONFIG"; then
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11736 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11737 else
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 printf "%s\n" "no" >&6; }
11743 test -n "$MINGW_PKG_CONFIG" && break
11744 done
11745 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11747 if ${FAUDIO_PE_CFLAGS:+false} :
11748 then :
11749 if test ${MINGW_PKG_CONFIG+y}
11750 then :
11751 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11754 if ${FAUDIO_PE_LIBS:+false} :
11755 then :
11756 if test ${MINGW_PKG_CONFIG+y}
11757 then :
11758 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11761 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11762 ac_save_CPPFLAGS=$CPPFLAGS
11763 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11765 printf %s "checking for MinGW FAudio.h... " >&6; }
11766 if test ${ac_cv_mingw_header_FAudio_h+y}
11767 then :
11768 printf %s "(cached) " >&6
11769 else $as_nop
11770 ac_wine_check_headers_saved_cc=$CC
11771 ac_wine_check_headers_saved_exeext=$ac_exeext
11772 eval CC=\$${wine_arch}_CC
11773 ac_exeext=".exe"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 #include <FAudio.h>
11779 main (void)
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_compile "$LINENO"
11787 then :
11788 ac_cv_mingw_header_FAudio_h=yes
11789 else $as_nop
11790 ac_cv_mingw_header_FAudio_h=no
11792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11793 CC=$ac_wine_check_headers_saved_cc
11794 ac_exeext=$ac_wine_check_headers_saved_exeext
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11797 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11798 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11799 then :
11800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11801 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11802 if test ${ac_cv_mingw_lib_FAudio+y}
11803 then :
11804 printf %s "(cached) " >&6
11805 else $as_nop
11806 ac_wine_check_headers_saved_cc=$CC
11807 ac_wine_check_headers_saved_exeext=$ac_exeext
11808 ac_wine_check_headers_saved_libs=$LIBS
11809 eval CC=\$${wine_arch}_CC
11810 ac_exeext=".exe"
11811 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 char FAudio_CommitOperationSet ();
11820 main (void)
11822 return FAudio_CommitOperationSet ();
11824 return 0;
11826 _ACEOF
11827 if ac_fn_c_try_link "$LINENO"
11828 then :
11829 ac_cv_mingw_lib_FAudio=yes
11830 else $as_nop
11831 ac_cv_mingw_lib_FAudio=no
11833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11834 conftest$ac_exeext conftest.$ac_ext
11835 CC=$ac_wine_check_headers_saved_cc
11836 ac_exeext=$ac_wine_check_headers_saved_exeext
11837 LIBS=$ac_wine_check_headers_saved_libs
11839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11840 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11841 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11842 then :
11844 else $as_nop
11845 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11847 else $as_nop
11848 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11850 CPPFLAGS=$ac_save_CPPFLAGS
11852 if test "x$FAUDIO_PE_LIBS" = "x"
11853 then
11854 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11857 if ${JPEG_PE_CFLAGS:+false} :
11858 then :
11859 if test ${MINGW_PKG_CONFIG+y}
11860 then :
11861 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11864 if ${JPEG_PE_LIBS:+false} :
11865 then :
11866 if test ${MINGW_PKG_CONFIG+y}
11867 then :
11868 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11872 ac_save_CPPFLAGS=$CPPFLAGS
11873 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11875 printf %s "checking for MinGW jpeglib.h... " >&6; }
11876 if test ${ac_cv_mingw_header_jpeglib_h+y}
11877 then :
11878 printf %s "(cached) " >&6
11879 else $as_nop
11880 ac_wine_check_headers_saved_cc=$CC
11881 ac_wine_check_headers_saved_exeext=$ac_exeext
11882 eval CC=\$${wine_arch}_CC
11883 ac_exeext=".exe"
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <stddef.h>
11887 #include <stdio.h>
11888 #include <jpeglib.h>
11890 main (void)
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_compile "$LINENO"
11898 then :
11899 ac_cv_mingw_header_jpeglib_h=yes
11900 else $as_nop
11901 ac_cv_mingw_header_jpeglib_h=no
11903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11904 CC=$ac_wine_check_headers_saved_cc
11905 ac_exeext=$ac_wine_check_headers_saved_exeext
11907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11908 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11909 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11910 then :
11911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11912 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11913 if test ${ac_cv_mingw_lib_jpeg+y}
11914 then :
11915 printf %s "(cached) " >&6
11916 else $as_nop
11917 ac_wine_check_headers_saved_cc=$CC
11918 ac_wine_check_headers_saved_exeext=$ac_exeext
11919 ac_wine_check_headers_saved_libs=$LIBS
11920 eval CC=\$${wine_arch}_CC
11921 ac_exeext=".exe"
11922 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 char jpeg_start_decompress ();
11931 main (void)
11933 return jpeg_start_decompress ();
11935 return 0;
11937 _ACEOF
11938 if ac_fn_c_try_link "$LINENO"
11939 then :
11940 ac_cv_mingw_lib_jpeg=yes
11941 else $as_nop
11942 ac_cv_mingw_lib_jpeg=no
11944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11945 conftest$ac_exeext conftest.$ac_ext
11946 CC=$ac_wine_check_headers_saved_cc
11947 ac_exeext=$ac_wine_check_headers_saved_exeext
11948 LIBS=$ac_wine_check_headers_saved_libs
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11951 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11952 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11953 then :
11955 else $as_nop
11956 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11958 else $as_nop
11959 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11961 CPPFLAGS=$ac_save_CPPFLAGS
11963 if test "x$JPEG_PE_LIBS" = "x"
11964 then
11965 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11968 if ${LCMS2_PE_CFLAGS:+false} :
11969 then :
11970 if test ${MINGW_PKG_CONFIG+y}
11971 then :
11972 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11975 if ${LCMS2_PE_LIBS:+false} :
11976 then :
11977 if test ${MINGW_PKG_CONFIG+y}
11978 then :
11979 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11982 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11983 ac_save_CPPFLAGS=$CPPFLAGS
11984 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11986 printf %s "checking for MinGW lcms2.h... " >&6; }
11987 if test ${ac_cv_mingw_header_lcms2_h+y}
11988 then :
11989 printf %s "(cached) " >&6
11990 else $as_nop
11991 ac_wine_check_headers_saved_cc=$CC
11992 ac_wine_check_headers_saved_exeext=$ac_exeext
11993 eval CC=\$${wine_arch}_CC
11994 ac_exeext=".exe"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 #include <lcms2.h>
12000 main (void)
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_compile "$LINENO"
12008 then :
12009 ac_cv_mingw_header_lcms2_h=yes
12010 else $as_nop
12011 ac_cv_mingw_header_lcms2_h=no
12013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12014 CC=$ac_wine_check_headers_saved_cc
12015 ac_exeext=$ac_wine_check_headers_saved_exeext
12017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12018 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12019 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12020 then :
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12022 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12023 if test ${ac_cv_mingw_lib_lcms2+y}
12024 then :
12025 printf %s "(cached) " >&6
12026 else $as_nop
12027 ac_wine_check_headers_saved_cc=$CC
12028 ac_wine_check_headers_saved_exeext=$ac_exeext
12029 ac_wine_check_headers_saved_libs=$LIBS
12030 eval CC=\$${wine_arch}_CC
12031 ac_exeext=".exe"
12032 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 char cmsOpenProfileFromFile ();
12041 main (void)
12043 return cmsOpenProfileFromFile ();
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_link "$LINENO"
12049 then :
12050 ac_cv_mingw_lib_lcms2=yes
12051 else $as_nop
12052 ac_cv_mingw_lib_lcms2=no
12054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12055 conftest$ac_exeext conftest.$ac_ext
12056 CC=$ac_wine_check_headers_saved_cc
12057 ac_exeext=$ac_wine_check_headers_saved_exeext
12058 LIBS=$ac_wine_check_headers_saved_libs
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12061 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12062 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12063 then :
12065 else $as_nop
12066 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12068 else $as_nop
12069 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12071 CPPFLAGS=$ac_save_CPPFLAGS
12073 if test "x$LCMS2_PE_LIBS" = "x"
12074 then
12075 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12078 if ${MPG123_PE_CFLAGS:+false} :
12079 then :
12080 if test ${MINGW_PKG_CONFIG+y}
12081 then :
12082 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12085 if ${MPG123_PE_LIBS:+false} :
12086 then :
12087 if test ${MINGW_PKG_CONFIG+y}
12088 then :
12089 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12092 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12093 ac_save_CPPFLAGS=$CPPFLAGS
12094 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12096 printf %s "checking for MinGW mpg123.h... " >&6; }
12097 if test ${ac_cv_mingw_header_mpg123_h+y}
12098 then :
12099 printf %s "(cached) " >&6
12100 else $as_nop
12101 ac_wine_check_headers_saved_cc=$CC
12102 ac_wine_check_headers_saved_exeext=$ac_exeext
12103 eval CC=\$${wine_arch}_CC
12104 ac_exeext=".exe"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 #include <mpg123.h>
12110 main (void)
12114 return 0;
12116 _ACEOF
12117 if ac_fn_c_try_compile "$LINENO"
12118 then :
12119 ac_cv_mingw_header_mpg123_h=yes
12120 else $as_nop
12121 ac_cv_mingw_header_mpg123_h=no
12123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12124 CC=$ac_wine_check_headers_saved_cc
12125 ac_exeext=$ac_wine_check_headers_saved_exeext
12127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12128 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12129 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12130 then :
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12132 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12133 if test ${ac_cv_mingw_lib_mpg123+y}
12134 then :
12135 printf %s "(cached) " >&6
12136 else $as_nop
12137 ac_wine_check_headers_saved_cc=$CC
12138 ac_wine_check_headers_saved_exeext=$ac_exeext
12139 ac_wine_check_headers_saved_libs=$LIBS
12140 eval CC=\$${wine_arch}_CC
12141 ac_exeext=".exe"
12142 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 char mpg123_feed ();
12151 main (void)
12153 return mpg123_feed ();
12155 return 0;
12157 _ACEOF
12158 if ac_fn_c_try_link "$LINENO"
12159 then :
12160 ac_cv_mingw_lib_mpg123=yes
12161 else $as_nop
12162 ac_cv_mingw_lib_mpg123=no
12164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12165 conftest$ac_exeext conftest.$ac_ext
12166 CC=$ac_wine_check_headers_saved_cc
12167 ac_exeext=$ac_wine_check_headers_saved_exeext
12168 LIBS=$ac_wine_check_headers_saved_libs
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12171 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12172 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12173 then :
12175 else $as_nop
12176 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12178 else $as_nop
12179 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12181 CPPFLAGS=$ac_save_CPPFLAGS
12183 if test "x$MPG123_PE_LIBS" = "x"
12184 then
12185 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12188 if ${PNG_PE_CFLAGS:+false} :
12189 then :
12190 if test ${MINGW_PKG_CONFIG+y}
12191 then :
12192 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12195 if ${PNG_PE_LIBS:+false} :
12196 then :
12197 if test ${MINGW_PKG_CONFIG+y}
12198 then :
12199 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12203 ac_save_CPPFLAGS=$CPPFLAGS
12204 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12206 printf %s "checking for MinGW png.h... " >&6; }
12207 if test ${ac_cv_mingw_header_png_h+y}
12208 then :
12209 printf %s "(cached) " >&6
12210 else $as_nop
12211 ac_wine_check_headers_saved_cc=$CC
12212 ac_wine_check_headers_saved_exeext=$ac_exeext
12213 eval CC=\$${wine_arch}_CC
12214 ac_exeext=".exe"
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12218 #include <png.h>
12220 main (void)
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_compile "$LINENO"
12228 then :
12229 ac_cv_mingw_header_png_h=yes
12230 else $as_nop
12231 ac_cv_mingw_header_png_h=no
12233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12234 CC=$ac_wine_check_headers_saved_cc
12235 ac_exeext=$ac_wine_check_headers_saved_exeext
12237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12238 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12239 if test "x$ac_cv_mingw_header_png_h" = xyes
12240 then :
12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12242 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12243 if test ${ac_cv_mingw_lib_png+y}
12244 then :
12245 printf %s "(cached) " >&6
12246 else $as_nop
12247 ac_wine_check_headers_saved_cc=$CC
12248 ac_wine_check_headers_saved_exeext=$ac_exeext
12249 ac_wine_check_headers_saved_libs=$LIBS
12250 eval CC=\$${wine_arch}_CC
12251 ac_exeext=".exe"
12252 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12259 char png_create_read_struct ();
12261 main (void)
12263 return png_create_read_struct ();
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_link "$LINENO"
12269 then :
12270 ac_cv_mingw_lib_png=yes
12271 else $as_nop
12272 ac_cv_mingw_lib_png=no
12274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12275 conftest$ac_exeext conftest.$ac_ext
12276 CC=$ac_wine_check_headers_saved_cc
12277 ac_exeext=$ac_wine_check_headers_saved_exeext
12278 LIBS=$ac_wine_check_headers_saved_libs
12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12281 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12282 if test "x$ac_cv_mingw_lib_png" = xyes
12283 then :
12285 else $as_nop
12286 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12288 else $as_nop
12289 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12291 CPPFLAGS=$ac_save_CPPFLAGS
12293 if test "x$PNG_PE_LIBS" = "x"
12294 then
12295 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12298 if ${TIFF_PE_CFLAGS:+false} :
12299 then :
12300 if test ${MINGW_PKG_CONFIG+y}
12301 then :
12302 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12305 if ${TIFF_PE_LIBS:+false} :
12306 then :
12307 if test ${MINGW_PKG_CONFIG+y}
12308 then :
12309 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12313 ac_save_CPPFLAGS=$CPPFLAGS
12314 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12316 printf %s "checking for MinGW tiffio.h... " >&6; }
12317 if test ${ac_cv_mingw_header_tiffio_h+y}
12318 then :
12319 printf %s "(cached) " >&6
12320 else $as_nop
12321 ac_wine_check_headers_saved_cc=$CC
12322 ac_wine_check_headers_saved_exeext=$ac_exeext
12323 eval CC=\$${wine_arch}_CC
12324 ac_exeext=".exe"
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 #include <tiffio.h>
12330 main (void)
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_compile "$LINENO"
12338 then :
12339 ac_cv_mingw_header_tiffio_h=yes
12340 else $as_nop
12341 ac_cv_mingw_header_tiffio_h=no
12343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12344 CC=$ac_wine_check_headers_saved_cc
12345 ac_exeext=$ac_wine_check_headers_saved_exeext
12347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12348 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12349 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12350 then :
12351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12352 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12353 if test ${ac_cv_mingw_lib_tiff+y}
12354 then :
12355 printf %s "(cached) " >&6
12356 else $as_nop
12357 ac_wine_check_headers_saved_cc=$CC
12358 ac_wine_check_headers_saved_exeext=$ac_exeext
12359 ac_wine_check_headers_saved_libs=$LIBS
12360 eval CC=\$${wine_arch}_CC
12361 ac_exeext=".exe"
12362 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12369 char TIFFClientOpen ();
12371 main (void)
12373 return TIFFClientOpen ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"
12379 then :
12380 ac_cv_mingw_lib_tiff=yes
12381 else $as_nop
12382 ac_cv_mingw_lib_tiff=no
12384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12385 conftest$ac_exeext conftest.$ac_ext
12386 CC=$ac_wine_check_headers_saved_cc
12387 ac_exeext=$ac_wine_check_headers_saved_exeext
12388 LIBS=$ac_wine_check_headers_saved_libs
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12391 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12392 if test "x$ac_cv_mingw_lib_tiff" = xyes
12393 then :
12395 else $as_nop
12396 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12398 else $as_nop
12399 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12401 CPPFLAGS=$ac_save_CPPFLAGS
12403 if test "x$TIFF_PE_LIBS" = "x"
12404 then
12405 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12408 if ${XML2_PE_CFLAGS:+false} :
12409 then :
12410 if test ${MINGW_PKG_CONFIG+y}
12411 then :
12412 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12415 if ${XML2_PE_LIBS:+false} :
12416 then :
12417 if test ${MINGW_PKG_CONFIG+y}
12418 then :
12419 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12422 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12423 ac_save_CPPFLAGS=$CPPFLAGS
12424 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12426 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12427 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12428 then :
12429 printf %s "(cached) " >&6
12430 else $as_nop
12431 ac_wine_check_headers_saved_cc=$CC
12432 ac_wine_check_headers_saved_exeext=$ac_exeext
12433 eval CC=\$${wine_arch}_CC
12434 ac_exeext=".exe"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 #include <libxml/parser.h>
12440 main (void)
12444 return 0;
12446 _ACEOF
12447 if ac_fn_c_try_compile "$LINENO"
12448 then :
12449 ac_cv_mingw_header_libxml_parser_h=yes
12450 else $as_nop
12451 ac_cv_mingw_header_libxml_parser_h=no
12453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12454 CC=$ac_wine_check_headers_saved_cc
12455 ac_exeext=$ac_wine_check_headers_saved_exeext
12457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12458 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12459 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12460 then :
12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12464 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12465 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12466 then :
12467 printf %s "(cached) " >&6
12468 else $as_nop
12469 ac_wine_check_headers_saved_cc=$CC
12470 ac_wine_check_headers_saved_exeext=$ac_exeext
12471 eval CC=\$${wine_arch}_CC
12472 ac_exeext=".exe"
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 #include <libxml/xmlsave.h>
12478 main (void)
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_compile "$LINENO"
12486 then :
12487 ac_cv_mingw_header_libxml_xmlsave_h=yes
12488 else $as_nop
12489 ac_cv_mingw_header_libxml_xmlsave_h=no
12491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12492 CC=$ac_wine_check_headers_saved_cc
12493 ac_exeext=$ac_wine_check_headers_saved_exeext
12495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12496 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12497 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12498 then :
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12502 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12503 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12504 then :
12505 printf %s "(cached) " >&6
12506 else $as_nop
12507 ac_wine_check_headers_saved_cc=$CC
12508 ac_wine_check_headers_saved_exeext=$ac_exeext
12509 eval CC=\$${wine_arch}_CC
12510 ac_exeext=".exe"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 #include <libxml/SAX2.h>
12516 main (void)
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_compile "$LINENO"
12524 then :
12525 ac_cv_mingw_header_libxml_SAX2_h=yes
12526 else $as_nop
12527 ac_cv_mingw_header_libxml_SAX2_h=no
12529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12530 CC=$ac_wine_check_headers_saved_cc
12531 ac_exeext=$ac_wine_check_headers_saved_exeext
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12534 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12535 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12536 then :
12539 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"
12540 then
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12542 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12543 if test ${ac_cv_mingw_lib_xml2+y}
12544 then :
12545 printf %s "(cached) " >&6
12546 else $as_nop
12547 ac_wine_check_headers_saved_cc=$CC
12548 ac_wine_check_headers_saved_exeext=$ac_exeext
12549 ac_wine_check_headers_saved_libs=$LIBS
12550 eval CC=\$${wine_arch}_CC
12551 ac_exeext=".exe"
12552 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12559 char xmlFirstElementChild ();
12561 main (void)
12563 return xmlFirstElementChild ();
12565 return 0;
12567 _ACEOF
12568 if ac_fn_c_try_link "$LINENO"
12569 then :
12570 ac_cv_mingw_lib_xml2=yes
12571 else $as_nop
12572 ac_cv_mingw_lib_xml2=no
12574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12575 conftest$ac_exeext conftest.$ac_ext
12576 CC=$ac_wine_check_headers_saved_cc
12577 ac_exeext=$ac_wine_check_headers_saved_exeext
12578 LIBS=$ac_wine_check_headers_saved_libs
12580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12581 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12582 if test "x$ac_cv_mingw_lib_xml2" = xyes
12583 then :
12585 else $as_nop
12586 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12588 else
12589 XML2_PE_CFLAGS=""
12590 XML2_PE_LIBS=""
12592 CPPFLAGS=$ac_save_CPPFLAGS
12594 if test "x$XML2_PE_LIBS" = "x"
12595 then
12596 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12599 if ${XSLT_PE_CFLAGS:+false} :
12600 then :
12601 if test ${MINGW_PKG_CONFIG+y}
12602 then :
12603 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12606 if ${XSLT_PE_LIBS:+false} :
12607 then :
12608 if test ${MINGW_PKG_CONFIG+y}
12609 then :
12610 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12613 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12614 ac_save_CPPFLAGS=$CPPFLAGS
12615 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12617 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12618 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12619 then :
12620 printf %s "(cached) " >&6
12621 else $as_nop
12622 ac_wine_check_headers_saved_cc=$CC
12623 ac_wine_check_headers_saved_exeext=$ac_exeext
12624 eval CC=\$${wine_arch}_CC
12625 ac_exeext=".exe"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 #include <libxslt/pattern.h>
12631 main (void)
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_compile "$LINENO"
12639 then :
12640 ac_cv_mingw_header_libxslt_pattern_h=yes
12641 else $as_nop
12642 ac_cv_mingw_header_libxslt_pattern_h=no
12644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12645 CC=$ac_wine_check_headers_saved_cc
12646 ac_exeext=$ac_wine_check_headers_saved_exeext
12648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12649 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12650 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12651 then :
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12655 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12656 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12657 then :
12658 printf %s "(cached) " >&6
12659 else $as_nop
12660 ac_wine_check_headers_saved_cc=$CC
12661 ac_wine_check_headers_saved_exeext=$ac_exeext
12662 eval CC=\$${wine_arch}_CC
12663 ac_exeext=".exe"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 #include <libxslt/transform.h>
12669 main (void)
12673 return 0;
12675 _ACEOF
12676 if ac_fn_c_try_compile "$LINENO"
12677 then :
12678 ac_cv_mingw_header_libxslt_transform_h=yes
12679 else $as_nop
12680 ac_cv_mingw_header_libxslt_transform_h=no
12682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12683 CC=$ac_wine_check_headers_saved_cc
12684 ac_exeext=$ac_wine_check_headers_saved_exeext
12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12687 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12688 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12689 then :
12692 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12693 then
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12695 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12696 if test ${ac_cv_mingw_lib_xslt+y}
12697 then :
12698 printf %s "(cached) " >&6
12699 else $as_nop
12700 ac_wine_check_headers_saved_cc=$CC
12701 ac_wine_check_headers_saved_exeext=$ac_exeext
12702 ac_wine_check_headers_saved_libs=$LIBS
12703 eval CC=\$${wine_arch}_CC
12704 ac_exeext=".exe"
12705 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 char xsltCompilePattern ();
12714 main (void)
12716 return xsltCompilePattern ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"
12722 then :
12723 ac_cv_mingw_lib_xslt=yes
12724 else $as_nop
12725 ac_cv_mingw_lib_xslt=no
12727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12728 conftest$ac_exeext conftest.$ac_ext
12729 CC=$ac_wine_check_headers_saved_cc
12730 ac_exeext=$ac_wine_check_headers_saved_exeext
12731 LIBS=$ac_wine_check_headers_saved_libs
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12734 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12735 if test "x$ac_cv_mingw_lib_xslt" = xyes
12736 then :
12738 else $as_nop
12739 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12741 else
12742 XSLT_PE_CFLAGS=""
12743 XSLT_PE_LIBS=""
12745 CPPFLAGS=$ac_save_CPPFLAGS
12747 if test "x$XSLT_PE_LIBS" = "x"
12748 then
12749 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12752 if ${VKD3D_PE_CFLAGS:+false} :
12753 then :
12754 if test ${MINGW_PKG_CONFIG+y}
12755 then :
12756 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12759 if ${VKD3D_PE_LIBS:+false} :
12760 then :
12761 if test ${MINGW_PKG_CONFIG+y}
12762 then :
12763 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12766 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12767 ac_save_CPPFLAGS=$CPPFLAGS
12768 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12770 printf %s "checking for MinGW vkd3d.h... " >&6; }
12771 if test ${ac_cv_mingw_header_vkd3d_h+y}
12772 then :
12773 printf %s "(cached) " >&6
12774 else $as_nop
12775 ac_wine_check_headers_saved_cc=$CC
12776 ac_wine_check_headers_saved_exeext=$ac_exeext
12777 eval CC=\$${wine_arch}_CC
12778 ac_exeext=".exe"
12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780 /* end confdefs.h. */
12782 #include <vkd3d.h>
12784 main (void)
12788 return 0;
12790 _ACEOF
12791 if ac_fn_c_try_compile "$LINENO"
12792 then :
12793 ac_cv_mingw_header_vkd3d_h=yes
12794 else $as_nop
12795 ac_cv_mingw_header_vkd3d_h=no
12797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12798 CC=$ac_wine_check_headers_saved_cc
12799 ac_exeext=$ac_wine_check_headers_saved_exeext
12801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12802 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12803 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12804 then :
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12808 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12809 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12810 then :
12811 printf %s "(cached) " >&6
12812 else $as_nop
12813 ac_wine_check_headers_saved_cc=$CC
12814 ac_wine_check_headers_saved_exeext=$ac_exeext
12815 eval CC=\$${wine_arch}_CC
12816 ac_exeext=".exe"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 #include <vkd3d_shader.h>
12822 main (void)
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_compile "$LINENO"
12830 then :
12831 ac_cv_mingw_header_vkd3d_shader_h=yes
12832 else $as_nop
12833 ac_cv_mingw_header_vkd3d_shader_h=no
12835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12836 CC=$ac_wine_check_headers_saved_cc
12837 ac_exeext=$ac_wine_check_headers_saved_exeext
12839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12840 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12841 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12842 then :
12845 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12846 then
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12848 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12849 if test ${ac_cv_mingw_lib_vkd3d+y}
12850 then :
12851 printf %s "(cached) " >&6
12852 else $as_nop
12853 ac_wine_check_headers_saved_cc=$CC
12854 ac_wine_check_headers_saved_exeext=$ac_exeext
12855 ac_wine_check_headers_saved_libs=$LIBS
12856 eval CC=\$${wine_arch}_CC
12857 ac_exeext=".exe"
12858 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 char vkd3d_set_log_callback ();
12867 main (void)
12869 return vkd3d_set_log_callback ();
12871 return 0;
12873 _ACEOF
12874 if ac_fn_c_try_link "$LINENO"
12875 then :
12876 ac_cv_mingw_lib_vkd3d=yes
12877 else $as_nop
12878 ac_cv_mingw_lib_vkd3d=no
12880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12881 conftest$ac_exeext conftest.$ac_ext
12882 CC=$ac_wine_check_headers_saved_cc
12883 ac_exeext=$ac_wine_check_headers_saved_exeext
12884 LIBS=$ac_wine_check_headers_saved_libs
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12887 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12888 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12889 then :
12891 else $as_nop
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12895 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12896 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12897 then :
12898 printf %s "(cached) " >&6
12899 else $as_nop
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 ac_wine_check_headers_saved_libs=$LIBS
12903 eval CC=\$${wine_arch}_CC
12904 ac_exeext=".exe"
12905 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 char vkd3d_shader_compile ();
12914 main (void)
12916 return vkd3d_shader_compile ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"
12922 then :
12923 ac_cv_mingw_lib_vkd3d_shader=yes
12924 else $as_nop
12925 ac_cv_mingw_lib_vkd3d_shader=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12928 conftest$ac_exeext conftest.$ac_ext
12929 CC=$ac_wine_check_headers_saved_cc
12930 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 LIBS=$ac_wine_check_headers_saved_libs
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12934 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12935 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12936 then :
12938 else $as_nop
12941 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12942 then
12943 VKD3D_PE_CFLAGS=""
12944 VKD3D_PE_LIBS=""
12946 else
12947 VKD3D_PE_CFLAGS=""
12948 VKD3D_PE_LIBS=""
12950 CPPFLAGS=$ac_save_CPPFLAGS
12952 if test "x$VKD3D_PE_LIBS" = "x"
12953 then
12954 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12957 if ${ZLIB_PE_CFLAGS:+false} :
12958 then :
12959 if test ${MINGW_PKG_CONFIG+y}
12960 then :
12961 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12964 if ${ZLIB_PE_LIBS:+false} :
12965 then :
12966 if test ${MINGW_PKG_CONFIG+y}
12967 then :
12968 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12971 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12972 ac_save_CPPFLAGS=$CPPFLAGS
12973 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12975 printf %s "checking for MinGW zlib.h... " >&6; }
12976 if test ${ac_cv_mingw_header_zlib_h+y}
12977 then :
12978 printf %s "(cached) " >&6
12979 else $as_nop
12980 ac_wine_check_headers_saved_cc=$CC
12981 ac_wine_check_headers_saved_exeext=$ac_exeext
12982 eval CC=\$${wine_arch}_CC
12983 ac_exeext=".exe"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 #include <zlib.h>
12989 main (void)
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_compile "$LINENO"
12997 then :
12998 ac_cv_mingw_header_zlib_h=yes
12999 else $as_nop
13000 ac_cv_mingw_header_zlib_h=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13003 CC=$ac_wine_check_headers_saved_cc
13004 ac_exeext=$ac_wine_check_headers_saved_exeext
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13007 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13008 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13009 then :
13010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13011 printf %s "checking for inflate in MinGW -lz... " >&6; }
13012 if test ${ac_cv_mingw_lib_z+y}
13013 then :
13014 printf %s "(cached) " >&6
13015 else $as_nop
13016 ac_wine_check_headers_saved_cc=$CC
13017 ac_wine_check_headers_saved_exeext=$ac_exeext
13018 ac_wine_check_headers_saved_libs=$LIBS
13019 eval CC=\$${wine_arch}_CC
13020 ac_exeext=".exe"
13021 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 char inflate ();
13030 main (void)
13032 return inflate ();
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"
13038 then :
13039 ac_cv_mingw_lib_z=yes
13040 else $as_nop
13041 ac_cv_mingw_lib_z=no
13043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13044 conftest$ac_exeext conftest.$ac_ext
13045 CC=$ac_wine_check_headers_saved_cc
13046 ac_exeext=$ac_wine_check_headers_saved_exeext
13047 LIBS=$ac_wine_check_headers_saved_libs
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13050 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13051 if test "x$ac_cv_mingw_lib_z" = xyes
13052 then :
13054 else $as_nop
13055 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13057 else $as_nop
13058 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13060 CPPFLAGS=$ac_save_CPPFLAGS
13062 if test "x$ZLIB_PE_LIBS" = "x"
13063 then
13064 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13068 if ${FAUDIO_PE_LIBS:+false} :
13069 then :
13070 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13071 if ${FAUDIO_PE_CFLAGS:+false} :
13072 then :
13073 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13074 else $as_nop
13075 enable_faudio=no
13077 else $as_nop
13078 enable_faudio=no
13080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13083 if ${GSM_PE_LIBS:+false} :
13084 then :
13085 GSM_PE_LIBS=gsm
13086 if ${GSM_PE_CFLAGS:+false} :
13087 then :
13088 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13089 else $as_nop
13090 enable_gsm=no
13092 else $as_nop
13093 enable_gsm=no
13095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13098 if ${JPEG_PE_LIBS:+false} :
13099 then :
13100 JPEG_PE_LIBS=jpeg
13101 if ${JPEG_PE_CFLAGS:+false} :
13102 then :
13103 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13104 else $as_nop
13105 enable_jpeg=no
13107 else $as_nop
13108 enable_jpeg=no
13110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13113 if ${JXR_PE_LIBS:+false} :
13114 then :
13115 JXR_PE_LIBS=jxr
13116 if ${JXR_PE_CFLAGS:+false} :
13117 then :
13118 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13119 else $as_nop
13120 enable_jxr=no
13122 else $as_nop
13123 enable_jxr=no
13125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13128 if ${LCMS2_PE_LIBS:+false} :
13129 then :
13130 LCMS2_PE_LIBS=lcms2
13131 if ${LCMS2_PE_CFLAGS:+false} :
13132 then :
13133 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13134 else $as_nop
13135 enable_lcms2=no
13137 else $as_nop
13138 enable_lcms2=no
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13143 if ${LDAP_PE_LIBS:+false} :
13144 then :
13145 LDAP_PE_LIBS=ldap
13146 if ${LDAP_PE_CFLAGS:+false} :
13147 then :
13148 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13149 else $as_nop
13150 enable_ldap=no
13152 else $as_nop
13153 enable_ldap=no
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13158 if ${MPG123_PE_LIBS:+false} :
13159 then :
13160 MPG123_PE_LIBS=mpg123
13161 if ${MPG123_PE_CFLAGS:+false} :
13162 then :
13163 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13164 else $as_nop
13165 enable_mpg123=no
13167 else $as_nop
13168 enable_mpg123=no
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13173 if ${MUSL_PE_LIBS:+false} :
13174 then :
13175 MUSL_PE_LIBS=musl
13176 if ${MUSL_PE_CFLAGS:+false} :
13177 then :
13178 MUSL_PE_CFLAGS=
13179 else $as_nop
13180 enable_musl=no
13182 else $as_nop
13183 enable_musl=no
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13188 if ${PNG_PE_LIBS:+false} :
13189 then :
13190 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13191 if ${PNG_PE_CFLAGS:+false} :
13192 then :
13193 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13194 else $as_nop
13195 enable_png=no
13197 else $as_nop
13198 enable_png=no
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13203 if ${TIFF_PE_LIBS:+false} :
13204 then :
13205 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13206 if ${TIFF_PE_CFLAGS:+false} :
13207 then :
13208 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13209 else $as_nop
13210 enable_tiff=no
13212 else $as_nop
13213 enable_tiff=no
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13218 if ${VKD3D_PE_LIBS:+false} :
13219 then :
13220 VKD3D_PE_LIBS=vkd3d
13221 if ${VKD3D_PE_CFLAGS:+false} :
13222 then :
13223 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13224 else $as_nop
13225 enable_vkd3d=no
13227 else $as_nop
13228 enable_vkd3d=no
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13233 if ${XML2_PE_LIBS:+false} :
13234 then :
13235 XML2_PE_LIBS=xml2
13236 if ${XML2_PE_CFLAGS:+false} :
13237 then :
13238 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13239 else $as_nop
13240 enable_xml2=no
13242 else $as_nop
13243 enable_xml2=no
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13248 if ${XSLT_PE_LIBS:+false} :
13249 then :
13250 XSLT_PE_LIBS=xslt
13251 if ${XSLT_PE_CFLAGS:+false} :
13252 then :
13253 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13254 else $as_nop
13255 enable_xslt=no
13257 else $as_nop
13258 enable_xslt=no
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13263 if ${ZLIB_PE_LIBS:+false} :
13264 then :
13265 ZLIB_PE_LIBS=z
13266 if ${ZLIB_PE_CFLAGS:+false} :
13267 then :
13268 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13269 else $as_nop
13270 enable_zlib=no
13272 else $as_nop
13273 enable_zlib=no
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13278 if ${ZYDIS_PE_LIBS:+false} :
13279 then :
13280 ZYDIS_PE_LIBS=zydis
13281 if ${ZYDIS_PE_CFLAGS:+false} :
13282 then :
13283 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13284 else $as_nop
13285 enable_zydis=no
13287 else $as_nop
13288 enable_zydis=no
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13295 if test "$ac_cv_header_pthread_h" = "yes"
13296 then
13297 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13298 if test "x$ac_cv_func_pthread_create" = xyes
13299 then :
13301 else $as_nop
13302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13303 printf %s "checking for pthread_create in -lpthread... " >&6; }
13304 if test ${ac_cv_lib_pthread_pthread_create+y}
13305 then :
13306 printf %s "(cached) " >&6
13307 else $as_nop
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-lpthread $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 char pthread_create ();
13318 main (void)
13320 return pthread_create ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"
13326 then :
13327 ac_cv_lib_pthread_pthread_create=yes
13328 else $as_nop
13329 ac_cv_lib_pthread_pthread_create=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_lib_save_LIBS
13335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13336 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13337 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13338 then :
13339 PTHREAD_LIBS="-lpthread"
13346 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13347 then :
13348 case "x$with_pthread" in
13349 xno) ;;
13350 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13351 Wine cannot support threads without libpthread.
13352 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13353 esac
13358 ac_ext=c
13359 ac_cpp='$CPP $CPPFLAGS'
13360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13364 printf %s "checking how to run the C preprocessor... " >&6; }
13365 # On Suns, sometimes $CPP names a directory.
13366 if test -n "$CPP" && test -d "$CPP"; then
13367 CPP=
13369 if test -z "$CPP"; then
13370 if test ${ac_cv_prog_CPP+y}
13371 then :
13372 printf %s "(cached) " >&6
13373 else $as_nop
13374 # Double quotes because $CC needs to be expanded
13375 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13377 ac_preproc_ok=false
13378 for ac_c_preproc_warn_flag in '' yes
13380 # Use a header file that comes with gcc, so configuring glibc
13381 # with a fresh cross-compiler works.
13382 # On the NeXT, cc -E runs the code through the compiler's parser,
13383 # not just through cpp. "Syntax error" is here to catch this case.
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13386 #include <limits.h>
13387 Syntax error
13388 _ACEOF
13389 if ac_fn_c_try_cpp "$LINENO"
13390 then :
13392 else $as_nop
13393 # Broken: fails on valid input.
13394 continue
13396 rm -f conftest.err conftest.i conftest.$ac_ext
13398 # OK, works on sane cases. Now check whether nonexistent headers
13399 # can be detected and how.
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13402 #include <ac_nonexistent.h>
13403 _ACEOF
13404 if ac_fn_c_try_cpp "$LINENO"
13405 then :
13406 # Broken: success on invalid input.
13407 continue
13408 else $as_nop
13409 # Passes both tests.
13410 ac_preproc_ok=:
13411 break
13413 rm -f conftest.err conftest.i conftest.$ac_ext
13415 done
13416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13417 rm -f conftest.i conftest.err conftest.$ac_ext
13418 if $ac_preproc_ok
13419 then :
13420 break
13423 done
13424 ac_cv_prog_CPP=$CPP
13427 CPP=$ac_cv_prog_CPP
13428 else
13429 ac_cv_prog_CPP=$CPP
13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13432 printf "%s\n" "$CPP" >&6; }
13433 ac_preproc_ok=false
13434 for ac_c_preproc_warn_flag in '' yes
13436 # Use a header file that comes with gcc, so configuring glibc
13437 # with a fresh cross-compiler works.
13438 # On the NeXT, cc -E runs the code through the compiler's parser,
13439 # not just through cpp. "Syntax error" is here to catch this case.
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 #include <limits.h>
13443 Syntax error
13444 _ACEOF
13445 if ac_fn_c_try_cpp "$LINENO"
13446 then :
13448 else $as_nop
13449 # Broken: fails on valid input.
13450 continue
13452 rm -f conftest.err conftest.i conftest.$ac_ext
13454 # OK, works on sane cases. Now check whether nonexistent headers
13455 # can be detected and how.
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <ac_nonexistent.h>
13459 _ACEOF
13460 if ac_fn_c_try_cpp "$LINENO"
13461 then :
13462 # Broken: success on invalid input.
13463 continue
13464 else $as_nop
13465 # Passes both tests.
13466 ac_preproc_ok=:
13467 break
13469 rm -f conftest.err conftest.i conftest.$ac_ext
13471 done
13472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13473 rm -f conftest.i conftest.err conftest.$ac_ext
13474 if $ac_preproc_ok
13475 then :
13477 else $as_nop
13478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13480 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13481 See \`config.log' for more details" "$LINENO" 5; }
13484 ac_ext=c
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13492 printf %s "checking for X... " >&6; }
13495 # Check whether --with-x was given.
13496 if test ${with_x+y}
13497 then :
13498 withval=$with_x;
13501 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13502 if test "x$with_x" = xno; then
13503 # The user explicitly disabled X.
13504 have_x=disabled
13505 else
13506 case $x_includes,$x_libraries in #(
13507 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13508 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13509 then :
13510 printf %s "(cached) " >&6
13511 else $as_nop
13512 # One or both of the vars are not set, and there is no cached value.
13513 ac_x_includes=no
13514 ac_x_libraries=no
13515 # Do we need to do anything special at all?
13516 ac_save_LIBS=$LIBS
13517 LIBS="-lX11 $LIBS"
13518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 #include <X11/Xlib.h>
13522 main (void)
13524 XrmInitialize ()
13526 return 0;
13528 _ACEOF
13529 if ac_fn_c_try_link "$LINENO"
13530 then :
13531 # We can compile and link X programs with no special options.
13532 ac_x_includes=
13533 ac_x_libraries=
13535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS="$ac_save_LIBS"
13538 # If that didn't work, only try xmkmf and file system searches
13539 # for native compilation.
13540 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13541 then :
13542 rm -f -r conftest.dir
13543 if mkdir conftest.dir; then
13544 cd conftest.dir
13545 cat >Imakefile <<'_ACEOF'
13546 incroot:
13547 @echo incroot='${INCROOT}'
13548 usrlibdir:
13549 @echo usrlibdir='${USRLIBDIR}'
13550 libdir:
13551 @echo libdir='${LIBDIR}'
13552 _ACEOF
13553 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13554 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13555 for ac_var in incroot usrlibdir libdir; do
13556 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13557 done
13558 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13559 for ac_extension in a so sl dylib la dll; do
13560 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13561 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13562 ac_im_usrlibdir=$ac_im_libdir; break
13564 done
13565 # Screen out bogus values from the imake configuration. They are
13566 # bogus both because they are the default anyway, and because
13567 # using them would break gcc on systems where it needs fixed includes.
13568 case $ac_im_incroot in
13569 /usr/include) ac_x_includes= ;;
13570 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13571 esac
13572 case $ac_im_usrlibdir in
13573 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13574 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13575 esac
13577 cd ..
13578 rm -f -r conftest.dir
13581 # Standard set of common directories for X headers.
13582 # Check X11 before X11Rn because it is often a symlink to the current release.
13583 ac_x_header_dirs='
13584 /usr/X11/include
13585 /usr/X11R7/include
13586 /usr/X11R6/include
13587 /usr/X11R5/include
13588 /usr/X11R4/include
13590 /usr/include/X11
13591 /usr/include/X11R7
13592 /usr/include/X11R6
13593 /usr/include/X11R5
13594 /usr/include/X11R4
13596 /usr/local/X11/include
13597 /usr/local/X11R7/include
13598 /usr/local/X11R6/include
13599 /usr/local/X11R5/include
13600 /usr/local/X11R4/include
13602 /usr/local/include/X11
13603 /usr/local/include/X11R7
13604 /usr/local/include/X11R6
13605 /usr/local/include/X11R5
13606 /usr/local/include/X11R4
13608 /opt/X11/include
13610 /usr/X386/include
13611 /usr/x386/include
13612 /usr/XFree86/include/X11
13614 /usr/include
13615 /usr/local/include
13616 /usr/unsupported/include
13617 /usr/athena/include
13618 /usr/local/x11r5/include
13619 /usr/lpp/Xamples/include
13621 /usr/openwin/include
13622 /usr/openwin/share/include'
13624 if test "$ac_x_includes" = no; then
13625 # Guess where to find include files, by looking for Xlib.h.
13626 # First, try using that file with no special directory specified.
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <X11/Xlib.h>
13630 _ACEOF
13631 if ac_fn_c_try_cpp "$LINENO"
13632 then :
13633 # We can compile using X headers with no special include directory.
13634 ac_x_includes=
13635 else $as_nop
13636 for ac_dir in $ac_x_header_dirs; do
13637 if test -r "$ac_dir/X11/Xlib.h"; then
13638 ac_x_includes=$ac_dir
13639 break
13641 done
13643 rm -f conftest.err conftest.i conftest.$ac_ext
13644 fi # $ac_x_includes = no
13646 if test "$ac_x_libraries" = no; then
13647 # Check for the libraries.
13648 # See if we find them without any special options.
13649 # Don't add to $LIBS permanently.
13650 ac_save_LIBS=$LIBS
13651 LIBS="-lX11 $LIBS"
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13654 #include <X11/Xlib.h>
13656 main (void)
13658 XrmInitialize ()
13660 return 0;
13662 _ACEOF
13663 if ac_fn_c_try_link "$LINENO"
13664 then :
13665 LIBS=$ac_save_LIBS
13666 # We can link X programs with no special library path.
13667 ac_x_libraries=
13668 else $as_nop
13669 LIBS=$ac_save_LIBS
13670 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13672 # Don't even attempt the hair of trying to link an X program!
13673 for ac_extension in a so sl dylib la dll; do
13674 if test -r "$ac_dir/libX11.$ac_extension"; then
13675 ac_x_libraries=$ac_dir
13676 break 2
13678 done
13679 done
13681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13682 conftest$ac_exeext conftest.$ac_ext
13683 fi # $ac_x_libraries = no
13686 # Record the results.
13687 case $ac_x_includes,$ac_x_libraries in #(
13688 no,* | *,no | *\'*) :
13689 # Didn't find X, or a directory has "'" in its name.
13690 ac_cv_have_x="have_x=no" ;; #(
13691 *) :
13692 # Record where we found X for the cache.
13693 ac_cv_have_x="have_x=yes\
13694 ac_x_includes='$ac_x_includes'\
13695 ac_x_libraries='$ac_x_libraries'" ;;
13696 esac
13698 ;; #(
13699 *) have_x=yes;;
13700 esac
13701 eval "$ac_cv_have_x"
13702 fi # $with_x != no
13704 if test "$have_x" != yes; then
13705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13706 printf "%s\n" "$have_x" >&6; }
13707 no_x=yes
13708 else
13709 # If each of the values was on the command line, it overrides each guess.
13710 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13711 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13712 # Update the cache value to reflect the command line values.
13713 ac_cv_have_x="have_x=yes\
13714 ac_x_includes='$x_includes'\
13715 ac_x_libraries='$x_libraries'"
13716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13717 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13720 if test "$no_x" = yes; then
13721 # Not all programs may use this symbol, but it does not hurt to define it.
13723 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13725 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13726 else
13727 if test -n "$x_includes"; then
13728 X_CFLAGS="$X_CFLAGS -I$x_includes"
13731 # It would also be nice to do this for all -L options, not just this one.
13732 if test -n "$x_libraries"; then
13733 X_LIBS="$X_LIBS -L$x_libraries"
13734 # For Solaris; some versions of Sun CC require a space after -R and
13735 # others require no space. Words are not sufficient . . . .
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13737 printf %s "checking whether -R must be followed by a space... " >&6; }
13738 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13739 ac_xsave_c_werror_flag=$ac_c_werror_flag
13740 ac_c_werror_flag=yes
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13745 main (void)
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"
13753 then :
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 printf "%s\n" "no" >&6; }
13756 X_LIBS="$X_LIBS -R$x_libraries"
13757 else $as_nop
13758 LIBS="$ac_xsave_LIBS -R $x_libraries"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13763 main (void)
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13773 printf "%s\n" "yes" >&6; }
13774 X_LIBS="$X_LIBS -R $x_libraries"
13775 else $as_nop
13776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13777 printf "%s\n" "neither works" >&6; }
13779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13780 conftest$ac_exeext conftest.$ac_ext
13782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13783 conftest$ac_exeext conftest.$ac_ext
13784 ac_c_werror_flag=$ac_xsave_c_werror_flag
13785 LIBS=$ac_xsave_LIBS
13788 # Check for system-dependent libraries X programs must link with.
13789 # Do this before checking for the system-independent R6 libraries
13790 # (-lICE), since we may need -lsocket or whatever for X linking.
13792 if test "$ISC" = yes; then
13793 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13794 else
13795 # Martyn Johnson says this is needed for Ultrix, if the X
13796 # libraries were built with DECnet support. And Karl Berry says
13797 # the Alpha needs dnet_stub (dnet does not exist).
13798 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13805 char XOpenDisplay ();
13807 main (void)
13809 return XOpenDisplay ();
13811 return 0;
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"
13815 then :
13817 else $as_nop
13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13819 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13820 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13821 then :
13822 printf %s "(cached) " >&6
13823 else $as_nop
13824 ac_check_lib_save_LIBS=$LIBS
13825 LIBS="-ldnet $LIBS"
13826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13832 char dnet_ntoa ();
13834 main (void)
13836 return dnet_ntoa ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"
13842 then :
13843 ac_cv_lib_dnet_dnet_ntoa=yes
13844 else $as_nop
13845 ac_cv_lib_dnet_dnet_ntoa=no
13847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13848 conftest$ac_exeext conftest.$ac_ext
13849 LIBS=$ac_check_lib_save_LIBS
13851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13852 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13853 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13854 then :
13855 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13858 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13860 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13861 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13862 then :
13863 printf %s "(cached) " >&6
13864 else $as_nop
13865 ac_check_lib_save_LIBS=$LIBS
13866 LIBS="-ldnet_stub $LIBS"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13870 /* Override any GCC internal prototype to avoid an error.
13871 Use char because int might match the return type of a GCC
13872 builtin and then its argument prototype would still apply. */
13873 char dnet_ntoa ();
13875 main (void)
13877 return dnet_ntoa ();
13879 return 0;
13881 _ACEOF
13882 if ac_fn_c_try_link "$LINENO"
13883 then :
13884 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13885 else $as_nop
13886 ac_cv_lib_dnet_stub_dnet_ntoa=no
13888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13889 conftest$ac_exeext conftest.$ac_ext
13890 LIBS=$ac_check_lib_save_LIBS
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13893 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13894 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13895 then :
13896 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS="$ac_xsave_LIBS"
13905 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13906 # to get the SysV transport functions.
13907 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13908 # needs -lnsl.
13909 # The nsl library prevents programs from opening the X display
13910 # on Irix 5.2, according to T.E. Dickey.
13911 # The functions gethostbyname, getservbyname, and inet_addr are
13912 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13913 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13914 if test "x$ac_cv_func_gethostbyname" = xyes
13915 then :
13919 if test $ac_cv_func_gethostbyname = no; then
13920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13921 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13922 if test ${ac_cv_lib_nsl_gethostbyname+y}
13923 then :
13924 printf %s "(cached) " >&6
13925 else $as_nop
13926 ac_check_lib_save_LIBS=$LIBS
13927 LIBS="-lnsl $LIBS"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 char gethostbyname ();
13936 main (void)
13938 return gethostbyname ();
13940 return 0;
13942 _ACEOF
13943 if ac_fn_c_try_link "$LINENO"
13944 then :
13945 ac_cv_lib_nsl_gethostbyname=yes
13946 else $as_nop
13947 ac_cv_lib_nsl_gethostbyname=no
13949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13950 conftest$ac_exeext conftest.$ac_ext
13951 LIBS=$ac_check_lib_save_LIBS
13953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13954 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13955 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13956 then :
13957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13960 if test $ac_cv_lib_nsl_gethostbyname = no; then
13961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13962 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13963 if test ${ac_cv_lib_bsd_gethostbyname+y}
13964 then :
13965 printf %s "(cached) " >&6
13966 else $as_nop
13967 ac_check_lib_save_LIBS=$LIBS
13968 LIBS="-lbsd $LIBS"
13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13972 /* Override any GCC internal prototype to avoid an error.
13973 Use char because int might match the return type of a GCC
13974 builtin and then its argument prototype would still apply. */
13975 char gethostbyname ();
13977 main (void)
13979 return gethostbyname ();
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"
13985 then :
13986 ac_cv_lib_bsd_gethostbyname=yes
13987 else $as_nop
13988 ac_cv_lib_bsd_gethostbyname=no
13990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS=$ac_check_lib_save_LIBS
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13995 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13996 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13997 then :
13998 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14004 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14005 # socket/setsockopt and other routines are undefined under SCO ODT
14006 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14007 # on later versions), says Simon Leinen: it contains gethostby*
14008 # variants that don't use the name server (or something). -lsocket
14009 # must be given before -lnsl if both are needed. We assume that
14010 # if connect needs -lnsl, so does gethostbyname.
14011 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14012 if test "x$ac_cv_func_connect" = xyes
14013 then :
14017 if test $ac_cv_func_connect = no; then
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14019 printf %s "checking for connect in -lsocket... " >&6; }
14020 if test ${ac_cv_lib_socket_connect+y}
14021 then :
14022 printf %s "(cached) " >&6
14023 else $as_nop
14024 ac_check_lib_save_LIBS=$LIBS
14025 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 /* Override any GCC internal prototype to avoid an error.
14030 Use char because int might match the return type of a GCC
14031 builtin and then its argument prototype would still apply. */
14032 char connect ();
14034 main (void)
14036 return connect ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"
14042 then :
14043 ac_cv_lib_socket_connect=yes
14044 else $as_nop
14045 ac_cv_lib_socket_connect=no
14047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14048 conftest$ac_exeext conftest.$ac_ext
14049 LIBS=$ac_check_lib_save_LIBS
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14052 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14053 if test "x$ac_cv_lib_socket_connect" = xyes
14054 then :
14055 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14060 # Guillermo Gomez says -lposix is necessary on A/UX.
14061 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14062 if test "x$ac_cv_func_remove" = xyes
14063 then :
14067 if test $ac_cv_func_remove = no; then
14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14069 printf %s "checking for remove in -lposix... " >&6; }
14070 if test ${ac_cv_lib_posix_remove+y}
14071 then :
14072 printf %s "(cached) " >&6
14073 else $as_nop
14074 ac_check_lib_save_LIBS=$LIBS
14075 LIBS="-lposix $LIBS"
14076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14082 char remove ();
14084 main (void)
14086 return remove ();
14088 return 0;
14090 _ACEOF
14091 if ac_fn_c_try_link "$LINENO"
14092 then :
14093 ac_cv_lib_posix_remove=yes
14094 else $as_nop
14095 ac_cv_lib_posix_remove=no
14097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_lib_save_LIBS
14101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14102 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14103 if test "x$ac_cv_lib_posix_remove" = xyes
14104 then :
14105 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14110 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14111 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14112 if test "x$ac_cv_func_shmat" = xyes
14113 then :
14117 if test $ac_cv_func_shmat = no; then
14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14119 printf %s "checking for shmat in -lipc... " >&6; }
14120 if test ${ac_cv_lib_ipc_shmat+y}
14121 then :
14122 printf %s "(cached) " >&6
14123 else $as_nop
14124 ac_check_lib_save_LIBS=$LIBS
14125 LIBS="-lipc $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 char shmat ();
14134 main (void)
14136 return shmat ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"
14142 then :
14143 ac_cv_lib_ipc_shmat=yes
14144 else $as_nop
14145 ac_cv_lib_ipc_shmat=no
14147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14148 conftest$ac_exeext conftest.$ac_ext
14149 LIBS=$ac_check_lib_save_LIBS
14151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14152 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14153 if test "x$ac_cv_lib_ipc_shmat" = xyes
14154 then :
14155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14161 # Check for libraries that X11R6 Xt/Xaw programs need.
14162 ac_save_LDFLAGS=$LDFLAGS
14163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14165 # check for ICE first), but we must link in the order -lSM -lICE or
14166 # we get undefined symbols. So assume we have SM if we have ICE.
14167 # These have to be linked with before -lX11, unlike the other
14168 # libraries we check for below, so use a different variable.
14169 # John Interrante, Karl Berry
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14171 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14172 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14173 then :
14174 printf %s "(cached) " >&6
14175 else $as_nop
14176 ac_check_lib_save_LIBS=$LIBS
14177 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 char IceConnectionNumber ();
14186 main (void)
14188 return IceConnectionNumber ();
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"
14194 then :
14195 ac_cv_lib_ICE_IceConnectionNumber=yes
14196 else $as_nop
14197 ac_cv_lib_ICE_IceConnectionNumber=no
14199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_lib_save_LIBS
14203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14204 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14205 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14206 then :
14207 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14210 LDFLAGS=$ac_save_LDFLAGS
14215 if test "$have_x" = "yes"
14216 then
14217 ac_save_CPPFLAGS="$CPPFLAGS"
14218 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14221 printf %s "checking for -lX11... " >&6; }
14222 if test ${ac_cv_lib_soname_X11+y}
14223 then :
14224 printf %s "(cached) " >&6
14225 else $as_nop
14226 ac_check_soname_save_LIBS=$LIBS
14227 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14234 char XCreateWindow ();
14236 main (void)
14238 return XCreateWindow ();
14240 return 0;
14242 _ACEOF
14243 if ac_fn_c_try_link "$LINENO"
14244 then :
14245 case "$LIBEXT" in
14246 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14247 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'` ;;
14248 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14249 if ${ac_cv_lib_soname_X11:+false} :
14250 then :
14251 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14252 fi ;;
14253 esac
14254 else $as_nop
14255 ac_cv_lib_soname_X11=
14257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14258 conftest$ac_exeext conftest.$ac_ext
14259 LIBS=$ac_check_soname_save_LIBS
14261 if ${ac_cv_lib_soname_X11:+false} :
14262 then :
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14264 printf "%s\n" "not found" >&6; }
14266 else $as_nop
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14268 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14270 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14275 printf %s "checking for -lXext... " >&6; }
14276 if test ${ac_cv_lib_soname_Xext+y}
14277 then :
14278 printf %s "(cached) " >&6
14279 else $as_nop
14280 ac_check_soname_save_LIBS=$LIBS
14281 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 char XextCreateExtension ();
14290 main (void)
14292 return XextCreateExtension ();
14294 return 0;
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"
14298 then :
14299 case "$LIBEXT" in
14300 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14301 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'` ;;
14302 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14303 if ${ac_cv_lib_soname_Xext:+false} :
14304 then :
14305 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14306 fi ;;
14307 esac
14308 else $as_nop
14309 ac_cv_lib_soname_Xext=
14311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14312 conftest$ac_exeext conftest.$ac_ext
14313 LIBS=$ac_check_soname_save_LIBS
14315 if ${ac_cv_lib_soname_Xext:+false} :
14316 then :
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14318 printf "%s\n" "not found" >&6; }
14320 else $as_nop
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14322 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14324 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14326 X_LIBS="$X_LIBS -lXext"
14328 X_LIBS="$X_LIBS -lX11"
14330 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14331 # include <X11/Xlib.h>
14332 #endif
14333 #ifdef HAVE_X11_XUTIL_H
14334 # include <X11/Xutil.h>
14335 #endif
14337 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14338 then :
14339 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14342 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14343 # include <X11/Xlib.h>
14344 #endif
14345 #ifdef HAVE_X11_XUTIL_H
14346 # include <X11/Xutil.h>
14347 #endif
14349 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14350 then :
14351 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14354 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14355 # include <X11/Xlib.h>
14356 #endif
14357 #ifdef HAVE_X11_XUTIL_H
14358 # include <X11/Xutil.h>
14359 #endif
14361 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14362 then :
14363 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14367 # include <X11/Xlib.h>
14368 #endif
14369 #ifdef HAVE_X11_XUTIL_H
14370 # include <X11/Xutil.h>
14371 #endif
14373 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14374 then :
14375 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14378 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14379 # include <X11/Xlib.h>
14380 #endif
14381 #ifdef HAVE_X11_XUTIL_H
14382 # include <X11/Xutil.h>
14383 #endif
14385 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14386 then :
14387 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14390 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14391 # include <X11/Xlib.h>
14392 #endif
14393 #ifdef HAVE_X11_XUTIL_H
14394 # include <X11/Xutil.h>
14395 #endif
14397 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14398 then :
14399 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14402 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14403 # include <X11/Xlib.h>
14404 #endif
14405 #ifdef HAVE_X11_XUTIL_H
14406 # include <X11/Xutil.h>
14407 #endif
14409 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14410 then :
14411 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14414 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14415 # include <X11/Xlib.h>
14416 #endif
14417 #ifdef HAVE_X11_XUTIL_H
14418 # include <X11/Xutil.h>
14419 #endif
14421 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14422 then :
14423 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14426 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14427 # include <X11/Xlib.h>
14428 #endif
14429 #ifdef HAVE_X11_XUTIL_H
14430 # include <X11/Xutil.h>
14431 #endif
14433 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14434 then :
14435 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14438 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14439 # include <X11/Xlib.h>
14440 #endif
14441 #ifdef HAVE_X11_XUTIL_H
14442 # include <X11/Xutil.h>
14443 #endif
14445 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14446 then :
14447 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14450 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14451 # include <X11/Xlib.h>
14452 #endif
14453 #ifdef HAVE_X11_XUTIL_H
14454 # include <X11/Xutil.h>
14455 #endif
14457 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14458 then :
14459 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14462 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14463 # include <X11/Xlib.h>
14464 #endif
14465 #ifdef HAVE_X11_XUTIL_H
14466 # include <X11/Xutil.h>
14467 #endif
14469 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14470 then :
14471 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14474 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14475 # include <X11/Xlib.h>
14476 #endif
14477 #ifdef HAVE_X11_XUTIL_H
14478 # include <X11/Xutil.h>
14479 #endif
14481 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14482 then :
14483 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14486 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14487 # include <X11/Xlib.h>
14488 #endif
14489 #ifdef HAVE_X11_XUTIL_H
14490 # include <X11/Xutil.h>
14491 #endif
14493 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14494 then :
14495 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14498 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14499 # include <X11/Xlib.h>
14500 #endif
14501 #ifdef HAVE_X11_XUTIL_H
14502 # include <X11/Xutil.h>
14503 #endif
14505 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14506 then :
14507 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14512 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14513 then
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14515 printf %s "checking for -lXcursor... " >&6; }
14516 if test ${ac_cv_lib_soname_Xcursor+y}
14517 then :
14518 printf %s "(cached) " >&6
14519 else $as_nop
14520 ac_check_soname_save_LIBS=$LIBS
14521 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 char XcursorImageLoadCursor ();
14530 main (void)
14532 return XcursorImageLoadCursor ();
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"
14538 then :
14539 case "$LIBEXT" in
14540 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14541 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'` ;;
14542 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14543 if ${ac_cv_lib_soname_Xcursor:+false} :
14544 then :
14545 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14546 fi ;;
14547 esac
14548 else $as_nop
14549 ac_cv_lib_soname_Xcursor=
14551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_soname_save_LIBS
14555 if ${ac_cv_lib_soname_Xcursor:+false} :
14556 then :
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14558 printf "%s\n" "not found" >&6; }
14560 else $as_nop
14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14562 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14564 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14569 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14570 then :
14571 case "x$with_xcursor" in
14572 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14573 xno) ;;
14574 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14575 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14576 esac
14580 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14581 then
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14583 printf %s "checking for -lXi... " >&6; }
14584 if test ${ac_cv_lib_soname_Xi+y}
14585 then :
14586 printf %s "(cached) " >&6
14587 else $as_nop
14588 ac_check_soname_save_LIBS=$LIBS
14589 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char XOpenDevice ();
14598 main (void)
14600 return XOpenDevice ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"
14606 then :
14607 case "$LIBEXT" in
14608 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_Xi:+false} :
14612 then :
14613 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14614 fi ;;
14615 esac
14616 else $as_nop
14617 ac_cv_lib_soname_Xi=
14619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_Xi:+false} :
14624 then :
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14626 printf "%s\n" "not found" >&6; }
14628 else $as_nop
14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14630 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14632 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14637 if test "x$ac_cv_lib_soname_Xi" = "x"
14638 then :
14639 case "x$with_xinput" in
14640 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14641 xno) ;;
14642 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14643 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14644 esac
14648 if test "x$ac_cv_lib_soname_Xi" != x
14649 then
14650 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14651 then :
14652 case "x$with_xinput2" in
14653 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14654 xno) ;;
14655 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14656 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14657 esac
14662 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14663 then
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14665 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14666 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14667 then :
14668 printf %s "(cached) " >&6
14669 else $as_nop
14670 ac_check_lib_save_LIBS=$LIBS
14671 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 char XShmQueryExtension ();
14680 main (void)
14682 return XShmQueryExtension ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"
14688 then :
14689 ac_cv_lib_Xext_XShmQueryExtension=yes
14690 else $as_nop
14691 ac_cv_lib_Xext_XShmQueryExtension=no
14693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14694 conftest$ac_exeext conftest.$ac_ext
14695 LIBS=$ac_check_lib_save_LIBS
14697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14698 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14699 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14700 then :
14702 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14707 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14708 then :
14709 case "x$with_xshm" in
14710 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14711 xno) ;;
14712 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14713 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14714 esac
14718 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14719 then
14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14721 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14722 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14723 then :
14724 printf %s "(cached) " >&6
14725 else $as_nop
14726 ac_check_lib_save_LIBS=$LIBS
14727 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14734 char XShapeQueryExtension ();
14736 main (void)
14738 return XShapeQueryExtension ();
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"
14744 then :
14745 ac_cv_lib_Xext_XShapeQueryExtension=yes
14746 else $as_nop
14747 ac_cv_lib_Xext_XShapeQueryExtension=no
14749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14754 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14755 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14756 then :
14758 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14763 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14764 then :
14765 case "x$with_xshape" in
14766 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14767 xno) ;;
14768 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14769 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14770 esac
14774 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14775 then
14776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14777 printf %s "checking for -lXxf86vm... " >&6; }
14778 if test ${ac_cv_lib_soname_Xxf86vm+y}
14779 then :
14780 printf %s "(cached) " >&6
14781 else $as_nop
14782 ac_check_soname_save_LIBS=$LIBS
14783 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14790 char XF86VidModeQueryExtension ();
14792 main (void)
14794 return XF86VidModeQueryExtension ();
14796 return 0;
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"
14800 then :
14801 case "$LIBEXT" in
14802 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14803 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'` ;;
14804 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14805 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14806 then :
14807 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14808 fi ;;
14809 esac
14810 else $as_nop
14811 ac_cv_lib_soname_Xxf86vm=
14813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_soname_save_LIBS
14817 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14818 then :
14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14820 printf "%s\n" "not found" >&6; }
14822 else $as_nop
14823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14824 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14826 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14831 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14832 then :
14833 case "x$with_xxf86vm" in
14834 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14835 xno) ;;
14836 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14837 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14838 esac
14842 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14843 then
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14845 printf %s "checking for -lXrender... " >&6; }
14846 if test ${ac_cv_lib_soname_Xrender+y}
14847 then :
14848 printf %s "(cached) " >&6
14849 else $as_nop
14850 ac_check_soname_save_LIBS=$LIBS
14851 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XRenderQueryExtension ();
14860 main (void)
14862 return XRenderQueryExtension ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"
14868 then :
14869 case "$LIBEXT" in
14870 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14871 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'` ;;
14872 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14873 if ${ac_cv_lib_soname_Xrender:+false} :
14874 then :
14875 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14876 fi ;;
14877 esac
14878 else $as_nop
14879 ac_cv_lib_soname_Xrender=
14881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14882 conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_soname_save_LIBS
14885 if ${ac_cv_lib_soname_Xrender:+false} :
14886 then :
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14888 printf "%s\n" "not found" >&6; }
14890 else $as_nop
14891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14892 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14894 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14897 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14898 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14899 then :
14900 printf %s "(cached) " >&6
14901 else $as_nop
14902 ac_check_lib_save_LIBS=$LIBS
14903 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14910 char XRenderSetPictureTransform ();
14912 main (void)
14914 return XRenderSetPictureTransform ();
14916 return 0;
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"
14920 then :
14921 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14922 else $as_nop
14923 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14926 conftest$ac_exeext conftest.$ac_ext
14927 LIBS=$ac_check_lib_save_LIBS
14929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14930 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14931 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14932 then :
14934 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14939 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14940 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14941 then :
14942 printf %s "(cached) " >&6
14943 else $as_nop
14944 ac_check_lib_save_LIBS=$LIBS
14945 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 char XRenderCreateLinearGradient ();
14954 main (void)
14956 return XRenderCreateLinearGradient ();
14958 return 0;
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"
14962 then :
14963 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14964 else $as_nop
14965 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14968 conftest$ac_exeext conftest.$ac_ext
14969 LIBS=$ac_check_lib_save_LIBS
14971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14972 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14973 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14974 then :
14976 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14983 if test "x$ac_cv_lib_soname_Xrender" = "x"
14984 then :
14985 case "x$with_xrender" in
14986 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14987 xno) ;;
14988 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14989 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14990 esac
14994 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14995 then
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 #include <X11/Xlib.h>
14999 #include <X11/extensions/Xrandr.h>
15001 main (void)
15003 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_compile "$LINENO"
15009 then :
15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15011 printf %s "checking for -lXrandr... " >&6; }
15012 if test ${ac_cv_lib_soname_Xrandr+y}
15013 then :
15014 printf %s "(cached) " >&6
15015 else $as_nop
15016 ac_check_soname_save_LIBS=$LIBS
15017 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 char XRRQueryExtension ();
15026 main (void)
15028 return XRRQueryExtension ();
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"
15034 then :
15035 case "$LIBEXT" in
15036 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15037 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'` ;;
15038 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15039 if ${ac_cv_lib_soname_Xrandr:+false} :
15040 then :
15041 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15042 fi ;;
15043 esac
15044 else $as_nop
15045 ac_cv_lib_soname_Xrandr=
15047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15048 conftest$ac_exeext conftest.$ac_ext
15049 LIBS=$ac_check_soname_save_LIBS
15051 if ${ac_cv_lib_soname_Xrandr:+false} :
15052 then :
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15054 printf "%s\n" "not found" >&6; }
15056 else $as_nop
15057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15058 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15060 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 #include <X11/Xlib.h>
15065 #include <X11/extensions/Xrandr.h>
15067 main (void)
15069 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15071 return 0;
15073 _ACEOF
15074 if ac_fn_c_try_compile "$LINENO"
15075 then :
15077 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15079 else $as_nop
15080 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15087 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15088 then :
15089 case "x$with_xrandr" in
15090 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15091 xno) ;;
15092 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15093 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15094 esac
15098 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15099 then
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15102 #include <X11/Xlib.h>
15103 #include <X11/extensions/Xfixes.h>
15105 main (void)
15107 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_compile "$LINENO"
15113 then :
15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15115 printf %s "checking for -lXfixes... " >&6; }
15116 if test ${ac_cv_lib_soname_Xfixes+y}
15117 then :
15118 printf %s "(cached) " >&6
15119 else $as_nop
15120 ac_check_soname_save_LIBS=$LIBS
15121 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15125 /* Override any GCC internal prototype to avoid an error.
15126 Use char because int might match the return type of a GCC
15127 builtin and then its argument prototype would still apply. */
15128 char XFixesQueryVersion ();
15130 main (void)
15132 return XFixesQueryVersion ();
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_link "$LINENO"
15138 then :
15139 case "$LIBEXT" in
15140 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15141 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'` ;;
15142 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15143 if ${ac_cv_lib_soname_Xfixes:+false} :
15144 then :
15145 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15146 fi ;;
15147 esac
15148 else $as_nop
15149 ac_cv_lib_soname_Xfixes=
15151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15152 conftest$ac_exeext conftest.$ac_ext
15153 LIBS=$ac_check_soname_save_LIBS
15155 if ${ac_cv_lib_soname_Xfixes:+false} :
15156 then :
15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15158 printf "%s\n" "not found" >&6; }
15160 else $as_nop
15161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15162 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15164 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15171 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15172 then :
15173 case "x$with_xfixes" in
15174 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15175 xno) ;;
15176 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15177 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15178 esac
15182 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15183 then
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186 #include <X11/Xlib.h>
15187 #include <X11/extensions/Xinerama.h>
15189 main (void)
15191 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_compile "$LINENO"
15197 then :
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15199 printf %s "checking for -lXinerama... " >&6; }
15200 if test ${ac_cv_lib_soname_Xinerama+y}
15201 then :
15202 printf %s "(cached) " >&6
15203 else $as_nop
15204 ac_check_soname_save_LIBS=$LIBS
15205 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 char XineramaQueryScreens ();
15214 main (void)
15216 return XineramaQueryScreens ();
15218 return 0;
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"
15222 then :
15223 case "$LIBEXT" in
15224 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15225 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'` ;;
15226 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15227 if ${ac_cv_lib_soname_Xinerama:+false} :
15228 then :
15229 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15230 fi ;;
15231 esac
15232 else $as_nop
15233 ac_cv_lib_soname_Xinerama=
15235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15236 conftest$ac_exeext conftest.$ac_ext
15237 LIBS=$ac_check_soname_save_LIBS
15239 if ${ac_cv_lib_soname_Xinerama:+false} :
15240 then :
15241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15242 printf "%s\n" "not found" >&6; }
15244 else $as_nop
15245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15246 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15248 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15255 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15256 then :
15257 case "x$with_xinerama" in
15258 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15259 xno) ;;
15260 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15261 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15262 esac
15266 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15267 then
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15269 printf %s "checking for -lXcomposite... " >&6; }
15270 if test ${ac_cv_lib_soname_Xcomposite+y}
15271 then :
15272 printf %s "(cached) " >&6
15273 else $as_nop
15274 ac_check_soname_save_LIBS=$LIBS
15275 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 char XCompositeRedirectWindow ();
15284 main (void)
15286 return XCompositeRedirectWindow ();
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_link "$LINENO"
15292 then :
15293 case "$LIBEXT" in
15294 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15295 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'` ;;
15296 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15297 if ${ac_cv_lib_soname_Xcomposite:+false} :
15298 then :
15299 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 fi ;;
15301 esac
15302 else $as_nop
15303 ac_cv_lib_soname_Xcomposite=
15305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_Xcomposite:+false} :
15310 then :
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 printf "%s\n" "not found" >&6; }
15314 else $as_nop
15315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15316 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15318 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15323 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15324 then :
15325 case "x$with_xcomposite" in
15326 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15327 xno) ;;
15328 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15329 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15330 esac
15334 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15335 #include <X11/Xlib.h>
15336 #endif
15338 if test "x$ac_cv_member_XICCallback_callback" = xyes
15339 then :
15341 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15345 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15346 #include <X11/Xlib.h>
15347 #endif
15349 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15350 then :
15352 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15359 opengl_msg=""
15360 if test "x$with_opengl" != "xno"
15361 then
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15363 printf %s "checking for -lGL... " >&6; }
15364 if test ${ac_cv_lib_soname_GL+y}
15365 then :
15366 printf %s "(cached) " >&6
15367 else $as_nop
15368 ac_check_soname_save_LIBS=$LIBS
15369 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 char glXCreateContext ();
15378 main (void)
15380 return glXCreateContext ();
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_link "$LINENO"
15386 then :
15387 case "$LIBEXT" in
15388 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15389 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'` ;;
15390 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15391 if ${ac_cv_lib_soname_GL:+false} :
15392 then :
15393 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15394 fi ;;
15395 esac
15396 else $as_nop
15397 ac_cv_lib_soname_GL=
15399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_GL:+false} :
15404 then :
15405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15406 printf "%s\n" "not found" >&6; }
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15408 printf %s "checking for -lGL... " >&6; }
15409 if test ${ac_cv_lib_soname_GL+y}
15410 then :
15411 printf %s "(cached) " >&6
15412 else $as_nop
15413 ac_check_soname_save_LIBS=$LIBS
15414 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"
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15418 /* Override any GCC internal prototype to avoid an error.
15419 Use char because int might match the return type of a GCC
15420 builtin and then its argument prototype would still apply. */
15421 char glXCreateContext ();
15423 main (void)
15425 return glXCreateContext ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"
15431 then :
15432 case "$LIBEXT" in
15433 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 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'` ;;
15435 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_GL:+false} :
15437 then :
15438 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15439 fi ;;
15440 esac
15441 else $as_nop
15442 ac_cv_lib_soname_GL=
15444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_GL:+false} :
15449 then :
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15451 printf "%s\n" "not found" >&6; }
15452 if test -f /usr/X11R6/lib/libGL.a
15453 then
15454 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15455 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15456 else
15457 opengl_msg="No OpenGL library found on this system."
15459 else $as_nop
15460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15461 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15463 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15465 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"
15467 else $as_nop
15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15469 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15471 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15473 OPENGL_LIBS="-lGL"
15475 if test "x$with_osmesa" != "xno"
15476 then
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15478 printf %s "checking for -lOSMesa... " >&6; }
15479 if test ${ac_cv_lib_soname_OSMesa+y}
15480 then :
15481 printf %s "(cached) " >&6
15482 else $as_nop
15483 ac_check_soname_save_LIBS=$LIBS
15484 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 char OSMesaGetProcAddress ();
15493 main (void)
15495 return OSMesaGetProcAddress ();
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"
15501 then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_OSMesa:+false} :
15507 then :
15508 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15509 fi ;;
15510 esac
15511 else $as_nop
15512 ac_cv_lib_soname_OSMesa=
15514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15515 conftest$ac_exeext conftest.$ac_ext
15516 LIBS=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_OSMesa:+false} :
15519 then :
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 printf "%s\n" "not found" >&6; }
15523 else $as_nop
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15527 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15531 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15532 then :
15533 case "x$with_osmesa" in
15534 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15535 xno) ;;
15536 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15537 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15538 esac
15543 if test -n "$opengl_msg"
15544 then :
15545 case "x$with_opengl" in
15546 x) as_fn_append wine_warnings "|$opengl_msg
15547 OpenGL and Direct3D won't be supported." ;;
15548 xno) ;;
15549 *) as_fn_error $? "$opengl_msg
15550 OpenGL and Direct3D won't be supported.
15551 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15552 esac
15556 CPPFLAGS="$ac_save_CPPFLAGS"
15557 else
15558 X_CFLAGS=""
15559 X_LIBS=""
15562 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15563 then
15564 if test "x$X_LIBS" = "x"
15565 then :
15566 case "x$with_x" in
15567 xno) ;;
15568 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15569 without X support, which probably isn't what you want. You will need
15570 to install ${notice_platform}development packages of Xlib at the very least.
15571 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15572 esac
15573 enable_winex11_drv=${enable_winex11_drv:-no}
15575 else
15576 if test "x$X_LIBS" = "x"
15577 then :
15578 case "x$with_x" in
15579 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15582 This is an error since --with-x was requested." "$LINENO" 5 ;;
15583 esac
15584 enable_winex11_drv=${enable_winex11_drv:-no}
15588 if test "x$with_wayland" != "xno"
15589 then
15590 rm -f conftest.err
15591 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15592 then :
15593 if test ${PKG_CONFIG+y}
15594 then :
15595 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15599 if ${WAYLAND_CLIENT_LIBS:+false} :
15600 then :
15601 if test ${PKG_CONFIG+y}
15602 then :
15603 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15610 if test -s conftest.err; then
15611 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15612 cat conftest.err >&5
15614 rm -f conftest.err
15615 ac_save_CPPFLAGS=$CPPFLAGS
15616 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15617 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15618 if test "x$ac_cv_header_wayland_client_h" = xyes
15619 then :
15620 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 :
15662 else $as_nop
15663 WAYLAND_CLIENT_LIBS=""
15666 CPPFLAGS=$ac_save_CPPFLAGS
15669 if test -z "$WAYLAND_CLIENT_LIBS"
15670 then :
15671 case "x$with_wayland" in
15672 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15673 xno) ;;
15674 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15675 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15676 esac
15677 enable_winewayland_drv=${enable_winewayland_drv:-no}
15680 if test "$ac_cv_header_CL_cl_h" = "yes"
15681 then
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15683 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15684 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15685 then :
15686 printf %s "(cached) " >&6
15687 else $as_nop
15688 ac_check_lib_save_LIBS=$LIBS
15689 LIBS="-lOpenCL $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 char clGetPlatformInfo ();
15698 main (void)
15700 return clGetPlatformInfo ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"
15706 then :
15707 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15708 else $as_nop
15709 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_lib_save_LIBS
15715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15716 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15717 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15718 then :
15719 OPENCL_LIBS="-lOpenCL"
15724 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15725 then :
15726 case "x$with_opencl" in
15727 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15728 xno) ;;
15729 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15730 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15731 esac
15732 enable_opencl=${enable_opencl:-no}
15735 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15736 then
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15738 printf %s "checking for pcap_init in -lpcap... " >&6; }
15739 if test ${ac_cv_lib_pcap_pcap_init+y}
15740 then :
15741 printf %s "(cached) " >&6
15742 else $as_nop
15743 ac_check_lib_save_LIBS=$LIBS
15744 LIBS="-lpcap $LIBS"
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15751 char pcap_init ();
15753 main (void)
15755 return pcap_init ();
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"
15761 then :
15762 ac_cv_lib_pcap_pcap_init=yes
15763 else $as_nop
15764 ac_cv_lib_pcap_pcap_init=no
15766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15767 conftest$ac_exeext conftest.$ac_ext
15768 LIBS=$ac_check_lib_save_LIBS
15770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15771 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15772 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15773 then :
15774 PCAP_LIBS="-lpcap"
15779 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15780 then :
15781 case "x$with_pcap" in
15782 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15783 xno) ;;
15784 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15785 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15786 esac
15787 enable_wpcap=${enable_wpcap:-no}
15790 if test "x$with_pcsclite" != "xno"
15791 then
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15793 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15794 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15795 then :
15796 printf %s "(cached) " >&6
15797 else $as_nop
15798 ac_check_lib_save_LIBS=$LIBS
15799 LIBS="-lpcsclite $LIBS"
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 char SCardEstablishContext ();
15808 main (void)
15810 return SCardEstablishContext ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"
15816 then :
15817 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15818 else $as_nop
15819 ac_cv_lib_pcsclite_SCardEstablishContext=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15822 conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_lib_save_LIBS
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15826 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15827 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15828 then :
15829 PCSCLITE_LIBS="-lpcsclite"
15834 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15835 then :
15836 case "x$with_pcsclite" in
15837 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15838 xno) ;;
15839 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15840 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15841 esac
15842 enable_winscard=${enable_winscard:-no}
15845 if test "x$with_inotify" != "xno"
15846 then
15847 rm -f conftest.err
15848 if ${INOTIFY_CFLAGS:+false} :
15849 then :
15850 if test ${PKG_CONFIG+y}
15851 then :
15852 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15856 if ${INOTIFY_LIBS:+false} :
15857 then :
15858 if test ${PKG_CONFIG+y}
15859 then :
15860 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15867 if test -s conftest.err; then
15868 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15869 cat conftest.err >&5
15871 rm -f conftest.err
15872 ac_save_CPPFLAGS=$CPPFLAGS
15873 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15874 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15875 if test "x$ac_cv_header_sys_inotify_h" = xyes
15876 then :
15877 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15882 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15883 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15884 then :
15885 printf %s "(cached) " >&6
15886 else $as_nop
15887 ac_check_lib_save_LIBS=$LIBS
15888 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 char inotify_add_watch ();
15897 main (void)
15899 return inotify_add_watch ();
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_link "$LINENO"
15905 then :
15906 ac_cv_lib_inotify_inotify_add_watch=yes
15907 else $as_nop
15908 ac_cv_lib_inotify_inotify_add_watch=no
15910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15911 conftest$ac_exeext conftest.$ac_ext
15912 LIBS=$ac_check_lib_save_LIBS
15914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15915 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15916 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15917 then :
15919 else $as_nop
15920 INOTIFY_LIBS=""
15923 CPPFLAGS=$ac_save_CPPFLAGS
15926 if test "$ac_cv_header_sys_inotify_h" != "yes"
15927 then :
15928 case "x$with_inotify" in
15929 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15930 xno) ;;
15931 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15932 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15933 esac
15937 if test "x$with_dbus" != "xno"
15938 then
15939 rm -f conftest.err
15940 if ${DBUS_CFLAGS:+false} :
15941 then :
15942 if test ${PKG_CONFIG+y}
15943 then :
15944 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15948 if ${DBUS_LIBS:+false} :
15949 then :
15950 if test ${PKG_CONFIG+y}
15951 then :
15952 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15959 if test -s conftest.err; then
15960 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15961 cat conftest.err >&5
15963 rm -f conftest.err
15964 ac_save_CPPFLAGS=$CPPFLAGS
15965 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15966 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15967 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15968 then :
15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15970 printf %s "checking for -ldbus-1... " >&6; }
15971 if test ${ac_cv_lib_soname_dbus_1+y}
15972 then :
15973 printf %s "(cached) " >&6
15974 else $as_nop
15975 ac_check_soname_save_LIBS=$LIBS
15976 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15983 char dbus_connection_close ();
15985 main (void)
15987 return dbus_connection_close ();
15989 return 0;
15991 _ACEOF
15992 if ac_fn_c_try_link "$LINENO"
15993 then :
15994 case "$LIBEXT" in
15995 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15996 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'` ;;
15997 *) 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'`
15998 if ${ac_cv_lib_soname_dbus_1:+false} :
15999 then :
16000 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16001 fi ;;
16002 esac
16003 else $as_nop
16004 ac_cv_lib_soname_dbus_1=
16006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16007 conftest$ac_exeext conftest.$ac_ext
16008 LIBS=$ac_check_soname_save_LIBS
16010 if ${ac_cv_lib_soname_dbus_1:+false} :
16011 then :
16012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16013 printf "%s\n" "not found" >&6; }
16014 DBUS_CFLAGS=""
16015 else $as_nop
16016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16017 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16019 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16023 else $as_nop
16024 DBUS_CFLAGS=""
16027 CPPFLAGS=$ac_save_CPPFLAGS
16030 case $host_os in
16031 darwin*|macosx*) ;;
16032 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16033 then :
16034 case "x$with_dbus" in
16035 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16036 xno) ;;
16037 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16038 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16039 esac
16041 fi ;;
16042 esac
16044 if test "x$with_gnutls" != "xno"
16045 then
16046 rm -f conftest.err
16047 if ${GNUTLS_CFLAGS:+false} :
16048 then :
16049 if test ${PKG_CONFIG+y}
16050 then :
16051 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16055 if ${GNUTLS_LIBS:+false} :
16056 then :
16057 if test ${PKG_CONFIG+y}
16058 then :
16059 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16063 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16066 if test -s conftest.err; then
16067 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16068 cat conftest.err >&5
16070 rm -f conftest.err
16071 ac_save_CPPFLAGS=$CPPFLAGS
16072 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16073 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16074 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16075 then :
16076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16077 /* end confdefs.h. */
16078 #include <gnutls/gnutls.h>
16079 #include <gnutls/crypto.h>
16081 main (void)
16083 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16085 return 0;
16087 _ACEOF
16088 if ac_fn_c_try_compile "$LINENO"
16089 then :
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16091 printf %s "checking for -lgnutls... " >&6; }
16092 if test ${ac_cv_lib_soname_gnutls+y}
16093 then :
16094 printf %s "(cached) " >&6
16095 else $as_nop
16096 ac_check_soname_save_LIBS=$LIBS
16097 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 char gnutls_global_init ();
16106 main (void)
16108 return gnutls_global_init ();
16110 return 0;
16112 _ACEOF
16113 if ac_fn_c_try_link "$LINENO"
16114 then :
16115 case "$LIBEXT" in
16116 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) 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'`
16119 if ${ac_cv_lib_soname_gnutls:+false} :
16120 then :
16121 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'`
16122 fi ;;
16123 esac
16124 else $as_nop
16125 ac_cv_lib_soname_gnutls=
16127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16128 conftest$ac_exeext conftest.$ac_ext
16129 LIBS=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_gnutls:+false} :
16132 then :
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 printf "%s\n" "not found" >&6; }
16135 GNUTLS_CFLAGS=""
16136 else $as_nop
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16138 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16140 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16144 ac_wine_check_funcs_save_LIBS="$LIBS"
16145 LIBS="$LIBS $GNUTLS_LIBS"
16147 for ac_func in gnutls_cipher_init
16148 do :
16149 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16150 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16151 then :
16152 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16154 else $as_nop
16155 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16158 done
16159 LIBS="$ac_wine_check_funcs_save_LIBS"
16161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16162 else $as_nop
16163 GNUTLS_CFLAGS=""
16166 CPPFLAGS=$ac_save_CPPFLAGS
16169 if test "x$ac_cv_lib_soname_gnutls" = "x"
16170 then :
16171 case "x$with_gnutls" in
16172 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16173 xno) ;;
16174 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16175 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16176 esac
16180 if test "x$with_sane" != "xno"
16181 then
16182 rm -f conftest.err
16183 if ${SANE_CFLAGS:+false} :
16184 then :
16185 if test ${PKG_CONFIG+y}
16186 then :
16187 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16190 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16191 if ${SANE_LIBS:+false} :
16192 then :
16193 if test ${PKG_CONFIG+y}
16194 then :
16195 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16198 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16202 if test -s conftest.err; then
16203 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16204 cat conftest.err >&5
16206 rm -f conftest.err
16207 ac_save_CPPFLAGS=$CPPFLAGS
16208 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16209 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_sane_sane_h" = xyes
16211 then :
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16213 printf %s "checking for sane_init in -lsane... " >&6; }
16214 if test ${ac_cv_lib_sane_sane_init+y}
16215 then :
16216 printf %s "(cached) " >&6
16217 else $as_nop
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-lsane $SANE_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char sane_init ();
16228 main (void)
16230 return sane_init ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"
16236 then :
16237 ac_cv_lib_sane_sane_init=yes
16238 else $as_nop
16239 ac_cv_lib_sane_sane_init=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16242 conftest$ac_exeext conftest.$ac_ext
16243 LIBS=$ac_check_lib_save_LIBS
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16246 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16247 if test "x$ac_cv_lib_sane_sane_init" = xyes
16248 then :
16254 CPPFLAGS=$ac_save_CPPFLAGS
16257 if test "$ac_cv_lib_sane_sane_init" != "yes"
16258 then :
16259 case "x$with_sane" in
16260 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16261 xno) ;;
16262 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16263 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16264 esac
16265 enable_sane_ds=${enable_sane_ds:-no}
16268 if test "x$with_usb" != "xno"
16269 then
16270 rm -f conftest.err
16271 if ${USB_CFLAGS:+false} :
16272 then :
16273 if test ${PKG_CONFIG+y}
16274 then :
16275 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16279 if ${USB_LIBS:+false} :
16280 then :
16281 if test ${PKG_CONFIG+y}
16282 then :
16283 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16287 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16290 if test -s conftest.err; then
16291 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16292 cat conftest.err >&5
16294 rm -f conftest.err
16295 ac_save_CPPFLAGS=$CPPFLAGS
16296 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16297 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16298 if test "x$ac_cv_header_libusb_h" = xyes
16299 then :
16300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16301 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16302 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16303 then :
16304 printf %s "(cached) " >&6
16305 else $as_nop
16306 ac_check_lib_save_LIBS=$LIBS
16307 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16311 /* Override any GCC internal prototype to avoid an error.
16312 Use char because int might match the return type of a GCC
16313 builtin and then its argument prototype would still apply. */
16314 char libusb_interrupt_event_handler ();
16316 main (void)
16318 return libusb_interrupt_event_handler ();
16320 return 0;
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"
16324 then :
16325 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16326 else $as_nop
16327 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16330 conftest$ac_exeext conftest.$ac_ext
16331 LIBS=$ac_check_lib_save_LIBS
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16334 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16335 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16336 then :
16338 else $as_nop
16339 USB_LIBS=""
16342 else $as_nop
16343 USB_LIBS=""
16346 CPPFLAGS=$ac_save_CPPFLAGS
16349 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16350 then :
16351 case "x$with_usb" in
16352 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16353 xno) ;;
16354 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16355 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16356 esac
16357 enable_wineusb_sys=${enable_wineusb_sys:-no}
16360 if test "x$with_v4l2" != "xno"
16361 then
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16363 printf %s "checking for -lv4l2... " >&6; }
16364 if test ${ac_cv_lib_soname_v4l2+y}
16365 then :
16366 printf %s "(cached) " >&6
16367 else $as_nop
16368 ac_check_soname_save_LIBS=$LIBS
16369 LIBS="-lv4l2 $LIBS"
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16376 char v4l2_open ();
16378 main (void)
16380 return v4l2_open ();
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_link "$LINENO"
16386 then :
16387 case "$LIBEXT" in
16388 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16389 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'` ;;
16390 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16391 if ${ac_cv_lib_soname_v4l2:+false} :
16392 then :
16393 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16394 fi ;;
16395 esac
16396 else $as_nop
16397 ac_cv_lib_soname_v4l2=
16399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_v4l2:+false} :
16404 then :
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16406 printf "%s\n" "not found" >&6; }
16408 else $as_nop
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16410 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16412 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16417 if test "x$ac_cv_lib_soname_v4l2" = "x"
16418 then :
16419 case "x$with_v4l2" in
16420 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16421 xno) ;;
16422 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16423 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16424 esac
16428 if test "x$with_gphoto" != "xno"
16429 then
16430 rm -f conftest.err
16431 if ${GPHOTO2_CFLAGS:+false} :
16432 then :
16433 if test ${PKG_CONFIG+y}
16434 then :
16435 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16438 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16439 if ${GPHOTO2_LIBS:+false} :
16440 then :
16441 if test ${PKG_CONFIG+y}
16442 then :
16443 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16446 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16447 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16450 if test -s conftest.err; then
16451 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16452 cat conftest.err >&5
16454 rm -f conftest.err
16455 ac_save_CPPFLAGS=$CPPFLAGS
16456 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16457 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16458 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16459 then :
16460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16461 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16462 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16463 then :
16464 printf %s "(cached) " >&6
16465 else $as_nop
16466 ac_check_lib_save_LIBS=$LIBS
16467 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16474 char gp_camera_new ();
16476 main (void)
16478 return gp_camera_new ();
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"
16484 then :
16485 ac_cv_lib_gphoto2_gp_camera_new=yes
16486 else $as_nop
16487 ac_cv_lib_gphoto2_gp_camera_new=no
16489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16490 conftest$ac_exeext conftest.$ac_ext
16491 LIBS=$ac_check_lib_save_LIBS
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16494 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16495 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16496 then :
16502 CPPFLAGS=$ac_save_CPPFLAGS
16504 rm -f conftest.err
16505 if ${GPHOTO2_PORT_CFLAGS:+false} :
16506 then :
16507 if test ${PKG_CONFIG+y}
16508 then :
16509 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16512 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16513 if ${GPHOTO2_PORT_LIBS:+false} :
16514 then :
16515 if test ${PKG_CONFIG+y}
16516 then :
16517 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16520 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16521 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16524 if test -s conftest.err; then
16525 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16526 cat conftest.err >&5
16528 rm -f conftest.err
16529 ac_save_CPPFLAGS=$CPPFLAGS
16530 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16531 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16532 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16533 then :
16534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16535 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16536 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16537 then :
16538 printf %s "(cached) " >&6
16539 else $as_nop
16540 ac_check_lib_save_LIBS=$LIBS
16541 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16545 /* Override any GCC internal prototype to avoid an error.
16546 Use char because int might match the return type of a GCC
16547 builtin and then its argument prototype would still apply. */
16548 char gp_port_info_list_new ();
16550 main (void)
16552 return gp_port_info_list_new ();
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"
16558 then :
16559 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16560 else $as_nop
16561 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16564 conftest$ac_exeext conftest.$ac_ext
16565 LIBS=$ac_check_lib_save_LIBS
16567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16568 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16569 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16570 then :
16572 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16574 else $as_nop
16575 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16578 else $as_nop
16579 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16582 CPPFLAGS=$ac_save_CPPFLAGS
16585 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16586 then :
16587 case "x$with_gphoto" in
16588 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16589 xno) ;;
16590 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16591 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16592 esac
16593 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16595 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16596 then :
16597 case "x$with_gphoto" in
16598 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16599 xno) ;;
16600 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16601 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16602 esac
16607 if test "$ac_cv_header_resolv_h" = "yes"
16608 then
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16610 printf %s "checking for resolver library... " >&6; }
16611 if test ${ac_cv_have_resolv+y}
16612 then :
16613 printf %s "(cached) " >&6
16614 else $as_nop
16615 ac_save_LIBS="$LIBS"
16616 for lib in '' -lresolv
16618 LIBS="$lib $ac_save_LIBS"
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #ifdef HAVE_NETINET_IN_H
16622 #include <netinet/in.h>
16623 #endif
16624 #include <resolv.h>
16626 main (void)
16628 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16630 return 0;
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"
16634 then :
16635 ac_cv_have_resolv=${lib:-"none required"}
16636 else $as_nop
16637 ac_cv_have_resolv="not found"
16639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16640 conftest$ac_exeext conftest.$ac_ext
16641 test "x$ac_cv_have_resolv" = "xnot found" || break
16642 done
16643 LIBS="$ac_save_LIBS"
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16646 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16648 case "$ac_cv_have_resolv" in
16649 "not found") ;;
16650 "none required")
16652 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16655 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16657 RESOLV_LIBS=$ac_cv_have_resolv
16659 esac
16661 if test "x$ac_cv_have_resolv" != "xnot found"
16662 then
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16664 printf %s "checking for res_getservers... " >&6; }
16665 if test ${ac_cv_have_res_getservers+y}
16666 then :
16667 printf %s "(cached) " >&6
16668 else $as_nop
16669 ac_save_LIBS="$LIBS"
16670 LIBS="$RESOLV_LIBS $LIBS"
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #include <resolv.h>
16675 main (void)
16677 res_getservers(NULL, NULL, 0);
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"
16683 then :
16684 ac_cv_have_res_getservers=yes
16685 else $as_nop
16686 ac_cv_have_res_getservers=no
16688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16689 conftest$ac_exeext conftest.$ac_ext
16690 LIBS="$ac_save_LIBS"
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16693 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16694 if test "$ac_cv_have_res_getservers" = "yes"
16695 then
16697 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16703 if test "x$with_freetype" != "xno"
16704 then
16705 rm -f conftest.err
16706 if ${FREETYPE_CFLAGS:+false} :
16707 then :
16708 if test ${PKG_CONFIG+y}
16709 then :
16710 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16713 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16714 if ${FREETYPE_LIBS:+false} :
16715 then :
16716 if test ${PKG_CONFIG+y}
16717 then :
16718 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16721 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16722 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16725 if test -s conftest.err; then
16726 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16727 cat conftest.err >&5
16729 rm -f conftest.err
16730 ac_save_CPPFLAGS=$CPPFLAGS
16731 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16732 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16733 if test "x$ac_cv_header_ft2build_h" = xyes
16734 then :
16735 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16739 if test "$ac_cv_header_ft2build_h" = "yes"
16740 then
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16742 printf %s "checking for -lfreetype... " >&6; }
16743 if test ${ac_cv_lib_soname_freetype+y}
16744 then :
16745 printf %s "(cached) " >&6
16746 else $as_nop
16747 ac_check_soname_save_LIBS=$LIBS
16748 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16755 char FT_Init_FreeType ();
16757 main (void)
16759 return FT_Init_FreeType ();
16761 return 0;
16763 _ACEOF
16764 if ac_fn_c_try_link "$LINENO"
16765 then :
16766 case "$LIBEXT" in
16767 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16768 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'` ;;
16769 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16770 if ${ac_cv_lib_soname_freetype:+false} :
16771 then :
16772 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16773 fi ;;
16774 esac
16775 else $as_nop
16776 ac_cv_lib_soname_freetype=
16778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16779 conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_soname_save_LIBS
16782 if ${ac_cv_lib_soname_freetype:+false} :
16783 then :
16784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16785 printf "%s\n" "not found" >&6; }
16786 FREETYPE_LIBS=""
16787 else $as_nop
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16789 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16791 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16794 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16796 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16797 #include FT_MODULE_H
16799 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16800 then :
16802 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16808 else
16809 FREETYPE_CFLAGS=""
16810 FREETYPE_LIBS=""
16812 CPPFLAGS=$ac_save_CPPFLAGS
16815 if test "x$ac_cv_lib_soname_freetype" = x
16816 then :
16817 case "x$with_freetype" in
16818 xno) ;;
16819 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16820 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16821 esac
16822 enable_fonts=${enable_fonts:-no}
16825 ac_wine_check_funcs_save_LIBS="$LIBS"
16826 LIBS="$LIBS $PTHREAD_LIBS"
16827 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16828 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16829 then :
16830 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16834 LIBS="$ac_wine_check_funcs_save_LIBS"
16836 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16837 then
16838 if test "$ac_cv_header_gettext_po_h" = "yes"
16839 then
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16841 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16842 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16843 then :
16844 printf %s "(cached) " >&6
16845 else $as_nop
16846 ac_check_lib_save_LIBS=$LIBS
16847 LIBS="-lgettextpo $LIBS"
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 /* Override any GCC internal prototype to avoid an error.
16852 Use char because int might match the return type of a GCC
16853 builtin and then its argument prototype would still apply. */
16854 char po_message_msgctxt ();
16856 main (void)
16858 return po_message_msgctxt ();
16860 return 0;
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"
16864 then :
16865 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16866 else $as_nop
16867 ac_cv_lib_gettextpo_po_message_msgctxt=no
16869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16870 conftest$ac_exeext conftest.$ac_ext
16871 LIBS=$ac_check_lib_save_LIBS
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16874 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16875 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16876 then :
16878 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16880 GETTEXTPO_LIBS="-lgettextpo"
16885 if test "x$GETTEXTPO_LIBS" = "x"
16886 then :
16887 case "x$with_gettextpo" in
16888 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16889 xno) ;;
16890 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16891 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16892 esac
16895 if test "$srcdir" != .
16896 then :
16897 case "x$with_gettextpo" in
16898 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16899 xno) ;;
16900 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16901 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16902 esac
16907 if test "x$with_pulse" != "xno";
16908 then
16909 rm -f conftest.err
16910 if ${PULSE_CFLAGS:+false} :
16911 then :
16912 if test ${PKG_CONFIG+y}
16913 then :
16914 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16918 if ${PULSE_LIBS:+false} :
16919 then :
16920 if test ${PKG_CONFIG+y}
16921 then :
16922 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16929 if test -s conftest.err; then
16930 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16931 cat conftest.err >&5
16933 rm -f conftest.err
16934 ac_save_CPPFLAGS=$CPPFLAGS
16935 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16936 for ac_header in pulse/pulseaudio.h
16937 do :
16938 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16939 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16940 then :
16941 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16943 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16944 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16945 then :
16946 printf %s "(cached) " >&6
16947 else $as_nop
16948 ac_check_lib_save_LIBS=$LIBS
16949 LIBS="-lpulse $PULSE_LIBS $LIBS"
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16956 char pa_stream_is_corked ();
16958 main (void)
16960 return pa_stream_is_corked ();
16962 return 0;
16964 _ACEOF
16965 if ac_fn_c_try_link "$LINENO"
16966 then :
16967 ac_cv_lib_pulse_pa_stream_is_corked=yes
16968 else $as_nop
16969 ac_cv_lib_pulse_pa_stream_is_corked=no
16971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16972 conftest$ac_exeext conftest.$ac_ext
16973 LIBS=$ac_check_lib_save_LIBS
16975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16976 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16977 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16978 then :
16980 else $as_nop
16981 PULSE_LIBS=""
16984 else $as_nop
16985 PULSE_LIBS=""
16988 done
16989 CPPFLAGS=$ac_save_CPPFLAGS
16992 if test -z "$PULSE_LIBS"
16993 then :
16994 case "x$with_pulse" in
16995 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16996 xno) ;;
16997 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16998 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16999 esac
17000 enable_winepulse_drv=${enable_winepulse_drv:-no}
17003 if test "x$with_gstreamer" != "xno"
17004 then
17005 rm -f conftest.err
17006 if ${GSTREAMER_CFLAGS:+false} :
17007 then :
17008 if test ${PKG_CONFIG+y}
17009 then :
17010 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17014 if ${GSTREAMER_LIBS:+false} :
17015 then :
17016 if test ${PKG_CONFIG+y}
17017 then :
17018 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17023 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
17024 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
17025 if test -s conftest.err; then
17026 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17027 cat conftest.err >&5
17029 rm -f conftest.err
17030 ac_save_CPPFLAGS=$CPPFLAGS
17031 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17032 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17033 if test "x$ac_cv_header_gst_gst_h" = xyes
17034 then :
17035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17036 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <gst/gst.h>
17041 main (void)
17043 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"
17049 then :
17050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17051 printf "%s\n" "yes" >&6; }
17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17053 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17054 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17055 then :
17056 printf %s "(cached) " >&6
17057 else $as_nop
17058 ac_check_lib_save_LIBS=$LIBS
17059 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17063 /* Override any GCC internal prototype to avoid an error.
17064 Use char because int might match the return type of a GCC
17065 builtin and then its argument prototype would still apply. */
17066 char gst_pad_new ();
17068 main (void)
17070 return gst_pad_new ();
17072 return 0;
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"
17076 then :
17077 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17078 else $as_nop
17079 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17082 conftest$ac_exeext conftest.$ac_ext
17083 LIBS=$ac_check_lib_save_LIBS
17085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17086 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17087 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17088 then :
17092 else $as_nop
17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 printf "%s\n" "no" >&6; }
17095 ac_glib2_broken=yes
17096 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17101 CPPFLAGS=$ac_save_CPPFLAGS
17104 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17105 then :
17106 case "x$with_gstreamer" in
17107 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17108 xno) ;;
17109 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17110 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17111 esac
17112 enable_winegstreamer=${enable_winegstreamer:-no}
17115 ALSA_LIBS=""
17117 if test "x$with_alsa" != "xno"
17118 then
17119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17120 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17121 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17122 then :
17123 printf %s "(cached) " >&6
17124 else $as_nop
17125 ac_check_lib_save_LIBS=$LIBS
17126 LIBS="-lasound $LIBS"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17133 char snd_pcm_hw_params_get_access_mask ();
17135 main (void)
17137 return snd_pcm_hw_params_get_access_mask ();
17139 return 0;
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"
17143 then :
17144 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17145 else $as_nop
17146 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17149 conftest$ac_exeext conftest.$ac_ext
17150 LIBS=$ac_check_lib_save_LIBS
17152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17153 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17154 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17155 then :
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 #include <alsa/asoundlib.h>
17160 main (void)
17162 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17164 return 0;
17166 _ACEOF
17167 if ac_fn_c_try_compile "$LINENO"
17168 then :
17169 ALSA_LIBS="-lasound"
17171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17175 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17177 if test "x$with_oss" != xno
17178 then
17179 ac_save_CPPFLAGS="$CPPFLAGS"
17180 if test -f /etc/oss.conf
17181 then
17182 . /etc/oss.conf
17184 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17185 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17186 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17187 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17188 then :
17189 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17191 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17192 then :
17194 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17196 OSS4_CFLAGS="$ac_oss_incl"
17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17199 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17200 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17201 then :
17202 printf %s "(cached) " >&6
17203 else $as_nop
17204 ac_check_lib_save_LIBS=$LIBS
17205 LIBS="-lossaudio $LIBS"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17212 char _oss_ioctl ();
17214 main (void)
17216 return _oss_ioctl ();
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"
17222 then :
17223 ac_cv_lib_ossaudio__oss_ioctl=yes
17224 else $as_nop
17225 ac_cv_lib_ossaudio__oss_ioctl=no
17227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17228 conftest$ac_exeext conftest.$ac_ext
17229 LIBS=$ac_check_lib_save_LIBS
17231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17232 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17233 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17234 then :
17235 OSS4_LIBS="-lossaudio"
17243 CPPFLAGS="$ac_save_CPPFLAGS"
17245 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17246 then :
17247 case "x$with_oss" in
17248 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17249 xno) ;;
17250 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17251 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17252 esac
17253 enable_wineoss_drv=${enable_wineoss_drv:-no}
17256 if test "x$with_udev" != "xno"
17257 then
17258 rm -f conftest.err
17259 if ${UDEV_CFLAGS:+false} :
17260 then :
17261 if test ${PKG_CONFIG+y}
17262 then :
17263 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17267 if ${UDEV_LIBS:+false} :
17268 then :
17269 if test ${PKG_CONFIG+y}
17270 then :
17271 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17275 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17278 if test -s conftest.err; then
17279 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17280 cat conftest.err >&5
17282 rm -f conftest.err
17283 ac_save_CPPFLAGS=$CPPFLAGS
17284 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17285 for ac_header in libudev.h
17286 do :
17287 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17288 if test "x$ac_cv_header_libudev_h" = xyes
17289 then :
17290 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17292 printf %s "checking for udev_new in -ludev... " >&6; }
17293 if test ${ac_cv_lib_udev_udev_new+y}
17294 then :
17295 printf %s "(cached) " >&6
17296 else $as_nop
17297 ac_check_lib_save_LIBS=$LIBS
17298 LIBS="-ludev $UDEV_LIBS $LIBS"
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17302 /* Override any GCC internal prototype to avoid an error.
17303 Use char because int might match the return type of a GCC
17304 builtin and then its argument prototype would still apply. */
17305 char udev_new ();
17307 main (void)
17309 return udev_new ();
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"
17315 then :
17316 ac_cv_lib_udev_udev_new=yes
17317 else $as_nop
17318 ac_cv_lib_udev_udev_new=no
17320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17321 conftest$ac_exeext conftest.$ac_ext
17322 LIBS=$ac_check_lib_save_LIBS
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17325 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17326 if test "x$ac_cv_lib_udev_udev_new" = xyes
17327 then :
17329 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17331 else $as_nop
17332 UDEV_LIBS=""
17335 else $as_nop
17336 UDEV_LIBS=""
17339 done
17340 CPPFLAGS=$ac_save_CPPFLAGS
17343 if test "x$UDEV_LIBS" = "x"
17344 then :
17345 case "x$with_udev" in
17346 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17347 xno) ;;
17348 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17349 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17350 esac
17354 if test "x$with_unwind" != xno
17355 then
17356 rm -f conftest.err
17357 if ${UNWIND_CFLAGS:+false} :
17358 then :
17359 if test ${PKG_CONFIG+y}
17360 then :
17361 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17365 if ${UNWIND_LIBS:+false} :
17366 then :
17367 if test ${PKG_CONFIG+y}
17368 then :
17369 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17373 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17376 if test -s conftest.err; then
17377 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17378 cat conftest.err >&5
17380 rm -f conftest.err
17381 ac_save_CPPFLAGS=$CPPFLAGS
17382 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17384 printf %s "checking for unw_step... " >&6; }
17385 if test ${wine_cv_have_unw_step+y}
17386 then :
17387 printf %s "(cached) " >&6
17388 else $as_nop
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #define UNW_LOCAL_ONLY
17392 #include <libunwind.h>
17394 main (void)
17396 unw_cursor_t cursor; unw_step( &cursor );
17398 return 0;
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"
17402 then :
17403 wine_cv_have_unw_step="yes"
17404 else $as_nop
17405 wine_cv_have_unw_step="no"
17407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17408 conftest$ac_exeext conftest.$ac_ext
17410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17411 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17412 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17413 then
17414 save_libs=$LIBS
17415 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17416 LIBS="$UNWIND_LIBS $LIBS"
17417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17418 printf %s "checking for unw_step in libunwind... " >&6; }
17419 if test ${wine_cv_have_libunwind_unw_step+y}
17420 then :
17421 printf %s "(cached) " >&6
17422 else $as_nop
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #define UNW_LOCAL_ONLY
17426 #include <libunwind.h>
17428 main (void)
17430 unw_cursor_t cursor; unw_step( &cursor );
17432 return 0;
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"
17436 then :
17437 wine_cv_have_libunwind_unw_step="yes"
17438 else $as_nop
17439 wine_cv_have_libunwind_unw_step="no"
17441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17442 conftest$ac_exeext conftest.$ac_ext
17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17445 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17446 LIBS=$save_libs
17448 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17449 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17450 then
17452 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17455 CPPFLAGS=$ac_save_CPPFLAGS
17458 case $host in
17459 aarch64*|*-darwin*)
17460 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17461 then :
17462 case "x$with_unwind" in
17463 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17464 xno) ;;
17465 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17466 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17467 esac
17469 fi ;;
17470 esac
17472 if test "x$with_sdl" != "xno"
17473 then
17474 rm -f conftest.err
17475 if ${SDL2_CFLAGS:+false} :
17476 then :
17477 if test ${PKG_CONFIG+y}
17478 then :
17479 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17483 if ${SDL2_LIBS:+false} :
17484 then :
17485 if test ${PKG_CONFIG+y}
17486 then :
17487 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17491 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17494 if test -s conftest.err; then
17495 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17496 cat conftest.err >&5
17498 rm -f conftest.err
17499 ac_save_CPPFLAGS=$CPPFLAGS
17500 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17501 for ac_header in SDL.h
17502 do :
17503 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17504 if test "x$ac_cv_header_SDL_h" = xyes
17505 then :
17506 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17508 printf %s "checking for -lSDL2... " >&6; }
17509 if test ${ac_cv_lib_soname_SDL2+y}
17510 then :
17511 printf %s "(cached) " >&6
17512 else $as_nop
17513 ac_check_soname_save_LIBS=$LIBS
17514 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17518 /* Override any GCC internal prototype to avoid an error.
17519 Use char because int might match the return type of a GCC
17520 builtin and then its argument prototype would still apply. */
17521 char SDL_Init ();
17523 main (void)
17525 return SDL_Init ();
17527 return 0;
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"
17531 then :
17532 case "$LIBEXT" in
17533 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17534 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'` ;;
17535 *) 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'`
17536 if ${ac_cv_lib_soname_SDL2:+false} :
17537 then :
17538 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17539 fi ;;
17540 esac
17541 else $as_nop
17542 ac_cv_lib_soname_SDL2=
17544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17545 conftest$ac_exeext conftest.$ac_ext
17546 LIBS=$ac_check_soname_save_LIBS
17548 if ${ac_cv_lib_soname_SDL2:+false} :
17549 then :
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17551 printf "%s\n" "not found" >&6; }
17553 else $as_nop
17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17555 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17557 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17563 done
17564 CPPFLAGS=$ac_save_CPPFLAGS
17567 if test "x$ac_cv_lib_soname_SDL2" = "x"
17568 then :
17569 case "x$with_sdl" in
17570 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17571 xno) ;;
17572 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17573 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17574 esac
17578 if test "x$with_capi" != "xno"
17579 then
17580 rm -f conftest.err
17581 if ${CAPI20_CFLAGS:+false} :
17582 then :
17583 if test ${PKG_CONFIG+y}
17584 then :
17585 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17589 if ${CAPI20_LIBS:+false} :
17590 then :
17591 if test ${PKG_CONFIG+y}
17592 then :
17593 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17600 if test -s conftest.err; then
17601 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17602 cat conftest.err >&5
17604 rm -f conftest.err
17605 ac_save_CPPFLAGS=$CPPFLAGS
17606 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17607 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17609 if test "x$ac_cv_header_capi20_h" = xyes
17610 then :
17611 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17614 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17616 if test "x$ac_cv_header_linux_capi_h" = xyes
17617 then :
17618 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17622 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17623 then
17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17625 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17626 if test ${ac_cv_lib_capi20_capi20_register+y}
17627 then :
17628 printf %s "(cached) " >&6
17629 else $as_nop
17630 ac_check_lib_save_LIBS=$LIBS
17631 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17635 /* Override any GCC internal prototype to avoid an error.
17636 Use char because int might match the return type of a GCC
17637 builtin and then its argument prototype would still apply. */
17638 char capi20_register ();
17640 main (void)
17642 return capi20_register ();
17644 return 0;
17646 _ACEOF
17647 if ac_fn_c_try_link "$LINENO"
17648 then :
17649 ac_cv_lib_capi20_capi20_register=yes
17650 else $as_nop
17651 ac_cv_lib_capi20_capi20_register=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17654 conftest$ac_exeext conftest.$ac_ext
17655 LIBS=$ac_check_lib_save_LIBS
17657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17658 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17659 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17660 then :
17662 else $as_nop
17663 CAPI20_LIBS=""
17667 CPPFLAGS=$ac_save_CPPFLAGS
17670 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17671 then :
17672 case "x$with_capi" in
17673 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17674 xno) ;;
17675 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17676 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17677 esac
17678 enable_capi2032=${enable_capi2032:-no}
17681 if test "x$with_cups" != "xno"
17682 then
17683 rm -f conftest.err
17684 if ${CUPS_CFLAGS:+false} :
17685 then :
17686 if test ${PKG_CONFIG+y}
17687 then :
17688 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17691 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17692 if ${CUPS_LIBS:+false} :
17693 then :
17694 if test ${PKG_CONFIG+y}
17695 then :
17696 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17699 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17700 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17703 if test -s conftest.err; then
17704 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17705 cat conftest.err >&5
17707 rm -f conftest.err
17708 ac_save_CPPFLAGS=$CPPFLAGS
17709 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17710 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17711 if test "x$ac_cv_header_cups_cups_h" = xyes
17712 then :
17713 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17716 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17717 if test "x$ac_cv_header_cups_ppd_h" = xyes
17718 then :
17719 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17723 if test "$ac_cv_header_cups_cups_h" = "yes"
17724 then
17725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17726 printf %s "checking for -lcups... " >&6; }
17727 if test ${ac_cv_lib_soname_cups+y}
17728 then :
17729 printf %s "(cached) " >&6
17730 else $as_nop
17731 ac_check_soname_save_LIBS=$LIBS
17732 LIBS="-lcups $CUPS_LIBS $LIBS"
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 /* Override any GCC internal prototype to avoid an error.
17737 Use char because int might match the return type of a GCC
17738 builtin and then its argument prototype would still apply. */
17739 char cupsGetDefault ();
17741 main (void)
17743 return cupsGetDefault ();
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_link "$LINENO"
17749 then :
17750 case "$LIBEXT" in
17751 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17752 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'` ;;
17753 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17754 if ${ac_cv_lib_soname_cups:+false} :
17755 then :
17756 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17757 fi ;;
17758 esac
17759 else $as_nop
17760 ac_cv_lib_soname_cups=
17762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17763 conftest$ac_exeext conftest.$ac_ext
17764 LIBS=$ac_check_soname_save_LIBS
17766 if ${ac_cv_lib_soname_cups:+false} :
17767 then :
17768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17769 printf "%s\n" "not found" >&6; }
17770 CUPS_LIBS=""
17771 else $as_nop
17772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17773 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17775 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17779 else
17780 CUPS_CFLAGS=""
17781 CUPS_LIBS=""
17783 CPPFLAGS=$ac_save_CPPFLAGS
17786 if test "x$ac_cv_lib_soname_cups" = "x"
17787 then :
17788 case "x$with_cups" in
17789 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17790 xno) ;;
17791 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17792 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17793 esac
17797 if test "x$with_fontconfig" != "xno"
17798 then
17799 rm -f conftest.err
17800 if ${FONTCONFIG_CFLAGS:+false} :
17801 then :
17802 if test ${PKG_CONFIG+y}
17803 then :
17804 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17807 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17808 if ${FONTCONFIG_LIBS:+false} :
17809 then :
17810 if test ${PKG_CONFIG+y}
17811 then :
17812 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17815 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17819 if test -s conftest.err; then
17820 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17821 cat conftest.err >&5
17823 rm -f conftest.err
17824 ac_save_CPPFLAGS=$CPPFLAGS
17825 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17826 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17827 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17828 then :
17829 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17833 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17834 then
17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17836 printf %s "checking for -lfontconfig... " >&6; }
17837 if test ${ac_cv_lib_soname_fontconfig+y}
17838 then :
17839 printf %s "(cached) " >&6
17840 else $as_nop
17841 ac_check_soname_save_LIBS=$LIBS
17842 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17846 /* Override any GCC internal prototype to avoid an error.
17847 Use char because int might match the return type of a GCC
17848 builtin and then its argument prototype would still apply. */
17849 char FcInit ();
17851 main (void)
17853 return FcInit ();
17855 return 0;
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"
17859 then :
17860 case "$LIBEXT" in
17861 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17862 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'` ;;
17863 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17864 if ${ac_cv_lib_soname_fontconfig:+false} :
17865 then :
17866 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17867 fi ;;
17868 esac
17869 else $as_nop
17870 ac_cv_lib_soname_fontconfig=
17872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17873 conftest$ac_exeext conftest.$ac_ext
17874 LIBS=$ac_check_soname_save_LIBS
17876 if ${ac_cv_lib_soname_fontconfig:+false} :
17877 then :
17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17879 printf "%s\n" "not found" >&6; }
17880 FONTCONFIG_CFLAGS=""
17881 else $as_nop
17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17883 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17885 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17889 else
17890 FONTCONFIG_CFLAGS=""
17892 CPPFLAGS=$ac_save_CPPFLAGS
17895 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17896 then :
17897 case "x$with_fontconfig" in
17898 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17899 xno) ;;
17900 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17901 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17902 esac
17906 if test "x$with_krb5" != "xno"
17907 then
17908 rm -f conftest.err
17909 if ${KRB5_CFLAGS:+false} :
17910 then :
17911 if test ${PKG_CONFIG+y}
17912 then :
17913 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17916 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17917 if ${KRB5_LIBS:+false} :
17918 then :
17919 if test ${PKG_CONFIG+y}
17920 then :
17921 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17924 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17928 if test -s conftest.err; then
17929 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17930 cat conftest.err >&5
17932 rm -f conftest.err
17933 ac_save_CPPFLAGS=$CPPFLAGS
17934 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17935 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17936 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17937 then :
17938 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17942 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17943 then
17944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17945 printf %s "checking for -lkrb5... " >&6; }
17946 if test ${ac_cv_lib_soname_krb5+y}
17947 then :
17948 printf %s "(cached) " >&6
17949 else $as_nop
17950 ac_check_soname_save_LIBS=$LIBS
17951 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 /* Override any GCC internal prototype to avoid an error.
17956 Use char because int might match the return type of a GCC
17957 builtin and then its argument prototype would still apply. */
17958 char krb5_is_config_principal ();
17960 main (void)
17962 return krb5_is_config_principal ();
17964 return 0;
17966 _ACEOF
17967 if ac_fn_c_try_link "$LINENO"
17968 then :
17969 case "$LIBEXT" in
17970 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17971 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'` ;;
17972 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17973 if ${ac_cv_lib_soname_krb5:+false} :
17974 then :
17975 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17976 fi ;;
17977 esac
17978 else $as_nop
17979 ac_cv_lib_soname_krb5=
17981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17982 conftest$ac_exeext conftest.$ac_ext
17983 LIBS=$ac_check_soname_save_LIBS
17985 if ${ac_cv_lib_soname_krb5:+false} :
17986 then :
17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17988 printf "%s\n" "not found" >&6; }
17989 KRB5_CFLAGS=""
17990 else $as_nop
17991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17992 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17994 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17998 else
17999 KRB5_CFLAGS=""
18001 CPPFLAGS=$ac_save_CPPFLAGS
18004 if test "x$ac_cv_lib_soname_krb5" = "x"
18005 then :
18006 case "x$with_krb5" in
18007 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18008 xno) ;;
18009 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18010 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18011 esac
18014 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18016 if test "x$with_gssapi" != "xno"
18017 then
18018 rm -f conftest.err
18019 if ${GSSAPI_CFLAGS:+false} :
18020 then :
18021 if test ${PKG_CONFIG+y}
18022 then :
18023 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18026 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18027 if ${GSSAPI_LIBS:+false} :
18028 then :
18029 if test ${PKG_CONFIG+y}
18030 then :
18031 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18034 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18038 if test -s conftest.err; then
18039 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18040 cat conftest.err >&5
18042 rm -f conftest.err
18043 ac_save_CPPFLAGS=$CPPFLAGS
18044 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18045 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18046 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18047 then :
18048 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18051 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18052 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18053 then :
18054 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18058 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18059 then
18060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18061 printf %s "checking for -lgssapi_krb5... " >&6; }
18062 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18063 then :
18064 printf %s "(cached) " >&6
18065 else $as_nop
18066 ac_check_soname_save_LIBS=$LIBS
18067 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18074 char gss_init_sec_context ();
18076 main (void)
18078 return gss_init_sec_context ();
18080 return 0;
18082 _ACEOF
18083 if ac_fn_c_try_link "$LINENO"
18084 then :
18085 case "$LIBEXT" in
18086 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18087 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'` ;;
18088 *) 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'`
18089 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18090 then :
18091 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18092 fi ;;
18093 esac
18094 else $as_nop
18095 ac_cv_lib_soname_gssapi_krb5=
18097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18098 conftest$ac_exeext conftest.$ac_ext
18099 LIBS=$ac_check_soname_save_LIBS
18101 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18102 then :
18103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18104 printf "%s\n" "not found" >&6; }
18105 GSSAPI_CFLAGS=""
18106 else $as_nop
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18108 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18110 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18114 else
18115 GSSAPI_CFLAGS=""
18117 CPPFLAGS=$ac_save_CPPFLAGS
18120 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18121 then :
18122 case "x$with_gssapi" in
18123 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18124 xno) ;;
18125 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18126 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18127 esac
18131 if test "$ac_cv_header_libprocstat_h" = "yes"
18132 then
18133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18134 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18135 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18136 then :
18137 printf %s "(cached) " >&6
18138 else $as_nop
18139 ac_check_lib_save_LIBS=$LIBS
18140 LIBS="-lprocstat $LIBS"
18141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18142 /* end confdefs.h. */
18144 /* Override any GCC internal prototype to avoid an error.
18145 Use char because int might match the return type of a GCC
18146 builtin and then its argument prototype would still apply. */
18147 char procstat_open_sysctl ();
18149 main (void)
18151 return procstat_open_sysctl ();
18153 return 0;
18155 _ACEOF
18156 if ac_fn_c_try_link "$LINENO"
18157 then :
18158 ac_cv_lib_procstat_procstat_open_sysctl=yes
18159 else $as_nop
18160 ac_cv_lib_procstat_procstat_open_sysctl=no
18162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18163 conftest$ac_exeext conftest.$ac_ext
18164 LIBS=$ac_check_lib_save_LIBS
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18167 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18168 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18169 then :
18171 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18173 PROCSTAT_LIBS="-lprocstat"
18179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18180 printf %s "checking for -lodbc... " >&6; }
18181 if test ${ac_cv_lib_soname_odbc+y}
18182 then :
18183 printf %s "(cached) " >&6
18184 else $as_nop
18185 ac_check_soname_save_LIBS=$LIBS
18186 LIBS="-lodbc $LIBS"
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 char SQLConnect ();
18195 main (void)
18197 return SQLConnect ();
18199 return 0;
18201 _ACEOF
18202 if ac_fn_c_try_link "$LINENO"
18203 then :
18204 case "$LIBEXT" in
18205 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18206 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'` ;;
18207 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18208 if ${ac_cv_lib_soname_odbc:+false} :
18209 then :
18210 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18211 fi ;;
18212 esac
18213 else $as_nop
18214 ac_cv_lib_soname_odbc=
18216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18217 conftest$ac_exeext conftest.$ac_ext
18218 LIBS=$ac_check_soname_save_LIBS
18220 if ${ac_cv_lib_soname_odbc:+false} :
18221 then :
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18223 printf "%s\n" "not found" >&6; }
18224 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18226 else $as_nop
18227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18228 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18230 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18235 if test "x$with_netapi" != "xno"
18236 then
18237 rm -f conftest.err
18238 if ${NETAPI_CFLAGS:+false} :
18239 then :
18240 if test ${PKG_CONFIG+y}
18241 then :
18242 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18246 if ${NETAPI_LIBS:+false} :
18247 then :
18248 if test ${PKG_CONFIG+y}
18249 then :
18250 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18257 if test -s conftest.err; then
18258 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18259 cat conftest.err >&5
18261 rm -f conftest.err
18262 ac_save_CPPFLAGS=$CPPFLAGS
18263 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18265 printf %s "checking for -lnetapi... " >&6; }
18266 if test ${ac_cv_lib_soname_netapi+y}
18267 then :
18268 printf %s "(cached) " >&6
18269 else $as_nop
18270 ac_check_soname_save_LIBS=$LIBS
18271 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18275 /* Override any GCC internal prototype to avoid an error.
18276 Use char because int might match the return type of a GCC
18277 builtin and then its argument prototype would still apply. */
18278 char libnetapi_init ();
18280 main (void)
18282 return libnetapi_init ();
18284 return 0;
18286 _ACEOF
18287 if ac_fn_c_try_link "$LINENO"
18288 then :
18289 case "$LIBEXT" in
18290 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18291 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'` ;;
18292 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18293 if ${ac_cv_lib_soname_netapi:+false} :
18294 then :
18295 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18296 fi ;;
18297 esac
18298 else $as_nop
18299 ac_cv_lib_soname_netapi=
18301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18302 conftest$ac_exeext conftest.$ac_ext
18303 LIBS=$ac_check_soname_save_LIBS
18305 if ${ac_cv_lib_soname_netapi:+false} :
18306 then :
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18308 printf "%s\n" "not found" >&6; }
18309 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18311 else $as_nop
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18313 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18319 CPPFLAGS=$ac_save_CPPFLAGS
18322 if test "x$ac_cv_lib_soname_netapi" = "x"
18323 then :
18324 case "x$with_netapi" in
18325 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18326 xno) ;;
18327 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18328 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18329 esac
18330 enable_netapi=${enable_netapi:-no}
18334 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18335 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18336 then
18337 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18340 if test "x$with_vulkan" != "xno"
18341 then
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18343 printf %s "checking for -lvulkan... " >&6; }
18344 if test ${ac_cv_lib_soname_vulkan+y}
18345 then :
18346 printf %s "(cached) " >&6
18347 else $as_nop
18348 ac_check_soname_save_LIBS=$LIBS
18349 LIBS="-lvulkan $LIBS"
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18353 /* Override any GCC internal prototype to avoid an error.
18354 Use char because int might match the return type of a GCC
18355 builtin and then its argument prototype would still apply. */
18356 char vkGetInstanceProcAddr ();
18358 main (void)
18360 return vkGetInstanceProcAddr ();
18362 return 0;
18364 _ACEOF
18365 if ac_fn_c_try_link "$LINENO"
18366 then :
18367 case "$LIBEXT" in
18368 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18369 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'` ;;
18370 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18371 if ${ac_cv_lib_soname_vulkan:+false} :
18372 then :
18373 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18374 fi ;;
18375 esac
18376 else $as_nop
18377 ac_cv_lib_soname_vulkan=
18379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18380 conftest$ac_exeext conftest.$ac_ext
18381 LIBS=$ac_check_soname_save_LIBS
18383 if ${ac_cv_lib_soname_vulkan:+false} :
18384 then :
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18386 printf "%s\n" "not found" >&6; }
18388 else $as_nop
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18390 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18392 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18396 if test "x$ac_cv_lib_soname_vulkan" = "x"
18397 then
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18399 printf %s "checking for -lMoltenVK... " >&6; }
18400 if test ${ac_cv_lib_soname_MoltenVK+y}
18401 then :
18402 printf %s "(cached) " >&6
18403 else $as_nop
18404 ac_check_soname_save_LIBS=$LIBS
18405 LIBS="-lMoltenVK $LIBS"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18412 char vkGetInstanceProcAddr ();
18414 main (void)
18416 return vkGetInstanceProcAddr ();
18418 return 0;
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"
18422 then :
18423 case "$LIBEXT" in
18424 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18425 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'` ;;
18426 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18427 if ${ac_cv_lib_soname_MoltenVK:+false} :
18428 then :
18429 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18430 fi ;;
18431 esac
18432 else $as_nop
18433 ac_cv_lib_soname_MoltenVK=
18435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18436 conftest$ac_exeext conftest.$ac_ext
18437 LIBS=$ac_check_soname_save_LIBS
18439 if ${ac_cv_lib_soname_MoltenVK:+false} :
18440 then :
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18442 printf "%s\n" "not found" >&6; }
18444 else $as_nop
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18446 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18448 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18454 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18455 then :
18456 case "x$with_vulkan" in
18457 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18458 xno) ;;
18459 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18460 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18461 esac
18466 if test "x${GCC}" = "xyes"
18467 then
18468 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18470 saved_CFLAGS=$CFLAGS
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18472 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_wine_try_cflags_saved=$CFLAGS
18478 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"
18484 then :
18485 ac_cv_cflags__Werror_unknown_warning_option=yes
18486 else $as_nop
18487 ac_cv_cflags__Werror_unknown_warning_option=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18490 conftest$ac_exeext conftest.$ac_ext
18491 CFLAGS=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18496 then :
18497 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18500 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18502 then :
18503 printf %s "(cached) " >&6
18504 else $as_nop
18505 ac_wine_try_cflags_saved=$CFLAGS
18506 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"
18512 then :
18513 ac_cv_cflags__Werror_unused_command_line_argument=yes
18514 else $as_nop
18515 ac_cv_cflags__Werror_unused_command_line_argument=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18518 conftest$ac_exeext conftest.$ac_ext
18519 CFLAGS=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18524 then :
18525 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18528 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18529 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18530 then :
18531 printf %s "(cached) " >&6
18532 else $as_nop
18533 ac_wine_try_cflags_saved=$CFLAGS
18534 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"
18540 then :
18541 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18542 else $as_nop
18543 ac_cv_cflags__Werror_ignored_optimization_argument=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18546 conftest$ac_exeext conftest.$ac_ext
18547 CFLAGS=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18550 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18551 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18552 then :
18553 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18556 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18557 if test ${ac_cv_cflags__fcf_protection_none+y}
18558 then :
18559 printf %s "(cached) " >&6
18560 else $as_nop
18561 ac_wine_try_cflags_saved=$CFLAGS
18562 CFLAGS="$CFLAGS -fcf-protection=none"
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"
18568 then :
18569 ac_cv_cflags__fcf_protection_none=yes
18570 else $as_nop
18571 ac_cv_cflags__fcf_protection_none=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18574 conftest$ac_exeext conftest.$ac_ext
18575 CFLAGS=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18578 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18579 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18580 then :
18581 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18584 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18585 if test ${ac_cv_cflags__fno_stack_protector+y}
18586 then :
18587 printf %s "(cached) " >&6
18588 else $as_nop
18589 ac_wine_try_cflags_saved=$CFLAGS
18590 CFLAGS="$CFLAGS -fno-stack-protector"
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18594 _ACEOF
18595 if ac_fn_c_try_link "$LINENO"
18596 then :
18597 ac_cv_cflags__fno_stack_protector=yes
18598 else $as_nop
18599 ac_cv_cflags__fno_stack_protector=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18602 conftest$ac_exeext conftest.$ac_ext
18603 CFLAGS=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18607 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18608 then :
18609 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18612 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18613 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18614 then :
18615 printf %s "(cached) " >&6
18616 else $as_nop
18617 ac_wine_try_cflags_saved=$CFLAGS
18618 CFLAGS="$CFLAGS -fno-strict-aliasing"
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"
18624 then :
18625 ac_cv_cflags__fno_strict_aliasing=yes
18626 else $as_nop
18627 ac_cv_cflags__fno_strict_aliasing=no
18629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18630 conftest$ac_exeext conftest.$ac_ext
18631 CFLAGS=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18634 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18635 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18636 then :
18637 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18640 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18641 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_wine_try_cflags_saved=$CFLAGS
18646 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18650 _ACEOF
18651 if ac_fn_c_try_link "$LINENO"
18652 then :
18653 ac_cv_cflags__Wdeclaration_after_statement=yes
18654 else $as_nop
18655 ac_cv_cflags__Wdeclaration_after_statement=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18658 conftest$ac_exeext conftest.$ac_ext
18659 CFLAGS=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18664 then :
18665 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18668 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18669 if test ${ac_cv_cflags__Wempty_body+y}
18670 then :
18671 printf %s "(cached) " >&6
18672 else $as_nop
18673 ac_wine_try_cflags_saved=$CFLAGS
18674 CFLAGS="$CFLAGS -Wempty-body"
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"
18680 then :
18681 ac_cv_cflags__Wempty_body=yes
18682 else $as_nop
18683 ac_cv_cflags__Wempty_body=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18686 conftest$ac_exeext conftest.$ac_ext
18687 CFLAGS=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18691 if test "x$ac_cv_cflags__Wempty_body" = xyes
18692 then :
18693 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18696 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18697 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18698 then :
18699 printf %s "(cached) " >&6
18700 else $as_nop
18701 ac_wine_try_cflags_saved=$CFLAGS
18702 CFLAGS="$CFLAGS -Wignored-qualifiers"
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18706 _ACEOF
18707 if ac_fn_c_try_link "$LINENO"
18708 then :
18709 ac_cv_cflags__Wignored_qualifiers=yes
18710 else $as_nop
18711 ac_cv_cflags__Wignored_qualifiers=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18714 conftest$ac_exeext conftest.$ac_ext
18715 CFLAGS=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18718 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18719 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18720 then :
18721 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18724 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18725 if test ${ac_cv_cflags__Winit_self+y}
18726 then :
18727 printf %s "(cached) " >&6
18728 else $as_nop
18729 ac_wine_try_cflags_saved=$CFLAGS
18730 CFLAGS="$CFLAGS -Winit-self"
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18734 _ACEOF
18735 if ac_fn_c_try_link "$LINENO"
18736 then :
18737 ac_cv_cflags__Winit_self=yes
18738 else $as_nop
18739 ac_cv_cflags__Winit_self=no
18741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18742 conftest$ac_exeext conftest.$ac_ext
18743 CFLAGS=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18746 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18747 if test "x$ac_cv_cflags__Winit_self" = xyes
18748 then :
18749 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18752 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18753 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18754 then :
18755 printf %s "(cached) " >&6
18756 else $as_nop
18757 ac_wine_try_cflags_saved=$CFLAGS
18758 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"
18764 then :
18765 ac_cv_cflags__Wpacked_not_aligned=yes
18766 else $as_nop
18767 ac_cv_cflags__Wpacked_not_aligned=no
18769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18770 conftest$ac_exeext conftest.$ac_ext
18771 CFLAGS=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18775 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18776 then :
18777 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18780 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18781 if test ${ac_cv_cflags__Wpragma_pack+y}
18782 then :
18783 printf %s "(cached) " >&6
18784 else $as_nop
18785 ac_wine_try_cflags_saved=$CFLAGS
18786 CFLAGS="$CFLAGS -Wpragma-pack"
18787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18790 _ACEOF
18791 if ac_fn_c_try_link "$LINENO"
18792 then :
18793 ac_cv_cflags__Wpragma_pack=yes
18794 else $as_nop
18795 ac_cv_cflags__Wpragma_pack=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18798 conftest$ac_exeext conftest.$ac_ext
18799 CFLAGS=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18803 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18804 then :
18805 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18808 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18809 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18810 then :
18811 printf %s "(cached) " >&6
18812 else $as_nop
18813 ac_wine_try_cflags_saved=$CFLAGS
18814 CFLAGS="$CFLAGS -Wshift-overflow=2"
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"
18820 then :
18821 ac_cv_cflags__Wshift_overflow_2=yes
18822 else $as_nop
18823 ac_cv_cflags__Wshift_overflow_2=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18826 conftest$ac_exeext conftest.$ac_ext
18827 CFLAGS=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18831 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18832 then :
18833 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18836 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18837 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18838 then :
18839 printf %s "(cached) " >&6
18840 else $as_nop
18841 ac_wine_try_cflags_saved=$CFLAGS
18842 CFLAGS="$CFLAGS -Wstrict-prototypes"
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"
18848 then :
18849 ac_cv_cflags__Wstrict_prototypes=yes
18850 else $as_nop
18851 ac_cv_cflags__Wstrict_prototypes=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18854 conftest$ac_exeext conftest.$ac_ext
18855 CFLAGS=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18859 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18860 then :
18861 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18864 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18865 if test ${ac_cv_cflags__Wtype_limits+y}
18866 then :
18867 printf %s "(cached) " >&6
18868 else $as_nop
18869 ac_wine_try_cflags_saved=$CFLAGS
18870 CFLAGS="$CFLAGS -Wtype-limits"
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"
18876 then :
18877 ac_cv_cflags__Wtype_limits=yes
18878 else $as_nop
18879 ac_cv_cflags__Wtype_limits=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 CFLAGS=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18887 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18888 then :
18889 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18892 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18893 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18894 then :
18895 printf %s "(cached) " >&6
18896 else $as_nop
18897 ac_wine_try_cflags_saved=$CFLAGS
18898 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18902 _ACEOF
18903 if ac_fn_c_try_link "$LINENO"
18904 then :
18905 ac_cv_cflags__Wunused_but_set_parameter=yes
18906 else $as_nop
18907 ac_cv_cflags__Wunused_but_set_parameter=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18910 conftest$ac_exeext conftest.$ac_ext
18911 CFLAGS=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18915 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18916 then :
18917 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18920 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18921 if test ${ac_cv_cflags__Wvla+y}
18922 then :
18923 printf %s "(cached) " >&6
18924 else $as_nop
18925 ac_wine_try_cflags_saved=$CFLAGS
18926 CFLAGS="$CFLAGS -Wvla"
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18930 _ACEOF
18931 if ac_fn_c_try_link "$LINENO"
18932 then :
18933 ac_cv_cflags__Wvla=yes
18934 else $as_nop
18935 ac_cv_cflags__Wvla=no
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18938 conftest$ac_exeext conftest.$ac_ext
18939 CFLAGS=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18943 if test "x$ac_cv_cflags__Wvla" = xyes
18944 then :
18945 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18948 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18949 if test ${ac_cv_cflags__Wwrite_strings+y}
18950 then :
18951 printf %s "(cached) " >&6
18952 else $as_nop
18953 ac_wine_try_cflags_saved=$CFLAGS
18954 CFLAGS="$CFLAGS -Wwrite-strings"
18955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18958 _ACEOF
18959 if ac_fn_c_try_link "$LINENO"
18960 then :
18961 ac_cv_cflags__Wwrite_strings=yes
18962 else $as_nop
18963 ac_cv_cflags__Wwrite_strings=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18966 conftest$ac_exeext conftest.$ac_ext
18967 CFLAGS=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18971 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18972 then :
18973 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18977 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18978 if test ${ac_cv_cflags__Wpointer_arith+y}
18979 then :
18980 printf %s "(cached) " >&6
18981 else $as_nop
18982 ac_wine_try_cflags_saved=$CFLAGS
18983 CFLAGS="$CFLAGS -Wpointer-arith"
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 int main(int argc, char **argv) { return 0; }
18987 _ACEOF
18988 if ac_fn_c_try_link "$LINENO"
18989 then :
18990 ac_cv_cflags__Wpointer_arith=yes
18991 else $as_nop
18992 ac_cv_cflags__Wpointer_arith=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18995 conftest$ac_exeext conftest.$ac_ext
18996 CFLAGS=$ac_wine_try_cflags_saved
18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18999 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19000 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19001 then :
19002 saved_string_h_CFLAGS=$CFLAGS
19003 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19005 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19006 if test ${ac_cv_c_string_h_warnings+y}
19007 then :
19008 printf %s "(cached) " >&6
19009 else $as_nop
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <string.h>
19014 main (void)
19018 return 0;
19020 _ACEOF
19021 if ac_fn_c_try_compile "$LINENO"
19022 then :
19023 ac_cv_c_string_h_warnings=no
19024 else $as_nop
19025 ac_cv_c_string_h_warnings=yes
19027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19030 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19031 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19032 CFLAGS=$saved_string_h_CFLAGS
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19036 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19037 if test ${ac_cv_cflags__Wlogical_op+y}
19038 then :
19039 printf %s "(cached) " >&6
19040 else $as_nop
19041 ac_wine_try_cflags_saved=$CFLAGS
19042 CFLAGS="$CFLAGS -Wlogical-op"
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 int main(int argc, char **argv) { return 0; }
19046 _ACEOF
19047 if ac_fn_c_try_link "$LINENO"
19048 then :
19049 ac_cv_cflags__Wlogical_op=yes
19050 else $as_nop
19051 ac_cv_cflags__Wlogical_op=no
19053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19054 conftest$ac_exeext conftest.$ac_ext
19055 CFLAGS=$ac_wine_try_cflags_saved
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19058 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19059 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19060 then :
19061 saved_string_h_CFLAGS=$CFLAGS
19062 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19064 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19065 if test ${ac_cv_c_logicalop_noisy+y}
19066 then :
19067 printf %s "(cached) " >&6
19068 else $as_nop
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #include <string.h>
19072 char*f(const char *h,char n) {return strchr(h,n);}
19074 main (void)
19078 return 0;
19080 _ACEOF
19081 if ac_fn_c_try_compile "$LINENO"
19082 then :
19083 ac_cv_c_logicalop_noisy=no
19084 else $as_nop
19085 ac_cv_c_logicalop_noisy=yes
19087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19090 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19091 CFLAGS=$saved_string_h_CFLAGS
19092 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19096 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19097 if test ${wine_cv_64bit_compare_swap+y}
19098 then :
19099 printf %s "(cached) " >&6
19100 else $as_nop
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19103 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19104 #error no
19105 #endif
19107 main (void)
19111 return 0;
19113 _ACEOF
19114 if ac_fn_c_try_compile "$LINENO"
19115 then :
19116 wine_cv_64bit_compare_swap="none needed"
19117 else $as_nop
19118 case $host_cpu in
19119 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19120 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19121 *) wine_cv_64bit_compare_swap="unknown" ;;
19122 esac
19123 if test "x$wine_cv_64bit_compare_swap" != xunknown
19124 then
19125 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19128 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19129 #error no
19130 #endif
19132 main (void)
19136 return 0;
19138 _ACEOF
19139 if ac_fn_c_try_compile "$LINENO"
19140 then :
19142 else $as_nop
19143 wine_cv_64bit_compare_swap="unknown"
19145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19146 CFLAGS=$saved_CFLAGS
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19152 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19153 case "$wine_cv_64bit_compare_swap" in
19154 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19155 "none needed") ;;
19156 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19157 esac
19159 ac_debug_format_seen=""
19160 for ac_flag in $CFLAGS; do
19161 case $ac_flag in
19162 -gdwarf*) ac_debug_format_seen=yes ;;
19163 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19164 esac
19165 done
19166 if test "x$ac_debug_format_seen" = xdefault
19167 then
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19169 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19170 if test ${ac_cv_cflags__gdwarf_4+y}
19171 then :
19172 printf %s "(cached) " >&6
19173 else $as_nop
19174 ac_wine_try_cflags_saved=$CFLAGS
19175 CFLAGS="$CFLAGS -gdwarf-4"
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19178 int main(int argc, char **argv) { return 0; }
19179 _ACEOF
19180 if ac_fn_c_try_link "$LINENO"
19181 then :
19182 ac_cv_cflags__gdwarf_4=yes
19183 else $as_nop
19184 ac_cv_cflags__gdwarf_4=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19187 conftest$ac_exeext conftest.$ac_ext
19188 CFLAGS=$ac_wine_try_cflags_saved
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19191 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19192 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19193 then :
19194 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19198 MSVCRTFLAGS=""
19200 case $host_os in
19201 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19202 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19203 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19204 then :
19205 printf %s "(cached) " >&6
19206 else $as_nop
19207 ac_wine_try_cflags_saved=$CFLAGS
19208 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 int main(int argc, char **argv) { return 0; }
19212 _ACEOF
19213 if ac_fn_c_try_link "$LINENO"
19214 then :
19215 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19216 else $as_nop
19217 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19220 conftest$ac_exeext conftest.$ac_ext
19221 CFLAGS=$ac_wine_try_cflags_saved
19223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19224 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19225 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19226 then :
19227 DELAYLOADFLAG="-Wl,-delayload,"
19229 fi ;;
19230 *) MSVCRTFLAGS="-D_WIN32"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19232 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19233 if test ${ac_cv_cflags__fno_builtin+y}
19234 then :
19235 printf %s "(cached) " >&6
19236 else $as_nop
19237 ac_wine_try_cflags_saved=$CFLAGS
19238 CFLAGS="$CFLAGS -fno-builtin"
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19242 _ACEOF
19243 if ac_fn_c_try_link "$LINENO"
19244 then :
19245 ac_cv_cflags__fno_builtin=yes
19246 else $as_nop
19247 ac_cv_cflags__fno_builtin=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19250 conftest$ac_exeext conftest.$ac_ext
19251 CFLAGS=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19254 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19255 if test "x$ac_cv_cflags__fno_builtin" = xyes
19256 then :
19257 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19260 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19261 if test ${ac_cv_cflags__fshort_wchar+y}
19262 then :
19263 printf %s "(cached) " >&6
19264 else $as_nop
19265 ac_wine_try_cflags_saved=$CFLAGS
19266 CFLAGS="$CFLAGS -fshort-wchar"
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19268 /* end confdefs.h. */
19269 int main(int argc, char **argv) { return 0; }
19270 _ACEOF
19271 if ac_fn_c_try_link "$LINENO"
19272 then :
19273 ac_cv_cflags__fshort_wchar=yes
19274 else $as_nop
19275 ac_cv_cflags__fshort_wchar=no
19277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19278 conftest$ac_exeext conftest.$ac_ext
19279 CFLAGS=$ac_wine_try_cflags_saved
19281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19282 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19283 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19284 then :
19285 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19288 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19289 if test ${ac_cv_cflags__Wno_format+y}
19290 then :
19291 printf %s "(cached) " >&6
19292 else $as_nop
19293 ac_wine_try_cflags_saved=$CFLAGS
19294 CFLAGS="$CFLAGS -Wno-format"
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 int main(int argc, char **argv) { return 0; }
19298 _ACEOF
19299 if ac_fn_c_try_link "$LINENO"
19300 then :
19301 ac_cv_cflags__Wno_format=yes
19302 else $as_nop
19303 ac_cv_cflags__Wno_format=no
19305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19306 conftest$ac_exeext conftest.$ac_ext
19307 CFLAGS=$ac_wine_try_cflags_saved
19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19310 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19311 if test "x$ac_cv_cflags__Wno_format" = xyes
19312 then :
19313 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19314 fi ;;
19315 esac
19317 case $host_cpu in
19318 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19319 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19320 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19321 then :
19322 printf %s "(cached) " >&6
19323 else $as_nop
19324 ac_wine_try_cflags_saved=$CFLAGS
19325 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19327 /* end confdefs.h. */
19328 int main(int argc, char **argv) { return 0; }
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"
19331 then :
19332 ac_cv_cflags__fno_omit_frame_pointer=yes
19333 else $as_nop
19334 ac_cv_cflags__fno_omit_frame_pointer=no
19336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19337 conftest$ac_exeext conftest.$ac_ext
19338 CFLAGS=$ac_wine_try_cflags_saved
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19341 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19342 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19343 then :
19344 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19345 fi ;;
19346 *x86_64*)
19347 case $host_os in
19348 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19349 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19350 if test ${ac_cv_cflags__Wno_format+y}
19351 then :
19352 printf %s "(cached) " >&6
19353 else $as_nop
19354 ac_wine_try_cflags_saved=$CFLAGS
19355 CFLAGS="$CFLAGS -Wno-format"
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 int main(int argc, char **argv) { return 0; }
19359 _ACEOF
19360 if ac_fn_c_try_link "$LINENO"
19361 then :
19362 ac_cv_cflags__Wno_format=yes
19363 else $as_nop
19364 ac_cv_cflags__Wno_format=no
19366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19367 conftest$ac_exeext conftest.$ac_ext
19368 CFLAGS=$ac_wine_try_cflags_saved
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19371 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19372 if test "x$ac_cv_cflags__Wno_format" = xyes
19373 then :
19374 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19375 fi ;;
19376 *) if test -z "$PE_ARCHS"
19377 then
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19379 printf %s "checking for working -mabi=ms... " >&6; }
19380 if test ${ac_cv_mabi_ms+y}
19381 then :
19382 printf %s "(cached) " >&6
19383 else $as_nop
19384 CFLAGS="$CFLAGS -mabi=ms"
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 #include <stdarg.h>
19388 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19390 main (void)
19394 return 0;
19396 _ACEOF
19397 if ac_fn_c_try_compile "$LINENO"
19398 then :
19399 ac_cv_mabi_ms=yes
19400 else $as_nop
19401 ac_cv_mabi_ms=no
19403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19404 CFLAGS=$saved_CFLAGS
19406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19407 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19408 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
19410 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19411 esac ;;
19412 arm*)
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19414 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19415 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19416 then :
19417 printf %s "(cached) " >&6
19418 else $as_nop
19419 ac_wine_try_cflags_saved=$CFLAGS
19420 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 int main(int argc, char **argv) { return 0; }
19424 _ACEOF
19425 if ac_fn_c_try_link "$LINENO"
19426 then :
19427 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19428 else $as_nop
19429 ac_cv_cflags__Wincompatible_function_pointer_types=no
19431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19432 conftest$ac_exeext conftest.$ac_ext
19433 CFLAGS=$ac_wine_try_cflags_saved
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19436 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19437 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19438 then :
19439 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19440 fi ;;
19441 esac
19443 CFLAGS=$saved_CFLAGS
19445 if test "x$enable_werror" = "xyes"
19446 then
19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19448 printf %s "checking whether the compiler supports -Werror... " >&6; }
19449 if test ${ac_cv_cflags__Werror+y}
19450 then :
19451 printf %s "(cached) " >&6
19452 else $as_nop
19453 ac_wine_try_cflags_saved=$CFLAGS
19454 CFLAGS="$CFLAGS -Werror"
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19457 int main(int argc, char **argv) { return 0; }
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"
19460 then :
19461 ac_cv_cflags__Werror=yes
19462 else $as_nop
19463 ac_cv_cflags__Werror=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19466 conftest$ac_exeext conftest.$ac_ext
19467 CFLAGS=$ac_wine_try_cflags_saved
19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19470 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19471 if test "x$ac_cv_cflags__Werror" = xyes
19472 then :
19473 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19476 if test "x$enable_build_id" = "xyes"
19477 then
19478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19479 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19480 if test ${ac_cv_cflags__Wl___build_id+y}
19481 then :
19482 printf %s "(cached) " >&6
19483 else $as_nop
19484 ac_wine_try_cflags_saved=$CFLAGS
19485 CFLAGS="$CFLAGS -Wl,--build-id"
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 int main(int argc, char **argv) { return 0; }
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"
19491 then :
19492 ac_cv_cflags__Wl___build_id=yes
19493 else $as_nop
19494 ac_cv_cflags__Wl___build_id=no
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19497 conftest$ac_exeext conftest.$ac_ext
19498 CFLAGS=$ac_wine_try_cflags_saved
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19501 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19502 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19503 then :
19504 CFLAGS="$CFLAGS -Wl,--build-id"
19505 LDFLAGS="$LDFLAGS -Wl,--build-id"
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19512 printf %s "checking for the need to disable Fortify... " >&6; }
19513 if test ${ac_cv_c_fortify_enabled+y}
19514 then :
19515 printf %s "(cached) " >&6
19516 else $as_nop
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <string.h>
19521 main (void)
19523 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19524 #error Fortify enabled
19525 #endif
19527 return 0;
19529 _ACEOF
19530 if ac_fn_c_try_compile "$LINENO"
19531 then :
19532 ac_cv_c_fortify_enabled=no
19533 else $as_nop
19534 ac_cv_c_fortify_enabled=yes
19536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19539 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19540 if test "$ac_cv_c_fortify_enabled" = yes
19541 then
19542 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19547 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19548 if test ${ac_cv_c_cfi_support+y}
19549 then :
19550 printf %s "(cached) " >&6
19551 else $as_nop
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19556 main (void)
19560 return 0;
19562 _ACEOF
19563 if ac_fn_c_try_compile "$LINENO"
19564 then :
19565 ac_cv_c_cfi_support="yes"
19566 else $as_nop
19567 ac_cv_c_cfi_support="no"
19569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19572 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19573 if test "$ac_cv_c_cfi_support" = "yes"
19574 then
19575 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19576 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19577 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19578 elif test $HOST_ARCH = x86_64
19579 then
19580 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19584 case "$HOST_ARCH,$PE_ARCHS" in
19585 x86_64,*i386*) wine_binary="wine" ;;
19586 x86_64,*) wine_binary="wine64" ;;
19587 *) wine_binary="wine" ;;
19588 esac
19589 WINELOADER_PROGRAMS="$wine_binary"
19592 case $host_os in
19593 linux*)
19594 case $host_cpu in
19595 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19596 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19597 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19599 esac
19601 darwin*|macosx*)
19602 if test "$wine_can_build_preloader" = "yes"
19603 then
19604 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19605 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19608 esac
19611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19612 printf %s "checking for library containing dlopen... " >&6; }
19613 if test ${ac_cv_search_dlopen+y}
19614 then :
19615 printf %s "(cached) " >&6
19616 else $as_nop
19617 ac_func_search_save_LIBS=$LIBS
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19624 char dlopen ();
19626 main (void)
19628 return dlopen ();
19630 return 0;
19632 _ACEOF
19633 for ac_lib in '' dl
19635 if test -z "$ac_lib"; then
19636 ac_res="none required"
19637 else
19638 ac_res=-l$ac_lib
19639 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19641 if ac_fn_c_try_link "$LINENO"
19642 then :
19643 ac_cv_search_dlopen=$ac_res
19645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19646 conftest$ac_exeext
19647 if test ${ac_cv_search_dlopen+y}
19648 then :
19649 break
19651 done
19652 if test ${ac_cv_search_dlopen+y}
19653 then :
19655 else $as_nop
19656 ac_cv_search_dlopen=no
19658 rm conftest.$ac_ext
19659 LIBS=$ac_func_search_save_LIBS
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19662 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19663 ac_res=$ac_cv_search_dlopen
19664 if test "$ac_res" != no
19665 then :
19666 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19672 printf %s "checking for library containing gethostbyname... " >&6; }
19673 if test ${ac_cv_search_gethostbyname+y}
19674 then :
19675 printf %s "(cached) " >&6
19676 else $as_nop
19677 ac_func_search_save_LIBS=$LIBS
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19681 /* Override any GCC internal prototype to avoid an error.
19682 Use char because int might match the return type of a GCC
19683 builtin and then its argument prototype would still apply. */
19684 char gethostbyname ();
19686 main (void)
19688 return gethostbyname ();
19690 return 0;
19692 _ACEOF
19693 for ac_lib in '' nsl
19695 if test -z "$ac_lib"; then
19696 ac_res="none required"
19697 else
19698 ac_res=-l$ac_lib
19699 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19701 if ac_fn_c_try_link "$LINENO"
19702 then :
19703 ac_cv_search_gethostbyname=$ac_res
19705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19706 conftest$ac_exeext
19707 if test ${ac_cv_search_gethostbyname+y}
19708 then :
19709 break
19711 done
19712 if test ${ac_cv_search_gethostbyname+y}
19713 then :
19715 else $as_nop
19716 ac_cv_search_gethostbyname=no
19718 rm conftest.$ac_ext
19719 LIBS=$ac_func_search_save_LIBS
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19722 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19723 ac_res=$ac_cv_search_gethostbyname
19724 if test "$ac_res" != no
19725 then :
19726 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19732 printf %s "checking for library containing connect... " >&6; }
19733 if test ${ac_cv_search_connect+y}
19734 then :
19735 printf %s "(cached) " >&6
19736 else $as_nop
19737 ac_func_search_save_LIBS=$LIBS
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19741 /* Override any GCC internal prototype to avoid an error.
19742 Use char because int might match the return type of a GCC
19743 builtin and then its argument prototype would still apply. */
19744 char connect ();
19746 main (void)
19748 return connect ();
19750 return 0;
19752 _ACEOF
19753 for ac_lib in '' socket
19755 if test -z "$ac_lib"; then
19756 ac_res="none required"
19757 else
19758 ac_res=-l$ac_lib
19759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19761 if ac_fn_c_try_link "$LINENO"
19762 then :
19763 ac_cv_search_connect=$ac_res
19765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19766 conftest$ac_exeext
19767 if test ${ac_cv_search_connect+y}
19768 then :
19769 break
19771 done
19772 if test ${ac_cv_search_connect+y}
19773 then :
19775 else $as_nop
19776 ac_cv_search_connect=no
19778 rm conftest.$ac_ext
19779 LIBS=$ac_func_search_save_LIBS
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19782 printf "%s\n" "$ac_cv_search_connect" >&6; }
19783 ac_res=$ac_cv_search_connect
19784 if test "$ac_res" != no
19785 then :
19786 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19792 printf %s "checking for library containing inet_aton... " >&6; }
19793 if test ${ac_cv_search_inet_aton+y}
19794 then :
19795 printf %s "(cached) " >&6
19796 else $as_nop
19797 ac_func_search_save_LIBS=$LIBS
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 char inet_aton ();
19806 main (void)
19808 return inet_aton ();
19810 return 0;
19812 _ACEOF
19813 for ac_lib in '' resolv
19815 if test -z "$ac_lib"; then
19816 ac_res="none required"
19817 else
19818 ac_res=-l$ac_lib
19819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19821 if ac_fn_c_try_link "$LINENO"
19822 then :
19823 ac_cv_search_inet_aton=$ac_res
19825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19826 conftest$ac_exeext
19827 if test ${ac_cv_search_inet_aton+y}
19828 then :
19829 break
19831 done
19832 if test ${ac_cv_search_inet_aton+y}
19833 then :
19835 else $as_nop
19836 ac_cv_search_inet_aton=no
19838 rm conftest.$ac_ext
19839 LIBS=$ac_func_search_save_LIBS
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19842 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19843 ac_res=$ac_cv_search_inet_aton
19844 if test "$ac_res" != no
19845 then :
19846 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19851 ac_save_CFLAGS="$CFLAGS"
19852 CFLAGS="$CFLAGS $BUILTINFLAG"
19853 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19854 if test "x$ac_cv_func_dladdr1" = xyes
19855 then :
19856 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19859 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19860 if test "x$ac_cv_func_dlinfo" = xyes
19861 then :
19862 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19865 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19866 if test "x$ac_cv_func_epoll_create" = xyes
19867 then :
19868 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19871 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19872 if test "x$ac_cv_func_fstatfs" = xyes
19873 then :
19874 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19877 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19878 if test "x$ac_cv_func_futimens" = xyes
19879 then :
19880 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19883 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19884 if test "x$ac_cv_func_futimes" = xyes
19885 then :
19886 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19889 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19890 if test "x$ac_cv_func_futimesat" = xyes
19891 then :
19892 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19895 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19896 if test "x$ac_cv_func_getaddrinfo" = xyes
19897 then :
19898 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19901 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19902 if test "x$ac_cv_func_getattrlist" = xyes
19903 then :
19904 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19907 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19908 if test "x$ac_cv_func_getauxval" = xyes
19909 then :
19910 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19913 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19914 if test "x$ac_cv_func_getifaddrs" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19919 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19920 if test "x$ac_cv_func_getrandom" = xyes
19921 then :
19922 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19925 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19926 if test "x$ac_cv_func_kqueue" = xyes
19927 then :
19928 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19931 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19932 if test "x$ac_cv_func_mach_continuous_time" = xyes
19933 then :
19934 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19937 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19938 if test "x$ac_cv_func_pipe2" = xyes
19939 then :
19940 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19943 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19944 if test "x$ac_cv_func_port_create" = xyes
19945 then :
19946 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19949 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19950 if test "x$ac_cv_func_posix_fadvise" = xyes
19951 then :
19952 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19955 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19956 if test "x$ac_cv_func_posix_fallocate" = xyes
19957 then :
19958 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19961 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19962 if test "x$ac_cv_func_prctl" = xyes
19963 then :
19964 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19967 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19968 if test "x$ac_cv_func_proc_pidinfo" = xyes
19969 then :
19970 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19973 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19974 if test "x$ac_cv_func_sched_yield" = xyes
19975 then :
19976 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19979 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19980 if test "x$ac_cv_func_setproctitle" = xyes
19981 then :
19982 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19985 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19986 if test "x$ac_cv_func_setprogname" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19992 if test "x$ac_cv_func_sigprocmask" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19998 if test "x$ac_cv_func_sysinfo" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20004 if test "x$ac_cv_func_tcdrain" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20010 if test "x$ac_cv_func_thr_kill2" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20016 CFLAGS="$ac_save_CFLAGS"
20018 case $host_os in
20019 darwin*|macosx*) ;;
20020 *) ac_save_LIBS=$LIBS
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20022 printf %s "checking for library containing clock_gettime... " >&6; }
20023 if test ${ac_cv_search_clock_gettime+y}
20024 then :
20025 printf %s "(cached) " >&6
20026 else $as_nop
20027 ac_func_search_save_LIBS=$LIBS
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20031 /* Override any GCC internal prototype to avoid an error.
20032 Use char because int might match the return type of a GCC
20033 builtin and then its argument prototype would still apply. */
20034 char clock_gettime ();
20036 main (void)
20038 return clock_gettime ();
20040 return 0;
20042 _ACEOF
20043 for ac_lib in '' rt
20045 if test -z "$ac_lib"; then
20046 ac_res="none required"
20047 else
20048 ac_res=-l$ac_lib
20049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20051 if ac_fn_c_try_link "$LINENO"
20052 then :
20053 ac_cv_search_clock_gettime=$ac_res
20055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20056 conftest$ac_exeext
20057 if test ${ac_cv_search_clock_gettime+y}
20058 then :
20059 break
20061 done
20062 if test ${ac_cv_search_clock_gettime+y}
20063 then :
20065 else $as_nop
20066 ac_cv_search_clock_gettime=no
20068 rm conftest.$ac_ext
20069 LIBS=$ac_func_search_save_LIBS
20071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20072 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20073 ac_res=$ac_cv_search_clock_gettime
20074 if test "$ac_res" != no
20075 then :
20076 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20078 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20080 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20084 LIBS=$ac_save_LIBS
20086 esac
20088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20089 printf %s "checking for sched_setaffinity... " >&6; }
20090 if test ${wine_cv_have_sched_setaffinity+y}
20091 then :
20092 printf %s "(cached) " >&6
20093 else $as_nop
20094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20095 /* end confdefs.h. */
20096 #include <sched.h>
20098 main (void)
20100 sched_setaffinity(0, 0, 0);
20102 return 0;
20104 _ACEOF
20105 if ac_fn_c_try_link "$LINENO"
20106 then :
20107 wine_cv_have_sched_setaffinity=yes
20108 else $as_nop
20109 wine_cv_have_sched_setaffinity=no
20111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20112 conftest$ac_exeext conftest.$ac_ext
20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20115 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20116 if test "$wine_cv_have_sched_setaffinity" = "yes"
20117 then
20119 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20125 printf %s "checking for inline... " >&6; }
20126 if test ${ac_cv_c_inline+y}
20127 then :
20128 printf %s "(cached) " >&6
20129 else $as_nop
20130 ac_cv_c_inline=no
20131 for ac_kw in inline __inline__ __inline; do
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20134 #ifndef __cplusplus
20135 typedef int foo_t;
20136 static $ac_kw foo_t static_foo (void) {return 0; }
20137 $ac_kw foo_t foo (void) {return 0; }
20138 #endif
20140 _ACEOF
20141 if ac_fn_c_try_compile "$LINENO"
20142 then :
20143 ac_cv_c_inline=$ac_kw
20145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20146 test "$ac_cv_c_inline" != no && break
20147 done
20150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20151 printf "%s\n" "$ac_cv_c_inline" >&6; }
20153 case $ac_cv_c_inline in
20154 inline | yes) ;;
20156 case $ac_cv_c_inline in
20157 no) ac_val=;;
20158 *) ac_val=$ac_cv_c_inline;;
20159 esac
20160 cat >>confdefs.h <<_ACEOF
20161 #ifndef __cplusplus
20162 #define inline $ac_val
20163 #endif
20164 _ACEOF
20166 esac
20168 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20170 if test "x$ac_cv_type_request_sense" = xyes
20171 then :
20173 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20179 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20180 #include <sys/socket.h>
20181 #ifdef HAVE_SYS_SOCKETVAR_H
20182 #include <sys/socketvar.h>
20183 #endif
20184 #ifdef HAVE_NET_ROUTE_H
20185 #include <net/route.h>
20186 #endif
20187 #ifdef HAVE_NETINET_IN_H
20188 #include <netinet/in.h>
20189 #endif
20190 #ifdef HAVE_NETINET_IN_SYSTM_H
20191 #include <netinet/in_systm.h>
20192 #endif
20193 #ifdef HAVE_NETINET_IP_H
20194 #include <netinet/ip.h>
20195 #endif
20196 #ifdef HAVE_NETINET_IN_PCB_H
20197 #include <netinet/in_pcb.h>
20198 #endif
20200 if test "x$ac_cv_type_struct_xinpgen" = xyes
20201 then :
20203 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20210 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20211 if test ${wine_cv_linux_gethostbyname_r_6+y}
20212 then :
20213 printf %s "(cached) " >&6
20214 else $as_nop
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20217 #include <netdb.h>
20219 main (void)
20222 char *name=0;
20223 struct hostent he;
20224 struct hostent *result;
20225 char *buf=0;
20226 int bufsize=0;
20227 int errnr;
20228 char *addr=0;
20229 int addrlen=0;
20230 int addrtype=0;
20231 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20232 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20235 return 0;
20237 _ACEOF
20238 if ac_fn_c_try_link "$LINENO"
20239 then :
20240 wine_cv_linux_gethostbyname_r_6=yes
20241 else $as_nop
20242 wine_cv_linux_gethostbyname_r_6=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20246 conftest$ac_exeext conftest.$ac_ext
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20250 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20251 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20252 then
20254 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20258 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20259 #include <sys/socket.h>
20260 #ifdef HAVE_SYS_UN_H
20261 # include <sys/un.h>
20262 #endif
20264 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20265 then :
20267 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20271 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20272 #include <sys/socket.h>
20273 #ifdef HAVE_SYS_UN_H
20274 # include <sys/un.h>
20275 #endif
20277 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20278 then :
20280 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20286 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20287 #ifdef HAVE_SCSI_SG_H
20288 #include <scsi/sg.h>
20289 #endif
20291 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20292 then :
20294 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20298 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>
20299 #ifdef HAVE_SCSI_SG_H
20300 #include <scsi/sg.h>
20301 #endif
20303 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20304 then :
20306 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20312 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20314 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20315 then :
20317 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20323 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20324 #ifdef HAVE_SYS_MTIO_H
20325 #include <sys/mtio.h>
20326 #endif
20328 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20329 then :
20331 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20335 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20336 #ifdef HAVE_SYS_MTIO_H
20337 #include <sys/mtio.h>
20338 #endif
20340 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20341 then :
20343 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20347 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20348 #ifdef HAVE_SYS_MTIO_H
20349 #include <sys/mtio.h>
20350 #endif
20352 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20379 then :
20381 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20385 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20386 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20393 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20394 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20402 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20403 then :
20405 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20417 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20425 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20433 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20441 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20443 then :
20445 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20451 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>
20452 #ifdef HAVE_NETINET_IN_H
20453 #include <netinet/in.h>
20454 #endif
20456 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20465 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
20466 #include <resolv.h>
20467 #endif
20469 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20470 then :
20472 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20478 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20479 #include <netinet/in.h>
20480 #endif
20482 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20491 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20492 #ifdef HAVE_SYS_SOCKETVAR_H
20493 #include <sys/socketvar.h>
20494 #endif
20495 #ifdef HAVE_NETINET_IN_H
20496 #include <netinet/in.h>
20497 #endif
20498 #ifdef HAVE_NETINET_IP_VAR_H
20499 #include <netinet/ip_var.h>
20500 #endif
20502 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20503 then :
20505 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20511 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
20512 #include <netinet/ip_var.h>
20513 #endif
20515 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20516 then :
20518 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20524 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20525 #ifdef HAVE_SYS_SOCKETVAR_H
20526 #include <sys/socketvar.h>
20527 #endif
20528 #ifdef HAVE_NETINET_IN_H
20529 #include <netinet/in.h>
20530 #endif
20531 #ifdef HAVE_NETINET6_IP6_VAR_H
20532 #include <netinet6/ip6_var.h>
20533 #endif
20535 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20544 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20545 #ifdef HAVE_SYS_SOCKETVAR_H
20546 #include <sys/socketvar.h>
20547 #endif
20548 #ifdef HAVE_NETINET_IN_H
20549 #include <netinet/in.h>
20550 #endif
20551 #ifdef HAVE_NETINET_IP_H
20552 #include <netinet/ip.h>
20553 #endif
20554 #ifdef HAVE_NETINET_IP_ICMP_H
20555 #include <netinet/ip_icmp.h>
20556 #endif
20557 #ifdef HAVE_NETINET_ICMP_VAR_H
20558 #include <netinet/icmp_var.h>
20559 #endif
20561 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20562 then :
20564 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20570 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20571 #ifdef HAVE_SYS_SOCKETVAR_H
20572 #include <sys/socketvar.h>
20573 #endif
20574 #ifdef HAVE_NETINET_IN_H
20575 #include <netinet/in.h>
20576 #endif
20577 #ifdef HAVE_NETINET_ICMP6_H
20578 #include <netinet/icmp6.h>
20579 #endif
20581 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20582 then :
20584 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20591 #ifdef HAVE_SYS_SOCKETVAR_H
20592 #include <sys/socketvar.h>
20593 #endif
20594 #ifdef HAVE_NETINET_IN_H
20595 #include <netinet/in.h>
20596 #endif
20597 #ifdef HAVE_NETINET_TCP_H
20598 #include <netinet/tcp.h>
20599 #endif
20600 #ifdef HAVE_NETINET_TCP_VAR_H
20601 #include <netinet/tcp_var.h>
20602 #endif
20604 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20605 then :
20607 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20613 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
20614 #include <netinet/tcp_var.h>
20615 #endif
20617 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20618 then :
20620 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20626 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20627 #ifdef HAVE_NETINET_IN_H
20628 #include <netinet/in.h>
20629 #endif
20630 #ifdef HAVE_NETINET_IP_VAR_H
20631 #include <netinet/ip_var.h>
20632 #endif
20633 #ifdef HAVE_NETINET_UDP_H
20634 #include <netinet/udp.h>
20635 #endif
20636 #ifdef HAVE_NETINET_UDP_VAR_H
20637 #include <netinet/udp_var.h>
20638 #endif
20640 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20641 then :
20643 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20649 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20650 #ifdef HAVE_NET_IF_H
20651 # include <net/if.h>
20652 #endif
20654 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20655 then :
20657 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20663 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20664 # include <sys/sysinfo.h>
20665 #endif
20667 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20668 then :
20670 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20674 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20675 # include <sys/sysinfo.h>
20676 #endif
20678 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20679 then :
20681 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20687 LIBS="$ac_save_LIBS"
20689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20690 printf %s "checking for __builtin_popcount... " >&6; }
20691 if test ${ac_cv_have___builtin_popcount+y}
20692 then :
20693 printf %s "(cached) " >&6
20694 else $as_nop
20695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20699 main (void)
20701 return __builtin_popcount(1)
20703 return 0;
20705 _ACEOF
20706 if ac_fn_c_try_link "$LINENO"
20707 then :
20708 ac_cv_have___builtin_popcount="yes"
20709 else $as_nop
20710 ac_cv_have___builtin_popcount="no"
20712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20713 conftest$ac_exeext conftest.$ac_ext
20715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20716 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20717 if test "$ac_cv_have___builtin_popcount" = "yes"
20718 then
20720 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20725 printf %s "checking for __clear_cache... " >&6; }
20726 if test ${ac_cv_have___clear_cache+y}
20727 then :
20728 printf %s "(cached) " >&6
20729 else $as_nop
20730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20734 main (void)
20736 __clear_cache((void*)0, (void*)0); return 0;
20738 return 0;
20740 _ACEOF
20741 if ac_fn_c_try_link "$LINENO"
20742 then :
20743 ac_cv_have___clear_cache="yes"
20744 else $as_nop
20745 ac_cv_have___clear_cache="no"
20747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20748 conftest$ac_exeext conftest.$ac_ext
20750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20751 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20752 if test "$ac_cv_have___clear_cache" = "yes"
20753 then
20755 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20760 case $host_cpu in
20761 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20762 printf %s "checking whether we need to define __i386__... " >&6; }
20763 if test ${ac_cv_cpp_def___i386__+y}
20764 then :
20765 printf %s "(cached) " >&6
20766 else $as_nop
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20769 #ifndef __i386__
20771 #endif
20772 _ACEOF
20773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20774 $EGREP "yes" >/dev/null 2>&1
20775 then :
20776 ac_cv_cpp_def___i386__=yes
20777 else $as_nop
20778 ac_cv_cpp_def___i386__=no
20780 rm -rf conftest*
20783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20784 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20785 if test "x$ac_cv_cpp_def___i386__" = xyes
20786 then :
20787 CFLAGS="$CFLAGS -D__i386__"
20788 LINTFLAGS="$LINTFLAGS -D__i386__"
20789 fi ;;
20790 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20791 printf %s "checking whether we need to define __x86_64__... " >&6; }
20792 if test ${ac_cv_cpp_def___x86_64__+y}
20793 then :
20794 printf %s "(cached) " >&6
20795 else $as_nop
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #ifndef __x86_64__
20800 #endif
20801 _ACEOF
20802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20803 $EGREP "yes" >/dev/null 2>&1
20804 then :
20805 ac_cv_cpp_def___x86_64__=yes
20806 else $as_nop
20807 ac_cv_cpp_def___x86_64__=no
20809 rm -rf conftest*
20812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20813 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20814 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20815 then :
20816 CFLAGS="$CFLAGS -D__x86_64__"
20817 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20818 fi ;;
20819 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20820 printf %s "checking whether we need to define __sparc64__... " >&6; }
20821 if test ${ac_cv_cpp_def___sparc64__+y}
20822 then :
20823 printf %s "(cached) " >&6
20824 else $as_nop
20825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20826 /* end confdefs.h. */
20827 #ifndef __sparc64__
20829 #endif
20830 _ACEOF
20831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20832 $EGREP "yes" >/dev/null 2>&1
20833 then :
20834 ac_cv_cpp_def___sparc64__=yes
20835 else $as_nop
20836 ac_cv_cpp_def___sparc64__=no
20838 rm -rf conftest*
20841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20842 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20843 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20844 then :
20845 CFLAGS="$CFLAGS -D__sparc64__"
20846 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20847 fi ;;
20848 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20849 printf %s "checking whether we need to define __sparc__... " >&6; }
20850 if test ${ac_cv_cpp_def___sparc__+y}
20851 then :
20852 printf %s "(cached) " >&6
20853 else $as_nop
20854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20856 #ifndef __sparc__
20858 #endif
20859 _ACEOF
20860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20861 $EGREP "yes" >/dev/null 2>&1
20862 then :
20863 ac_cv_cpp_def___sparc__=yes
20864 else $as_nop
20865 ac_cv_cpp_def___sparc__=no
20867 rm -rf conftest*
20870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20871 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20872 if test "x$ac_cv_cpp_def___sparc__" = xyes
20873 then :
20874 CFLAGS="$CFLAGS -D__sparc__"
20875 LINTFLAGS="$LINTFLAGS -D__sparc__"
20876 fi ;;
20877 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20878 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20879 if test ${ac_cv_cpp_def___powerpc64__+y}
20880 then :
20881 printf %s "(cached) " >&6
20882 else $as_nop
20883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #ifndef __powerpc64__
20887 #endif
20888 _ACEOF
20889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20890 $EGREP "yes" >/dev/null 2>&1
20891 then :
20892 ac_cv_cpp_def___powerpc64__=yes
20893 else $as_nop
20894 ac_cv_cpp_def___powerpc64__=no
20896 rm -rf conftest*
20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20900 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20901 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20902 then :
20903 CFLAGS="$CFLAGS -D__powerpc64__"
20904 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20905 fi ;;
20906 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20907 printf %s "checking whether we need to define __powerpc__... " >&6; }
20908 if test ${ac_cv_cpp_def___powerpc__+y}
20909 then :
20910 printf %s "(cached) " >&6
20911 else $as_nop
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20914 #ifndef __powerpc__
20916 #endif
20917 _ACEOF
20918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20919 $EGREP "yes" >/dev/null 2>&1
20920 then :
20921 ac_cv_cpp_def___powerpc__=yes
20922 else $as_nop
20923 ac_cv_cpp_def___powerpc__=no
20925 rm -rf conftest*
20928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20929 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20930 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20931 then :
20932 CFLAGS="$CFLAGS -D__powerpc__"
20933 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20934 fi ;;
20935 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20936 printf %s "checking whether we need to define __aarch64__... " >&6; }
20937 if test ${ac_cv_cpp_def___aarch64__+y}
20938 then :
20939 printf %s "(cached) " >&6
20940 else $as_nop
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #ifndef __aarch64__
20945 #endif
20946 _ACEOF
20947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20948 $EGREP "yes" >/dev/null 2>&1
20949 then :
20950 ac_cv_cpp_def___aarch64__=yes
20951 else $as_nop
20952 ac_cv_cpp_def___aarch64__=no
20954 rm -rf conftest*
20957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20958 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20959 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20960 then :
20961 CFLAGS="$CFLAGS -D__aarch64__"
20962 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20963 fi ;;
20964 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20965 printf %s "checking whether we need to define __arm__... " >&6; }
20966 if test ${ac_cv_cpp_def___arm__+y}
20967 then :
20968 printf %s "(cached) " >&6
20969 else $as_nop
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20972 #ifndef __arm__
20974 #endif
20975 _ACEOF
20976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20977 $EGREP "yes" >/dev/null 2>&1
20978 then :
20979 ac_cv_cpp_def___arm__=yes
20980 else $as_nop
20981 ac_cv_cpp_def___arm__=no
20983 rm -rf conftest*
20986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20987 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20988 if test "x$ac_cv_cpp_def___arm__" = xyes
20989 then :
20990 CFLAGS="$CFLAGS -D__arm__"
20991 LINTFLAGS="$LINTFLAGS -D__arm__"
20992 fi ;;
20993 esac
20995 case $host_vendor in
20996 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20997 printf %s "checking whether we need to define __sun__... " >&6; }
20998 if test ${ac_cv_cpp_def___sun__+y}
20999 then :
21000 printf %s "(cached) " >&6
21001 else $as_nop
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #ifndef __sun__
21006 #endif
21007 _ACEOF
21008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21009 $EGREP "yes" >/dev/null 2>&1
21010 then :
21011 ac_cv_cpp_def___sun__=yes
21012 else $as_nop
21013 ac_cv_cpp_def___sun__=no
21015 rm -rf conftest*
21018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21019 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21020 if test "x$ac_cv_cpp_def___sun__" = xyes
21021 then :
21022 CFLAGS="$CFLAGS -D__sun__"
21023 LINTFLAGS="$LINTFLAGS -D__sun__"
21024 fi ;;
21025 esac
21031 ac_config_commands="$ac_config_commands include/stamp-h"
21033 printf %s "creating Makefile rules..." >&6
21035 makedep_flags=""
21036 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21038 wine_srcdir=
21039 test "$srcdir" = . || wine_srcdir="$srcdir/"
21041 ac_config_links="$ac_config_links wine:tools/winewrapper"
21042 wine_fn_config_symlink wine
21043 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21044 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21045 wine_fn_config_symlink wine64
21048 wine_fn_config_makefile dlls/acledit enable_acledit
21049 wine_fn_config_makefile dlls/aclui enable_aclui
21050 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21051 wine_fn_config_makefile dlls/activeds enable_activeds
21052 wine_fn_config_makefile dlls/activeds/tests enable_tests
21053 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21054 wine_fn_config_makefile dlls/adsldp enable_adsldp
21055 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21056 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21057 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21058 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21059 wine_fn_config_makefile dlls/advpack enable_advpack
21060 wine_fn_config_makefile dlls/advpack/tests enable_tests
21061 wine_fn_config_makefile dlls/amsi enable_amsi
21062 wine_fn_config_makefile dlls/amstream enable_amstream
21063 wine_fn_config_makefile dlls/amstream/tests enable_tests
21064 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21065 wine_fn_config_makefile dlls/apphelp enable_apphelp
21066 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21067 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21068 wine_fn_config_makefile dlls/atl enable_atl
21069 wine_fn_config_makefile dlls/atl/tests enable_tests
21070 wine_fn_config_makefile dlls/atl100 enable_atl100
21071 wine_fn_config_makefile dlls/atl100/tests enable_tests
21072 wine_fn_config_makefile dlls/atl110 enable_atl110
21073 wine_fn_config_makefile dlls/atl110/tests enable_tests
21074 wine_fn_config_makefile dlls/atl80 enable_atl80
21075 wine_fn_config_makefile dlls/atl80/tests enable_tests
21076 wine_fn_config_makefile dlls/atl90 enable_atl90
21077 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21078 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21079 wine_fn_config_makefile dlls/atmlib enable_atmlib
21080 wine_fn_config_makefile dlls/authz enable_authz
21081 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21082 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21083 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21084 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21085 wine_fn_config_makefile dlls/avrt enable_avrt
21086 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21087 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21088 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21089 wine_fn_config_makefile dlls/browseui enable_browseui
21090 wine_fn_config_makefile dlls/browseui/tests enable_tests
21091 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21092 wine_fn_config_makefile dlls/cabinet enable_cabinet
21093 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21094 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21095 wine_fn_config_makefile dlls/cards enable_cards
21096 wine_fn_config_makefile dlls/cdosys enable_cdosys
21097 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21098 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21099 wine_fn_config_makefile dlls/clusapi enable_clusapi
21100 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21101 wine_fn_config_makefile dlls/combase enable_combase
21102 wine_fn_config_makefile dlls/combase/tests enable_tests
21103 wine_fn_config_makefile dlls/comcat enable_comcat
21104 wine_fn_config_makefile dlls/comcat/tests enable_tests
21105 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21106 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21107 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21108 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21109 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21110 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21111 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21112 wine_fn_config_makefile dlls/compstui enable_compstui
21113 wine_fn_config_makefile dlls/compstui/tests enable_tests
21114 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21115 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21116 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21117 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21118 wine_fn_config_makefile dlls/connect enable_connect
21119 wine_fn_config_makefile dlls/credui enable_credui
21120 wine_fn_config_makefile dlls/credui/tests enable_tests
21121 wine_fn_config_makefile dlls/crtdll enable_crtdll
21122 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21123 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21124 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21125 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21126 wine_fn_config_makefile dlls/cryptext enable_cryptext
21127 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21128 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21129 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21130 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21131 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21132 wine_fn_config_makefile dlls/cryptui enable_cryptui
21133 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21134 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21135 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21136 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21137 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21138 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21139 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21140 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21141 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21142 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21143 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21144 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21145 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21146 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21147 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21148 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21149 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21150 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21151 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21152 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21153 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21154 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21155 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21156 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21157 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21158 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21159 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21160 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21161 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21162 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21163 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21164 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21165 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21166 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21167 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21168 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21169 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21170 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21171 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21172 wine_fn_config_makefile dlls/d3dim enable_d3dim
21173 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21174 wine_fn_config_makefile dlls/d3drm enable_d3drm
21175 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21176 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21177 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21178 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21179 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21180 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21181 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21182 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21183 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21184 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21185 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21186 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21187 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21188 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21189 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21190 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21191 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21192 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21193 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21194 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21195 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21196 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21197 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21198 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21199 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21200 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21201 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21202 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21203 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21204 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21205 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21206 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21207 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21208 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21209 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21210 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21211 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21212 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21213 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21214 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21216 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21217 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21218 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21219 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21220 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21221 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21222 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21223 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21224 wine_fn_config_makefile dlls/davclnt enable_davclnt
21225 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21226 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21227 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21228 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21229 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21230 wine_fn_config_makefile dlls/dcomp enable_dcomp
21231 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21232 wine_fn_config_makefile dlls/ddraw enable_ddraw
21233 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21234 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21235 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21236 wine_fn_config_makefile dlls/devenum enable_devenum
21237 wine_fn_config_makefile dlls/devenum/tests enable_tests
21238 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21239 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21240 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21241 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21242 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21243 wine_fn_config_makefile dlls/difxapi enable_difxapi
21244 wine_fn_config_makefile dlls/dinput enable_dinput
21245 wine_fn_config_makefile dlls/dinput/tests enable_tests
21246 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21247 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21248 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21249 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21250 wine_fn_config_makefile dlls/dispex enable_dispex
21251 wine_fn_config_makefile dlls/dispex/tests enable_tests
21252 wine_fn_config_makefile dlls/display.drv16 enable_win16
21253 wine_fn_config_makefile dlls/dmband enable_dmband
21254 wine_fn_config_makefile dlls/dmband/tests enable_tests
21255 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21256 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21257 wine_fn_config_makefile dlls/dmime enable_dmime
21258 wine_fn_config_makefile dlls/dmime/tests enable_tests
21259 wine_fn_config_makefile dlls/dmloader enable_dmloader
21260 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21261 wine_fn_config_makefile dlls/dmscript enable_dmscript
21262 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21263 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21264 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21265 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21266 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21267 wine_fn_config_makefile dlls/dmusic enable_dmusic
21268 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21269 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21270 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21271 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21272 wine_fn_config_makefile dlls/dplay enable_dplay
21273 wine_fn_config_makefile dlls/dplayx enable_dplayx
21274 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21275 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21276 wine_fn_config_makefile dlls/dpnet enable_dpnet
21277 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21278 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21279 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21280 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21281 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21282 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21283 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21284 wine_fn_config_makefile dlls/drmclien enable_drmclien
21285 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21286 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21287 wine_fn_config_makefile dlls/dsound enable_dsound
21288 wine_fn_config_makefile dlls/dsound/tests enable_tests
21289 wine_fn_config_makefile dlls/dsquery enable_dsquery
21290 wine_fn_config_makefile dlls/dssenh enable_dssenh
21291 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21292 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21293 wine_fn_config_makefile dlls/dswave enable_dswave
21294 wine_fn_config_makefile dlls/dswave/tests enable_tests
21295 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21296 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21297 wine_fn_config_makefile dlls/dwrite enable_dwrite
21298 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21299 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21300 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21301 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21302 wine_fn_config_makefile dlls/dxgi enable_dxgi
21303 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21304 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21305 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21306 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21307 wine_fn_config_makefile dlls/esent enable_esent
21308 wine_fn_config_makefile dlls/evr enable_evr
21309 wine_fn_config_makefile dlls/evr/tests enable_tests
21310 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21311 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21312 wine_fn_config_makefile dlls/faultrep enable_faultrep
21313 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21314 wine_fn_config_makefile dlls/feclient enable_feclient
21315 wine_fn_config_makefile dlls/fltlib enable_fltlib
21316 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21317 wine_fn_config_makefile dlls/fntcache enable_fntcache
21318 wine_fn_config_makefile dlls/fontsub enable_fontsub
21319 wine_fn_config_makefile dlls/fusion enable_fusion
21320 wine_fn_config_makefile dlls/fusion/tests enable_tests
21321 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21322 wine_fn_config_makefile dlls/gameux enable_gameux
21323 wine_fn_config_makefile dlls/gameux/tests enable_tests
21324 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21325 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21326 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21327 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21328 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21329 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21330 wine_fn_config_makefile dlls/glu32 enable_glu32
21331 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21332 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21333 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21334 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21335 wine_fn_config_makefile dlls/hal enable_hal
21336 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21337 wine_fn_config_makefile dlls/hid enable_hid
21338 wine_fn_config_makefile dlls/hid/tests enable_tests
21339 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21340 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21341 wine_fn_config_makefile dlls/hlink enable_hlink
21342 wine_fn_config_makefile dlls/hlink/tests enable_tests
21343 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21344 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21345 wine_fn_config_makefile dlls/http.sys enable_http_sys
21346 wine_fn_config_makefile dlls/httpapi enable_httpapi
21347 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21348 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21349 wine_fn_config_makefile dlls/iccvid enable_iccvid
21350 wine_fn_config_makefile dlls/icmp enable_icmp
21351 wine_fn_config_makefile dlls/ieframe enable_ieframe
21352 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21353 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21354 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21355 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21356 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21357 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21358 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21359 wine_fn_config_makefile dlls/imm32 enable_imm32
21360 wine_fn_config_makefile dlls/imm32/tests enable_tests
21361 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21362 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21363 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21364 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21365 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21366 wine_fn_config_makefile dlls/infosoft enable_infosoft
21367 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21368 wine_fn_config_makefile dlls/initpki enable_initpki
21369 wine_fn_config_makefile dlls/inkobj enable_inkobj
21370 wine_fn_config_makefile dlls/inseng enable_inseng
21371 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21372 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21373 wine_fn_config_makefile dlls/iprop enable_iprop
21374 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21375 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21376 wine_fn_config_makefile dlls/itircl enable_itircl
21377 wine_fn_config_makefile dlls/itss enable_itss
21378 wine_fn_config_makefile dlls/itss/tests enable_tests
21379 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21380 wine_fn_config_makefile dlls/jscript enable_jscript
21381 wine_fn_config_makefile dlls/jscript/tests enable_tests
21382 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21383 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21384 wine_fn_config_makefile dlls/kerberos enable_kerberos
21385 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21386 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21387 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21388 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21389 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21390 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21391 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21392 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21393 wine_fn_config_makefile dlls/ksuser enable_ksuser
21394 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21395 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21396 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21397 wine_fn_config_makefile dlls/loadperf enable_loadperf
21398 wine_fn_config_makefile dlls/localspl enable_localspl
21399 wine_fn_config_makefile dlls/localspl/tests enable_tests
21400 wine_fn_config_makefile dlls/localui enable_localui
21401 wine_fn_config_makefile dlls/localui/tests enable_tests
21402 wine_fn_config_makefile dlls/lz32 enable_lz32
21403 wine_fn_config_makefile dlls/lz32/tests enable_tests
21404 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21405 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21406 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21407 wine_fn_config_makefile dlls/mapistub enable_mapistub
21408 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21409 wine_fn_config_makefile dlls/mcicda enable_mcicda
21410 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21411 wine_fn_config_makefile dlls/mciseq enable_mciseq
21412 wine_fn_config_makefile dlls/mciwave enable_mciwave
21413 wine_fn_config_makefile dlls/mf enable_mf
21414 wine_fn_config_makefile dlls/mf/tests enable_tests
21415 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21416 wine_fn_config_makefile dlls/mferror enable_mferror
21417 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21418 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21419 wine_fn_config_makefile dlls/mfplat enable_mfplat
21420 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21421 wine_fn_config_makefile dlls/mfplay enable_mfplay
21422 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21423 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21424 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21425 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21426 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21427 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21428 wine_fn_config_makefile dlls/midimap enable_midimap
21429 wine_fn_config_makefile dlls/mlang enable_mlang
21430 wine_fn_config_makefile dlls/mlang/tests enable_tests
21431 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21432 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21433 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21434 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21435 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21436 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21437 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21438 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21439 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21440 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21441 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21442 wine_fn_config_makefile dlls/mpr enable_mpr
21443 wine_fn_config_makefile dlls/mpr/tests enable_tests
21444 wine_fn_config_makefile dlls/mprapi enable_mprapi
21445 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21446 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21447 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21448 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21449 wine_fn_config_makefile dlls/msado15 enable_msado15
21450 wine_fn_config_makefile dlls/msado15/tests enable_tests
21451 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21452 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21453 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21454 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21455 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21456 wine_fn_config_makefile dlls/mscms enable_mscms
21457 wine_fn_config_makefile dlls/mscms/tests enable_tests
21458 wine_fn_config_makefile dlls/mscoree enable_mscoree
21459 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21460 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21461 wine_fn_config_makefile dlls/msctf enable_msctf
21462 wine_fn_config_makefile dlls/msctf/tests enable_tests
21463 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21464 wine_fn_config_makefile dlls/msctfp enable_msctfp
21465 wine_fn_config_makefile dlls/msdaps enable_msdaps
21466 wine_fn_config_makefile dlls/msdasql enable_msdasql
21467 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21468 wine_fn_config_makefile dlls/msdelta enable_msdelta
21469 wine_fn_config_makefile dlls/msdmo enable_msdmo
21470 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21471 wine_fn_config_makefile dlls/msdrm enable_msdrm
21472 wine_fn_config_makefile dlls/msftedit enable_msftedit
21473 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21474 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21475 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21476 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21477 wine_fn_config_makefile dlls/mshtml enable_mshtml
21478 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21479 wine_fn_config_makefile dlls/msi enable_msi
21480 wine_fn_config_makefile dlls/msi/tests enable_tests
21481 wine_fn_config_makefile dlls/msident enable_msident
21482 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21483 wine_fn_config_makefile dlls/msimsg enable_msimsg
21484 wine_fn_config_makefile dlls/msimtf enable_msimtf
21485 wine_fn_config_makefile dlls/msisip enable_msisip
21486 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21487 wine_fn_config_makefile dlls/msls31 enable_msls31
21488 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21489 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21490 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21491 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21492 wine_fn_config_makefile dlls/msports enable_msports
21493 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21494 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21495 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21496 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21497 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21498 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21499 wine_fn_config_makefile dlls/mstask enable_mstask
21500 wine_fn_config_makefile dlls/mstask/tests enable_tests
21501 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21502 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21503 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21504 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21505 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21506 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21507 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21508 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21509 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21510 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21511 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21512 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21513 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21514 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21515 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21516 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21517 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21518 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21519 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21520 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21521 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21522 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21523 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21524 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21525 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21526 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21527 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21528 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21529 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21530 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21531 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21532 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21533 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21534 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21535 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21536 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21537 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21538 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21539 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21540 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21541 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21542 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21543 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21544 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21545 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21546 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21547 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21548 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21549 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21550 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21551 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21552 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21553 wine_fn_config_makefile dlls/mswsock enable_mswsock
21554 wine_fn_config_makefile dlls/msxml enable_msxml
21555 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21556 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21557 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21558 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21559 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21560 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21561 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21562 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21563 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21564 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21565 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21566 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21567 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21568 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21569 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21570 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21571 wine_fn_config_makefile dlls/netprofm enable_netprofm
21572 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21573 wine_fn_config_makefile dlls/netutils enable_netutils
21574 wine_fn_config_makefile dlls/newdev enable_newdev
21575 wine_fn_config_makefile dlls/ninput enable_ninput
21576 wine_fn_config_makefile dlls/ninput/tests enable_tests
21577 wine_fn_config_makefile dlls/normaliz enable_normaliz
21578 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21579 wine_fn_config_makefile dlls/npptools enable_npptools
21580 wine_fn_config_makefile dlls/nsi enable_nsi
21581 wine_fn_config_makefile dlls/nsi/tests enable_tests
21582 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21583 wine_fn_config_makefile dlls/ntdll enable_ntdll
21584 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21585 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21586 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21587 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21588 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21589 wine_fn_config_makefile dlls/ntprint enable_ntprint
21590 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21591 wine_fn_config_makefile dlls/objsel enable_objsel
21592 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21593 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21594 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21595 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21596 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21597 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21598 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21599 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21600 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21601 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21602 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21603 wine_fn_config_makefile dlls/ole32 enable_ole32
21604 wine_fn_config_makefile dlls/ole32/tests enable_tests
21605 wine_fn_config_makefile dlls/oleacc enable_oleacc
21606 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21607 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21608 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21609 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21610 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21611 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21612 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21613 wine_fn_config_makefile dlls/oledlg enable_oledlg
21614 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21615 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21616 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21617 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21618 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21619 wine_fn_config_makefile dlls/opcservices enable_opcservices
21620 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21621 wine_fn_config_makefile dlls/opencl enable_opencl
21622 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21623 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21624 wine_fn_config_makefile dlls/packager enable_packager
21625 wine_fn_config_makefile dlls/packager/tests enable_tests
21626 wine_fn_config_makefile dlls/pdh enable_pdh
21627 wine_fn_config_makefile dlls/pdh/tests enable_tests
21628 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21629 wine_fn_config_makefile dlls/pidgen enable_pidgen
21630 wine_fn_config_makefile dlls/powrprof enable_powrprof
21631 wine_fn_config_makefile dlls/printui enable_printui
21632 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21633 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21634 wine_fn_config_makefile dlls/propsys enable_propsys
21635 wine_fn_config_makefile dlls/propsys/tests enable_tests
21636 wine_fn_config_makefile dlls/psapi enable_psapi
21637 wine_fn_config_makefile dlls/psapi/tests enable_tests
21638 wine_fn_config_makefile dlls/pstorec enable_pstorec
21639 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21640 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21641 wine_fn_config_makefile dlls/qasf enable_qasf
21642 wine_fn_config_makefile dlls/qasf/tests enable_tests
21643 wine_fn_config_makefile dlls/qcap enable_qcap
21644 wine_fn_config_makefile dlls/qcap/tests enable_tests
21645 wine_fn_config_makefile dlls/qdvd enable_qdvd
21646 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21647 wine_fn_config_makefile dlls/qedit enable_qedit
21648 wine_fn_config_makefile dlls/qedit/tests enable_tests
21649 wine_fn_config_makefile dlls/qmgr enable_qmgr
21650 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21651 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21652 wine_fn_config_makefile dlls/quartz enable_quartz
21653 wine_fn_config_makefile dlls/quartz/tests enable_tests
21654 wine_fn_config_makefile dlls/query enable_query
21655 wine_fn_config_makefile dlls/qwave enable_qwave
21656 wine_fn_config_makefile dlls/qwave/tests enable_tests
21657 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21658 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21659 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21660 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21661 wine_fn_config_makefile dlls/regapi enable_regapi
21662 wine_fn_config_makefile dlls/resutils enable_resutils
21663 wine_fn_config_makefile dlls/riched20 enable_riched20
21664 wine_fn_config_makefile dlls/riched20/tests enable_tests
21665 wine_fn_config_makefile dlls/riched32 enable_riched32
21666 wine_fn_config_makefile dlls/riched32/tests enable_tests
21667 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21668 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21669 wine_fn_config_makefile dlls/rsabase enable_rsabase
21670 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21671 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21672 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21673 wine_fn_config_makefile dlls/rtutils enable_rtutils
21674 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21675 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21676 wine_fn_config_makefile dlls/samlib enable_samlib
21677 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21678 wine_fn_config_makefile dlls/sapi enable_sapi
21679 wine_fn_config_makefile dlls/sapi/tests enable_tests
21680 wine_fn_config_makefile dlls/sas enable_sas
21681 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21682 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21683 wine_fn_config_makefile dlls/sccbase enable_sccbase
21684 wine_fn_config_makefile dlls/schannel enable_schannel
21685 wine_fn_config_makefile dlls/schannel/tests enable_tests
21686 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21687 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21688 wine_fn_config_makefile dlls/scrobj enable_scrobj
21689 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21690 wine_fn_config_makefile dlls/scrrun enable_scrrun
21691 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21692 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21693 wine_fn_config_makefile dlls/sechost enable_sechost
21694 wine_fn_config_makefile dlls/secur32 enable_secur32
21695 wine_fn_config_makefile dlls/secur32/tests enable_tests
21696 wine_fn_config_makefile dlls/security enable_security
21697 wine_fn_config_makefile dlls/sensapi enable_sensapi
21698 wine_fn_config_makefile dlls/serialui enable_serialui
21699 wine_fn_config_makefile dlls/serialui/tests enable_tests
21700 wine_fn_config_makefile dlls/setupapi enable_setupapi
21701 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21702 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21703 wine_fn_config_makefile dlls/sfc enable_sfc
21704 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21705 wine_fn_config_makefile dlls/shcore enable_shcore
21706 wine_fn_config_makefile dlls/shcore/tests enable_tests
21707 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21708 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21709 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21710 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21711 wine_fn_config_makefile dlls/shell32 enable_shell32
21712 wine_fn_config_makefile dlls/shell32/tests enable_tests
21713 wine_fn_config_makefile dlls/shfolder enable_shfolder
21714 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21715 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21716 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21717 wine_fn_config_makefile dlls/slc enable_slc
21718 wine_fn_config_makefile dlls/slc/tests enable_tests
21719 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21720 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21721 wine_fn_config_makefile dlls/softpub enable_softpub
21722 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21723 wine_fn_config_makefile dlls/spoolss enable_spoolss
21724 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21725 wine_fn_config_makefile dlls/sppc enable_sppc
21726 wine_fn_config_makefile dlls/srclient enable_srclient
21727 wine_fn_config_makefile dlls/srvcli enable_srvcli
21728 wine_fn_config_makefile dlls/sspicli enable_sspicli
21729 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21730 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21731 wine_fn_config_makefile dlls/sti enable_sti
21732 wine_fn_config_makefile dlls/sti/tests enable_tests
21733 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21734 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21735 wine_fn_config_makefile dlls/strmdll enable_strmdll
21736 wine_fn_config_makefile dlls/svrapi enable_svrapi
21737 wine_fn_config_makefile dlls/sxs enable_sxs
21738 wine_fn_config_makefile dlls/sxs/tests enable_tests
21739 wine_fn_config_makefile dlls/system.drv16 enable_win16
21740 wine_fn_config_makefile dlls/t2embed enable_t2embed
21741 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21742 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21743 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21744 wine_fn_config_makefile dlls/taskschd enable_taskschd
21745 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21746 wine_fn_config_makefile dlls/tbs enable_tbs
21747 wine_fn_config_makefile dlls/tdh enable_tdh
21748 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21749 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21750 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21751 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21752 wine_fn_config_makefile dlls/traffic enable_traffic
21753 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21754 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21755 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21756 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21757 wine_fn_config_makefile dlls/tzres enable_tzres
21758 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21759 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21760 wine_fn_config_makefile dlls/uianimation enable_uianimation
21761 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21762 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21763 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21764 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21765 wine_fn_config_makefile dlls/unicows enable_unicows
21766 wine_fn_config_makefile dlls/updspapi enable_updspapi
21767 wine_fn_config_makefile dlls/url enable_url
21768 wine_fn_config_makefile dlls/urlmon enable_urlmon
21769 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21770 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21771 wine_fn_config_makefile dlls/user.exe16 enable_win16
21772 wine_fn_config_makefile dlls/user32 enable_user32
21773 wine_fn_config_makefile dlls/user32/tests enable_tests
21774 wine_fn_config_makefile dlls/userenv enable_userenv
21775 wine_fn_config_makefile dlls/userenv/tests enable_tests
21776 wine_fn_config_makefile dlls/usp10 enable_usp10
21777 wine_fn_config_makefile dlls/usp10/tests enable_tests
21778 wine_fn_config_makefile dlls/utildll enable_utildll
21779 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21780 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21781 wine_fn_config_makefile dlls/vbscript enable_vbscript
21782 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21783 wine_fn_config_makefile dlls/vcomp enable_vcomp
21784 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21785 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21786 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21787 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21788 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21789 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21790 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21791 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21792 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21793 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21794 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21795 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21796 wine_fn_config_makefile dlls/version enable_version
21797 wine_fn_config_makefile dlls/version/tests enable_tests
21798 wine_fn_config_makefile dlls/vga enable_vga
21799 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21800 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21801 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21802 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21803 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21804 wine_fn_config_makefile dlls/vssapi enable_vssapi
21805 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21806 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21807 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21808 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21809 wine_fn_config_makefile dlls/w32skrnl enable_win16
21810 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21811 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21812 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21813 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21814 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21815 wine_fn_config_makefile dlls/wdscore enable_wdscore
21816 wine_fn_config_makefile dlls/webservices enable_webservices
21817 wine_fn_config_makefile dlls/webservices/tests enable_tests
21818 wine_fn_config_makefile dlls/websocket enable_websocket
21819 wine_fn_config_makefile dlls/wer enable_wer
21820 wine_fn_config_makefile dlls/wer/tests enable_tests
21821 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21822 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21823 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21824 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21825 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21826 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21827 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21828 wine_fn_config_makefile dlls/win32u enable_win32u
21829 wine_fn_config_makefile dlls/win32u/tests enable_tests
21830 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21831 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21832 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21833 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21834 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21835 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21836 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21837 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21838 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21839 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21840 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21841 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21842 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21843 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21844 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21845 wine_fn_config_makefile dlls/windows.media enable_windows_media
21846 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21847 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21848 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21849 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21850 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21851 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21852 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21853 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21854 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21855 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21856 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21857 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21858 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21859 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21860 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21861 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21862 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21863 wine_fn_config_makefile dlls/wined3d enable_wined3d
21864 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21865 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21866 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21867 wine_fn_config_makefile dlls/winemapi enable_winemapi
21868 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21869 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21870 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21871 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21872 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21873 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21874 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21875 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21876 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21877 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21878 wine_fn_config_makefile dlls/wing32 enable_wing32
21879 wine_fn_config_makefile dlls/winhttp enable_winhttp
21880 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21881 wine_fn_config_makefile dlls/wininet enable_wininet
21882 wine_fn_config_makefile dlls/wininet/tests enable_tests
21883 wine_fn_config_makefile dlls/winmm enable_winmm
21884 wine_fn_config_makefile dlls/winmm/tests enable_tests
21885 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21886 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21887 wine_fn_config_makefile dlls/winprint enable_winprint
21888 wine_fn_config_makefile dlls/winscard enable_winscard
21889 wine_fn_config_makefile dlls/winscard/tests enable_tests
21890 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21891 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21892 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21893 wine_fn_config_makefile dlls/winsta enable_winsta
21894 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21895 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21896 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21897 wine_fn_config_makefile dlls/wintrust enable_wintrust
21898 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21899 wine_fn_config_makefile dlls/wintypes enable_wintypes
21900 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21901 wine_fn_config_makefile dlls/winusb enable_winusb
21902 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21903 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21904 wine_fn_config_makefile dlls/wlanui enable_wlanui
21905 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21906 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21907 wine_fn_config_makefile dlls/wmasf enable_wmasf
21908 wine_fn_config_makefile dlls/wmi enable_wmi
21909 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21910 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21911 wine_fn_config_makefile dlls/wmp enable_wmp
21912 wine_fn_config_makefile dlls/wmp/tests enable_tests
21913 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21914 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21915 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21916 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21917 wine_fn_config_makefile dlls/wofutil enable_wofutil
21918 wine_fn_config_makefile dlls/wow32 enable_win16
21919 wine_fn_config_makefile dlls/wow64 enable_wow64
21920 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21921 wine_fn_config_makefile dlls/wow64win enable_wow64win
21922 wine_fn_config_makefile dlls/wpc enable_wpc
21923 wine_fn_config_makefile dlls/wpc/tests enable_tests
21924 wine_fn_config_makefile dlls/wpcap enable_wpcap
21925 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21926 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21927 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21928 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21929 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21930 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21931 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21932 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21933 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21934 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21935 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21936 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21937 wine_fn_config_makefile dlls/wuapi enable_wuapi
21938 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21939 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21940 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21941 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21942 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21943 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21944 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21945 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21946 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21947 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21948 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21949 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21950 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21951 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21952 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21953 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21954 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21955 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21956 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21957 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21958 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21959 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21960 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21961 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21962 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21963 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21964 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21965 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21966 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21967 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21968 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21969 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21970 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21971 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21972 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21973 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21974 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21975 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21976 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21977 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21978 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21979 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21980 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21981 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21982 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21983 wine_fn_config_makefile dlls/xmllite enable_xmllite
21984 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21985 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21986 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21987 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21988 wine_fn_config_makefile fonts enable_fonts
21989 wine_fn_config_makefile include enable_include
21990 wine_fn_config_makefile libs/adsiid enable_adsiid
21991 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21992 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21993 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21994 wine_fn_config_makefile libs/dxguid enable_dxguid
21995 wine_fn_config_makefile libs/faudio enable_faudio
21996 wine_fn_config_makefile libs/gsm enable_gsm
21997 wine_fn_config_makefile libs/jpeg enable_jpeg
21998 wine_fn_config_makefile libs/jxr enable_jxr
21999 wine_fn_config_makefile libs/lcms2 enable_lcms2
22000 wine_fn_config_makefile libs/ldap enable_ldap
22001 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22002 wine_fn_config_makefile libs/mpg123 enable_mpg123
22003 wine_fn_config_makefile libs/musl enable_musl
22004 wine_fn_config_makefile libs/png enable_png
22005 wine_fn_config_makefile libs/strmbase enable_strmbase
22006 wine_fn_config_makefile libs/strmiids enable_strmiids
22007 wine_fn_config_makefile libs/tiff enable_tiff
22008 wine_fn_config_makefile libs/uuid enable_uuid
22009 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22010 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22011 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22012 wine_fn_config_makefile libs/xml2 enable_xml2
22013 wine_fn_config_makefile libs/xslt enable_xslt
22014 wine_fn_config_makefile libs/zlib enable_zlib
22015 wine_fn_config_makefile libs/zydis enable_zydis
22016 wine_fn_config_makefile loader enable_loader
22017 wine_fn_config_makefile nls enable_nls
22018 wine_fn_config_makefile po enable_po
22019 wine_fn_config_makefile programs/arp enable_arp
22020 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22021 wine_fn_config_makefile programs/attrib enable_attrib
22022 wine_fn_config_makefile programs/cabarc enable_cabarc
22023 wine_fn_config_makefile programs/cacls enable_cacls
22024 wine_fn_config_makefile programs/certutil enable_certutil
22025 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22026 wine_fn_config_makefile programs/clock enable_clock
22027 wine_fn_config_makefile programs/cmd enable_cmd
22028 wine_fn_config_makefile programs/cmd/tests enable_tests
22029 wine_fn_config_makefile programs/conhost enable_conhost
22030 wine_fn_config_makefile programs/conhost/tests enable_tests
22031 wine_fn_config_makefile programs/control enable_control
22032 wine_fn_config_makefile programs/cscript enable_cscript
22033 wine_fn_config_makefile programs/dism enable_dism
22034 wine_fn_config_makefile programs/dllhost enable_dllhost
22035 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22036 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22037 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22038 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22039 wine_fn_config_makefile programs/eject enable_eject
22040 wine_fn_config_makefile programs/expand enable_expand
22041 wine_fn_config_makefile programs/explorer enable_explorer
22042 wine_fn_config_makefile programs/explorer/tests enable_tests
22043 wine_fn_config_makefile programs/extrac32 enable_extrac32
22044 wine_fn_config_makefile programs/fc enable_fc
22045 wine_fn_config_makefile programs/find enable_find
22046 wine_fn_config_makefile programs/find/tests enable_tests
22047 wine_fn_config_makefile programs/findstr enable_findstr
22048 wine_fn_config_makefile programs/fsutil enable_fsutil
22049 wine_fn_config_makefile programs/fsutil/tests enable_tests
22050 wine_fn_config_makefile programs/hh enable_hh
22051 wine_fn_config_makefile programs/hostname enable_hostname
22052 wine_fn_config_makefile programs/icacls enable_icacls
22053 wine_fn_config_makefile programs/icinfo enable_icinfo
22054 wine_fn_config_makefile programs/iexplore enable_iexplore
22055 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22056 wine_fn_config_makefile programs/lodctr enable_lodctr
22057 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22058 wine_fn_config_makefile programs/mshta enable_mshta
22059 wine_fn_config_makefile programs/msidb enable_msidb
22060 wine_fn_config_makefile programs/msiexec enable_msiexec
22061 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22062 wine_fn_config_makefile programs/net enable_net
22063 wine_fn_config_makefile programs/netsh enable_netsh
22064 wine_fn_config_makefile programs/netstat enable_netstat
22065 wine_fn_config_makefile programs/ngen enable_ngen
22066 wine_fn_config_makefile programs/notepad enable_notepad
22067 wine_fn_config_makefile programs/oleview enable_oleview
22068 wine_fn_config_makefile programs/ping enable_ping
22069 wine_fn_config_makefile programs/plugplay enable_plugplay
22070 wine_fn_config_makefile programs/powershell enable_powershell
22071 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22072 wine_fn_config_makefile programs/progman enable_progman
22073 wine_fn_config_makefile programs/reg enable_reg
22074 wine_fn_config_makefile programs/reg/tests enable_tests
22075 wine_fn_config_makefile programs/regasm enable_regasm
22076 wine_fn_config_makefile programs/regedit enable_regedit
22077 wine_fn_config_makefile programs/regedit/tests enable_tests
22078 wine_fn_config_makefile programs/regini enable_regini
22079 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22080 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22081 wine_fn_config_makefile programs/robocopy enable_robocopy
22082 wine_fn_config_makefile programs/rpcss enable_rpcss
22083 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22084 wine_fn_config_makefile programs/rundll32 enable_rundll32
22085 wine_fn_config_makefile programs/sc enable_sc
22086 wine_fn_config_makefile programs/sc/tests enable_tests
22087 wine_fn_config_makefile programs/schtasks enable_schtasks
22088 wine_fn_config_makefile programs/schtasks/tests enable_tests
22089 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22090 wine_fn_config_makefile programs/secedit enable_secedit
22091 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22092 wine_fn_config_makefile programs/services enable_services
22093 wine_fn_config_makefile programs/services/tests enable_tests
22094 wine_fn_config_makefile programs/setx enable_setx
22095 wine_fn_config_makefile programs/shutdown enable_shutdown
22096 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22097 wine_fn_config_makefile programs/start enable_start
22098 wine_fn_config_makefile programs/subst enable_subst
22099 wine_fn_config_makefile programs/svchost enable_svchost
22100 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22101 wine_fn_config_makefile programs/taskkill enable_taskkill
22102 wine_fn_config_makefile programs/tasklist enable_tasklist
22103 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22104 wine_fn_config_makefile programs/termsv enable_termsv
22105 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22106 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22107 wine_fn_config_makefile programs/view enable_view
22108 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22109 wine_fn_config_makefile programs/where enable_where
22110 wine_fn_config_makefile programs/whoami enable_whoami
22111 wine_fn_config_makefile programs/wineboot enable_wineboot
22112 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22113 wine_fn_config_makefile programs/winecfg enable_winecfg
22114 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22115 wine_fn_config_makefile programs/winedbg enable_winedbg
22116 wine_fn_config_makefile programs/winedevice enable_winedevice
22117 wine_fn_config_makefile programs/winefile enable_winefile
22118 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22119 wine_fn_config_makefile programs/winemine enable_winemine
22120 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22121 wine_fn_config_makefile programs/winepath enable_winepath
22122 wine_fn_config_makefile programs/winetest enable_winetest
22123 wine_fn_config_makefile programs/winevdm enable_win16
22124 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22125 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22126 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22127 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22128 wine_fn_config_makefile programs/winver enable_winver
22129 wine_fn_config_makefile programs/wmic enable_wmic
22130 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22131 wine_fn_config_makefile programs/wordpad enable_wordpad
22132 wine_fn_config_makefile programs/write enable_write
22133 wine_fn_config_makefile programs/wscript enable_wscript
22134 wine_fn_config_makefile programs/wscript/tests enable_tests
22135 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22136 wine_fn_config_makefile programs/wusa enable_wusa
22137 wine_fn_config_makefile programs/xcopy enable_xcopy
22138 wine_fn_config_makefile programs/xcopy/tests enable_tests
22139 wine_fn_config_makefile server enable_server
22140 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22142 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22143 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22144 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22145 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22146 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22147 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22148 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22151 as_fn_append CONFIGURE_TARGETS " TAGS"
22152 as_fn_append CONFIGURE_TARGETS " tags"
22153 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22154 as_fn_append CONFIGURE_TARGETS " config.log"
22155 as_fn_append CONFIGURE_TARGETS " config.status"
22156 as_fn_append CONFIGURE_TARGETS " include/config.h"
22157 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22158 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22160 if test "x$enable_tools" != xno
22161 then
22162 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22163 ac_config_commands="$ac_config_commands tools/makedep"
22167 ac_config_commands="$ac_config_commands Makefile"
22171 SHELL=/bin/sh
22174 as_fn_append wine_rules "
22175 all: wine
22176 @echo \"Wine build complete.\"
22177 .INIT: Makefile
22178 .MAKEFILEDEPS:
22179 all: Makefile
22180 Makefile: config.status \$(MAKEDEP)
22181 @./config.status Makefile
22182 depend: \$(MAKEDEP)
22183 \$(MAKEDEP)$makedep_flags"
22186 as_fn_append wine_rules "
22187 config.status: ${wine_srcdir}configure
22188 @./config.status --recheck
22189 include/config.h: include/stamp-h
22190 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22191 @./config.status include/config.h include/stamp-h"
22193 if test "x$enable_maintainer_mode" = xyes
22194 then
22195 as_fn_append wine_rules "
22196 configure: configure.ac aclocal.m4
22197 autoconf --warnings=all
22198 include/config.h.in: include/stamp-h.in
22199 include/stamp-h.in: configure.ac aclocal.m4
22200 autoheader --warnings=all
22201 @echo timestamp > \$@"
22204 if test "x$enable_tools" != xno
22205 then
22206 as_fn_append wine_rules "
22207 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22208 @./config.status tools/makedep
22209 Makefile: tools/makedep$ac_exeext"
22210 else
22211 as_fn_append wine_rules "
22212 \$(MAKEDEP):
22213 @echo \"You need to run make in $toolsdir first\" && false"
22217 if test -n "$with_wine64"
22218 then
22219 case "$with_wine64" in
22220 /*) reldir="" ;;
22221 *) reldir="../" ;;
22222 esac
22223 rm -f fonts server 2>/dev/null
22224 as_fn_append wine_rules "
22225 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22226 loader/wine64 loader/wine64-preloader:
22227 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22228 $with_wine64/loader/wine:
22229 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22230 $with_wine64/loader/wine-preloader:
22231 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22232 clean::
22233 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22234 else
22235 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22236 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22237 fonts \
22238 loader/wine.inf \
22239 nls \
22240 programs/msidb/msidb \
22241 programs/msiexec/msiexec \
22242 programs/notepad/notepad \
22243 programs/regedit/regedit \
22244 programs/regsvr32/regsvr32 \
22245 programs/wineboot/wineboot \
22246 programs/winecfg/winecfg \
22247 programs/wineconsole/wineconsole \
22248 programs/winedbg/winedbg \
22249 programs/winefile/winefile \
22250 programs/winemine/winemine \
22251 programs/winepath/winepath \
22252 server/wineserver"
22254 case $host_os in
22255 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22256 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22257 esac
22261 as_fn_append wine_rules "
22262 distclean:: clean
22263 rm -rf autom4te.cache
22264 maintainer-clean::
22265 rm -f configure include/config.h.in"
22268 as_fn_append wine_rules "
22269 dlls/ntdll/unix/version.c: dummy
22270 @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)
22271 programs/winetest/build.rc: dummy
22272 @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)
22273 programs/winetest/build.nfo:
22274 @-\$(CC) -v 2>\$@
22275 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
22276 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22277 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22280 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22282 as_fn_append wine_rules "
22283 TAGS etags:
22284 rm -f TAGS
22285 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22286 tags ctags:
22287 rm -f tags
22288 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22289 dummy:
22290 .PHONY: depend dummy install-manpages"
22292 printf "%s\n" " done" >&6
22293 cat >confcache <<\_ACEOF
22294 # This file is a shell script that caches the results of configure
22295 # tests run on this system so they can be shared between configure
22296 # scripts and configure runs, see configure's option --config-cache.
22297 # It is not useful on other systems. If it contains results you don't
22298 # want to keep, you may remove or edit it.
22300 # config.status only pays attention to the cache file if you give it
22301 # the --recheck option to rerun configure.
22303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22305 # following values.
22307 _ACEOF
22309 # The following way of writing the cache mishandles newlines in values,
22310 # but we know of no workaround that is simple, portable, and efficient.
22311 # So, we kill variables containing newlines.
22312 # Ultrix sh set writes to stderr and can't be redirected directly,
22313 # and sets the high bit in the cache file unless we assign to the vars.
22315 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22316 eval ac_val=\$$ac_var
22317 case $ac_val in #(
22318 *${as_nl}*)
22319 case $ac_var in #(
22320 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22321 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22322 esac
22323 case $ac_var in #(
22324 _ | IFS | as_nl) ;; #(
22325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22326 *) { eval $ac_var=; unset $ac_var;} ;;
22327 esac ;;
22328 esac
22329 done
22331 (set) 2>&1 |
22332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22333 *${as_nl}ac_space=\ *)
22334 # `set' does not quote correctly, so add quotes: double-quote
22335 # substitution turns \\\\ into \\, and sed turns \\ into \.
22336 sed -n \
22337 "s/'/'\\\\''/g;
22338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22339 ;; #(
22341 # `set' quotes correctly as required by POSIX, so do not add quotes.
22342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22344 esac |
22345 sort
22347 sed '
22348 /^ac_cv_env_/b end
22349 t clear
22350 :clear
22351 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22352 t end
22353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22354 :end' >>confcache
22355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22356 if test -w "$cache_file"; then
22357 if test "x$cache_file" != "x/dev/null"; then
22358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22359 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22360 if test ! -f "$cache_file" || test -h "$cache_file"; then
22361 cat confcache >"$cache_file"
22362 else
22363 case $cache_file in #(
22364 */* | ?:*)
22365 mv -f confcache "$cache_file"$$ &&
22366 mv -f "$cache_file"$$ "$cache_file" ;; #(
22368 mv -f confcache "$cache_file" ;;
22369 esac
22372 else
22373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22374 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22377 rm -f confcache
22379 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22380 # Let make expand exec_prefix.
22381 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22383 DEFS=-DHAVE_CONFIG_H
22385 ac_libobjs=
22386 ac_ltlibobjs=
22388 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22389 # 1. Remove the extension, and $U if already installed.
22390 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22391 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22392 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22393 # will be set to the directory where LIBOBJS objects are built.
22394 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22395 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22396 done
22397 LIBOBJS=$ac_libobjs
22399 LTLIBOBJS=$ac_ltlibobjs
22403 : "${CONFIG_STATUS=./config.status}"
22404 ac_write_fail=0
22405 ac_clean_files_save=$ac_clean_files
22406 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22408 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22409 as_write_fail=0
22410 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22411 #! $SHELL
22412 # Generated by $as_me.
22413 # Run this file to recreate the current configuration.
22414 # Compiler output produced by configure, useful for debugging
22415 # configure, is in config.log if it exists.
22417 debug=false
22418 ac_cs_recheck=false
22419 ac_cs_silent=false
22421 SHELL=\${CONFIG_SHELL-$SHELL}
22422 export SHELL
22423 _ASEOF
22424 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22425 ## -------------------- ##
22426 ## M4sh Initialization. ##
22427 ## -------------------- ##
22429 # Be more Bourne compatible
22430 DUALCASE=1; export DUALCASE # for MKS sh
22431 as_nop=:
22432 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22433 then :
22434 emulate sh
22435 NULLCMD=:
22436 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22437 # is contrary to our usage. Disable this feature.
22438 alias -g '${1+"$@"}'='"$@"'
22439 setopt NO_GLOB_SUBST
22440 else $as_nop
22441 case `(set -o) 2>/dev/null` in #(
22442 *posix*) :
22443 set -o posix ;; #(
22444 *) :
22446 esac
22451 # Reset variables that may have inherited troublesome values from
22452 # the environment.
22454 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22455 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22456 # side effect of setting IFS to empty, thus disabling word splitting.)
22457 # Quoting is to prevent editors from complaining about space-tab.
22458 as_nl='
22460 export as_nl
22461 IFS=" "" $as_nl"
22463 PS1='$ '
22464 PS2='> '
22465 PS4='+ '
22467 # Ensure predictable behavior from utilities with locale-dependent output.
22468 LC_ALL=C
22469 export LC_ALL
22470 LANGUAGE=C
22471 export LANGUAGE
22473 # We cannot yet rely on "unset" to work, but we need these variables
22474 # to be unset--not just set to an empty or harmless value--now, to
22475 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22476 # also avoids known problems related to "unset" and subshell syntax
22477 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22478 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22479 do eval test \${$as_var+y} \
22480 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22481 done
22483 # Ensure that fds 0, 1, and 2 are open.
22484 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22485 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22486 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22488 # The user is always right.
22489 if ${PATH_SEPARATOR+false} :; then
22490 PATH_SEPARATOR=:
22491 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22492 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22493 PATH_SEPARATOR=';'
22498 # Find who we are. Look in the path if we contain no directory separator.
22499 as_myself=
22500 case $0 in #((
22501 *[\\/]* ) as_myself=$0 ;;
22502 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22503 for as_dir in $PATH
22505 IFS=$as_save_IFS
22506 case $as_dir in #(((
22507 '') as_dir=./ ;;
22508 */) ;;
22509 *) as_dir=$as_dir/ ;;
22510 esac
22511 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22512 done
22513 IFS=$as_save_IFS
22516 esac
22517 # We did not find ourselves, most probably we were run as `sh COMMAND'
22518 # in which case we are not to be found in the path.
22519 if test "x$as_myself" = x; then
22520 as_myself=$0
22522 if test ! -f "$as_myself"; then
22523 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22524 exit 1
22529 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22530 # ----------------------------------------
22531 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22532 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22533 # script with STATUS, using 1 if that was 0.
22534 as_fn_error ()
22536 as_status=$1; test $as_status -eq 0 && as_status=1
22537 if test "$4"; then
22538 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22541 printf "%s\n" "$as_me: error: $2" >&2
22542 as_fn_exit $as_status
22543 } # as_fn_error
22547 # as_fn_set_status STATUS
22548 # -----------------------
22549 # Set $? to STATUS, without forking.
22550 as_fn_set_status ()
22552 return $1
22553 } # as_fn_set_status
22555 # as_fn_exit STATUS
22556 # -----------------
22557 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22558 as_fn_exit ()
22560 set +e
22561 as_fn_set_status $1
22562 exit $1
22563 } # as_fn_exit
22565 # as_fn_unset VAR
22566 # ---------------
22567 # Portably unset VAR.
22568 as_fn_unset ()
22570 { eval $1=; unset $1;}
22572 as_unset=as_fn_unset
22574 # as_fn_append VAR VALUE
22575 # ----------------------
22576 # Append the text in VALUE to the end of the definition contained in VAR. Take
22577 # advantage of any shell optimizations that allow amortized linear growth over
22578 # repeated appends, instead of the typical quadratic growth present in naive
22579 # implementations.
22580 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22581 then :
22582 eval 'as_fn_append ()
22584 eval $1+=\$2
22586 else $as_nop
22587 as_fn_append ()
22589 eval $1=\$$1\$2
22591 fi # as_fn_append
22593 # as_fn_arith ARG...
22594 # ------------------
22595 # Perform arithmetic evaluation on the ARGs, and store the result in the
22596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22597 # must be portable across $(()) and expr.
22598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22599 then :
22600 eval 'as_fn_arith ()
22602 as_val=$(( $* ))
22604 else $as_nop
22605 as_fn_arith ()
22607 as_val=`expr "$@" || test $? -eq 1`
22609 fi # as_fn_arith
22612 if expr a : '\(a\)' >/dev/null 2>&1 &&
22613 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22614 as_expr=expr
22615 else
22616 as_expr=false
22619 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22620 as_basename=basename
22621 else
22622 as_basename=false
22625 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22626 as_dirname=dirname
22627 else
22628 as_dirname=false
22631 as_me=`$as_basename -- "$0" ||
22632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22633 X"$0" : 'X\(//\)$' \| \
22634 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22635 printf "%s\n" X/"$0" |
22636 sed '/^.*\/\([^/][^/]*\)\/*$/{
22637 s//\1/
22640 /^X\/\(\/\/\)$/{
22641 s//\1/
22644 /^X\/\(\/\).*/{
22645 s//\1/
22648 s/.*/./; q'`
22650 # Avoid depending upon Character Ranges.
22651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22654 as_cr_digits='0123456789'
22655 as_cr_alnum=$as_cr_Letters$as_cr_digits
22658 # Determine whether it's possible to make 'echo' print without a newline.
22659 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22660 # for compatibility with existing Makefiles.
22661 ECHO_C= ECHO_N= ECHO_T=
22662 case `echo -n x` in #(((((
22663 -n*)
22664 case `echo 'xy\c'` in
22665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22666 xy) ECHO_C='\c';;
22667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22668 ECHO_T=' ';;
22669 esac;;
22671 ECHO_N='-n';;
22672 esac
22674 # For backward compatibility with old third-party macros, we provide
22675 # the shell variables $as_echo and $as_echo_n. New code should use
22676 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22677 as_echo='printf %s\n'
22678 as_echo_n='printf %s'
22680 rm -f conf$$ conf$$.exe conf$$.file
22681 if test -d conf$$.dir; then
22682 rm -f conf$$.dir/conf$$.file
22683 else
22684 rm -f conf$$.dir
22685 mkdir conf$$.dir 2>/dev/null
22687 if (echo >conf$$.file) 2>/dev/null; then
22688 if ln -s conf$$.file conf$$ 2>/dev/null; then
22689 as_ln_s='ln -s'
22690 # ... but there are two gotchas:
22691 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22692 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22693 # In both cases, we have to default to `cp -pR'.
22694 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22695 as_ln_s='cp -pR'
22696 elif ln conf$$.file conf$$ 2>/dev/null; then
22697 as_ln_s=ln
22698 else
22699 as_ln_s='cp -pR'
22701 else
22702 as_ln_s='cp -pR'
22704 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22705 rmdir conf$$.dir 2>/dev/null
22708 # as_fn_mkdir_p
22709 # -------------
22710 # Create "$as_dir" as a directory, including parents if necessary.
22711 as_fn_mkdir_p ()
22714 case $as_dir in #(
22715 -*) as_dir=./$as_dir;;
22716 esac
22717 test -d "$as_dir" || eval $as_mkdir_p || {
22718 as_dirs=
22719 while :; do
22720 case $as_dir in #(
22721 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22722 *) as_qdir=$as_dir;;
22723 esac
22724 as_dirs="'$as_qdir' $as_dirs"
22725 as_dir=`$as_dirname -- "$as_dir" ||
22726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22727 X"$as_dir" : 'X\(//\)[^/]' \| \
22728 X"$as_dir" : 'X\(//\)$' \| \
22729 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22730 printf "%s\n" X"$as_dir" |
22731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22732 s//\1/
22735 /^X\(\/\/\)[^/].*/{
22736 s//\1/
22739 /^X\(\/\/\)$/{
22740 s//\1/
22743 /^X\(\/\).*/{
22744 s//\1/
22747 s/.*/./; q'`
22748 test -d "$as_dir" && break
22749 done
22750 test -z "$as_dirs" || eval "mkdir $as_dirs"
22751 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22754 } # as_fn_mkdir_p
22755 if mkdir -p . 2>/dev/null; then
22756 as_mkdir_p='mkdir -p "$as_dir"'
22757 else
22758 test -d ./-p && rmdir ./-p
22759 as_mkdir_p=false
22763 # as_fn_executable_p FILE
22764 # -----------------------
22765 # Test if FILE is an executable regular file.
22766 as_fn_executable_p ()
22768 test -f "$1" && test -x "$1"
22769 } # as_fn_executable_p
22770 as_test_x='test -x'
22771 as_executable_p=as_fn_executable_p
22773 # Sed expression to map a string onto a valid CPP name.
22774 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22776 # Sed expression to map a string onto a valid variable name.
22777 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22780 exec 6>&1
22781 ## ----------------------------------- ##
22782 ## Main body of $CONFIG_STATUS script. ##
22783 ## ----------------------------------- ##
22784 _ASEOF
22785 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22788 # Save the log message, to keep $0 and so on meaningful, and to
22789 # report actual input values of CONFIG_FILES etc. instead of their
22790 # values after options handling.
22791 ac_log="
22792 This file was extended by Wine $as_me 8.5, which was
22793 generated by GNU Autoconf 2.71. Invocation command line was
22795 CONFIG_FILES = $CONFIG_FILES
22796 CONFIG_HEADERS = $CONFIG_HEADERS
22797 CONFIG_LINKS = $CONFIG_LINKS
22798 CONFIG_COMMANDS = $CONFIG_COMMANDS
22799 $ $0 $@
22801 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22804 _ACEOF
22807 case $ac_config_headers in *"
22808 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22809 esac
22812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22813 # Files that config.status was made for.
22814 config_headers="$ac_config_headers"
22815 config_links="$ac_config_links"
22816 config_commands="$ac_config_commands"
22818 _ACEOF
22820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22821 ac_cs_usage="\
22822 \`$as_me' instantiates files and other configuration actions
22823 from templates according to the current configuration. Unless the files
22824 and actions are specified as TAGs, all are instantiated by default.
22826 Usage: $0 [OPTION]... [TAG]...
22828 -h, --help print this help, then exit
22829 -V, --version print version number and configuration settings, then exit
22830 --config print configuration, then exit
22831 -q, --quiet, --silent
22832 do not print progress messages
22833 -d, --debug don't remove temporary files
22834 --recheck update $as_me by reconfiguring in the same conditions
22835 --header=FILE[:TEMPLATE]
22836 instantiate the configuration header FILE
22838 Configuration headers:
22839 $config_headers
22841 Configuration links:
22842 $config_links
22844 Configuration commands:
22845 $config_commands
22847 Report bugs to <wine-devel@winehq.org>.
22848 Wine home page: <https://www.winehq.org>."
22850 _ACEOF
22851 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22852 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22854 ac_cs_config='$ac_cs_config_escaped'
22855 ac_cs_version="\\
22856 Wine config.status 8.5
22857 configured by $0, generated by GNU Autoconf 2.71,
22858 with options \\"\$ac_cs_config\\"
22860 Copyright (C) 2021 Free Software Foundation, Inc.
22861 This config.status script is free software; the Free Software Foundation
22862 gives unlimited permission to copy, distribute and modify it."
22864 ac_pwd='$ac_pwd'
22865 srcdir='$srcdir'
22866 test -n "\$AWK" || AWK=awk
22867 _ACEOF
22869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22870 # The default lists apply if the user does not specify any file.
22871 ac_need_defaults=:
22872 while test $# != 0
22874 case $1 in
22875 --*=?*)
22876 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22877 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22878 ac_shift=:
22880 --*=)
22881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22882 ac_optarg=
22883 ac_shift=:
22886 ac_option=$1
22887 ac_optarg=$2
22888 ac_shift=shift
22890 esac
22892 case $ac_option in
22893 # Handling of the options.
22894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22895 ac_cs_recheck=: ;;
22896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22897 printf "%s\n" "$ac_cs_version"; exit ;;
22898 --config | --confi | --conf | --con | --co | --c )
22899 printf "%s\n" "$ac_cs_config"; exit ;;
22900 --debug | --debu | --deb | --de | --d | -d )
22901 debug=: ;;
22902 --header | --heade | --head | --hea )
22903 $ac_shift
22904 case $ac_optarg in
22905 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22906 esac
22907 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22908 ac_need_defaults=false;;
22909 --he | --h)
22910 # Conflict between --help and --header
22911 as_fn_error $? "ambiguous option: \`$1'
22912 Try \`$0 --help' for more information.";;
22913 --help | --hel | -h )
22914 printf "%s\n" "$ac_cs_usage"; exit ;;
22915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22917 ac_cs_silent=: ;;
22919 # This is an error.
22920 -*) as_fn_error $? "unrecognized option: \`$1'
22921 Try \`$0 --help' for more information." ;;
22923 *) as_fn_append ac_config_targets " $1"
22924 ac_need_defaults=false ;;
22926 esac
22927 shift
22928 done
22930 ac_configure_extra_args=
22932 if $ac_cs_silent; then
22933 exec 6>/dev/null
22934 ac_configure_extra_args="$ac_configure_extra_args --silent"
22937 _ACEOF
22938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22939 if \$ac_cs_recheck; then
22940 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22941 shift
22942 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22943 CONFIG_SHELL='$SHELL'
22944 export CONFIG_SHELL
22945 exec "\$@"
22948 _ACEOF
22949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22950 exec 5>>config.log
22952 echo
22953 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22954 ## Running $as_me. ##
22955 _ASBOX
22956 printf "%s\n" "$ac_log"
22957 } >&5
22959 _ACEOF
22960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22962 # INIT-COMMANDS
22964 wine_fn_output_makedep ()
22966 as_dir=tools; as_fn_mkdir_p
22967 $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
22969 wine_fn_output_makefile ()
22971 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22972 # This Makefile understands the following targets:
22974 # all (default): build wine
22975 # clean: remove all intermediate files
22976 # distclean: also remove all files created by configure
22977 # test: run tests
22978 # testclean: clean test results to force running all tests again
22979 # install-lib: install libraries needed to run applications
22980 # install-dev: install development environment
22981 # install: install everything
22982 # uninstall: uninstall everything
22983 # ctags: create a tags file for vim and others.
22984 # etags: create a TAGS file for Emacs.
22986 SHELL = $SHELL
22987 PATH_SEPARATOR = $PATH_SEPARATOR
22988 PACKAGE_NAME = $PACKAGE_NAME
22989 PACKAGE_TARNAME = $PACKAGE_TARNAME
22990 PACKAGE_VERSION = $PACKAGE_VERSION
22991 PACKAGE_STRING = $PACKAGE_STRING
22992 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22993 PACKAGE_URL = $PACKAGE_URL
22994 exec_prefix = $exec_prefix
22995 prefix = $prefix
22996 program_transform_name = $program_transform_name
22997 bindir = $bindir
22998 sbindir = $sbindir
22999 libexecdir = $libexecdir
23000 datarootdir = $datarootdir
23001 datadir = $datadir
23002 sysconfdir = $sysconfdir
23003 sharedstatedir = $sharedstatedir
23004 localstatedir = $localstatedir
23005 runstatedir = $runstatedir
23006 includedir = $includedir
23007 oldincludedir = $oldincludedir
23008 docdir = $docdir
23009 infodir = $infodir
23010 htmldir = $htmldir
23011 dvidir = $dvidir
23012 pdfdir = $pdfdir
23013 psdir = $psdir
23014 libdir = $libdir
23015 localedir = $localedir
23016 mandir = $mandir
23017 DEFS = $DEFS
23018 ECHO_C = $ECHO_C
23019 ECHO_N = $ECHO_N
23020 ECHO_T = $ECHO_T
23021 LIBS = $LIBS
23022 build_alias = $build_alias
23023 host_alias = $host_alias
23024 target_alias = $target_alias
23025 system_dllpath = $system_dllpath
23026 build = $build
23027 build_cpu = $build_cpu
23028 build_vendor = $build_vendor
23029 build_os = $build_os
23030 host = $host
23031 host_cpu = $host_cpu
23032 host_vendor = $host_vendor
23033 host_os = $host_os
23034 dlldir = $dlldir
23035 fontdir = $fontdir
23036 nlsdir = $nlsdir
23037 srcdir = $srcdir
23038 SET_MAKE = $SET_MAKE
23039 CC = $CC
23040 CFLAGS = $CFLAGS
23041 LDFLAGS = $LDFLAGS
23042 CPPFLAGS = $CPPFLAGS
23043 ac_ct_CC = $ac_ct_CC
23044 EXEEXT = $EXEEXT
23045 OBJEXT = $OBJEXT
23046 CXX = $CXX
23047 CXXFLAGS = $CXXFLAGS
23048 ac_ct_CXX = $ac_ct_CXX
23049 CPPBIN = $CPPBIN
23050 LD = $LD
23051 TARGETFLAGS = $TARGETFLAGS
23052 toolsext = $toolsext
23053 HOST_ARCH = $HOST_ARCH
23054 aarch64_CC = $aarch64_CC
23055 aarch64_CFLAGS = $aarch64_CFLAGS
23056 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23057 aarch64_LDFLAGS = $aarch64_LDFLAGS
23058 aarch64_DEBUG = $aarch64_DEBUG
23059 aarch64_TARGET = $aarch64_TARGET
23060 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23061 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23062 arm_CC = $arm_CC
23063 arm_CFLAGS = $arm_CFLAGS
23064 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23065 arm_LDFLAGS = $arm_LDFLAGS
23066 arm_DEBUG = $arm_DEBUG
23067 arm_TARGET = $arm_TARGET
23068 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23069 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23070 i386_CC = $i386_CC
23071 i386_CFLAGS = $i386_CFLAGS
23072 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23073 i386_LDFLAGS = $i386_LDFLAGS
23074 i386_DEBUG = $i386_DEBUG
23075 i386_TARGET = $i386_TARGET
23076 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23077 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23078 x86_64_CC = $x86_64_CC
23079 x86_64_CFLAGS = $x86_64_CFLAGS
23080 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23081 x86_64_LDFLAGS = $x86_64_LDFLAGS
23082 x86_64_DEBUG = $x86_64_DEBUG
23083 x86_64_TARGET = $x86_64_TARGET
23084 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23085 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23086 toolsdir = $toolsdir
23087 MAKEDEP = $MAKEDEP
23088 RUNTESTFLAGS = $RUNTESTFLAGS
23089 SED_CMD = $SED_CMD
23090 FLEX = $FLEX
23091 BISON = $BISON
23092 AR = $AR
23093 ac_ct_AR = $ac_ct_AR
23094 STRIP = $STRIP
23095 RANLIB = $RANLIB
23096 LN_S = $LN_S
23097 GREP = $GREP
23098 EGREP = $EGREP
23099 LDCONFIG = $LDCONFIG
23100 MSGFMT = $MSGFMT
23101 PKG_CONFIG = $PKG_CONFIG
23102 FONTFORGE = $FONTFORGE
23103 RSVG = $RSVG
23104 CONVERT = $CONVERT
23105 ICOTOOL = $ICOTOOL
23106 I386_LIBS = $I386_LIBS
23107 OPENGL_LIBS = $OPENGL_LIBS
23108 DLLFLAGS = $DLLFLAGS
23109 LDDLLFLAGS = $LDDLLFLAGS
23110 LDEXECFLAGS = $LDEXECFLAGS
23111 EXTRACFLAGS = $EXTRACFLAGS
23112 UNIXDLLFLAGS = $UNIXDLLFLAGS
23113 UNIXLDFLAGS = $UNIXLDFLAGS
23114 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23115 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23116 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23117 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23118 LDD = $LDD
23119 OTOOL = $OTOOL
23120 READELF = $READELF
23121 SUBDIRS = $SUBDIRS
23122 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23123 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23124 CARBON_LIBS = $CARBON_LIBS
23125 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23126 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23127 IOKIT_LIBS = $IOKIT_LIBS
23128 METAL_LIBS = $METAL_LIBS
23129 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23130 CORESERVICES_LIBS = $CORESERVICES_LIBS
23131 APPKIT_LIBS = $APPKIT_LIBS
23132 SECURITY_LIBS = $SECURITY_LIBS
23133 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23134 COREAUDIO_LIBS = $COREAUDIO_LIBS
23135 OPENCL_LIBS = $OPENCL_LIBS
23136 OBJC = $OBJC
23137 OBJCFLAGS = $OBJCFLAGS
23138 ac_ct_OBJC = $ac_ct_OBJC
23139 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23140 PE_ARCHS = $PE_ARCHS
23141 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23142 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23143 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23144 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23145 GSM_PE_LIBS = $GSM_PE_LIBS
23146 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23147 JPEG_PE_LIBS = $JPEG_PE_LIBS
23148 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23149 JXR_PE_LIBS = $JXR_PE_LIBS
23150 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23151 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23152 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23153 LDAP_PE_LIBS = $LDAP_PE_LIBS
23154 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23155 MPG123_PE_LIBS = $MPG123_PE_LIBS
23156 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23157 MUSL_PE_LIBS = $MUSL_PE_LIBS
23158 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23159 PNG_PE_LIBS = $PNG_PE_LIBS
23160 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23161 TIFF_PE_LIBS = $TIFF_PE_LIBS
23162 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23163 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23164 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23165 XML2_PE_LIBS = $XML2_PE_LIBS
23166 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23167 XSLT_PE_LIBS = $XSLT_PE_LIBS
23168 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23169 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23170 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23171 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23172 PTHREAD_LIBS = $PTHREAD_LIBS
23173 XMKMF = $XMKMF
23174 CPP = $CPP
23175 X_CFLAGS = $X_CFLAGS
23176 X_PRE_LIBS = $X_PRE_LIBS
23177 X_LIBS = $X_LIBS
23178 X_EXTRA_LIBS = $X_EXTRA_LIBS
23179 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23180 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23181 PCAP_LIBS = $PCAP_LIBS
23182 PCSCLITE_LIBS = $PCSCLITE_LIBS
23183 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23184 INOTIFY_LIBS = $INOTIFY_LIBS
23185 DBUS_CFLAGS = $DBUS_CFLAGS
23186 DBUS_LIBS = $DBUS_LIBS
23187 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23188 GNUTLS_LIBS = $GNUTLS_LIBS
23189 SANE_CFLAGS = $SANE_CFLAGS
23190 SANE_LIBS = $SANE_LIBS
23191 USB_CFLAGS = $USB_CFLAGS
23192 USB_LIBS = $USB_LIBS
23193 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23194 GPHOTO2_LIBS = $GPHOTO2_LIBS
23195 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23196 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23197 RESOLV_LIBS = $RESOLV_LIBS
23198 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23199 FREETYPE_LIBS = $FREETYPE_LIBS
23200 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23201 PULSE_CFLAGS = $PULSE_CFLAGS
23202 PULSE_LIBS = $PULSE_LIBS
23203 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23204 GSTREAMER_LIBS = $GSTREAMER_LIBS
23205 ALSA_LIBS = $ALSA_LIBS
23206 OSS4_CFLAGS = $OSS4_CFLAGS
23207 OSS4_LIBS = $OSS4_LIBS
23208 UDEV_CFLAGS = $UDEV_CFLAGS
23209 UDEV_LIBS = $UDEV_LIBS
23210 UNWIND_CFLAGS = $UNWIND_CFLAGS
23211 UNWIND_LIBS = $UNWIND_LIBS
23212 SDL2_CFLAGS = $SDL2_CFLAGS
23213 SDL2_LIBS = $SDL2_LIBS
23214 CAPI20_CFLAGS = $CAPI20_CFLAGS
23215 CAPI20_LIBS = $CAPI20_LIBS
23216 CUPS_CFLAGS = $CUPS_CFLAGS
23217 CUPS_LIBS = $CUPS_LIBS
23218 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23219 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23220 KRB5_CFLAGS = $KRB5_CFLAGS
23221 KRB5_LIBS = $KRB5_LIBS
23222 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23223 GSSAPI_LIBS = $GSSAPI_LIBS
23224 PROCSTAT_LIBS = $PROCSTAT_LIBS
23225 NETAPI_CFLAGS = $NETAPI_CFLAGS
23226 NETAPI_LIBS = $NETAPI_LIBS
23227 MSVCRTFLAGS = $MSVCRTFLAGS
23228 DELAYLOADFLAG = $DELAYLOADFLAG
23229 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23230 RT_LIBS = $RT_LIBS
23231 TAGSFLAGS = $TAGSFLAGS
23232 LIBOBJS = $LIBOBJS
23233 LTLIBOBJS = $LTLIBOBJS
23234 $SET_MAKE
23235 $wine_rules
23236 _WINE_EOF
23237 as_fn_error $? "could not create Makefile" "$LINENO" 5
23240 _ACEOF
23242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23244 # Handling of arguments.
23245 for ac_config_target in $ac_config_targets
23247 case $ac_config_target in
23248 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23249 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23250 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23251 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23252 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23253 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23255 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23256 esac
23257 done
23260 # If the user did not use the arguments to specify the items to instantiate,
23261 # then the envvar interface is used. Set only those that are not.
23262 # We use the long form for the default assignment because of an extremely
23263 # bizarre bug on SunOS 4.1.3.
23264 if $ac_need_defaults; then
23265 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23266 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23267 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23270 # Have a temporary directory for convenience. Make it in the build tree
23271 # simply because there is no reason against having it here, and in addition,
23272 # creating and moving files from /tmp can sometimes cause problems.
23273 # Hook for its removal unless debugging.
23274 # Note that there is a small window in which the directory will not be cleaned:
23275 # after its creation but before its name has been assigned to `$tmp'.
23276 $debug ||
23278 tmp= ac_tmp=
23279 trap 'exit_status=$?
23280 : "${ac_tmp:=$tmp}"
23281 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23283 trap 'as_fn_exit 1' 1 2 13 15
23285 # Create a (secure) tmp directory for tmp files.
23288 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23289 test -d "$tmp"
23290 } ||
23292 tmp=./conf$$-$RANDOM
23293 (umask 077 && mkdir "$tmp")
23294 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23295 ac_tmp=$tmp
23297 # Set up the scripts for CONFIG_HEADERS section.
23298 # No need to generate them if there are no CONFIG_HEADERS.
23299 # This happens for instance with `./config.status Makefile'.
23300 if test -n "$CONFIG_HEADERS"; then
23301 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23302 BEGIN {
23303 _ACEOF
23305 # Transform confdefs.h into an awk script `defines.awk', embedded as
23306 # here-document in config.status, that substitutes the proper values into
23307 # config.h.in to produce config.h.
23309 # Create a delimiter string that does not exist in confdefs.h, to ease
23310 # handling of long lines.
23311 ac_delim='%!_!# '
23312 for ac_last_try in false false :; do
23313 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23314 if test -z "$ac_tt"; then
23315 break
23316 elif $ac_last_try; then
23317 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23318 else
23319 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23321 done
23323 # For the awk script, D is an array of macro values keyed by name,
23324 # likewise P contains macro parameters if any. Preserve backslash
23325 # newline sequences.
23327 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23328 sed -n '
23329 s/.\{148\}/&'"$ac_delim"'/g
23330 t rset
23331 :rset
23332 s/^[ ]*#[ ]*define[ ][ ]*/ /
23333 t def
23335 :def
23336 s/\\$//
23337 t bsnl
23338 s/["\\]/\\&/g
23339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23340 D["\1"]=" \3"/p
23341 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23343 :bsnl
23344 s/["\\]/\\&/g
23345 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23346 D["\1"]=" \3\\\\\\n"\\/p
23347 t cont
23348 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23349 t cont
23351 :cont
23353 s/.\{148\}/&'"$ac_delim"'/g
23354 t clear
23355 :clear
23356 s/\\$//
23357 t bsnlc
23358 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23360 :bsnlc
23361 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23362 b cont
23363 ' <confdefs.h | sed '
23364 s/'"$ac_delim"'/"\\\
23365 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23368 for (key in D) D_is_set[key] = 1
23369 FS = "\a"
23371 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23372 line = \$ 0
23373 split(line, arg, " ")
23374 if (arg[1] == "#") {
23375 defundef = arg[2]
23376 mac1 = arg[3]
23377 } else {
23378 defundef = substr(arg[1], 2)
23379 mac1 = arg[2]
23381 split(mac1, mac2, "(") #)
23382 macro = mac2[1]
23383 prefix = substr(line, 1, index(line, defundef) - 1)
23384 if (D_is_set[macro]) {
23385 # Preserve the white space surrounding the "#".
23386 print prefix "define", macro P[macro] D[macro]
23387 next
23388 } else {
23389 # Replace #undef with comments. This is necessary, for example,
23390 # in the case of _POSIX_SOURCE, which is predefined and required
23391 # on some systems where configure will not decide to define it.
23392 if (defundef == "undef") {
23393 print "/*", prefix defundef, macro, "*/"
23394 next
23398 { print }
23399 _ACAWK
23400 _ACEOF
23401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23402 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23403 fi # test -n "$CONFIG_HEADERS"
23406 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23407 shift
23408 for ac_tag
23410 case $ac_tag in
23411 :[FHLC]) ac_mode=$ac_tag; continue;;
23412 esac
23413 case $ac_mode$ac_tag in
23414 :[FHL]*:*);;
23415 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23416 :[FH]-) ac_tag=-:-;;
23417 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23418 esac
23419 ac_save_IFS=$IFS
23420 IFS=:
23421 set x $ac_tag
23422 IFS=$ac_save_IFS
23423 shift
23424 ac_file=$1
23425 shift
23427 case $ac_mode in
23428 :L) ac_source=$1;;
23429 :[FH])
23430 ac_file_inputs=
23431 for ac_f
23433 case $ac_f in
23434 -) ac_f="$ac_tmp/stdin";;
23435 *) # Look for the file first in the build tree, then in the source tree
23436 # (if the path is not absolute). The absolute path cannot be DOS-style,
23437 # because $ac_f cannot contain `:'.
23438 test -f "$ac_f" ||
23439 case $ac_f in
23440 [\\/$]*) false;;
23441 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23442 esac ||
23443 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23444 esac
23445 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23446 as_fn_append ac_file_inputs " '$ac_f'"
23447 done
23449 # Let's still pretend it is `configure' which instantiates (i.e., don't
23450 # use $as_me), people would be surprised to read:
23451 # /* config.h. Generated by config.status. */
23452 configure_input='Generated from '`
23453 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23454 `' by configure.'
23455 if test x"$ac_file" != x-; then
23456 configure_input="$ac_file. $configure_input"
23457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23458 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23460 # Neutralize special characters interpreted by sed in replacement strings.
23461 case $configure_input in #(
23462 *\&* | *\|* | *\\* )
23463 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23464 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23465 *) ac_sed_conf_input=$configure_input;;
23466 esac
23468 case $ac_tag in
23469 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23471 esac
23473 esac
23475 ac_dir=`$as_dirname -- "$ac_file" ||
23476 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23477 X"$ac_file" : 'X\(//\)[^/]' \| \
23478 X"$ac_file" : 'X\(//\)$' \| \
23479 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23480 printf "%s\n" X"$ac_file" |
23481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23482 s//\1/
23485 /^X\(\/\/\)[^/].*/{
23486 s//\1/
23489 /^X\(\/\/\)$/{
23490 s//\1/
23493 /^X\(\/\).*/{
23494 s//\1/
23497 s/.*/./; q'`
23498 as_dir="$ac_dir"; as_fn_mkdir_p
23499 ac_builddir=.
23501 case "$ac_dir" in
23502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23504 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23505 # A ".." for each directory in $ac_dir_suffix.
23506 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23507 case $ac_top_builddir_sub in
23508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23510 esac ;;
23511 esac
23512 ac_abs_top_builddir=$ac_pwd
23513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23514 # for backward compatibility:
23515 ac_top_builddir=$ac_top_build_prefix
23517 case $srcdir in
23518 .) # We are building in place.
23519 ac_srcdir=.
23520 ac_top_srcdir=$ac_top_builddir_sub
23521 ac_abs_top_srcdir=$ac_pwd ;;
23522 [\\/]* | ?:[\\/]* ) # Absolute name.
23523 ac_srcdir=$srcdir$ac_dir_suffix;
23524 ac_top_srcdir=$srcdir
23525 ac_abs_top_srcdir=$srcdir ;;
23526 *) # Relative name.
23527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23528 ac_top_srcdir=$ac_top_build_prefix$srcdir
23529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23530 esac
23531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23534 case $ac_mode in
23538 # CONFIG_HEADER
23540 if test x"$ac_file" != x-; then
23542 printf "%s\n" "/* $configure_input */" >&1 \
23543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23544 } >"$ac_tmp/config.h" \
23545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23546 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23548 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23549 else
23550 rm -f "$ac_file"
23551 mv "$ac_tmp/config.h" "$ac_file" \
23552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23554 else
23555 printf "%s\n" "/* $configure_input */" >&1 \
23556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23557 || as_fn_error $? "could not create -" "$LINENO" 5
23562 # CONFIG_LINK
23565 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23567 else
23568 # Prefer the file from the source tree if names are identical.
23569 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23570 ac_source=$srcdir/$ac_source
23573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23574 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23576 if test ! -r "$ac_source"; then
23577 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23579 rm -f "$ac_file"
23581 # Try a relative symlink, then a hard link, then a copy.
23582 case $ac_source in
23583 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23584 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23585 esac
23586 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23587 ln "$ac_source" "$ac_file" 2>/dev/null ||
23588 cp -p "$ac_source" "$ac_file" ||
23589 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23592 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23593 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23595 esac
23598 case $ac_file$ac_mode in
23599 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23600 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23601 "Makefile":C) wine_fn_output_makefile Makefile ;;
23603 esac
23604 done # for ac_tag
23607 as_fn_exit 0
23608 _ACEOF
23609 ac_clean_files=$ac_clean_files_save
23611 test $ac_write_fail = 0 ||
23612 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23615 # configure is writing to config.log, and then calls config.status.
23616 # config.status does its own redirection, appending to config.log.
23617 # Unfortunately, on DOS this fails, as config.log is still kept open
23618 # by configure, so config.status won't be able to write to it; its
23619 # output is simply discarded. So we exec the FD to /dev/null,
23620 # effectively closing config.log, so it can be properly (re)opened and
23621 # appended to by config.status. When coming back to configure, we
23622 # need to make the FD available again.
23623 if test "$no_create" != yes; then
23624 ac_cs_success=:
23625 ac_config_status_args=
23626 test "$silent" = yes &&
23627 ac_config_status_args="$ac_config_status_args --quiet"
23628 exec 5>/dev/null
23629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23630 exec 5>>config.log
23631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23632 # would make configure fail if this is the last instruction.
23633 $ac_cs_success || as_fn_exit 1
23635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23637 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23641 if test "$no_create" = "yes"
23642 then
23643 exit 0
23646 ac_save_IFS="$IFS"
23647 if test "x$wine_notices" != x; then
23648 echo >&6
23649 IFS="|"
23650 for msg in $wine_notices; do
23651 IFS="$ac_save_IFS"
23652 if ${msg:+false} :
23653 then :
23655 else $as_nop
23656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23657 printf "%s\n" "$as_me: $msg" >&6;}
23659 done
23661 IFS="|"
23662 for msg in $wine_warnings; do
23663 IFS="$ac_save_IFS"
23664 if ${msg:+false} :
23665 then :
23667 else $as_nop
23668 echo >&2
23669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23670 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23672 done
23673 IFS="$ac_save_IFS"
23675 printf "%s\n" "
23676 $as_me: Finished. Do '${ac_make}' to compile Wine.
23677 " >&6