bcrypt: Pass GNUTLS_VERIFY_ALLOW_BROKEN to gnutls_pubkey_verify_hash2().
[wine.git] / configure
blobd530de3ced1de114affc68fea759b38abe47869c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.11.
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.11'
615 PACKAGE_STRING='Wine 8.11'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cdosys
996 enable_cfgmgr32
997 enable_clusapi
998 enable_cng_sys
999 enable_combase
1000 enable_comcat
1001 enable_comctl32
1002 enable_comdlg32
1003 enable_compstui
1004 enable_comsvcs
1005 enable_concrt140
1006 enable_connect
1007 enable_credui
1008 enable_crtdll
1009 enable_crypt32
1010 enable_cryptdlg
1011 enable_cryptdll
1012 enable_cryptext
1013 enable_cryptnet
1014 enable_cryptowinrt
1015 enable_cryptsp
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d12
1025 enable_d3d12core
1026 enable_d3d8
1027 enable_d3d8thk
1028 enable_d3d9
1029 enable_d3dcompiler_33
1030 enable_d3dcompiler_34
1031 enable_d3dcompiler_35
1032 enable_d3dcompiler_36
1033 enable_d3dcompiler_37
1034 enable_d3dcompiler_38
1035 enable_d3dcompiler_39
1036 enable_d3dcompiler_40
1037 enable_d3dcompiler_41
1038 enable_d3dcompiler_42
1039 enable_d3dcompiler_43
1040 enable_d3dcompiler_46
1041 enable_d3dcompiler_47
1042 enable_d3dim
1043 enable_d3dim700
1044 enable_d3drm
1045 enable_d3dx10_33
1046 enable_d3dx10_34
1047 enable_d3dx10_35
1048 enable_d3dx10_36
1049 enable_d3dx10_37
1050 enable_d3dx10_38
1051 enable_d3dx10_39
1052 enable_d3dx10_40
1053 enable_d3dx10_41
1054 enable_d3dx10_42
1055 enable_d3dx10_43
1056 enable_d3dx11_42
1057 enable_d3dx11_43
1058 enable_d3dx9_24
1059 enable_d3dx9_25
1060 enable_d3dx9_26
1061 enable_d3dx9_27
1062 enable_d3dx9_28
1063 enable_d3dx9_29
1064 enable_d3dx9_30
1065 enable_d3dx9_31
1066 enable_d3dx9_32
1067 enable_d3dx9_33
1068 enable_d3dx9_34
1069 enable_d3dx9_35
1070 enable_d3dx9_36
1071 enable_d3dx9_37
1072 enable_d3dx9_38
1073 enable_d3dx9_39
1074 enable_d3dx9_40
1075 enable_d3dx9_41
1076 enable_d3dx9_42
1077 enable_d3dx9_43
1078 enable_d3dxof
1079 enable_davclnt
1080 enable_dbgeng
1081 enable_dbghelp
1082 enable_dciman32
1083 enable_dcomp
1084 enable_ddraw
1085 enable_ddrawex
1086 enable_devenum
1087 enable_dhcpcsvc
1088 enable_dhcpcsvc6
1089 enable_dhtmled_ocx
1090 enable_diasymreader
1091 enable_difxapi
1092 enable_dinput
1093 enable_dinput8
1094 enable_directmanipulation
1095 enable_dispex
1096 enable_dmband
1097 enable_dmcompos
1098 enable_dmime
1099 enable_dmloader
1100 enable_dmscript
1101 enable_dmstyle
1102 enable_dmsynth
1103 enable_dmusic
1104 enable_dmusic32
1105 enable_dnsapi
1106 enable_dplay
1107 enable_dplayx
1108 enable_dpnaddr
1109 enable_dpnet
1110 enable_dpnhpast
1111 enable_dpnhupnp
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsdmo
1117 enable_dsound
1118 enable_dsquery
1119 enable_dssenh
1120 enable_dsuiext
1121 enable_dswave
1122 enable_dwmapi
1123 enable_dwrite
1124 enable_dx8vb
1125 enable_dxdiagn
1126 enable_dxgi
1127 enable_dxtrans
1128 enable_dxva2
1129 enable_esent
1130 enable_evr
1131 enable_explorerframe
1132 enable_faultrep
1133 enable_feclient
1134 enable_fltlib
1135 enable_fltmgr_sys
1136 enable_fntcache
1137 enable_fontsub
1138 enable_fusion
1139 enable_fwpuclnt
1140 enable_gameux
1141 enable_gamingtcui
1142 enable_gdi32
1143 enable_gdiplus
1144 enable_glu32
1145 enable_gphoto2_ds
1146 enable_gpkcsp
1147 enable_graphicscapture
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hidparse_sys
1153 enable_hlink
1154 enable_hnetcfg
1155 enable_hrtfapo
1156 enable_http_sys
1157 enable_httpapi
1158 enable_ia2comproxy
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_ieproxy
1163 enable_imaadp32_acm
1164 enable_imagehlp
1165 enable_imm32
1166 enable_inetcomm
1167 enable_inetcpl_cpl
1168 enable_inetmib1
1169 enable_infosoft
1170 enable_initpki
1171 enable_inkobj
1172 enable_inseng
1173 enable_iphlpapi
1174 enable_iprop
1175 enable_ir50_32
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kerberos
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksecdd_sys
1186 enable_ksproxy_ax
1187 enable_ksuser
1188 enable_ktmw32
1189 enable_l3codeca_acm
1190 enable_light_msstyles
1191 enable_loadperf
1192 enable_localspl
1193 enable_localui
1194 enable_lz32
1195 enable_mapi32
1196 enable_mapistub
1197 enable_mciavi32
1198 enable_mcicda
1199 enable_mciqtz32
1200 enable_mciseq
1201 enable_mciwave
1202 enable_mf
1203 enable_mf3216
1204 enable_mferror
1205 enable_mfmediaengine
1206 enable_mfplat
1207 enable_mfplay
1208 enable_mfreadwrite
1209 enable_mfsrcsnk
1210 enable_mgmtapi
1211 enable_midimap
1212 enable_mlang
1213 enable_mmcndmgr
1214 enable_mmdevapi
1215 enable_mountmgr_sys
1216 enable_mp3dmod
1217 enable_mpr
1218 enable_mprapi
1219 enable_msacm32_drv
1220 enable_msacm32
1221 enable_msado15
1222 enable_msadp32_acm
1223 enable_msasn1
1224 enable_msauddecmft
1225 enable_mscat32
1226 enable_mscms
1227 enable_mscoree
1228 enable_mscorwks
1229 enable_msctf
1230 enable_msctfmonitor
1231 enable_msctfp
1232 enable_msdaps
1233 enable_msdasql
1234 enable_msdelta
1235 enable_msdmo
1236 enable_msdrm
1237 enable_msftedit
1238 enable_msg711_acm
1239 enable_msgsm32_acm
1240 enable_mshtml_tlb
1241 enable_mshtml
1242 enable_msi
1243 enable_msident
1244 enable_msimg32
1245 enable_msimsg
1246 enable_msimtf
1247 enable_msisip
1248 enable_msisys_ocx
1249 enable_msls31
1250 enable_msmpeg2vdec
1251 enable_msnet32
1252 enable_mspatcha
1253 enable_msports
1254 enable_msrle32
1255 enable_msscript_ocx
1256 enable_mssign32
1257 enable_mssip32
1258 enable_mstask
1259 enable_msv1_0
1260 enable_msvcirt
1261 enable_msvcm80
1262 enable_msvcm90
1263 enable_msvcp100
1264 enable_msvcp110
1265 enable_msvcp120
1266 enable_msvcp120_app
1267 enable_msvcp140
1268 enable_msvcp140_1
1269 enable_msvcp140_2
1270 enable_msvcp140_atomic_wait
1271 enable_msvcp60
1272 enable_msvcp70
1273 enable_msvcp71
1274 enable_msvcp80
1275 enable_msvcp90
1276 enable_msvcp_win
1277 enable_msvcr100
1278 enable_msvcr110
1279 enable_msvcr120
1280 enable_msvcr120_app
1281 enable_msvcr70
1282 enable_msvcr71
1283 enable_msvcr80
1284 enable_msvcr90
1285 enable_msvcrt
1286 enable_msvcrt20
1287 enable_msvcrt40
1288 enable_msvcrtd
1289 enable_msvfw32
1290 enable_msvidc32
1291 enable_mswsock
1292 enable_msxml
1293 enable_msxml2
1294 enable_msxml3
1295 enable_msxml4
1296 enable_msxml6
1297 enable_mtxdm
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netio_sys
1304 enable_netprofm
1305 enable_netutils
1306 enable_newdev
1307 enable_ninput
1308 enable_normaliz
1309 enable_npmshtml
1310 enable_npptools
1311 enable_nsi
1312 enable_nsiproxy_sys
1313 enable_ntdll
1314 enable_ntdsapi
1315 enable_ntoskrnl_exe
1316 enable_ntprint
1317 enable_objsel
1318 enable_odbc32
1319 enable_odbcbcp
1320 enable_odbccp32
1321 enable_odbccu32
1322 enable_ole32
1323 enable_oleacc
1324 enable_oleaut32
1325 enable_olecli32
1326 enable_oledb32
1327 enable_oledlg
1328 enable_olepro32
1329 enable_olesvr32
1330 enable_olethk32
1331 enable_opcservices
1332 enable_opencl
1333 enable_opengl32
1334 enable_packager
1335 enable_pdh
1336 enable_photometadatahandler
1337 enable_pidgen
1338 enable_powrprof
1339 enable_printui
1340 enable_prntvpt
1341 enable_propsys
1342 enable_psapi
1343 enable_pstorec
1344 enable_pwrshplugin
1345 enable_qasf
1346 enable_qcap
1347 enable_qdvd
1348 enable_qedit
1349 enable_qmgr
1350 enable_qmgrprxy
1351 enable_quartz
1352 enable_query
1353 enable_qwave
1354 enable_rasapi32
1355 enable_rasdlg
1356 enable_regapi
1357 enable_resutils
1358 enable_riched20
1359 enable_riched32
1360 enable_rpcrt4
1361 enable_rsabase
1362 enable_rsaenh
1363 enable_rstrtmgr
1364 enable_rtutils
1365 enable_rtworkq
1366 enable_samlib
1367 enable_sane_ds
1368 enable_sapi
1369 enable_sas
1370 enable_scarddlg
1371 enable_scardsvr
1372 enable_sccbase
1373 enable_schannel
1374 enable_schedsvc
1375 enable_scrobj
1376 enable_scrrun
1377 enable_scsiport_sys
1378 enable_sechost
1379 enable_secur32
1380 enable_security
1381 enable_sensapi
1382 enable_serialui
1383 enable_setupapi
1384 enable_sfc
1385 enable_sfc_os
1386 enable_shcore
1387 enable_shdoclc
1388 enable_shdocvw
1389 enable_shell32
1390 enable_shfolder
1391 enable_shlwapi
1392 enable_slbcsp
1393 enable_slc
1394 enable_snmpapi
1395 enable_softpub
1396 enable_spoolss
1397 enable_sppc
1398 enable_srclient
1399 enable_srvcli
1400 enable_sspicli
1401 enable_stdole2_tlb
1402 enable_stdole32_tlb
1403 enable_sti
1404 enable_strmdll
1405 enable_svrapi
1406 enable_sxs
1407 enable_t2embed
1408 enable_tapi32
1409 enable_taskschd
1410 enable_tbs
1411 enable_tdh
1412 enable_tdi_sys
1413 enable_threadpoolwinrt
1414 enable_traffic
1415 enable_twain_32
1416 enable_twinapi_appcore
1417 enable_tzres
1418 enable_ucrtbase
1419 enable_uianimation
1420 enable_uiautomationcore
1421 enable_uiribbon
1422 enable_unicows
1423 enable_updspapi
1424 enable_url
1425 enable_urlmon
1426 enable_usbd_sys
1427 enable_user32
1428 enable_userenv
1429 enable_usp10
1430 enable_utildll
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vcruntime140_1
1441 enable_vdmdbg
1442 enable_version
1443 enable_vga
1444 enable_virtdisk
1445 enable_vssapi
1446 enable_vulkan_1
1447 enable_wbemdisp
1448 enable_wbemprox
1449 enable_wdscore
1450 enable_webservices
1451 enable_websocket
1452 enable_wer
1453 enable_wevtapi
1454 enable_wevtsvc
1455 enable_wiaservc
1456 enable_wimgapi
1457 enable_win32u
1458 enable_windows_devices_enumeration
1459 enable_windows_gaming_input
1460 enable_windows_gaming_ui_gamebar
1461 enable_windows_globalization
1462 enable_windows_media_devices
1463 enable_windows_media_speech
1464 enable_windows_media
1465 enable_windows_networking
1466 enable_windows_perception_stub
1467 enable_windows_system_profile_systemmanufacturers
1468 enable_windows_ui
1469 enable_windowscodecs
1470 enable_windowscodecsext
1471 enable_winealsa_drv
1472 enable_wineandroid_drv
1473 enable_winebus_sys
1474 enable_winecoreaudio_drv
1475 enable_winecrt0
1476 enable_wined3d
1477 enable_winegstreamer
1478 enable_winehid_sys
1479 enable_winemac_drv
1480 enable_winemapi
1481 enable_wineoss_drv
1482 enable_wineps_drv
1483 enable_winepulse_drv
1484 enable_wineusb_sys
1485 enable_winevulkan
1486 enable_winewayland_drv
1487 enable_winex11_drv
1488 enable_winexinput_sys
1489 enable_wing32
1490 enable_winhttp
1491 enable_wininet
1492 enable_winmm
1493 enable_winnls32
1494 enable_winprint
1495 enable_winscard
1496 enable_winspool_drv
1497 enable_winsta
1498 enable_wintab32
1499 enable_wintrust
1500 enable_wintypes
1501 enable_winusb
1502 enable_wlanapi
1503 enable_wlanui
1504 enable_wldap32
1505 enable_wmasf
1506 enable_wmi
1507 enable_wmiutils
1508 enable_wmp
1509 enable_wmphoto
1510 enable_wmvcore
1511 enable_wnaspi32
1512 enable_wofutil
1513 enable_wow64
1514 enable_wow64cpu
1515 enable_wow64win
1516 enable_wpc
1517 enable_wpcap
1518 enable_ws2_32
1519 enable_wsdapi
1520 enable_wshom_ocx
1521 enable_wsnmp32
1522 enable_wsock32
1523 enable_wtsapi32
1524 enable_wuapi
1525 enable_wuaueng
1526 enable_x3daudio1_0
1527 enable_x3daudio1_1
1528 enable_x3daudio1_2
1529 enable_x3daudio1_3
1530 enable_x3daudio1_4
1531 enable_x3daudio1_5
1532 enable_x3daudio1_6
1533 enable_x3daudio1_7
1534 enable_xactengine2_0
1535 enable_xactengine2_4
1536 enable_xactengine2_7
1537 enable_xactengine2_9
1538 enable_xactengine3_0
1539 enable_xactengine3_1
1540 enable_xactengine3_2
1541 enable_xactengine3_3
1542 enable_xactengine3_4
1543 enable_xactengine3_5
1544 enable_xactengine3_6
1545 enable_xactengine3_7
1546 enable_xapofx1_1
1547 enable_xapofx1_2
1548 enable_xapofx1_3
1549 enable_xapofx1_4
1550 enable_xapofx1_5
1551 enable_xaudio2_0
1552 enable_xaudio2_1
1553 enable_xaudio2_2
1554 enable_xaudio2_3
1555 enable_xaudio2_4
1556 enable_xaudio2_5
1557 enable_xaudio2_6
1558 enable_xaudio2_7
1559 enable_xaudio2_8
1560 enable_xaudio2_9
1561 enable_xinput1_1
1562 enable_xinput1_2
1563 enable_xinput1_3
1564 enable_xinput1_4
1565 enable_xinput9_1_0
1566 enable_xinputuap
1567 enable_xmllite
1568 enable_xolehlp
1569 enable_xpsprint
1570 enable_xpssvcs
1571 enable_fonts
1572 enable_include
1573 enable_adsiid
1574 enable_dmoguids
1575 enable_dxerr8
1576 enable_dxerr9
1577 enable_dxguid
1578 enable_faudio
1579 enable_gsm
1580 enable_jpeg
1581 enable_jxr
1582 enable_lcms2
1583 enable_ldap
1584 enable_mfuuid
1585 enable_mpg123
1586 enable_musl
1587 enable_png
1588 enable_strmbase
1589 enable_strmiids
1590 enable_tiff
1591 enable_uuid
1592 enable_vkd3d
1593 enable_wbemuuid
1594 enable_wmcodecdspuuid
1595 enable_xml2
1596 enable_xslt
1597 enable_zlib
1598 enable_zydis
1599 enable_loader
1600 enable_nls
1601 enable_po
1602 enable_arp
1603 enable_aspnet_regiis
1604 enable_attrib
1605 enable_cabarc
1606 enable_cacls
1607 enable_certutil
1608 enable_chcp_com
1609 enable_clock
1610 enable_cmd
1611 enable_conhost
1612 enable_control
1613 enable_cscript
1614 enable_dism
1615 enable_dllhost
1616 enable_dplaysvr
1617 enable_dpnsvr
1618 enable_dpvsetup
1619 enable_dxdiag
1620 enable_eject
1621 enable_expand
1622 enable_explorer
1623 enable_extrac32
1624 enable_fc
1625 enable_find
1626 enable_findstr
1627 enable_fsutil
1628 enable_hh
1629 enable_hostname
1630 enable_icacls
1631 enable_icinfo
1632 enable_iexplore
1633 enable_ipconfig
1634 enable_lodctr
1635 enable_mofcomp
1636 enable_mshta
1637 enable_msidb
1638 enable_msiexec
1639 enable_msinfo32
1640 enable_net
1641 enable_netsh
1642 enable_netstat
1643 enable_ngen
1644 enable_notepad
1645 enable_oleview
1646 enable_ping
1647 enable_plugplay
1648 enable_powershell
1649 enable_presentationfontcache
1650 enable_progman
1651 enable_reg
1652 enable_regasm
1653 enable_regedit
1654 enable_regini
1655 enable_regsvcs
1656 enable_regsvr32
1657 enable_robocopy
1658 enable_rpcss
1659 enable_rundll32
1660 enable_sc
1661 enable_schtasks
1662 enable_sdbinst
1663 enable_secedit
1664 enable_servicemodelreg
1665 enable_services
1666 enable_setx
1667 enable_shutdown
1668 enable_spoolsv
1669 enable_start
1670 enable_subst
1671 enable_svchost
1672 enable_systeminfo
1673 enable_taskkill
1674 enable_tasklist
1675 enable_taskmgr
1676 enable_termsv
1677 enable_uninstaller
1678 enable_unlodctr
1679 enable_view
1680 enable_wevtutil
1681 enable_where
1682 enable_whoami
1683 enable_wineboot
1684 enable_winebrowser
1685 enable_winecfg
1686 enable_wineconsole
1687 enable_winedbg
1688 enable_winedevice
1689 enable_winefile
1690 enable_winemenubuilder
1691 enable_winemine
1692 enable_winemsibuilder
1693 enable_winepath
1694 enable_winetest
1695 enable_winhlp32
1696 enable_winmgmt
1697 enable_winver
1698 enable_wmic
1699 enable_wmplayer
1700 enable_wordpad
1701 enable_write
1702 enable_wscript
1703 enable_wuauserv
1704 enable_wusa
1705 enable_xcopy
1706 enable_server
1707 enable_tools
1708 enable_sfnt2fon
1709 enable_widl
1710 enable_winebuild
1711 enable_winedump
1712 enable_winegcc
1713 enable_winemaker
1714 enable_wmc
1715 enable_wrc
1717 ac_precious_vars='build_alias
1718 host_alias
1719 target_alias
1721 CFLAGS
1722 LDFLAGS
1723 LIBS
1724 CPPFLAGS
1726 CXXFLAGS
1728 OBJC
1729 OBJCFLAGS
1730 FAUDIO_PE_CFLAGS
1731 FAUDIO_PE_LIBS
1732 GSM_PE_CFLAGS
1733 GSM_PE_LIBS
1734 JPEG_PE_CFLAGS
1735 JPEG_PE_LIBS
1736 JXR_PE_CFLAGS
1737 JXR_PE_LIBS
1738 LCMS2_PE_CFLAGS
1739 LCMS2_PE_LIBS
1740 LDAP_PE_CFLAGS
1741 LDAP_PE_LIBS
1742 MPG123_PE_CFLAGS
1743 MPG123_PE_LIBS
1744 MUSL_PE_CFLAGS
1745 MUSL_PE_LIBS
1746 PNG_PE_CFLAGS
1747 PNG_PE_LIBS
1748 TIFF_PE_CFLAGS
1749 TIFF_PE_LIBS
1750 VKD3D_PE_CFLAGS
1751 VKD3D_PE_LIBS
1752 XML2_PE_CFLAGS
1753 XML2_PE_LIBS
1754 XSLT_PE_CFLAGS
1755 XSLT_PE_LIBS
1756 ZLIB_PE_CFLAGS
1757 ZLIB_PE_LIBS
1758 ZYDIS_PE_CFLAGS
1759 ZYDIS_PE_LIBS
1760 XMKMF
1762 WAYLAND_CLIENT_CFLAGS
1763 WAYLAND_CLIENT_LIBS
1764 INOTIFY_CFLAGS
1765 INOTIFY_LIBS
1766 DBUS_CFLAGS
1767 DBUS_LIBS
1768 GNUTLS_CFLAGS
1769 GNUTLS_LIBS
1770 SANE_CFLAGS
1771 SANE_LIBS
1772 USB_CFLAGS
1773 USB_LIBS
1774 GPHOTO2_CFLAGS
1775 GPHOTO2_LIBS
1776 GPHOTO2_PORT_CFLAGS
1777 GPHOTO2_PORT_LIBS
1778 FREETYPE_CFLAGS
1779 FREETYPE_LIBS
1780 PULSE_CFLAGS
1781 PULSE_LIBS
1782 GSTREAMER_CFLAGS
1783 GSTREAMER_LIBS
1784 UDEV_CFLAGS
1785 UDEV_LIBS
1786 UNWIND_CFLAGS
1787 UNWIND_LIBS
1788 SDL2_CFLAGS
1789 SDL2_LIBS
1790 CAPI20_CFLAGS
1791 CAPI20_LIBS
1792 CUPS_CFLAGS
1793 CUPS_LIBS
1794 FONTCONFIG_CFLAGS
1795 FONTCONFIG_LIBS
1796 KRB5_CFLAGS
1797 KRB5_LIBS
1798 GSSAPI_CFLAGS
1799 GSSAPI_LIBS
1800 NETAPI_CFLAGS
1801 NETAPI_LIBS'
1804 # Initialize some variables set by options.
1805 ac_init_help=
1806 ac_init_version=false
1807 ac_unrecognized_opts=
1808 ac_unrecognized_sep=
1809 # The variables have the same names as the options, with
1810 # dashes changed to underlines.
1811 cache_file=/dev/null
1812 exec_prefix=NONE
1813 no_create=
1814 no_recursion=
1815 prefix=NONE
1816 program_prefix=NONE
1817 program_suffix=NONE
1818 program_transform_name=s,x,x,
1819 silent=
1820 site=
1821 srcdir=
1822 verbose=
1823 x_includes=NONE
1824 x_libraries=NONE
1826 # Installation directory options.
1827 # These are left unexpanded so users can "make install exec_prefix=/foo"
1828 # and all the variables that are supposed to be based on exec_prefix
1829 # by default will actually change.
1830 # Use braces instead of parens because sh, perl, etc. also accept them.
1831 # (The list follows the same order as the GNU Coding Standards.)
1832 bindir='${exec_prefix}/bin'
1833 sbindir='${exec_prefix}/sbin'
1834 libexecdir='${exec_prefix}/libexec'
1835 datarootdir='${prefix}/share'
1836 datadir='${datarootdir}'
1837 sysconfdir='${prefix}/etc'
1838 sharedstatedir='${prefix}/com'
1839 localstatedir='${prefix}/var'
1840 runstatedir='${localstatedir}/run'
1841 includedir='${prefix}/include'
1842 oldincludedir='/usr/include'
1843 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1844 infodir='${datarootdir}/info'
1845 htmldir='${docdir}'
1846 dvidir='${docdir}'
1847 pdfdir='${docdir}'
1848 psdir='${docdir}'
1849 libdir='${exec_prefix}/lib'
1850 localedir='${datarootdir}/locale'
1851 mandir='${datarootdir}/man'
1853 ac_prev=
1854 ac_dashdash=
1855 for ac_option
1857 # If the previous option needs an argument, assign it.
1858 if test -n "$ac_prev"; then
1859 eval $ac_prev=\$ac_option
1860 ac_prev=
1861 continue
1864 case $ac_option in
1865 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1866 *=) ac_optarg= ;;
1867 *) ac_optarg=yes ;;
1868 esac
1870 case $ac_dashdash$ac_option in
1872 ac_dashdash=yes ;;
1874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1875 ac_prev=bindir ;;
1876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1877 bindir=$ac_optarg ;;
1879 -build | --build | --buil | --bui | --bu)
1880 ac_prev=build_alias ;;
1881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1882 build_alias=$ac_optarg ;;
1884 -cache-file | --cache-file | --cache-fil | --cache-fi \
1885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1886 ac_prev=cache_file ;;
1887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1889 cache_file=$ac_optarg ;;
1891 --config-cache | -C)
1892 cache_file=config.cache ;;
1894 -datadir | --datadir | --datadi | --datad)
1895 ac_prev=datadir ;;
1896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1897 datadir=$ac_optarg ;;
1899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1900 | --dataroo | --dataro | --datar)
1901 ac_prev=datarootdir ;;
1902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1904 datarootdir=$ac_optarg ;;
1906 -disable-* | --disable-*)
1907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1910 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1911 ac_useropt_orig=$ac_useropt
1912 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "enable_$ac_useropt"
1916 "*) ;;
1917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1918 ac_unrecognized_sep=', ';;
1919 esac
1920 eval enable_$ac_useropt=no ;;
1922 -docdir | --docdir | --docdi | --doc | --do)
1923 ac_prev=docdir ;;
1924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1925 docdir=$ac_optarg ;;
1927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1928 ac_prev=dvidir ;;
1929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1930 dvidir=$ac_optarg ;;
1932 -enable-* | --enable-*)
1933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1936 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1937 ac_useropt_orig=$ac_useropt
1938 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "enable_$ac_useropt"
1942 "*) ;;
1943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1944 ac_unrecognized_sep=', ';;
1945 esac
1946 eval enable_$ac_useropt=\$ac_optarg ;;
1948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1950 | --exec | --exe | --ex)
1951 ac_prev=exec_prefix ;;
1952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1954 | --exec=* | --exe=* | --ex=*)
1955 exec_prefix=$ac_optarg ;;
1957 -gas | --gas | --ga | --g)
1958 # Obsolete; use --with-gas.
1959 with_gas=yes ;;
1961 -help | --help | --hel | --he | -h)
1962 ac_init_help=long ;;
1963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1964 ac_init_help=recursive ;;
1965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1966 ac_init_help=short ;;
1968 -host | --host | --hos | --ho)
1969 ac_prev=host_alias ;;
1970 -host=* | --host=* | --hos=* | --ho=*)
1971 host_alias=$ac_optarg ;;
1973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1974 ac_prev=htmldir ;;
1975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1976 | --ht=*)
1977 htmldir=$ac_optarg ;;
1979 -includedir | --includedir | --includedi | --included | --include \
1980 | --includ | --inclu | --incl | --inc)
1981 ac_prev=includedir ;;
1982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1983 | --includ=* | --inclu=* | --incl=* | --inc=*)
1984 includedir=$ac_optarg ;;
1986 -infodir | --infodir | --infodi | --infod | --info | --inf)
1987 ac_prev=infodir ;;
1988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1989 infodir=$ac_optarg ;;
1991 -libdir | --libdir | --libdi | --libd)
1992 ac_prev=libdir ;;
1993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1994 libdir=$ac_optarg ;;
1996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1997 | --libexe | --libex | --libe)
1998 ac_prev=libexecdir ;;
1999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2000 | --libexe=* | --libex=* | --libe=*)
2001 libexecdir=$ac_optarg ;;
2003 -localedir | --localedir | --localedi | --localed | --locale)
2004 ac_prev=localedir ;;
2005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2006 localedir=$ac_optarg ;;
2008 -localstatedir | --localstatedir | --localstatedi | --localstated \
2009 | --localstate | --localstat | --localsta | --localst | --locals)
2010 ac_prev=localstatedir ;;
2011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2013 localstatedir=$ac_optarg ;;
2015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2016 ac_prev=mandir ;;
2017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2018 mandir=$ac_optarg ;;
2020 -nfp | --nfp | --nf)
2021 # Obsolete; use --without-fp.
2022 with_fp=no ;;
2024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2025 | --no-cr | --no-c | -n)
2026 no_create=yes ;;
2028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2030 no_recursion=yes ;;
2032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2034 | --oldin | --oldi | --old | --ol | --o)
2035 ac_prev=oldincludedir ;;
2036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2039 oldincludedir=$ac_optarg ;;
2041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2042 ac_prev=prefix ;;
2043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2044 prefix=$ac_optarg ;;
2046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2047 | --program-pre | --program-pr | --program-p)
2048 ac_prev=program_prefix ;;
2049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2051 program_prefix=$ac_optarg ;;
2053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2054 | --program-suf | --program-su | --program-s)
2055 ac_prev=program_suffix ;;
2056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2058 program_suffix=$ac_optarg ;;
2060 -program-transform-name | --program-transform-name \
2061 | --program-transform-nam | --program-transform-na \
2062 | --program-transform-n | --program-transform- \
2063 | --program-transform | --program-transfor \
2064 | --program-transfo | --program-transf \
2065 | --program-trans | --program-tran \
2066 | --progr-tra | --program-tr | --program-t)
2067 ac_prev=program_transform_name ;;
2068 -program-transform-name=* | --program-transform-name=* \
2069 | --program-transform-nam=* | --program-transform-na=* \
2070 | --program-transform-n=* | --program-transform-=* \
2071 | --program-transform=* | --program-transfor=* \
2072 | --program-transfo=* | --program-transf=* \
2073 | --program-trans=* | --program-tran=* \
2074 | --progr-tra=* | --program-tr=* | --program-t=*)
2075 program_transform_name=$ac_optarg ;;
2077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2078 ac_prev=pdfdir ;;
2079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2080 pdfdir=$ac_optarg ;;
2082 -psdir | --psdir | --psdi | --psd | --ps)
2083 ac_prev=psdir ;;
2084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2085 psdir=$ac_optarg ;;
2087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2088 | -silent | --silent | --silen | --sile | --sil)
2089 silent=yes ;;
2091 -runstatedir | --runstatedir | --runstatedi | --runstated \
2092 | --runstate | --runstat | --runsta | --runst | --runs \
2093 | --run | --ru | --r)
2094 ac_prev=runstatedir ;;
2095 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2096 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2097 | --run=* | --ru=* | --r=*)
2098 runstatedir=$ac_optarg ;;
2100 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2101 ac_prev=sbindir ;;
2102 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2103 | --sbi=* | --sb=*)
2104 sbindir=$ac_optarg ;;
2106 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2107 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2108 | --sharedst | --shareds | --shared | --share | --shar \
2109 | --sha | --sh)
2110 ac_prev=sharedstatedir ;;
2111 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2112 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2113 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2114 | --sha=* | --sh=*)
2115 sharedstatedir=$ac_optarg ;;
2117 -site | --site | --sit)
2118 ac_prev=site ;;
2119 -site=* | --site=* | --sit=*)
2120 site=$ac_optarg ;;
2122 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2123 ac_prev=srcdir ;;
2124 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2125 srcdir=$ac_optarg ;;
2127 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2128 | --syscon | --sysco | --sysc | --sys | --sy)
2129 ac_prev=sysconfdir ;;
2130 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2131 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2132 sysconfdir=$ac_optarg ;;
2134 -target | --target | --targe | --targ | --tar | --ta | --t)
2135 ac_prev=target_alias ;;
2136 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2137 target_alias=$ac_optarg ;;
2139 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2140 verbose=yes ;;
2142 -version | --version | --versio | --versi | --vers | -V)
2143 ac_init_version=: ;;
2145 -with-* | --with-*)
2146 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2147 # Reject names that are not valid shell variable names.
2148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2149 as_fn_error $? "invalid package name: \`$ac_useropt'"
2150 ac_useropt_orig=$ac_useropt
2151 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2152 case $ac_user_opts in
2154 "with_$ac_useropt"
2155 "*) ;;
2156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2157 ac_unrecognized_sep=', ';;
2158 esac
2159 eval with_$ac_useropt=\$ac_optarg ;;
2161 -without-* | --without-*)
2162 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2163 # Reject names that are not valid shell variable names.
2164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2165 as_fn_error $? "invalid package name: \`$ac_useropt'"
2166 ac_useropt_orig=$ac_useropt
2167 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2168 case $ac_user_opts in
2170 "with_$ac_useropt"
2171 "*) ;;
2172 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2173 ac_unrecognized_sep=', ';;
2174 esac
2175 eval with_$ac_useropt=no ;;
2177 --x)
2178 # Obsolete; use --with-x.
2179 with_x=yes ;;
2181 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2182 | --x-incl | --x-inc | --x-in | --x-i)
2183 ac_prev=x_includes ;;
2184 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2185 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2186 x_includes=$ac_optarg ;;
2188 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2189 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2190 ac_prev=x_libraries ;;
2191 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2192 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2193 x_libraries=$ac_optarg ;;
2195 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2196 Try \`$0 --help' for more information"
2199 *=*)
2200 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2201 # Reject names that are not valid shell variable names.
2202 case $ac_envvar in #(
2203 '' | [0-9]* | *[!_$as_cr_alnum]* )
2204 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2205 esac
2206 eval $ac_envvar=\$ac_optarg
2207 export $ac_envvar ;;
2210 # FIXME: should be removed in autoconf 3.0.
2211 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2212 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2213 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2214 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2217 esac
2218 done
2220 if test -n "$ac_prev"; then
2221 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2222 as_fn_error $? "missing argument to $ac_option"
2225 if test -n "$ac_unrecognized_opts"; then
2226 case $enable_option_checking in
2227 no) ;;
2228 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2229 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2230 esac
2233 # Check all directory arguments for consistency.
2234 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2235 datadir sysconfdir sharedstatedir localstatedir includedir \
2236 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2237 libdir localedir mandir runstatedir
2239 eval ac_val=\$$ac_var
2240 # Remove trailing slashes.
2241 case $ac_val in
2242 */ )
2243 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2244 eval $ac_var=\$ac_val;;
2245 esac
2246 # Be sure to have absolute directory names.
2247 case $ac_val in
2248 [\\/$]* | ?:[\\/]* ) continue;;
2249 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2250 esac
2251 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2252 done
2254 # There might be people who depend on the old broken behavior: `$host'
2255 # used to hold the argument of --host etc.
2256 # FIXME: To remove some day.
2257 build=$build_alias
2258 host=$host_alias
2259 target=$target_alias
2261 # FIXME: To remove some day.
2262 if test "x$host_alias" != x; then
2263 if test "x$build_alias" = x; then
2264 cross_compiling=maybe
2265 elif test "x$build_alias" != "x$host_alias"; then
2266 cross_compiling=yes
2270 ac_tool_prefix=
2271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2273 test "$silent" = yes && exec 6>/dev/null
2276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2277 ac_ls_di=`ls -di .` &&
2278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2279 as_fn_error $? "working directory cannot be determined"
2280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2281 as_fn_error $? "pwd does not report name of working directory"
2284 # Find the source files, if location was not specified.
2285 if test -z "$srcdir"; then
2286 ac_srcdir_defaulted=yes
2287 # Try the directory containing this script, then the parent directory.
2288 ac_confdir=`$as_dirname -- "$as_myself" ||
2289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2290 X"$as_myself" : 'X\(//\)[^/]' \| \
2291 X"$as_myself" : 'X\(//\)$' \| \
2292 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2293 printf "%s\n" X"$as_myself" |
2294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2295 s//\1/
2298 /^X\(\/\/\)[^/].*/{
2299 s//\1/
2302 /^X\(\/\/\)$/{
2303 s//\1/
2306 /^X\(\/\).*/{
2307 s//\1/
2310 s/.*/./; q'`
2311 srcdir=$ac_confdir
2312 if test ! -r "$srcdir/$ac_unique_file"; then
2313 srcdir=..
2315 else
2316 ac_srcdir_defaulted=no
2318 if test ! -r "$srcdir/$ac_unique_file"; then
2319 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2320 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2323 ac_abs_confdir=`(
2324 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2325 pwd)`
2326 # When building in place, set srcdir=.
2327 if test "$ac_abs_confdir" = "$ac_pwd"; then
2328 srcdir=.
2330 # Remove unnecessary trailing slashes from srcdir.
2331 # Double slashes in file names in object file debugging info
2332 # mess up M-x gdb in Emacs.
2333 case $srcdir in
2334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2335 esac
2336 for ac_var in $ac_precious_vars; do
2337 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2338 eval ac_env_${ac_var}_value=\$${ac_var}
2339 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2340 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2341 done
2344 # Report the --help message.
2346 if test "$ac_init_help" = "long"; then
2347 # Omit some internal or obsolete options to make the list less imposing.
2348 # This message is too long to be a string in the A/UX 3.1 sh.
2349 cat <<_ACEOF
2350 \`configure' configures Wine 8.11 to adapt to many kinds of systems.
2352 Usage: $0 [OPTION]... [VAR=VALUE]...
2354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2355 VAR=VALUE. See below for descriptions of some of the useful variables.
2357 Defaults for the options are specified in brackets.
2359 Configuration:
2360 -h, --help display this help and exit
2361 --help=short display options specific to this package
2362 --help=recursive display the short help of all the included packages
2363 -V, --version display version information and exit
2364 -q, --quiet, --silent do not print \`checking ...' messages
2365 --cache-file=FILE cache test results in FILE [disabled]
2366 -C, --config-cache alias for \`--cache-file=config.cache'
2367 -n, --no-create do not create output files
2368 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2370 Installation directories:
2371 --prefix=PREFIX install architecture-independent files in PREFIX
2372 [$ac_default_prefix]
2373 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2374 [PREFIX]
2376 By default, \`make install' will install all the files in
2377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2379 for instance \`--prefix=\$HOME'.
2381 For better control, use the options below.
2383 Fine tuning of the installation directories:
2384 --bindir=DIR user executables [EPREFIX/bin]
2385 --sbindir=DIR system admin executables [EPREFIX/sbin]
2386 --libexecdir=DIR program executables [EPREFIX/libexec]
2387 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2388 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2389 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2390 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2391 --libdir=DIR object code libraries [EPREFIX/lib]
2392 --includedir=DIR C header files [PREFIX/include]
2393 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2394 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2395 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2396 --infodir=DIR info documentation [DATAROOTDIR/info]
2397 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2398 --mandir=DIR man documentation [DATAROOTDIR/man]
2399 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2400 --htmldir=DIR html documentation [DOCDIR]
2401 --dvidir=DIR dvi documentation [DOCDIR]
2402 --pdfdir=DIR pdf documentation [DOCDIR]
2403 --psdir=DIR ps documentation [DOCDIR]
2404 _ACEOF
2406 cat <<\_ACEOF
2408 X features:
2409 --x-includes=DIR X include files are in DIR
2410 --x-libraries=DIR X library files are in DIR
2412 System types:
2413 --build=BUILD configure for building on BUILD [guessed]
2414 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2415 _ACEOF
2418 if test -n "$ac_init_help"; then
2419 case $ac_init_help in
2420 short | recursive ) echo "Configuration of Wine 8.11:";;
2421 esac
2422 cat <<\_ACEOF
2424 Optional Features:
2425 --disable-option-checking ignore unrecognized --enable/--with options
2426 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2427 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2428 --enable-archs={i386,x86_64,arm,aarch64}
2429 enable multiple architectures for PE compilation
2430 --disable-win16 do not include Win16 support
2431 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2432 binaries)
2433 --disable-tests do not build the regression tests
2434 --enable-build-id include .buildid section in output objects
2435 --enable-maintainer-mode
2436 enable maintainer-specific build rules
2437 --enable-silent-rules use silent build rules (override: "make V=1")
2438 --enable-werror treat compilation warnings as errors
2439 --disable-largefile omit support for large files
2441 Optional Packages:
2442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2444 --without-alsa do not use the Alsa sound support
2445 --without-capi do not use CAPI (ISDN support)
2446 --without-coreaudio do not use the CoreAudio sound support
2447 --without-cups do not use CUPS
2448 --without-dbus do not use DBus (dynamic device support)
2449 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2450 --without-fontconfig do not use fontconfig
2451 --without-freetype do not use the FreeType library
2452 --without-gettext do not use gettext
2453 --with-gettextpo use the GetTextPO library to rebuild po files
2454 --without-gphoto do not use gphoto (Digital Camera support)
2455 --without-gnutls do not use GnuTLS (schannel support)
2456 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2457 --without-gstreamer do not use GStreamer (codecs support)
2458 --without-inotify do not use inotify (filesystem change notifications)
2459 --without-krb5 do not use krb5 (Kerberos)
2460 --without-mingw do not use the MinGW cross-compiler
2461 --without-netapi do not use the Samba NetAPI library
2462 --without-opencl do not use OpenCL
2463 --without-opengl do not use OpenGL
2464 --without-osmesa do not use the OSMesa library
2465 --without-oss do not use the OSS sound support
2466 --without-pcap do not use the Packet Capture library
2467 --without-pcsclite do not use PCSC lite
2468 --without-pthread do not use the pthread library
2469 --without-pulse do not use PulseAudio sound support
2470 --without-sane do not use SANE (scanner support)
2471 --without-sdl do not use SDL
2472 --without-udev do not use udev (plug and play support)
2473 --without-unwind do not use the libunwind library (exception
2474 handling)
2475 --without-usb do not use the libusb library
2476 --without-v4l2 do not use v4l2 (video capture)
2477 --without-vulkan do not use Vulkan
2478 --without-wayland do not build the Wayland driver
2479 --without-xcomposite do not use the Xcomposite extension
2480 --without-xcursor do not use the Xcursor extension
2481 --without-xfixes do not use Xfixes for clipboard change notifications
2482 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2483 --without-xinput do not use the Xinput extension
2484 --without-xinput2 do not use the Xinput 2 extension
2485 --without-xrandr do not use Xrandr (multi-monitor support)
2486 --without-xrender do not use the Xrender extension
2487 --without-xshape do not use the Xshape extension
2488 --without-xshm do not use XShm (shared memory extension)
2489 --without-xxf86vm do not use XFree video mode extension
2490 --with-system-dllpath=PATH
2491 load external PE dependencies from colon-separated
2492 path PATH
2493 --with-wine-tools=DIR use Wine tools from directory DIR
2494 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2495 --with-x use the X Window System
2497 Some influential environment variables:
2498 CC C compiler command
2499 CFLAGS C compiler flags
2500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2501 nonstandard directory <lib dir>
2502 LIBS libraries to pass to the linker, e.g. -l<library>
2503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2504 you have headers in a nonstandard directory <include dir>
2505 CXX C++ compiler command
2506 CXXFLAGS C++ compiler flags
2507 OBJC Objective C compiler command
2508 OBJCFLAGS Objective C compiler flags
2509 FAUDIO_PE_CFLAGS
2510 C compiler flags for the PE faudio, overriding the bundled
2511 version
2512 FAUDIO_PE_LIBS
2513 Linker flags for the PE faudio, overriding the bundled version
2514 GSM_PE_CFLAGS
2515 C compiler flags for the PE gsm, overriding the bundled version
2516 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2517 JPEG_PE_CFLAGS
2518 C compiler flags for the PE jpeg, overriding the bundled version
2519 JPEG_PE_LIBS
2520 Linker flags for the PE jpeg, overriding the bundled version
2521 JXR_PE_CFLAGS
2522 C compiler flags for the PE jxr, overriding the bundled version
2523 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2524 LCMS2_PE_CFLAGS
2525 C compiler flags for the PE lcms2, overriding the bundled
2526 version
2527 LCMS2_PE_LIBS
2528 Linker flags for the PE lcms2, overriding the bundled version
2529 LDAP_PE_CFLAGS
2530 C compiler flags for the PE ldap, overriding the bundled version
2531 LDAP_PE_LIBS
2532 Linker flags for the PE ldap, overriding the bundled version
2533 MPG123_PE_CFLAGS
2534 C compiler flags for the PE mpg123, overriding the bundled
2535 version
2536 MPG123_PE_LIBS
2537 Linker flags for the PE mpg123, overriding the bundled version
2538 MUSL_PE_CFLAGS
2539 C compiler flags for the PE musl, overriding the bundled version
2540 MUSL_PE_LIBS
2541 Linker flags for the PE musl, overriding the bundled version
2542 PNG_PE_CFLAGS
2543 C compiler flags for the PE png, overriding the bundled version
2544 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2545 TIFF_PE_CFLAGS
2546 C compiler flags for the PE tiff, overriding the bundled version
2547 TIFF_PE_LIBS
2548 Linker flags for the PE tiff, overriding the bundled version
2549 VKD3D_PE_CFLAGS
2550 C compiler flags for the PE vkd3d, overriding the bundled
2551 version
2552 VKD3D_PE_LIBS
2553 Linker flags for the PE vkd3d, overriding the bundled version
2554 XML2_PE_CFLAGS
2555 C compiler flags for the PE xml2, overriding the bundled version
2556 XML2_PE_LIBS
2557 Linker flags for the PE xml2, overriding the bundled version
2558 XSLT_PE_CFLAGS
2559 C compiler flags for the PE xslt, overriding the bundled version
2560 XSLT_PE_LIBS
2561 Linker flags for the PE xslt, overriding the bundled version
2562 ZLIB_PE_CFLAGS
2563 C compiler flags for the PE zlib, overriding the bundled version
2564 ZLIB_PE_LIBS
2565 Linker flags for the PE zlib, overriding the bundled version
2566 ZYDIS_PE_CFLAGS
2567 C compiler flags for the PE zydis, overriding the bundled
2568 version
2569 ZYDIS_PE_LIBS
2570 Linker flags for the PE zydis, overriding the bundled version
2571 XMKMF Path to xmkmf, Makefile generator for X Window System
2572 CPP C preprocessor
2573 WAYLAND_CLIENT_CFLAGS
2574 C compiler flags for wayland-client, overriding pkg-config
2575 WAYLAND_CLIENT_LIBS
2576 Linker flags for wayland-client, overriding pkg-config
2577 INOTIFY_CFLAGS
2578 C compiler flags for libinotify, overriding pkg-config
2579 INOTIFY_LIBS
2580 Linker flags for libinotify, overriding pkg-config
2581 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2582 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2583 GNUTLS_CFLAGS
2584 C compiler flags for gnutls, overriding pkg-config
2585 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2586 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2587 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2588 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2589 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2590 GPHOTO2_CFLAGS
2591 C compiler flags for libgphoto2, overriding pkg-config
2592 GPHOTO2_LIBS
2593 Linker flags for libgphoto2, overriding pkg-config
2594 GPHOTO2_PORT_CFLAGS
2595 C compiler flags for libgphoto2_port, overriding pkg-config
2596 GPHOTO2_PORT_LIBS
2597 Linker flags for libgphoto2_port, overriding pkg-config
2598 FREETYPE_CFLAGS
2599 C compiler flags for freetype2, overriding pkg-config
2600 FREETYPE_LIBS
2601 Linker flags for freetype2, overriding pkg-config
2602 PULSE_CFLAGS
2603 C compiler flags for libpulse, overriding pkg-config
2604 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2605 GSTREAMER_CFLAGS
2606 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2607 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2608 GSTREAMER_LIBS
2609 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2610 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2611 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2612 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2613 UNWIND_CFLAGS
2614 C compiler flags for libunwind, overriding pkg-config
2615 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2616 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2617 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2618 CAPI20_CFLAGS
2619 C compiler flags for capi20, overriding pkg-config
2620 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2621 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2622 CUPS_LIBS Linker flags for cups, overriding pkg-config
2623 FONTCONFIG_CFLAGS
2624 C compiler flags for fontconfig, overriding pkg-config
2625 FONTCONFIG_LIBS
2626 Linker flags for fontconfig, overriding pkg-config
2627 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2628 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2629 GSSAPI_CFLAGS
2630 C compiler flags for krb5-gssapi, overriding pkg-config
2631 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2632 NETAPI_CFLAGS
2633 C compiler flags for netapi, overriding pkg-config
2634 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2636 Use these variables to override the choices made by `configure' or to help
2637 it to find libraries and programs with nonstandard names/locations.
2639 Report bugs to <wine-devel@winehq.org>.
2640 Wine home page: <https://www.winehq.org>.
2641 _ACEOF
2642 ac_status=$?
2645 if test "$ac_init_help" = "recursive"; then
2646 # If there are subdirs, report their specific --help.
2647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2648 test -d "$ac_dir" ||
2649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2650 continue
2651 ac_builddir=.
2653 case "$ac_dir" in
2654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2656 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2657 # A ".." for each directory in $ac_dir_suffix.
2658 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2659 case $ac_top_builddir_sub in
2660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2662 esac ;;
2663 esac
2664 ac_abs_top_builddir=$ac_pwd
2665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2666 # for backward compatibility:
2667 ac_top_builddir=$ac_top_build_prefix
2669 case $srcdir in
2670 .) # We are building in place.
2671 ac_srcdir=.
2672 ac_top_srcdir=$ac_top_builddir_sub
2673 ac_abs_top_srcdir=$ac_pwd ;;
2674 [\\/]* | ?:[\\/]* ) # Absolute name.
2675 ac_srcdir=$srcdir$ac_dir_suffix;
2676 ac_top_srcdir=$srcdir
2677 ac_abs_top_srcdir=$srcdir ;;
2678 *) # Relative name.
2679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2680 ac_top_srcdir=$ac_top_build_prefix$srcdir
2681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2682 esac
2683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2685 cd "$ac_dir" || { ac_status=$?; continue; }
2686 # Check for configure.gnu first; this name is used for a wrapper for
2687 # Metaconfig's "Configure" on case-insensitive file systems.
2688 if test -f "$ac_srcdir/configure.gnu"; then
2689 echo &&
2690 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2691 elif test -f "$ac_srcdir/configure"; then
2692 echo &&
2693 $SHELL "$ac_srcdir/configure" --help=recursive
2694 else
2695 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2696 fi || ac_status=$?
2697 cd "$ac_pwd" || { ac_status=$?; break; }
2698 done
2701 test -n "$ac_init_help" && exit $ac_status
2702 if $ac_init_version; then
2703 cat <<\_ACEOF
2704 Wine configure 8.11
2705 generated by GNU Autoconf 2.71
2707 Copyright (C) 2021 Free Software Foundation, Inc.
2708 This configure script is free software; the Free Software Foundation
2709 gives unlimited permission to copy, distribute and modify it.
2710 _ACEOF
2711 exit
2714 ## ------------------------ ##
2715 ## Autoconf initialization. ##
2716 ## ------------------------ ##
2718 # ac_fn_c_try_compile LINENO
2719 # --------------------------
2720 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 rm -f conftest.$ac_objext conftest.beam
2725 if { { ac_try="$ac_compile"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_compile") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest.$ac_objext
2744 then :
2745 ac_retval=0
2746 else $as_nop
2747 printf "%s\n" "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2750 ac_retval=1
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 as_fn_set_status $ac_retval
2755 } # ac_fn_c_try_compile
2757 # ac_fn_cxx_try_compile LINENO
2758 # ----------------------------
2759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2760 ac_fn_cxx_try_compile ()
2762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763 rm -f conftest.$ac_objext conftest.beam
2764 if { { ac_try="$ac_compile"
2765 case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2768 esac
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 printf "%s\n" "$ac_try_echo"; } >&5
2771 (eval "$ac_compile") 2>conftest.err
2772 ac_status=$?
2773 if test -s conftest.err; then
2774 grep -v '^ *+' conftest.err >conftest.er1
2775 cat conftest.er1 >&5
2776 mv -f conftest.er1 conftest.err
2778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; } && {
2780 test -z "$ac_cxx_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.$ac_objext
2783 then :
2784 ac_retval=0
2785 else $as_nop
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 as_fn_set_status $ac_retval
2794 } # ac_fn_cxx_try_compile
2796 # ac_fn_c_try_link LINENO
2797 # -----------------------
2798 # Try to link conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_link ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2803 if { { ac_try="$ac_link"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_link") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest$ac_exeext && {
2822 test "$cross_compiling" = yes ||
2823 test -x conftest$ac_exeext
2825 then :
2826 ac_retval=0
2827 else $as_nop
2828 printf "%s\n" "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2831 ac_retval=1
2833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2835 # interfere with the next link command; also delete a directory that is
2836 # left behind by Apple's compiler. We do this before executing the actions.
2837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 as_fn_set_status $ac_retval
2841 } # ac_fn_c_try_link
2843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2844 # -------------------------------------------------------
2845 # Tests whether HEADER exists and can be compiled using the include files in
2846 # INCLUDES, setting the cache variable VAR accordingly.
2847 ac_fn_c_check_header_compile ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2851 printf %s "checking for $2... " >&6; }
2852 if eval test \${$3+y}
2853 then :
2854 printf %s "(cached) " >&6
2855 else $as_nop
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2859 #include <$2>
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"
2862 then :
2863 eval "$3=yes"
2864 else $as_nop
2865 eval "$3=no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2869 eval ac_res=\$$3
2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 printf "%s\n" "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_header_compile
2876 # ac_fn_objc_try_compile LINENO
2877 # -----------------------------
2878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2879 ac_fn_objc_try_compile ()
2881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2882 rm -f conftest.$ac_objext conftest.beam
2883 if { { ac_try="$ac_compile"
2884 case "(($ac_try" in
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2887 esac
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 printf "%s\n" "$ac_try_echo"; } >&5
2890 (eval "$ac_compile") 2>conftest.err
2891 ac_status=$?
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } && {
2899 test -z "$ac_objc_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext
2902 then :
2903 ac_retval=0
2904 else $as_nop
2905 printf "%s\n" "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2908 ac_retval=1
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 as_fn_set_status $ac_retval
2913 } # ac_fn_objc_try_compile
2915 # ac_fn_c_check_func LINENO FUNC VAR
2916 # ----------------------------------
2917 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2918 ac_fn_c_check_func ()
2920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922 printf %s "checking for $2... " >&6; }
2923 if eval test \${$3+y}
2924 then :
2925 printf %s "(cached) " >&6
2926 else $as_nop
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2931 #define $2 innocuous_$2
2933 /* System header to define __stub macros and hopefully few prototypes,
2934 which can conflict with char $2 (); below. */
2936 #include <limits.h>
2937 #undef $2
2939 /* Override any GCC internal prototype to avoid an error.
2940 Use char because int might match the return type of a GCC
2941 builtin and then its argument prototype would still apply. */
2942 #ifdef __cplusplus
2943 extern "C"
2944 #endif
2945 char $2 ();
2946 /* The GNU C library defines this for functions which it implements
2947 to always fail with ENOSYS. Some functions are actually named
2948 something starting with __ and the normal name is an alias. */
2949 #if defined __stub_$2 || defined __stub___$2
2950 choke me
2951 #endif
2954 main (void)
2956 return $2 ();
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_link "$LINENO"
2962 then :
2963 eval "$3=yes"
2964 else $as_nop
2965 eval "$3=no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2968 conftest$ac_exeext conftest.$ac_ext
2970 eval ac_res=\$$3
2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 printf "%s\n" "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_func
2977 # ac_fn_c_try_cpp LINENO
2978 # ----------------------
2979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2980 ac_fn_c_try_cpp ()
2982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2983 if { { ac_try="$ac_cpp conftest.$ac_ext"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 printf "%s\n" "$ac_try_echo"; } >&5
2990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2991 ac_status=$?
2992 if test -s conftest.err; then
2993 grep -v '^ *+' conftest.err >conftest.er1
2994 cat conftest.er1 >&5
2995 mv -f conftest.er1 conftest.err
2997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998 test $ac_status = 0; } > conftest.i && {
2999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3002 then :
3003 ac_retval=0
3004 else $as_nop
3005 printf "%s\n" "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 ac_retval=1
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_c_try_cpp
3015 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3016 # ----------------------------------------------------
3017 # Tries to find if the field MEMBER exists in type AGGR, after including
3018 # INCLUDES, setting cache variable VAR accordingly.
3019 ac_fn_c_check_member ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3023 printf %s "checking for $2.$3... " >&6; }
3024 if eval test \${$4+y}
3025 then :
3026 printf %s "(cached) " >&6
3027 else $as_nop
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3032 main (void)
3034 static $2 ac_aggr;
3035 if (ac_aggr.$3)
3036 return 0;
3038 return 0;
3040 _ACEOF
3041 if ac_fn_c_try_compile "$LINENO"
3042 then :
3043 eval "$4=yes"
3044 else $as_nop
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main (void)
3051 static $2 ac_aggr;
3052 if (sizeof ac_aggr.$3)
3053 return 0;
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"
3059 then :
3060 eval "$4=yes"
3061 else $as_nop
3062 eval "$4=no"
3064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3068 eval ac_res=\$$4
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3070 printf "%s\n" "$ac_res" >&6; }
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 } # ac_fn_c_check_member
3075 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3076 # -------------------------------------------
3077 # Tests whether TYPE exists after having included INCLUDES, setting cache
3078 # variable VAR accordingly.
3079 ac_fn_c_check_type ()
3081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 printf %s "checking for $2... " >&6; }
3084 if eval test \${$3+y}
3085 then :
3086 printf %s "(cached) " >&6
3087 else $as_nop
3088 eval "$3=no"
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main (void)
3095 if (sizeof ($2))
3096 return 0;
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"
3102 then :
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3107 main (void)
3109 if (sizeof (($2)))
3110 return 0;
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"
3116 then :
3118 else $as_nop
3119 eval "$3=yes"
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3125 eval ac_res=\$$3
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3127 printf "%s\n" "$ac_res" >&6; }
3128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 } # ac_fn_c_check_type
3131 ac_configure_args_raw=
3132 for ac_arg
3134 case $ac_arg in
3135 *\'*)
3136 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3137 esac
3138 as_fn_append ac_configure_args_raw " '$ac_arg'"
3139 done
3141 case $ac_configure_args_raw in
3142 *$as_nl*)
3143 ac_safe_unquote= ;;
3145 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3146 ac_unsafe_a="$ac_unsafe_z#~"
3147 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3148 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3149 esac
3151 cat >config.log <<_ACEOF
3152 This file contains any messages produced by compilers while
3153 running configure, to aid debugging if configure makes a mistake.
3155 It was created by Wine $as_me 8.11, which was
3156 generated by GNU Autoconf 2.71. Invocation command line was
3158 $ $0$ac_configure_args_raw
3160 _ACEOF
3161 exec 5>>config.log
3163 cat <<_ASUNAME
3164 ## --------- ##
3165 ## Platform. ##
3166 ## --------- ##
3168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3180 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3185 _ASUNAME
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 for as_dir in $PATH
3190 IFS=$as_save_IFS
3191 case $as_dir in #(((
3192 '') as_dir=./ ;;
3193 */) ;;
3194 *) as_dir=$as_dir/ ;;
3195 esac
3196 printf "%s\n" "PATH: $as_dir"
3197 done
3198 IFS=$as_save_IFS
3200 } >&5
3202 cat >&5 <<_ACEOF
3205 ## ----------- ##
3206 ## Core tests. ##
3207 ## ----------- ##
3209 _ACEOF
3212 # Keep a trace of the command line.
3213 # Strip out --no-create and --no-recursion so they do not pile up.
3214 # Strip out --silent because we don't want to record it for future runs.
3215 # Also quote any args containing shell meta-characters.
3216 # Make two passes to allow for proper duplicate-argument suppression.
3217 ac_configure_args=
3218 ac_configure_args0=
3219 ac_configure_args1=
3220 ac_must_keep_next=false
3221 for ac_pass in 1 2
3223 for ac_arg
3225 case $ac_arg in
3226 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3228 | -silent | --silent | --silen | --sile | --sil)
3229 continue ;;
3230 *\'*)
3231 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3232 esac
3233 case $ac_pass in
3234 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3236 as_fn_append ac_configure_args1 " '$ac_arg'"
3237 if test $ac_must_keep_next = true; then
3238 ac_must_keep_next=false # Got value, back to normal.
3239 else
3240 case $ac_arg in
3241 *=* | --config-cache | -C | -disable-* | --disable-* \
3242 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3243 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3244 | -with-* | --with-* | -without-* | --without-* | --x)
3245 case "$ac_configure_args0 " in
3246 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3247 esac
3249 -* ) ac_must_keep_next=true ;;
3250 esac
3252 as_fn_append ac_configure_args " '$ac_arg'"
3254 esac
3255 done
3256 done
3257 { ac_configure_args0=; unset ac_configure_args0;}
3258 { ac_configure_args1=; unset ac_configure_args1;}
3260 # When interrupted or exit'd, cleanup temporary files, and complete
3261 # config.log. We remove comments because anyway the quotes in there
3262 # would cause problems or look ugly.
3263 # WARNING: Use '\'' to represent an apostrophe within the trap.
3264 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3265 trap 'exit_status=$?
3266 # Sanitize IFS.
3267 IFS=" "" $as_nl"
3268 # Save into config.log some information that might help in debugging.
3270 echo
3272 printf "%s\n" "## ---------------- ##
3273 ## Cache variables. ##
3274 ## ---------------- ##"
3275 echo
3276 # The following way of writing the cache mishandles newlines in values,
3278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3279 eval ac_val=\$$ac_var
3280 case $ac_val in #(
3281 *${as_nl}*)
3282 case $ac_var in #(
3283 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3284 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3285 esac
3286 case $ac_var in #(
3287 _ | IFS | as_nl) ;; #(
3288 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3289 *) { eval $ac_var=; unset $ac_var;} ;;
3290 esac ;;
3291 esac
3292 done
3293 (set) 2>&1 |
3294 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3295 *${as_nl}ac_space=\ *)
3296 sed -n \
3297 "s/'\''/'\''\\\\'\'''\''/g;
3298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3299 ;; #(
3301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3303 esac |
3304 sort
3306 echo
3308 printf "%s\n" "## ----------------- ##
3309 ## Output variables. ##
3310 ## ----------------- ##"
3311 echo
3312 for ac_var in $ac_subst_vars
3314 eval ac_val=\$$ac_var
3315 case $ac_val in
3316 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3317 esac
3318 printf "%s\n" "$ac_var='\''$ac_val'\''"
3319 done | sort
3320 echo
3322 if test -n "$ac_subst_files"; then
3323 printf "%s\n" "## ------------------- ##
3324 ## File substitutions. ##
3325 ## ------------------- ##"
3326 echo
3327 for ac_var in $ac_subst_files
3329 eval ac_val=\$$ac_var
3330 case $ac_val in
3331 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3332 esac
3333 printf "%s\n" "$ac_var='\''$ac_val'\''"
3334 done | sort
3335 echo
3338 if test -s confdefs.h; then
3339 printf "%s\n" "## ----------- ##
3340 ## confdefs.h. ##
3341 ## ----------- ##"
3342 echo
3343 cat confdefs.h
3344 echo
3346 test "$ac_signal" != 0 &&
3347 printf "%s\n" "$as_me: caught signal $ac_signal"
3348 printf "%s\n" "$as_me: exit $exit_status"
3349 } >&5
3350 rm -f core *.core core.conftest.* &&
3351 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3352 exit $exit_status
3354 for ac_signal in 1 2 13 15; do
3355 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3356 done
3357 ac_signal=0
3359 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3360 rm -f -r conftest* confdefs.h
3362 printf "%s\n" "/* confdefs.h */" > confdefs.h
3364 # Predefined preprocessor variables.
3366 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3368 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3370 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3372 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3374 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3376 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3379 # Let the site file select an alternate cache file if it wants to.
3380 # Prefer an explicitly selected file to automatically selected ones.
3381 if test -n "$CONFIG_SITE"; then
3382 ac_site_files="$CONFIG_SITE"
3383 elif test "x$prefix" != xNONE; then
3384 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3385 else
3386 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3389 for ac_site_file in $ac_site_files
3391 case $ac_site_file in #(
3392 */*) :
3393 ;; #(
3394 *) :
3395 ac_site_file=./$ac_site_file ;;
3396 esac
3397 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3399 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3400 sed 's/^/| /' "$ac_site_file" >&5
3401 . "$ac_site_file" \
3402 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error $? "failed to load site script $ac_site_file
3405 See \`config.log' for more details" "$LINENO" 5; }
3407 done
3409 if test -r "$cache_file"; then
3410 # Some versions of bash will fail to source /dev/null (special files
3411 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3412 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3414 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3415 case $cache_file in
3416 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3417 *) . "./$cache_file";;
3418 esac
3420 else
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3422 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3423 >$cache_file
3426 # Test code for whether the C compiler supports C89 (global declarations)
3427 ac_c_conftest_c89_globals='
3428 /* Does the compiler advertise C89 conformance?
3429 Do not test the value of __STDC__, because some compilers set it to 0
3430 while being otherwise adequately conformant. */
3431 #if !defined __STDC__
3432 # error "Compiler does not advertise C89 conformance"
3433 #endif
3435 #include <stddef.h>
3436 #include <stdarg.h>
3437 struct stat;
3438 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3439 struct buf { int x; };
3440 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3441 static char *e (p, i)
3442 char **p;
3443 int i;
3445 return p[i];
3447 static char *f (char * (*g) (char **, int), char **p, ...)
3449 char *s;
3450 va_list v;
3451 va_start (v,p);
3452 s = g (p, va_arg (v,int));
3453 va_end (v);
3454 return s;
3457 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3458 function prototypes and stuff, but not \xHH hex character constants.
3459 These do not provoke an error unfortunately, instead are silently treated
3460 as an "x". The following induces an error, until -std is added to get
3461 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3462 array size at least. It is necessary to write \x00 == 0 to get something
3463 that is true only with -std. */
3464 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3466 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3467 inside strings and character constants. */
3468 #define FOO(x) '\''x'\''
3469 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3471 int test (int i, double x);
3472 struct s1 {int (*f) (int a);};
3473 struct s2 {int (*f) (double a);};
3474 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3475 int, int);'
3477 # Test code for whether the C compiler supports C89 (body of main).
3478 ac_c_conftest_c89_main='
3479 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3482 # Test code for whether the C compiler supports C99 (global declarations)
3483 ac_c_conftest_c99_globals='
3484 // Does the compiler advertise C99 conformance?
3485 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3486 # error "Compiler does not advertise C99 conformance"
3487 #endif
3489 #include <stdbool.h>
3490 extern int puts (const char *);
3491 extern int printf (const char *, ...);
3492 extern int dprintf (int, const char *, ...);
3493 extern void *malloc (size_t);
3495 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3496 // dprintf is used instead of fprintf to avoid needing to declare
3497 // FILE and stderr.
3498 #define debug(...) dprintf (2, __VA_ARGS__)
3499 #define showlist(...) puts (#__VA_ARGS__)
3500 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3501 static void
3502 test_varargs_macros (void)
3504 int x = 1234;
3505 int y = 5678;
3506 debug ("Flag");
3507 debug ("X = %d\n", x);
3508 showlist (The first, second, and third items.);
3509 report (x>y, "x is %d but y is %d", x, y);
3512 // Check long long types.
3513 #define BIG64 18446744073709551615ull
3514 #define BIG32 4294967295ul
3515 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3516 #if !BIG_OK
3517 #error "your preprocessor is broken"
3518 #endif
3519 #if BIG_OK
3520 #else
3521 #error "your preprocessor is broken"
3522 #endif
3523 static long long int bignum = -9223372036854775807LL;
3524 static unsigned long long int ubignum = BIG64;
3526 struct incomplete_array
3528 int datasize;
3529 double data[];
3532 struct named_init {
3533 int number;
3534 const wchar_t *name;
3535 double average;
3538 typedef const char *ccp;
3540 static inline int
3541 test_restrict (ccp restrict text)
3543 // See if C++-style comments work.
3544 // Iterate through items via the restricted pointer.
3545 // Also check for declarations in for loops.
3546 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3547 continue;
3548 return 0;
3551 // Check varargs and va_copy.
3552 static bool
3553 test_varargs (const char *format, ...)
3555 va_list args;
3556 va_start (args, format);
3557 va_list args_copy;
3558 va_copy (args_copy, args);
3560 const char *str = "";
3561 int number = 0;
3562 float fnumber = 0;
3564 while (*format)
3566 switch (*format++)
3568 case '\''s'\'': // string
3569 str = va_arg (args_copy, const char *);
3570 break;
3571 case '\''d'\'': // int
3572 number = va_arg (args_copy, int);
3573 break;
3574 case '\''f'\'': // float
3575 fnumber = va_arg (args_copy, double);
3576 break;
3577 default:
3578 break;
3581 va_end (args_copy);
3582 va_end (args);
3584 return *str && number && fnumber;
3588 # Test code for whether the C compiler supports C99 (body of main).
3589 ac_c_conftest_c99_main='
3590 // Check bool.
3591 _Bool success = false;
3592 success |= (argc != 0);
3594 // Check restrict.
3595 if (test_restrict ("String literal") == 0)
3596 success = true;
3597 char *restrict newvar = "Another string";
3599 // Check varargs.
3600 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3601 test_varargs_macros ();
3603 // Check flexible array members.
3604 struct incomplete_array *ia =
3605 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3606 ia->datasize = 10;
3607 for (int i = 0; i < ia->datasize; ++i)
3608 ia->data[i] = i * 1.234;
3610 // Check named initializers.
3611 struct named_init ni = {
3612 .number = 34,
3613 .name = L"Test wide string",
3614 .average = 543.34343,
3617 ni.number = 58;
3619 int dynamic_array[ni.number];
3620 dynamic_array[0] = argv[0][0];
3621 dynamic_array[ni.number - 1] = 543;
3623 // work around unused variable warnings
3624 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3625 || dynamic_array[ni.number - 1] != 543);
3628 # Test code for whether the C compiler supports C11 (global declarations)
3629 ac_c_conftest_c11_globals='
3630 // Does the compiler advertise C11 conformance?
3631 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3632 # error "Compiler does not advertise C11 conformance"
3633 #endif
3635 // Check _Alignas.
3636 char _Alignas (double) aligned_as_double;
3637 char _Alignas (0) no_special_alignment;
3638 extern char aligned_as_int;
3639 char _Alignas (0) _Alignas (int) aligned_as_int;
3641 // Check _Alignof.
3642 enum
3644 int_alignment = _Alignof (int),
3645 int_array_alignment = _Alignof (int[100]),
3646 char_alignment = _Alignof (char)
3648 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3650 // Check _Noreturn.
3651 int _Noreturn does_not_return (void) { for (;;) continue; }
3653 // Check _Static_assert.
3654 struct test_static_assert
3656 int x;
3657 _Static_assert (sizeof (int) <= sizeof (long int),
3658 "_Static_assert does not work in struct");
3659 long int y;
3662 // Check UTF-8 literals.
3663 #define u8 syntax error!
3664 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3666 // Check duplicate typedefs.
3667 typedef long *long_ptr;
3668 typedef long int *long_ptr;
3669 typedef long_ptr long_ptr;
3671 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3672 struct anonymous
3674 union {
3675 struct { int i; int j; };
3676 struct { int k; long int l; } w;
3678 int m;
3679 } v1;
3682 # Test code for whether the C compiler supports C11 (body of main).
3683 ac_c_conftest_c11_main='
3684 _Static_assert ((offsetof (struct anonymous, i)
3685 == offsetof (struct anonymous, w.k)),
3686 "Anonymous union alignment botch");
3687 v1.i = 2;
3688 v1.w.k = 5;
3689 ok |= v1.i != 5;
3692 # Test code for whether the C compiler supports C11 (complete).
3693 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3694 ${ac_c_conftest_c99_globals}
3695 ${ac_c_conftest_c11_globals}
3698 main (int argc, char **argv)
3700 int ok = 0;
3701 ${ac_c_conftest_c89_main}
3702 ${ac_c_conftest_c99_main}
3703 ${ac_c_conftest_c11_main}
3704 return ok;
3708 # Test code for whether the C compiler supports C99 (complete).
3709 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3710 ${ac_c_conftest_c99_globals}
3713 main (int argc, char **argv)
3715 int ok = 0;
3716 ${ac_c_conftest_c89_main}
3717 ${ac_c_conftest_c99_main}
3718 return ok;
3722 # Test code for whether the C compiler supports C89 (complete).
3723 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3726 main (int argc, char **argv)
3728 int ok = 0;
3729 ${ac_c_conftest_c89_main}
3730 return ok;
3734 # Test code for whether the C++ compiler supports C++98 (global declarations)
3735 ac_cxx_conftest_cxx98_globals='
3736 // Does the compiler advertise C++98 conformance?
3737 #if !defined __cplusplus || __cplusplus < 199711L
3738 # error "Compiler does not advertise C++98 conformance"
3739 #endif
3741 // These inclusions are to reject old compilers that
3742 // lack the unsuffixed header files.
3743 #include <cstdlib>
3744 #include <exception>
3746 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3747 extern void assert (int);
3748 namespace std {
3749 extern int strcmp (const char *, const char *);
3752 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3753 using std::exception;
3754 using std::strcmp;
3756 namespace {
3758 void test_exception_syntax()
3760 try {
3761 throw "test";
3762 } catch (const char *s) {
3763 // Extra parentheses suppress a warning when building autoconf itself,
3764 // due to lint rules shared with more typical C programs.
3765 assert (!(strcmp) (s, "test"));
3769 template <typename T> struct test_template
3771 T const val;
3772 explicit test_template(T t) : val(t) {}
3773 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3776 } // anonymous namespace
3779 # Test code for whether the C++ compiler supports C++98 (body of main)
3780 ac_cxx_conftest_cxx98_main='
3781 assert (argc);
3782 assert (! argv[0]);
3784 test_exception_syntax ();
3785 test_template<double> tt (2.0);
3786 assert (tt.add (4) == 6.0);
3787 assert (true && !false);
3791 # Test code for whether the C++ compiler supports C++11 (global declarations)
3792 ac_cxx_conftest_cxx11_globals='
3793 // Does the compiler advertise C++ 2011 conformance?
3794 #if !defined __cplusplus || __cplusplus < 201103L
3795 # error "Compiler does not advertise C++11 conformance"
3796 #endif
3798 namespace cxx11test
3800 constexpr int get_val() { return 20; }
3802 struct testinit
3804 int i;
3805 double d;
3808 class delegate
3810 public:
3811 delegate(int n) : n(n) {}
3812 delegate(): delegate(2354) {}
3814 virtual int getval() { return this->n; };
3815 protected:
3816 int n;
3819 class overridden : public delegate
3821 public:
3822 overridden(int n): delegate(n) {}
3823 virtual int getval() override final { return this->n * 2; }
3826 class nocopy
3828 public:
3829 nocopy(int i): i(i) {}
3830 nocopy() = default;
3831 nocopy(const nocopy&) = delete;
3832 nocopy & operator=(const nocopy&) = delete;
3833 private:
3834 int i;
3837 // for testing lambda expressions
3838 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3840 return f(v);
3843 // for testing variadic templates and trailing return types
3844 template <typename V> auto sum(V first) -> V
3846 return first;
3848 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3850 return first + sum(rest...);
3855 # Test code for whether the C++ compiler supports C++11 (body of main)
3856 ac_cxx_conftest_cxx11_main='
3858 // Test auto and decltype
3859 auto a1 = 6538;
3860 auto a2 = 48573953.4;
3861 auto a3 = "String literal";
3863 int total = 0;
3864 for (auto i = a3; *i; ++i) { total += *i; }
3866 decltype(a2) a4 = 34895.034;
3869 // Test constexpr
3870 short sa[cxx11test::get_val()] = { 0 };
3873 // Test initializer lists
3874 cxx11test::testinit il = { 4323, 435234.23544 };
3877 // Test range-based for
3878 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3879 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3880 for (auto &x : array) { x += 23; }
3883 // Test lambda expressions
3884 using cxx11test::eval;
3885 assert (eval ([](int x) { return x*2; }, 21) == 42);
3886 double d = 2.0;
3887 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3888 assert (d == 5.0);
3889 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3890 assert (d == 5.0);
3893 // Test use of variadic templates
3894 using cxx11test::sum;
3895 auto a = sum(1);
3896 auto b = sum(1, 2);
3897 auto c = sum(1.0, 2.0, 3.0);
3900 // Test constructor delegation
3901 cxx11test::delegate d1;
3902 cxx11test::delegate d2();
3903 cxx11test::delegate d3(45);
3906 // Test override and final
3907 cxx11test::overridden o1(55464);
3910 // Test nullptr
3911 char *c = nullptr;
3914 // Test template brackets
3915 test_template<::test_template<int>> v(test_template<int>(12));
3918 // Unicode literals
3919 char const *utf8 = u8"UTF-8 string \u2500";
3920 char16_t const *utf16 = u"UTF-8 string \u2500";
3921 char32_t const *utf32 = U"UTF-32 string \u2500";
3925 # Test code for whether the C compiler supports C++11 (complete).
3926 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3927 ${ac_cxx_conftest_cxx11_globals}
3930 main (int argc, char **argv)
3932 int ok = 0;
3933 ${ac_cxx_conftest_cxx98_main}
3934 ${ac_cxx_conftest_cxx11_main}
3935 return ok;
3939 # Test code for whether the C compiler supports C++98 (complete).
3940 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3942 main (int argc, char **argv)
3944 int ok = 0;
3945 ${ac_cxx_conftest_cxx98_main}
3946 return ok;
3950 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3951 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3952 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3953 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3954 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3955 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3956 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3957 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3958 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3960 # Auxiliary files required by this configure script.
3961 ac_aux_files="config.guess config.sub"
3963 # Locations in which to look for auxiliary files.
3964 ac_aux_dir_candidates="${srcdir}/tools"
3966 # Search for a directory containing all of the required auxiliary files,
3967 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3968 # If we don't find one directory that contains all the files we need,
3969 # we report the set of missing files from the *first* directory in
3970 # $ac_aux_dir_candidates and give up.
3971 ac_missing_aux_files=""
3972 ac_first_candidate=:
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 as_found=false
3976 for as_dir in $ac_aux_dir_candidates
3978 IFS=$as_save_IFS
3979 case $as_dir in #(((
3980 '') as_dir=./ ;;
3981 */) ;;
3982 *) as_dir=$as_dir/ ;;
3983 esac
3984 as_found=:
3986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3987 ac_aux_dir_found=yes
3988 ac_install_sh=
3989 for ac_aux in $ac_aux_files
3991 # As a special case, if "install-sh" is required, that requirement
3992 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3993 # and $ac_install_sh is set appropriately for whichever one is found.
3994 if test x"$ac_aux" = x"install-sh"
3995 then
3996 if test -f "${as_dir}install-sh"; then
3997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3998 ac_install_sh="${as_dir}install-sh -c"
3999 elif test -f "${as_dir}install.sh"; then
4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4001 ac_install_sh="${as_dir}install.sh -c"
4002 elif test -f "${as_dir}shtool"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4004 ac_install_sh="${as_dir}shtool install -c"
4005 else
4006 ac_aux_dir_found=no
4007 if $ac_first_candidate; then
4008 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4009 else
4010 break
4013 else
4014 if test -f "${as_dir}${ac_aux}"; then
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4016 else
4017 ac_aux_dir_found=no
4018 if $ac_first_candidate; then
4019 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4020 else
4021 break
4025 done
4026 if test "$ac_aux_dir_found" = yes; then
4027 ac_aux_dir="$as_dir"
4028 break
4030 ac_first_candidate=false
4032 as_found=false
4033 done
4034 IFS=$as_save_IFS
4035 if $as_found
4036 then :
4038 else $as_nop
4039 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4043 # These three variables are undocumented and unsupported,
4044 # and are intended to be withdrawn in a future Autoconf release.
4045 # They can cause serious problems if a builder's source tree is in a directory
4046 # whose full name contains unusual characters.
4047 if test -f "${ac_aux_dir}config.guess"; then
4048 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4050 if test -f "${ac_aux_dir}config.sub"; then
4051 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4053 if test -f "$ac_aux_dir/configure"; then
4054 ac_configure="$SHELL ${ac_aux_dir}configure"
4057 # Check that the precious variables saved in the cache have kept the same
4058 # value.
4059 ac_cache_corrupted=false
4060 for ac_var in $ac_precious_vars; do
4061 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4062 eval ac_new_set=\$ac_env_${ac_var}_set
4063 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4064 eval ac_new_val=\$ac_env_${ac_var}_value
4065 case $ac_old_set,$ac_new_set in
4066 set,)
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4068 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4069 ac_cache_corrupted=: ;;
4070 ,set)
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4072 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4073 ac_cache_corrupted=: ;;
4074 ,);;
4076 if test "x$ac_old_val" != "x$ac_new_val"; then
4077 # differences in whitespace do not lead to failure.
4078 ac_old_val_w=`echo x $ac_old_val`
4079 ac_new_val_w=`echo x $ac_new_val`
4080 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4082 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4083 ac_cache_corrupted=:
4084 else
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4086 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4087 eval $ac_var=\$ac_old_val
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4090 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4092 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4093 fi;;
4094 esac
4095 # Pass precious variables to config.status.
4096 if test "$ac_new_set" = set; then
4097 case $ac_new_val in
4098 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4099 *) ac_arg=$ac_var=$ac_new_val ;;
4100 esac
4101 case " $ac_configure_args " in
4102 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4103 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4104 esac
4106 done
4107 if $ac_cache_corrupted; then
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4111 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4112 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4113 and start over" "$LINENO" 5
4115 ## -------------------- ##
4116 ## Main body of script. ##
4117 ## -------------------- ##
4119 ac_ext=c
4120 ac_cpp='$CPP $CPPFLAGS'
4121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127 ac_config_headers="$ac_config_headers include/config.h"
4131 libwine_version="1.0"
4134 # Check whether --enable-archs was given.
4135 if test ${enable_archs+y}
4136 then :
4137 enableval=$enable_archs;
4140 # Check whether --enable-win16 was given.
4141 if test ${enable_win16+y}
4142 then :
4143 enableval=$enable_win16;
4146 # Check whether --enable-win64 was given.
4147 if test ${enable_win64+y}
4148 then :
4149 enableval=$enable_win64;
4152 # Check whether --enable-tests was given.
4153 if test ${enable_tests+y}
4154 then :
4155 enableval=$enable_tests;
4158 # Check whether --enable-build-id was given.
4159 if test ${enable_build_id+y}
4160 then :
4161 enableval=$enable_build_id;
4164 # Check whether --enable-maintainer-mode was given.
4165 if test ${enable_maintainer_mode+y}
4166 then :
4167 enableval=$enable_maintainer_mode;
4170 # Check whether --enable-silent-rules was given.
4171 if test ${enable_silent_rules+y}
4172 then :
4173 enableval=$enable_silent_rules;
4176 # Check whether --enable-werror was given.
4177 if test ${enable_werror+y}
4178 then :
4179 enableval=$enable_werror;
4184 # Check whether --with-alsa was given.
4185 if test ${with_alsa+y}
4186 then :
4187 withval=$with_alsa;
4191 # Check whether --with-capi was given.
4192 if test ${with_capi+y}
4193 then :
4194 withval=$with_capi;
4198 # Check whether --with-coreaudio was given.
4199 if test ${with_coreaudio+y}
4200 then :
4201 withval=$with_coreaudio;
4205 # Check whether --with-cups was given.
4206 if test ${with_cups+y}
4207 then :
4208 withval=$with_cups;
4212 # Check whether --with-dbus was given.
4213 if test ${with_dbus+y}
4214 then :
4215 withval=$with_dbus;
4219 # Check whether --with-float-abi was given.
4220 if test ${with_float_abi+y}
4221 then :
4222 withval=$with_float_abi;
4226 # Check whether --with-fontconfig was given.
4227 if test ${with_fontconfig+y}
4228 then :
4229 withval=$with_fontconfig;
4233 # Check whether --with-freetype was given.
4234 if test ${with_freetype+y}
4235 then :
4236 withval=$with_freetype;
4240 # Check whether --with-gettext was given.
4241 if test ${with_gettext+y}
4242 then :
4243 withval=$with_gettext;
4247 # Check whether --with-gettextpo was given.
4248 if test ${with_gettextpo+y}
4249 then :
4250 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4254 # Check whether --with-gphoto was given.
4255 if test ${with_gphoto+y}
4256 then :
4257 withval=$with_gphoto;
4261 # Check whether --with-gnutls was given.
4262 if test ${with_gnutls+y}
4263 then :
4264 withval=$with_gnutls;
4268 # Check whether --with-gssapi was given.
4269 if test ${with_gssapi+y}
4270 then :
4271 withval=$with_gssapi;
4275 # Check whether --with-gstreamer was given.
4276 if test ${with_gstreamer+y}
4277 then :
4278 withval=$with_gstreamer;
4282 # Check whether --with-inotify was given.
4283 if test ${with_inotify+y}
4284 then :
4285 withval=$with_inotify;
4289 # Check whether --with-krb5 was given.
4290 if test ${with_krb5+y}
4291 then :
4292 withval=$with_krb5;
4296 # Check whether --with-mingw was given.
4297 if test ${with_mingw+y}
4298 then :
4299 withval=$with_mingw;
4303 # Check whether --with-netapi was given.
4304 if test ${with_netapi+y}
4305 then :
4306 withval=$with_netapi;
4310 # Check whether --with-opencl was given.
4311 if test ${with_opencl+y}
4312 then :
4313 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4317 # Check whether --with-opengl was given.
4318 if test ${with_opengl+y}
4319 then :
4320 withval=$with_opengl;
4324 # Check whether --with-osmesa was given.
4325 if test ${with_osmesa+y}
4326 then :
4327 withval=$with_osmesa;
4331 # Check whether --with-oss was given.
4332 if test ${with_oss+y}
4333 then :
4334 withval=$with_oss;
4338 # Check whether --with-pcap was given.
4339 if test ${with_pcap+y}
4340 then :
4341 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4345 # Check whether --with-pcsclite was given.
4346 if test ${with_pcsclite+y}
4347 then :
4348 withval=$with_pcsclite;
4352 # Check whether --with-pthread was given.
4353 if test ${with_pthread+y}
4354 then :
4355 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4359 # Check whether --with-pulse was given.
4360 if test ${with_pulse+y}
4361 then :
4362 withval=$with_pulse;
4366 # Check whether --with-sane was given.
4367 if test ${with_sane+y}
4368 then :
4369 withval=$with_sane;
4373 # Check whether --with-sdl was given.
4374 if test ${with_sdl+y}
4375 then :
4376 withval=$with_sdl;
4380 # Check whether --with-udev was given.
4381 if test ${with_udev+y}
4382 then :
4383 withval=$with_udev;
4387 # Check whether --with-unwind was given.
4388 if test ${with_unwind+y}
4389 then :
4390 withval=$with_unwind;
4394 # Check whether --with-usb was given.
4395 if test ${with_usb+y}
4396 then :
4397 withval=$with_usb;
4401 # Check whether --with-v4l2 was given.
4402 if test ${with_v4l2+y}
4403 then :
4404 withval=$with_v4l2;
4408 # Check whether --with-vulkan was given.
4409 if test ${with_vulkan+y}
4410 then :
4411 withval=$with_vulkan;
4415 # Check whether --with-wayland was given.
4416 if test ${with_wayland+y}
4417 then :
4418 withval=$with_wayland;
4422 # Check whether --with-xcomposite was given.
4423 if test ${with_xcomposite+y}
4424 then :
4425 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4429 # Check whether --with-xcursor was given.
4430 if test ${with_xcursor+y}
4431 then :
4432 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4436 # Check whether --with-xfixes was given.
4437 if test ${with_xfixes+y}
4438 then :
4439 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4443 # Check whether --with-xinerama was given.
4444 if test ${with_xinerama+y}
4445 then :
4446 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4450 # Check whether --with-xinput was given.
4451 if test ${with_xinput+y}
4452 then :
4453 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4457 # Check whether --with-xinput2 was given.
4458 if test ${with_xinput2+y}
4459 then :
4460 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4464 # Check whether --with-xrandr was given.
4465 if test ${with_xrandr+y}
4466 then :
4467 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4471 # Check whether --with-xrender was given.
4472 if test ${with_xrender+y}
4473 then :
4474 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4478 # Check whether --with-xshape was given.
4479 if test ${with_xshape+y}
4480 then :
4481 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4485 # Check whether --with-xshm was given.
4486 if test ${with_xshm+y}
4487 then :
4488 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4492 # Check whether --with-xxf86vm was given.
4493 if test ${with_xxf86vm+y}
4494 then :
4495 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4500 # Check whether --with-system-dllpath was given.
4501 if test ${with_system_dllpath+y}
4502 then :
4503 withval=$with_system_dllpath; system_dllpath=$withval
4508 # Check whether --with-wine-tools was given.
4509 if test ${with_wine_tools+y}
4510 then :
4511 withval=$with_wine_tools;
4515 # Check whether --with-wine64 was given.
4516 if test ${with_wine64+y}
4517 then :
4518 withval=$with_wine64;
4525 # Make sure we can run config.sub.
4526 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4527 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4530 printf %s "checking build system type... " >&6; }
4531 if test ${ac_cv_build+y}
4532 then :
4533 printf %s "(cached) " >&6
4534 else $as_nop
4535 ac_build_alias=$build_alias
4536 test "x$ac_build_alias" = x &&
4537 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4538 test "x$ac_build_alias" = x &&
4539 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4540 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4541 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4545 printf "%s\n" "$ac_cv_build" >&6; }
4546 case $ac_cv_build in
4547 *-*-*) ;;
4548 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4549 esac
4550 build=$ac_cv_build
4551 ac_save_IFS=$IFS; IFS='-'
4552 set x $ac_cv_build
4553 shift
4554 build_cpu=$1
4555 build_vendor=$2
4556 shift; shift
4557 # Remember, the first character of IFS is used to create $*,
4558 # except with old shells:
4559 build_os=$*
4560 IFS=$ac_save_IFS
4561 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4565 printf %s "checking host system type... " >&6; }
4566 if test ${ac_cv_host+y}
4567 then :
4568 printf %s "(cached) " >&6
4569 else $as_nop
4570 if test "x$host_alias" = x; then
4571 ac_cv_host=$ac_cv_build
4572 else
4573 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4574 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4579 printf "%s\n" "$ac_cv_host" >&6; }
4580 case $ac_cv_host in
4581 *-*-*) ;;
4582 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4583 esac
4584 host=$ac_cv_host
4585 ac_save_IFS=$IFS; IFS='-'
4586 set x $ac_cv_host
4587 shift
4588 host_cpu=$1
4589 host_vendor=$2
4590 shift; shift
4591 # Remember, the first character of IFS is used to create $*,
4592 # except with old shells:
4593 host_os=$*
4594 IFS=$ac_save_IFS
4595 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4599 dlldir=\${libdir}/wine
4601 fontdir=\${datadir}/wine/fonts
4603 nlsdir=\${datadir}/wine/nls
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4609 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4610 set x ${MAKE-make}
4611 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4612 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4613 then :
4614 printf %s "(cached) " >&6
4615 else $as_nop
4616 cat >conftest.make <<\_ACEOF
4617 SHELL = /bin/sh
4618 all:
4619 @echo '@@@%%%=$(MAKE)=@@@%%%'
4620 _ACEOF
4621 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4622 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4623 *@@@%%%=?*=@@@%%%*)
4624 eval ac_cv_prog_make_${ac_make}_set=yes;;
4626 eval ac_cv_prog_make_${ac_make}_set=no;;
4627 esac
4628 rm -f conftest.make
4630 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4632 printf "%s\n" "yes" >&6; }
4633 SET_MAKE=
4634 else
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 printf "%s\n" "no" >&6; }
4637 SET_MAKE="MAKE=${MAKE-make}"
4649 ac_ext=c
4650 ac_cpp='$CPP $CPPFLAGS'
4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4654 if test -n "$ac_tool_prefix"; then
4655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4656 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 printf %s "checking for $ac_word... " >&6; }
4659 if test ${ac_cv_prog_CC+y}
4660 then :
4661 printf %s "(cached) " >&6
4662 else $as_nop
4663 if test -n "$CC"; then
4664 ac_cv_prog_CC="$CC" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4669 IFS=$as_save_IFS
4670 case $as_dir in #(((
4671 '') as_dir=./ ;;
4672 */) ;;
4673 *) as_dir=$as_dir/ ;;
4674 esac
4675 for ac_exec_ext in '' $ac_executable_extensions; do
4676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4679 break 2
4681 done
4682 done
4683 IFS=$as_save_IFS
4687 CC=$ac_cv_prog_CC
4688 if test -n "$CC"; then
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4690 printf "%s\n" "$CC" >&6; }
4691 else
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 printf "%s\n" "no" >&6; }
4698 if test -z "$ac_cv_prog_CC"; then
4699 ac_ct_CC=$CC
4700 # Extract the first word of "gcc", so it can be a program name with args.
4701 set dummy gcc; ac_word=$2
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 printf %s "checking for $ac_word... " >&6; }
4704 if test ${ac_cv_prog_ac_ct_CC+y}
4705 then :
4706 printf %s "(cached) " >&6
4707 else $as_nop
4708 if test -n "$ac_ct_CC"; then
4709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4710 else
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 for as_dir in $PATH
4714 IFS=$as_save_IFS
4715 case $as_dir in #(((
4716 '') as_dir=./ ;;
4717 */) ;;
4718 *) as_dir=$as_dir/ ;;
4719 esac
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CC="gcc"
4723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4724 break 2
4726 done
4727 done
4728 IFS=$as_save_IFS
4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4733 if test -n "$ac_ct_CC"; then
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4735 printf "%s\n" "$ac_ct_CC" >&6; }
4736 else
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 printf "%s\n" "no" >&6; }
4741 if test "x$ac_ct_CC" = x; then
4742 CC=""
4743 else
4744 case $cross_compiling:$ac_tool_warned in
4745 yes:)
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4748 ac_tool_warned=yes ;;
4749 esac
4750 CC=$ac_ct_CC
4752 else
4753 CC="$ac_cv_prog_CC"
4756 if test -z "$CC"; then
4757 if test -n "$ac_tool_prefix"; then
4758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4759 set dummy ${ac_tool_prefix}cc; ac_word=$2
4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 printf %s "checking for $ac_word... " >&6; }
4762 if test ${ac_cv_prog_CC+y}
4763 then :
4764 printf %s "(cached) " >&6
4765 else $as_nop
4766 if test -n "$CC"; then
4767 ac_cv_prog_CC="$CC" # Let the user override the test.
4768 else
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 for as_dir in $PATH
4772 IFS=$as_save_IFS
4773 case $as_dir in #(((
4774 '') as_dir=./ ;;
4775 */) ;;
4776 *) as_dir=$as_dir/ ;;
4777 esac
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_CC="${ac_tool_prefix}cc"
4781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4782 break 2
4784 done
4785 done
4786 IFS=$as_save_IFS
4790 CC=$ac_cv_prog_CC
4791 if test -n "$CC"; then
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793 printf "%s\n" "$CC" >&6; }
4794 else
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 printf "%s\n" "no" >&6; }
4802 if test -z "$CC"; then
4803 # Extract the first word of "cc", so it can be a program name with args.
4804 set dummy cc; ac_word=$2
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 printf %s "checking for $ac_word... " >&6; }
4807 if test ${ac_cv_prog_CC+y}
4808 then :
4809 printf %s "(cached) " >&6
4810 else $as_nop
4811 if test -n "$CC"; then
4812 ac_cv_prog_CC="$CC" # Let the user override the test.
4813 else
4814 ac_prog_rejected=no
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH
4818 IFS=$as_save_IFS
4819 case $as_dir in #(((
4820 '') as_dir=./ ;;
4821 */) ;;
4822 *) as_dir=$as_dir/ ;;
4823 esac
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4826 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4827 ac_prog_rejected=yes
4828 continue
4830 ac_cv_prog_CC="cc"
4831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4832 break 2
4834 done
4835 done
4836 IFS=$as_save_IFS
4838 if test $ac_prog_rejected = yes; then
4839 # We found a bogon in the path, so make sure we never use it.
4840 set dummy $ac_cv_prog_CC
4841 shift
4842 if test $# != 0; then
4843 # We chose a different compiler from the bogus one.
4844 # However, it has the same basename, so the bogon will be chosen
4845 # first if we set CC to just the basename; use the full file name.
4846 shift
4847 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4852 CC=$ac_cv_prog_CC
4853 if test -n "$CC"; then
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 printf "%s\n" "$CC" >&6; }
4856 else
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 printf "%s\n" "no" >&6; }
4863 if test -z "$CC"; then
4864 if test -n "$ac_tool_prefix"; then
4865 for ac_prog in cl.exe
4867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s "checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_CC+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 if test -n "$CC"; then
4876 ac_cv_prog_CC="$CC" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 case $as_dir in #(((
4883 '') as_dir=./ ;;
4884 */) ;;
4885 *) as_dir=$as_dir/ ;;
4886 esac
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 CC=$ac_cv_prog_CC
4900 if test -n "$CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4902 printf "%s\n" "$CC" >&6; }
4903 else
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$CC" && break
4910 done
4912 if test -z "$CC"; then
4913 ac_ct_CC=$CC
4914 for ac_prog in cl.exe
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 printf %s "checking for $ac_word... " >&6; }
4920 if test ${ac_cv_prog_ac_ct_CC+y}
4921 then :
4922 printf %s "(cached) " >&6
4923 else $as_nop
4924 if test -n "$ac_ct_CC"; then
4925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 case $as_dir in #(((
4932 '') as_dir=./ ;;
4933 */) ;;
4934 *) as_dir=$as_dir/ ;;
4935 esac
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_CC="$ac_prog"
4939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4949 if test -n "$ac_ct_CC"; then
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4951 printf "%s\n" "$ac_ct_CC" >&6; }
4952 else
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 printf "%s\n" "no" >&6; }
4958 test -n "$ac_ct_CC" && break
4959 done
4961 if test "x$ac_ct_CC" = x; then
4962 CC=""
4963 else
4964 case $cross_compiling:$ac_tool_warned in
4965 yes:)
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned=yes ;;
4969 esac
4970 CC=$ac_ct_CC
4975 if test -z "$CC"; then
4976 if test -n "$ac_tool_prefix"; then
4977 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4978 set dummy ${ac_tool_prefix}clang; ac_word=$2
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 printf %s "checking for $ac_word... " >&6; }
4981 if test ${ac_cv_prog_CC+y}
4982 then :
4983 printf %s "(cached) " >&6
4984 else $as_nop
4985 if test -n "$CC"; then
4986 ac_cv_prog_CC="$CC" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 case $as_dir in #(((
4993 '') as_dir=./ ;;
4994 */) ;;
4995 *) as_dir=$as_dir/ ;;
4996 esac
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_CC="${ac_tool_prefix}clang"
5000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 CC=$ac_cv_prog_CC
5010 if test -n "$CC"; then
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 printf "%s\n" "$CC" >&6; }
5013 else
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 printf "%s\n" "no" >&6; }
5020 if test -z "$ac_cv_prog_CC"; then
5021 ac_ct_CC=$CC
5022 # Extract the first word of "clang", so it can be a program name with args.
5023 set dummy clang; ac_word=$2
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 printf %s "checking for $ac_word... " >&6; }
5026 if test ${ac_cv_prog_ac_ct_CC+y}
5027 then :
5028 printf %s "(cached) " >&6
5029 else $as_nop
5030 if test -n "$ac_ct_CC"; then
5031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 case $as_dir in #(((
5038 '') as_dir=./ ;;
5039 */) ;;
5040 *) as_dir=$as_dir/ ;;
5041 esac
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_ac_ct_CC="clang"
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5055 if test -n "$ac_ct_CC"; then
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5057 printf "%s\n" "$ac_ct_CC" >&6; }
5058 else
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 printf "%s\n" "no" >&6; }
5063 if test "x$ac_ct_CC" = x; then
5064 CC=""
5065 else
5066 case $cross_compiling:$ac_tool_warned in
5067 yes:)
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned=yes ;;
5071 esac
5072 CC=$ac_ct_CC
5074 else
5075 CC="$ac_cv_prog_CC"
5081 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5082 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5083 as_fn_error $? "no acceptable C compiler found in \$PATH
5084 See \`config.log' for more details" "$LINENO" 5; }
5086 # Provide some information about the compiler.
5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5088 set X $ac_compile
5089 ac_compiler=$2
5090 for ac_option in --version -v -V -qversion -version; do
5091 { { ac_try="$ac_compiler $ac_option >&5"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5097 printf "%s\n" "$ac_try_echo"; } >&5
5098 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5099 ac_status=$?
5100 if test -s conftest.err; then
5101 sed '10a\
5102 ... rest of stderr output deleted ...
5103 10q' conftest.err >conftest.er1
5104 cat conftest.er1 >&5
5106 rm -f conftest.er1 conftest.err
5107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; }
5109 done
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5115 main (void)
5119 return 0;
5121 _ACEOF
5122 ac_clean_files_save=$ac_clean_files
5123 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5124 # Try to create an executable without -o first, disregard a.out.
5125 # It will help us diagnose broken compilers, and finding out an intuition
5126 # of exeext.
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5128 printf %s "checking whether the C compiler works... " >&6; }
5129 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5131 # The possible output files:
5132 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5134 ac_rmfiles=
5135 for ac_file in $ac_files
5137 case $ac_file in
5138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5139 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5140 esac
5141 done
5142 rm -f $ac_rmfiles
5144 if { { ac_try="$ac_link_default"
5145 case "(($ac_try" in
5146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5147 *) ac_try_echo=$ac_try;;
5148 esac
5149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5150 printf "%s\n" "$ac_try_echo"; } >&5
5151 (eval "$ac_link_default") 2>&5
5152 ac_status=$?
5153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5155 then :
5156 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5157 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5158 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5159 # so that the user can short-circuit this test for compilers unknown to
5160 # Autoconf.
5161 for ac_file in $ac_files ''
5163 test -f "$ac_file" || continue
5164 case $ac_file in
5165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5167 [ab].out )
5168 # We found the default executable, but exeext='' is most
5169 # certainly right.
5170 break;;
5171 *.* )
5172 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5173 then :; else
5174 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5176 # We set ac_cv_exeext here because the later test for it is not
5177 # safe: cross compilers may not add the suffix if given an `-o'
5178 # argument, so we may need to know it at that point already.
5179 # Even if this section looks crufty: it has the advantage of
5180 # actually working.
5181 break;;
5183 break;;
5184 esac
5185 done
5186 test "$ac_cv_exeext" = no && ac_cv_exeext=
5188 else $as_nop
5189 ac_file=''
5191 if test -z "$ac_file"
5192 then :
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 printf "%s\n" "no" >&6; }
5195 printf "%s\n" "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5198 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5199 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5200 as_fn_error 77 "C compiler cannot create executables
5201 See \`config.log' for more details" "$LINENO" 5; }
5202 else $as_nop
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 printf "%s\n" "yes" >&6; }
5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5207 printf %s "checking for C compiler default output file name... " >&6; }
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5209 printf "%s\n" "$ac_file" >&6; }
5210 ac_exeext=$ac_cv_exeext
5212 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5213 ac_clean_files=$ac_clean_files_save
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5215 printf %s "checking for suffix of executables... " >&6; }
5216 if { { ac_try="$ac_link"
5217 case "(($ac_try" in
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5220 esac
5221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5222 printf "%s\n" "$ac_try_echo"; } >&5
5223 (eval "$ac_link") 2>&5
5224 ac_status=$?
5225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5226 test $ac_status = 0; }
5227 then :
5228 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5229 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5230 # work properly (i.e., refer to `conftest.exe'), while it won't with
5231 # `rm'.
5232 for ac_file in conftest.exe conftest conftest.*; do
5233 test -f "$ac_file" || continue
5234 case $ac_file in
5235 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5236 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5237 break;;
5238 * ) break;;
5239 esac
5240 done
5241 else $as_nop
5242 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5243 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5244 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5245 See \`config.log' for more details" "$LINENO" 5; }
5247 rm -f conftest conftest$ac_cv_exeext
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5249 printf "%s\n" "$ac_cv_exeext" >&6; }
5251 rm -f conftest.$ac_ext
5252 EXEEXT=$ac_cv_exeext
5253 ac_exeext=$EXEEXT
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256 #include <stdio.h>
5258 main (void)
5260 FILE *f = fopen ("conftest.out", "w");
5261 return ferror (f) || fclose (f) != 0;
5264 return 0;
5266 _ACEOF
5267 ac_clean_files="$ac_clean_files conftest.out"
5268 # Check that the compiler produces executables we can run. If not, either
5269 # the compiler is broken, or we cross compile.
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5271 printf %s "checking whether we are cross compiling... " >&6; }
5272 if test "$cross_compiling" != yes; then
5273 { { ac_try="$ac_link"
5274 case "(($ac_try" in
5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5277 esac
5278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5279 printf "%s\n" "$ac_try_echo"; } >&5
5280 (eval "$ac_link") 2>&5
5281 ac_status=$?
5282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5283 test $ac_status = 0; }
5284 if { ac_try='./conftest$ac_cv_exeext'
5285 { { case "(($ac_try" in
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5288 esac
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 printf "%s\n" "$ac_try_echo"; } >&5
5291 (eval "$ac_try") 2>&5
5292 ac_status=$?
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }; }; then
5295 cross_compiling=no
5296 else
5297 if test "$cross_compiling" = maybe; then
5298 cross_compiling=yes
5299 else
5300 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5301 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5302 as_fn_error 77 "cannot run C compiled programs.
5303 If you meant to cross compile, use \`--host'.
5304 See \`config.log' for more details" "$LINENO" 5; }
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5309 printf "%s\n" "$cross_compiling" >&6; }
5311 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5312 ac_clean_files=$ac_clean_files_save
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5314 printf %s "checking for suffix of object files... " >&6; }
5315 if test ${ac_cv_objext+y}
5316 then :
5317 printf %s "(cached) " >&6
5318 else $as_nop
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5323 main (void)
5327 return 0;
5329 _ACEOF
5330 rm -f conftest.o conftest.obj
5331 if { { ac_try="$ac_compile"
5332 case "(($ac_try" in
5333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5335 esac
5336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5337 printf "%s\n" "$ac_try_echo"; } >&5
5338 (eval "$ac_compile") 2>&5
5339 ac_status=$?
5340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5341 test $ac_status = 0; }
5342 then :
5343 for ac_file in conftest.o conftest.obj conftest.*; do
5344 test -f "$ac_file" || continue;
5345 case $ac_file in
5346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5347 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5348 break;;
5349 esac
5350 done
5351 else $as_nop
5352 printf "%s\n" "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error $? "cannot compute suffix of object files: cannot compile
5358 See \`config.log' for more details" "$LINENO" 5; }
5360 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5363 printf "%s\n" "$ac_cv_objext" >&6; }
5364 OBJEXT=$ac_cv_objext
5365 ac_objext=$OBJEXT
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5367 printf %s "checking whether the compiler supports GNU C... " >&6; }
5368 if test ${ac_cv_c_compiler_gnu+y}
5369 then :
5370 printf %s "(cached) " >&6
5371 else $as_nop
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5376 main (void)
5378 #ifndef __GNUC__
5379 choke me
5380 #endif
5383 return 0;
5385 _ACEOF
5386 if ac_fn_c_try_compile "$LINENO"
5387 then :
5388 ac_compiler_gnu=yes
5389 else $as_nop
5390 ac_compiler_gnu=no
5392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5393 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5397 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400 if test $ac_compiler_gnu = yes; then
5401 GCC=yes
5402 else
5403 GCC=
5405 ac_test_CFLAGS=${CFLAGS+y}
5406 ac_save_CFLAGS=$CFLAGS
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5408 printf %s "checking whether $CC accepts -g... " >&6; }
5409 if test ${ac_cv_prog_cc_g+y}
5410 then :
5411 printf %s "(cached) " >&6
5412 else $as_nop
5413 ac_save_c_werror_flag=$ac_c_werror_flag
5414 ac_c_werror_flag=yes
5415 ac_cv_prog_cc_g=no
5416 CFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main (void)
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"
5429 then :
5430 ac_cv_prog_cc_g=yes
5431 else $as_nop
5432 CFLAGS=""
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5437 main (void)
5441 return 0;
5443 _ACEOF
5444 if ac_fn_c_try_compile "$LINENO"
5445 then :
5447 else $as_nop
5448 ac_c_werror_flag=$ac_save_c_werror_flag
5449 CFLAGS="-g"
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5454 main (void)
5458 return 0;
5460 _ACEOF
5461 if ac_fn_c_try_compile "$LINENO"
5462 then :
5463 ac_cv_prog_cc_g=yes
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5470 ac_c_werror_flag=$ac_save_c_werror_flag
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5473 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5474 if test $ac_test_CFLAGS; then
5475 CFLAGS=$ac_save_CFLAGS
5476 elif test $ac_cv_prog_cc_g = yes; then
5477 if test "$GCC" = yes; then
5478 CFLAGS="-g -O2"
5479 else
5480 CFLAGS="-g"
5482 else
5483 if test "$GCC" = yes; then
5484 CFLAGS="-O2"
5485 else
5486 CFLAGS=
5489 ac_prog_cc_stdc=no
5490 if test x$ac_prog_cc_stdc = xno
5491 then :
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5493 printf %s "checking for $CC option to enable C11 features... " >&6; }
5494 if test ${ac_cv_prog_cc_c11+y}
5495 then :
5496 printf %s "(cached) " >&6
5497 else $as_nop
5498 ac_cv_prog_cc_c11=no
5499 ac_save_CC=$CC
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 $ac_c_conftest_c11_program
5503 _ACEOF
5504 for ac_arg in '' -std=gnu11
5506 CC="$ac_save_CC $ac_arg"
5507 if ac_fn_c_try_compile "$LINENO"
5508 then :
5509 ac_cv_prog_cc_c11=$ac_arg
5511 rm -f core conftest.err conftest.$ac_objext conftest.beam
5512 test "x$ac_cv_prog_cc_c11" != "xno" && break
5513 done
5514 rm -f conftest.$ac_ext
5515 CC=$ac_save_CC
5518 if test "x$ac_cv_prog_cc_c11" = xno
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5521 printf "%s\n" "unsupported" >&6; }
5522 else $as_nop
5523 if test "x$ac_cv_prog_cc_c11" = x
5524 then :
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5526 printf "%s\n" "none needed" >&6; }
5527 else $as_nop
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5529 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5530 CC="$CC $ac_cv_prog_cc_c11"
5532 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5533 ac_prog_cc_stdc=c11
5536 if test x$ac_prog_cc_stdc = xno
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5539 printf %s "checking for $CC option to enable C99 features... " >&6; }
5540 if test ${ac_cv_prog_cc_c99+y}
5541 then :
5542 printf %s "(cached) " >&6
5543 else $as_nop
5544 ac_cv_prog_cc_c99=no
5545 ac_save_CC=$CC
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5548 $ac_c_conftest_c99_program
5549 _ACEOF
5550 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5552 CC="$ac_save_CC $ac_arg"
5553 if ac_fn_c_try_compile "$LINENO"
5554 then :
5555 ac_cv_prog_cc_c99=$ac_arg
5557 rm -f core conftest.err conftest.$ac_objext conftest.beam
5558 test "x$ac_cv_prog_cc_c99" != "xno" && break
5559 done
5560 rm -f conftest.$ac_ext
5561 CC=$ac_save_CC
5564 if test "x$ac_cv_prog_cc_c99" = xno
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5567 printf "%s\n" "unsupported" >&6; }
5568 else $as_nop
5569 if test "x$ac_cv_prog_cc_c99" = x
5570 then :
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5572 printf "%s\n" "none needed" >&6; }
5573 else $as_nop
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5575 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5576 CC="$CC $ac_cv_prog_cc_c99"
5578 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5579 ac_prog_cc_stdc=c99
5582 if test x$ac_prog_cc_stdc = xno
5583 then :
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5585 printf %s "checking for $CC option to enable C89 features... " >&6; }
5586 if test ${ac_cv_prog_cc_c89+y}
5587 then :
5588 printf %s "(cached) " >&6
5589 else $as_nop
5590 ac_cv_prog_cc_c89=no
5591 ac_save_CC=$CC
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 $ac_c_conftest_c89_program
5595 _ACEOF
5596 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5598 CC="$ac_save_CC $ac_arg"
5599 if ac_fn_c_try_compile "$LINENO"
5600 then :
5601 ac_cv_prog_cc_c89=$ac_arg
5603 rm -f core conftest.err conftest.$ac_objext conftest.beam
5604 test "x$ac_cv_prog_cc_c89" != "xno" && break
5605 done
5606 rm -f conftest.$ac_ext
5607 CC=$ac_save_CC
5610 if test "x$ac_cv_prog_cc_c89" = xno
5611 then :
5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5613 printf "%s\n" "unsupported" >&6; }
5614 else $as_nop
5615 if test "x$ac_cv_prog_cc_c89" = x
5616 then :
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5618 printf "%s\n" "none needed" >&6; }
5619 else $as_nop
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5621 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5622 CC="$CC $ac_cv_prog_cc_c89"
5624 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5625 ac_prog_cc_stdc=c89
5629 ac_ext=c
5630 ac_cpp='$CPP $CPPFLAGS'
5631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 ac_ext=cpp
5642 ac_cpp='$CXXCPP $CPPFLAGS'
5643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5646 if test -z "$CXX"; then
5647 if test -n "$CCC"; then
5648 CXX=$CCC
5649 else
5650 if test -n "$ac_tool_prefix"; then
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_CXX+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$CXX"; then
5662 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 CXX=$ac_cv_prog_CXX
5686 if test -n "$CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5688 printf "%s\n" "$CXX" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$CXX" && break
5696 done
5698 if test -z "$CXX"; then
5699 ac_ct_CXX=$CXX
5700 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5702 # Extract the first word of "$ac_prog", so it can be a program name with args.
5703 set dummy $ac_prog; ac_word=$2
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 printf %s "checking for $ac_word... " >&6; }
5706 if test ${ac_cv_prog_ac_ct_CXX+y}
5707 then :
5708 printf %s "(cached) " >&6
5709 else $as_nop
5710 if test -n "$ac_ct_CXX"; then
5711 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 case $as_dir in #(((
5718 '') as_dir=./ ;;
5719 */) ;;
5720 *) as_dir=$as_dir/ ;;
5721 esac
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_CXX="$ac_prog"
5725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5726 break 2
5728 done
5729 done
5730 IFS=$as_save_IFS
5734 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5735 if test -n "$ac_ct_CXX"; then
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5737 printf "%s\n" "$ac_ct_CXX" >&6; }
5738 else
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 printf "%s\n" "no" >&6; }
5744 test -n "$ac_ct_CXX" && break
5745 done
5747 if test "x$ac_ct_CXX" = x; then
5748 CXX="g++"
5749 else
5750 case $cross_compiling:$ac_tool_warned in
5751 yes:)
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5755 esac
5756 CXX=$ac_ct_CXX
5762 # Provide some information about the compiler.
5763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5764 set X $ac_compile
5765 ac_compiler=$2
5766 for ac_option in --version -v -V -qversion; do
5767 { { ac_try="$ac_compiler $ac_option >&5"
5768 case "(($ac_try" in
5769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5771 esac
5772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5773 printf "%s\n" "$ac_try_echo"; } >&5
5774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5775 ac_status=$?
5776 if test -s conftest.err; then
5777 sed '10a\
5778 ... rest of stderr output deleted ...
5779 10q' conftest.err >conftest.er1
5780 cat conftest.er1 >&5
5782 rm -f conftest.er1 conftest.err
5783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5784 test $ac_status = 0; }
5785 done
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5788 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5789 if test ${ac_cv_cxx_compiler_gnu+y}
5790 then :
5791 printf %s "(cached) " >&6
5792 else $as_nop
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main (void)
5799 #ifndef __GNUC__
5800 choke me
5801 #endif
5804 return 0;
5806 _ACEOF
5807 if ac_fn_cxx_try_compile "$LINENO"
5808 then :
5809 ac_compiler_gnu=yes
5810 else $as_nop
5811 ac_compiler_gnu=no
5813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5814 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5818 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5821 if test $ac_compiler_gnu = yes; then
5822 GXX=yes
5823 else
5824 GXX=
5826 ac_test_CXXFLAGS=${CXXFLAGS+y}
5827 ac_save_CXXFLAGS=$CXXFLAGS
5828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5829 printf %s "checking whether $CXX accepts -g... " >&6; }
5830 if test ${ac_cv_prog_cxx_g+y}
5831 then :
5832 printf %s "(cached) " >&6
5833 else $as_nop
5834 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5835 ac_cxx_werror_flag=yes
5836 ac_cv_prog_cxx_g=no
5837 CXXFLAGS="-g"
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5842 main (void)
5846 return 0;
5848 _ACEOF
5849 if ac_fn_cxx_try_compile "$LINENO"
5850 then :
5851 ac_cv_prog_cxx_g=yes
5852 else $as_nop
5853 CXXFLAGS=""
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5858 main (void)
5862 return 0;
5864 _ACEOF
5865 if ac_fn_cxx_try_compile "$LINENO"
5866 then :
5868 else $as_nop
5869 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5870 CXXFLAGS="-g"
5871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5872 /* end confdefs.h. */
5875 main (void)
5879 return 0;
5881 _ACEOF
5882 if ac_fn_cxx_try_compile "$LINENO"
5883 then :
5884 ac_cv_prog_cxx_g=yes
5886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5891 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5894 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5895 if test $ac_test_CXXFLAGS; then
5896 CXXFLAGS=$ac_save_CXXFLAGS
5897 elif test $ac_cv_prog_cxx_g = yes; then
5898 if test "$GXX" = yes; then
5899 CXXFLAGS="-g -O2"
5900 else
5901 CXXFLAGS="-g"
5903 else
5904 if test "$GXX" = yes; then
5905 CXXFLAGS="-O2"
5906 else
5907 CXXFLAGS=
5910 ac_prog_cxx_stdcxx=no
5911 if test x$ac_prog_cxx_stdcxx = xno
5912 then :
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5914 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5915 if test ${ac_cv_prog_cxx_cxx11+y}
5916 then :
5917 printf %s "(cached) " >&6
5918 else $as_nop
5919 ac_cv_prog_cxx_cxx11=no
5920 ac_save_CXX=$CXX
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5923 $ac_cxx_conftest_cxx11_program
5924 _ACEOF
5925 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5927 CXX="$ac_save_CXX $ac_arg"
5928 if ac_fn_cxx_try_compile "$LINENO"
5929 then :
5930 ac_cv_prog_cxx_cxx11=$ac_arg
5932 rm -f core conftest.err conftest.$ac_objext conftest.beam
5933 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5934 done
5935 rm -f conftest.$ac_ext
5936 CXX=$ac_save_CXX
5939 if test "x$ac_cv_prog_cxx_cxx11" = xno
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5942 printf "%s\n" "unsupported" >&6; }
5943 else $as_nop
5944 if test "x$ac_cv_prog_cxx_cxx11" = x
5945 then :
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5947 printf "%s\n" "none needed" >&6; }
5948 else $as_nop
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5950 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5951 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5953 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5954 ac_prog_cxx_stdcxx=cxx11
5957 if test x$ac_prog_cxx_stdcxx = xno
5958 then :
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5960 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5961 if test ${ac_cv_prog_cxx_cxx98+y}
5962 then :
5963 printf %s "(cached) " >&6
5964 else $as_nop
5965 ac_cv_prog_cxx_cxx98=no
5966 ac_save_CXX=$CXX
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 $ac_cxx_conftest_cxx98_program
5970 _ACEOF
5971 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5973 CXX="$ac_save_CXX $ac_arg"
5974 if ac_fn_cxx_try_compile "$LINENO"
5975 then :
5976 ac_cv_prog_cxx_cxx98=$ac_arg
5978 rm -f core conftest.err conftest.$ac_objext conftest.beam
5979 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5980 done
5981 rm -f conftest.$ac_ext
5982 CXX=$ac_save_CXX
5985 if test "x$ac_cv_prog_cxx_cxx98" = xno
5986 then :
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5988 printf "%s\n" "unsupported" >&6; }
5989 else $as_nop
5990 if test "x$ac_cv_prog_cxx_cxx98" = x
5991 then :
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5993 printf "%s\n" "none needed" >&6; }
5994 else $as_nop
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5996 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5997 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5999 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6000 ac_prog_cxx_stdcxx=cxx98
6004 ac_ext=c
6005 ac_cpp='$CPP $CPPFLAGS'
6006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 printf %s "checking for $ac_word... " >&6; }
6015 if test ${ac_cv_prog_CPPBIN+y}
6016 then :
6017 printf %s "(cached) " >&6
6018 else $as_nop
6019 if test -n "$CPPBIN"; then
6020 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 case $as_dir in #(((
6027 '') as_dir=./ ;;
6028 */) ;;
6029 *) as_dir=$as_dir/ ;;
6030 esac
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 CPPBIN=$ac_cv_prog_CPPBIN
6044 if test -n "$CPPBIN"; then
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6046 printf "%s\n" "$CPPBIN" >&6; }
6047 else
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 printf "%s\n" "no" >&6; }
6054 if test -z "$ac_cv_prog_CPPBIN"; then
6055 ac_ct_CPPBIN=$CPPBIN
6056 # Extract the first word of "cpp", so it can be a program name with args.
6057 set dummy cpp; ac_word=$2
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 printf %s "checking for $ac_word... " >&6; }
6060 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6061 then :
6062 printf %s "(cached) " >&6
6063 else $as_nop
6064 if test -n "$ac_ct_CPPBIN"; then
6065 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 case $as_dir in #(((
6072 '') as_dir=./ ;;
6073 */) ;;
6074 *) as_dir=$as_dir/ ;;
6075 esac
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ac_ct_CPPBIN="cpp"
6079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6089 if test -n "$ac_ct_CPPBIN"; then
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6091 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6092 else
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 printf "%s\n" "no" >&6; }
6097 if test "x$ac_ct_CPPBIN" = x; then
6098 CPPBIN="cpp"
6099 else
6100 case $cross_compiling:$ac_tool_warned in
6101 yes:)
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned=yes ;;
6105 esac
6106 CPPBIN=$ac_ct_CPPBIN
6108 else
6109 CPPBIN="$ac_cv_prog_CPPBIN"
6113 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}ld; ac_word=$2
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 printf %s "checking for $ac_word... " >&6; }
6120 if test ${ac_cv_prog_LD+y}
6121 then :
6122 printf %s "(cached) " >&6
6123 else $as_nop
6124 if test -n "$LD"; then
6125 ac_cv_prog_LD="$LD" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 case $as_dir in #(((
6132 '') as_dir=./ ;;
6133 */) ;;
6134 *) as_dir=$as_dir/ ;;
6135 esac
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6138 ac_cv_prog_LD="${ac_tool_prefix}ld"
6139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6140 break 2
6142 done
6143 done
6144 IFS=$as_save_IFS
6148 LD=$ac_cv_prog_LD
6149 if test -n "$LD"; then
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6151 printf "%s\n" "$LD" >&6; }
6152 else
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 printf "%s\n" "no" >&6; }
6159 if test -z "$ac_cv_prog_LD"; then
6160 ac_ct_LD=$LD
6161 # Extract the first word of "ld", so it can be a program name with args.
6162 set dummy ld; ac_word=$2
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 printf %s "checking for $ac_word... " >&6; }
6165 if test ${ac_cv_prog_ac_ct_LD+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else $as_nop
6169 if test -n "$ac_ct_LD"; then
6170 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 case $as_dir in #(((
6177 '') as_dir=./ ;;
6178 */) ;;
6179 *) as_dir=$as_dir/ ;;
6180 esac
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_ac_ct_LD="ld"
6184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6194 if test -n "$ac_ct_LD"; then
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6196 printf "%s\n" "$ac_ct_LD" >&6; }
6197 else
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 printf "%s\n" "no" >&6; }
6202 if test "x$ac_ct_LD" = x; then
6203 LD=""
6204 else
6205 case $cross_compiling:$ac_tool_warned in
6206 yes:)
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209 ac_tool_warned=yes ;;
6210 esac
6211 LD=$ac_ct_LD
6213 else
6214 LD="$ac_cv_prog_LD"
6218 case $host in
6219 *-darwin*)
6220 with_fontconfig=${with_fontconfig:-no}
6222 *-mingw32*|*-cygwin*)
6223 enable_win16=${enable_win16:-no}
6224 with_mingw=${with_mingw:-no}
6226 esac
6229 case $host in
6230 x86_64*|amd64*)
6231 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6232 then
6233 CC="$CC -m32"
6234 CXX="$CXX -m32"
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6237 printf %s "checking whether $CC works... " >&6; }
6238 if test ${wine_cv_cc_m32+y}
6239 then :
6240 printf %s "(cached) " >&6
6241 else $as_nop
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6246 main (void)
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_link "$LINENO"
6254 then :
6255 wine_cv_cc_m32=yes
6256 else $as_nop
6257 wine_cv_cc_m32=no
6259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6260 conftest$ac_exeext conftest.$ac_ext
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6263 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6264 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6265 host_cpu="i386"
6266 notice_platform="32-bit "
6267 TARGETFLAGS="$TARGETFLAGS -m32"
6268 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6269 export PKG_CONFIG_LIBDIR
6270 with_unwind=${with_unwind:-no}
6271 else
6272 if test "x${GCC}" = "xyes"
6273 then
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6275 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6276 if test ${wine_cv_builtin_ms_va_list+y}
6277 then :
6278 printf %s "(cached) " >&6
6279 else $as_nop
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <stdarg.h>
6284 main (void)
6286 void func(__builtin_ms_va_list *args);
6288 return 0;
6290 _ACEOF
6291 if ac_fn_c_try_compile "$LINENO"
6292 then :
6293 wine_cv_builtin_ms_va_list=yes
6294 else $as_nop
6295 wine_cv_builtin_ms_va_list=no
6297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6300 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6301 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6303 CC="$CC -m64"
6304 CXX="$CXX -m64"
6305 host_cpu="x86_64"
6306 notice_platform="64-bit "
6307 TARGETFLAGS="$TARGETFLAGS -m64"
6310 arm*)
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6312 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6313 if test ${wine_cv_thumb2+y}
6314 then :
6315 printf %s "(cached) " >&6
6316 else $as_nop
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6321 main (void)
6323 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"
6329 then :
6330 wine_cv_thumb2=yes
6331 else $as_nop
6332 wine_cv_thumb2=no
6334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6335 conftest$ac_exeext conftest.$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6338 printf "%s\n" "$wine_cv_thumb2" >&6; }
6339 if test x"$wine_cv_thumb2" = xyes
6340 then
6341 CFLAGS="$CFLAGS -mthumb"
6342 TARGETFLAGS="$TARGETFLAGS -mthumb"
6343 else
6344 CFLAGS="$CFLAGS -marm"
6345 TARGETFLAGS="$TARGETFLAGS -marm"
6347 case $with_float_abi in
6348 soft|softfp|hard)
6349 float_abi=$with_float_abi ;;
6351 case $host_os in
6352 *eabihf)
6353 float_abi=hard ;;
6355 float_abi=softfp
6356 saved_CFLAGS=$CFLAGS
6357 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6359 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6360 if test ${wine_cv_float_abi+y}
6361 then :
6362 printf %s "(cached) " >&6
6363 else $as_nop
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6368 main (void)
6370 asm("vmrs r2,fpscr");
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_link "$LINENO"
6376 then :
6377 wine_cv_float_abi=yes
6378 else $as_nop
6379 wine_cv_float_abi=no
6381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6382 conftest$ac_exeext conftest.$ac_ext
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6385 printf "%s\n" "$wine_cv_float_abi" >&6; }
6386 if test $wine_cv_float_abi = no
6387 then
6388 float_abi=soft
6389 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6391 CFLAGS=$saved_CFLAGS
6392 esac
6394 esac
6395 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6396 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6398 i[3456789]86*)
6399 with_unwind=${with_unwind:-no}
6401 esac
6403 enable_win16=${enable_win16:-i386}
6404 enable_win64=${enable_win64:-no}
6405 enable_wow64=${enable_wow64:-aarch64,x86_64}
6406 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6407 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6409 enable_winetest=${enable_winetest:-$enable_tests}
6411 if test "x$enable_win64" = "xyes"
6412 then
6413 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6414 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6417 case $build_os in
6418 cygwin*|mingw32*) toolsext=".exe"
6420 *) toolsext=""
6422 esac
6424 HOST_ARCH=unknown
6425 case "$host_cpu" in
6426 aarch64*) HOST_ARCH=aarch64 ;;
6427 arm*) HOST_ARCH=arm ;;
6428 i[3456789]86*) HOST_ARCH=i386 ;;
6429 x86_64) HOST_ARCH=x86_64 ;;
6430 esac
6433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6434 printf %s "checking for the directory containing the Wine tools... " >&6; }
6435 if test ${wine_cv_toolsdir+y}
6436 then :
6437 printf %s "(cached) " >&6
6438 else $as_nop
6439 wine_cv_toolsdir="$with_wine_tools"
6440 if test -z "$with_wine_tools"; then
6441 if test "$cross_compiling" = "yes"; then
6442 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6443 elif test -n "$with_wine64"; then
6444 wine_cv_toolsdir="$with_wine64"
6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6449 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6450 if test -z "$wine_cv_toolsdir"; then
6451 wine_makedep=tools/makedep$toolsext
6452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6453 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6454 enable_tools=${enable_tools:-no}
6455 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6456 else
6457 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6459 toolsdir=$wine_cv_toolsdir
6461 MAKEDEP=$wine_makedep
6463 RUNTESTFLAGS="-q -P wine"
6465 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6469 then
6470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6473 for ac_prog in flex
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 printf %s "checking for $ac_word... " >&6; }
6479 if test ${ac_cv_prog_FLEX+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 if test -n "$FLEX"; then
6484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 case $as_dir in #(((
6491 '') as_dir=./ ;;
6492 */) ;;
6493 *) as_dir=$as_dir/ ;;
6494 esac
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_FLEX="$ac_prog"
6498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 FLEX=$ac_cv_prog_FLEX
6508 if test -n "$FLEX"; then
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6510 printf "%s\n" "$FLEX" >&6; }
6511 else
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 printf "%s\n" "no" >&6; }
6517 test -n "$FLEX" && break
6518 done
6519 test -n "$FLEX" || FLEX="none"
6521 if test "$FLEX" = "none"
6522 then
6523 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6526 printf %s "checking whether flex is recent enough... " >&6; }
6527 if test ${wine_cv_recent_flex+y}
6528 then :
6529 printf %s "(cached) " >&6
6530 else $as_nop
6531 cat >conftest.l <<EOF
6532 %top{
6533 #include "prediluvian.h"
6537 if $FLEX -t conftest.l >/dev/null 2>&5
6538 then
6539 wine_cv_recent_flex=yes
6540 else
6541 wine_cv_recent_flex=no
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6545 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6546 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6548 for ac_prog in bison
6550 # Extract the first word of "$ac_prog", so it can be a program name with args.
6551 set dummy $ac_prog; ac_word=$2
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf %s "checking for $ac_word... " >&6; }
6554 if test ${ac_cv_prog_BISON+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 if test -n "$BISON"; then
6559 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 case $as_dir in #(((
6566 '') as_dir=./ ;;
6567 */) ;;
6568 *) as_dir=$as_dir/ ;;
6569 esac
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_BISON="$ac_prog"
6573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6574 break 2
6576 done
6577 done
6578 IFS=$as_save_IFS
6582 BISON=$ac_cv_prog_BISON
6583 if test -n "$BISON"; then
6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6585 printf "%s\n" "$BISON" >&6; }
6586 else
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 printf "%s\n" "no" >&6; }
6592 test -n "$BISON" && break
6593 done
6594 test -n "$BISON" || BISON="none"
6596 if test "$BISON" = "none"
6597 then
6598 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6601 printf %s "checking whether bison is recent enough... " >&6; }
6602 if test ${wine_cv_recent_bison+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 cat >conftest.y <<EOF
6607 %define parse.error verbose
6609 empty: ;
6611 if $BISON conftest.y >/dev/null 2>&5
6612 then
6613 wine_cv_recent_bison=yes
6614 else
6615 wine_cv_recent_bison=no
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6619 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6620 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6622 if test -n "$ac_tool_prefix"; then
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR="$AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 AR=$ac_cv_prog_AR
6658 if test -n "$AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6660 printf "%s\n" "$AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$AR" && break
6668 done
6670 if test -z "$AR"; then
6671 ac_ct_AR=$AR
6672 for ac_prog in ar gar
6674 # Extract the first word of "$ac_prog", so it can be a program name with args.
6675 set dummy $ac_prog; ac_word=$2
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 printf %s "checking for $ac_word... " >&6; }
6678 if test ${ac_cv_prog_ac_ct_AR+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 if test -n "$ac_ct_AR"; then
6683 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6684 else
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 for as_dir in $PATH
6688 IFS=$as_save_IFS
6689 case $as_dir in #(((
6690 '') as_dir=./ ;;
6691 */) ;;
6692 *) as_dir=$as_dir/ ;;
6693 esac
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_AR="$ac_prog"
6697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6707 if test -n "$ac_ct_AR"; then
6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6709 printf "%s\n" "$ac_ct_AR" >&6; }
6710 else
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 printf "%s\n" "no" >&6; }
6716 test -n "$ac_ct_AR" && break
6717 done
6719 if test "x$ac_ct_AR" = x; then
6720 AR="ar"
6721 else
6722 case $cross_compiling:$ac_tool_warned in
6723 yes:)
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726 ac_tool_warned=yes ;;
6727 esac
6728 AR=$ac_ct_AR
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 printf %s "checking for $ac_word... " >&6; }
6737 if test ${ac_cv_prog_STRIP+y}
6738 then :
6739 printf %s "(cached) " >&6
6740 else $as_nop
6741 if test -n "$STRIP"; then
6742 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 case $as_dir in #(((
6749 '') as_dir=./ ;;
6750 */) ;;
6751 *) as_dir=$as_dir/ ;;
6752 esac
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 STRIP=$ac_cv_prog_STRIP
6766 if test -n "$STRIP"; then
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6768 printf "%s\n" "$STRIP" >&6; }
6769 else
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 printf "%s\n" "no" >&6; }
6776 if test -z "$ac_cv_prog_STRIP"; then
6777 ac_ct_STRIP=$STRIP
6778 # Extract the first word of "strip", so it can be a program name with args.
6779 set dummy strip; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_STRIP+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$ac_ct_STRIP"; then
6787 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_ac_ct_STRIP="strip"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6811 if test -n "$ac_ct_STRIP"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6813 printf "%s\n" "$ac_ct_STRIP" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6819 if test "x$ac_ct_STRIP" = x; then
6820 STRIP="strip"
6821 else
6822 case $cross_compiling:$ac_tool_warned in
6823 yes:)
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826 ac_tool_warned=yes ;;
6827 esac
6828 STRIP=$ac_ct_STRIP
6830 else
6831 STRIP="$ac_cv_prog_STRIP"
6834 if test -n "$ac_tool_prefix"; then
6835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 printf %s "checking for $ac_word... " >&6; }
6839 if test ${ac_cv_prog_RANLIB+y}
6840 then :
6841 printf %s "(cached) " >&6
6842 else $as_nop
6843 if test -n "$RANLIB"; then
6844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6845 else
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 for as_dir in $PATH
6849 IFS=$as_save_IFS
6850 case $as_dir in #(((
6851 '') as_dir=./ ;;
6852 */) ;;
6853 *) as_dir=$as_dir/ ;;
6854 esac
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6859 break 2
6861 done
6862 done
6863 IFS=$as_save_IFS
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 printf "%s\n" "$RANLIB" >&6; }
6871 else
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 printf "%s\n" "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 printf %s "checking for $ac_word... " >&6; }
6884 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6885 then :
6886 printf %s "(cached) " >&6
6887 else $as_nop
6888 if test -n "$ac_ct_RANLIB"; then
6889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6894 IFS=$as_save_IFS
6895 case $as_dir in #(((
6896 '') as_dir=./ ;;
6897 */) ;;
6898 *) as_dir=$as_dir/ ;;
6899 esac
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_ac_ct_RANLIB="ranlib"
6903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6904 break 2
6906 done
6907 done
6908 IFS=$as_save_IFS
6912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6913 if test -n "$ac_ct_RANLIB"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6915 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 printf "%s\n" "no" >&6; }
6921 if test "x$ac_ct_RANLIB" = x; then
6922 RANLIB=":"
6923 else
6924 case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930 RANLIB=$ac_ct_RANLIB
6932 else
6933 RANLIB="$ac_cv_prog_RANLIB"
6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6937 printf %s "checking whether ln -s works... " >&6; }
6938 LN_S=$as_ln_s
6939 if test "$LN_S" = "ln -s"; then
6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6941 printf "%s\n" "yes" >&6; }
6942 else
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6944 printf "%s\n" "no, using $LN_S" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6948 printf %s "checking for grep that handles long lines and -e... " >&6; }
6949 if test ${ac_cv_path_GREP+y}
6950 then :
6951 printf %s "(cached) " >&6
6952 else $as_nop
6953 if test -z "$GREP"; then
6954 ac_path_GREP_found=false
6955 # Loop through the user's path and test for each of PROGNAME-LIST
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6959 IFS=$as_save_IFS
6960 case $as_dir in #(((
6961 '') as_dir=./ ;;
6962 */) ;;
6963 *) as_dir=$as_dir/ ;;
6964 esac
6965 for ac_prog in grep ggrep
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6969 as_fn_executable_p "$ac_path_GREP" || continue
6970 # Check for GNU ac_path_GREP and select it if it is found.
6971 # Check for GNU $ac_path_GREP
6972 case `"$ac_path_GREP" --version 2>&1` in
6973 *GNU*)
6974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6976 ac_count=0
6977 printf %s 0123456789 >"conftest.in"
6978 while :
6980 cat "conftest.in" "conftest.in" >"conftest.tmp"
6981 mv "conftest.tmp" "conftest.in"
6982 cp "conftest.in" "conftest.nl"
6983 printf "%s\n" 'GREP' >> "conftest.nl"
6984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6986 as_fn_arith $ac_count + 1 && ac_count=$as_val
6987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6988 # Best one so far, save it but keep looking for a better one
6989 ac_cv_path_GREP="$ac_path_GREP"
6990 ac_path_GREP_max=$ac_count
6992 # 10*(2^10) chars as input seems more than enough
6993 test $ac_count -gt 10 && break
6994 done
6995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6996 esac
6998 $ac_path_GREP_found && break 3
6999 done
7000 done
7001 done
7002 IFS=$as_save_IFS
7003 if test -z "$ac_cv_path_GREP"; then
7004 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7006 else
7007 ac_cv_path_GREP=$GREP
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7012 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7013 GREP="$ac_cv_path_GREP"
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7017 printf %s "checking for egrep... " >&6; }
7018 if test ${ac_cv_path_EGREP+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else $as_nop
7022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7023 then ac_cv_path_EGREP="$GREP -E"
7024 else
7025 if test -z "$EGREP"; then
7026 ac_path_EGREP_found=false
7027 # Loop through the user's path and test for each of PROGNAME-LIST
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7031 IFS=$as_save_IFS
7032 case $as_dir in #(((
7033 '') as_dir=./ ;;
7034 */) ;;
7035 *) as_dir=$as_dir/ ;;
7036 esac
7037 for ac_prog in egrep
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7041 as_fn_executable_p "$ac_path_EGREP" || continue
7042 # Check for GNU ac_path_EGREP and select it if it is found.
7043 # Check for GNU $ac_path_EGREP
7044 case `"$ac_path_EGREP" --version 2>&1` in
7045 *GNU*)
7046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7048 ac_count=0
7049 printf %s 0123456789 >"conftest.in"
7050 while :
7052 cat "conftest.in" "conftest.in" >"conftest.tmp"
7053 mv "conftest.tmp" "conftest.in"
7054 cp "conftest.in" "conftest.nl"
7055 printf "%s\n" 'EGREP' >> "conftest.nl"
7056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7058 as_fn_arith $ac_count + 1 && ac_count=$as_val
7059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7060 # Best one so far, save it but keep looking for a better one
7061 ac_cv_path_EGREP="$ac_path_EGREP"
7062 ac_path_EGREP_max=$ac_count
7064 # 10*(2^10) chars as input seems more than enough
7065 test $ac_count -gt 10 && break
7066 done
7067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 esac
7070 $ac_path_EGREP_found && break 3
7071 done
7072 done
7073 done
7074 IFS=$as_save_IFS
7075 if test -z "$ac_cv_path_EGREP"; then
7076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7078 else
7079 ac_cv_path_EGREP=$EGREP
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7085 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7086 EGREP="$ac_cv_path_EGREP"
7089 # Extract the first word of "ldconfig", so it can be a program name with args.
7090 set dummy ldconfig; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_path_LDCONFIG+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 case $LDCONFIG in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in /sbin /usr/sbin $PATH
7105 IFS=$as_save_IFS
7106 case $as_dir in #(((
7107 '') as_dir=./ ;;
7108 */) ;;
7109 *) as_dir=$as_dir/ ;;
7110 esac
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7112 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7113 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7115 break 2
7117 done
7118 done
7119 IFS=$as_save_IFS
7121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7123 esac
7125 LDCONFIG=$ac_cv_path_LDCONFIG
7126 if test -n "$LDCONFIG"; then
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7128 printf "%s\n" "$LDCONFIG" >&6; }
7129 else
7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 printf "%s\n" "no" >&6; }
7135 for ac_prog in msgfmt
7137 # Extract the first word of "$ac_prog", so it can be a program name with args.
7138 set dummy $ac_prog; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_MSGFMT+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$MSGFMT"; then
7146 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_MSGFMT="$ac_prog"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 MSGFMT=$ac_cv_prog_MSGFMT
7170 if test -n "$MSGFMT"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7172 printf "%s\n" "$MSGFMT" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 test -n "$MSGFMT" && break
7180 done
7181 test -n "$MSGFMT" || MSGFMT="false"
7183 if test ${ac_tool_prefix+y}
7184 then :
7185 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 printf %s "checking for $ac_word... " >&6; }
7189 if test ${ac_cv_prog_PKG_CONFIG+y}
7190 then :
7191 printf %s "(cached) " >&6
7192 else $as_nop
7193 if test -n "$PKG_CONFIG"; then
7194 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7195 else
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 for as_dir in $PATH
7199 IFS=$as_save_IFS
7200 case $as_dir in #(((
7201 '') as_dir=./ ;;
7202 */) ;;
7203 *) as_dir=$as_dir/ ;;
7204 esac
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7217 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7218 if test -n "$PKG_CONFIG"; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7220 printf "%s\n" "$PKG_CONFIG" >&6; }
7221 else
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 printf "%s\n" "no" >&6; }
7228 if ${ac_cv_prog_PKG_CONFIG:+false} :
7229 then :
7230 if test "x$cross_compiling" = xyes
7231 then :
7233 else $as_nop
7234 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7235 # Extract the first word of "pkg-config", so it can be a program name with args.
7236 set dummy pkg-config; ac_word=$2
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 printf %s "checking for $ac_word... " >&6; }
7239 if test ${ac_cv_prog_PKG_CONFIG+y}
7240 then :
7241 printf %s "(cached) " >&6
7242 else $as_nop
7243 if test -n "$PKG_CONFIG"; then
7244 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7249 IFS=$as_save_IFS
7250 case $as_dir in #(((
7251 '') as_dir=./ ;;
7252 */) ;;
7253 *) as_dir=$as_dir/ ;;
7254 esac
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7257 ac_cv_prog_PKG_CONFIG="pkg-config"
7258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7259 break 2
7261 done
7262 done
7263 IFS=$as_save_IFS
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7268 if test -n "$PKG_CONFIG"; then
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7270 printf "%s\n" "$PKG_CONFIG" >&6; }
7271 else
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 printf "%s\n" "no" >&6; }
7278 else $as_nop
7279 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7282 if test "x$enable_maintainer_mode" != "xyes"
7283 then
7284 FONTFORGE=""
7285 RSVG=""
7286 CONVERT=""
7287 ICOTOOL=""
7288 else
7289 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7290 for ac_prog in fontforge
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_FONTFORGE+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$FONTFORGE"; then
7301 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_FONTFORGE="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 FONTFORGE=$ac_cv_prog_FONTFORGE
7325 if test -n "$FONTFORGE"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7327 printf "%s\n" "$FONTFORGE" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$FONTFORGE" && break
7335 done
7336 test -n "$FONTFORGE" || FONTFORGE="false"
7338 for ac_prog in rsvg-convert rsvg
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_RSVG+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$RSVG"; then
7349 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_RSVG="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 RSVG=$ac_cv_prog_RSVG
7373 if test -n "$RSVG"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7375 printf "%s\n" "$RSVG" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$RSVG" && break
7383 done
7384 test -n "$RSVG" || RSVG="false"
7386 for ac_prog in convert
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_CONVERT+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$CONVERT"; then
7397 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_CONVERT="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 CONVERT=$ac_cv_prog_CONVERT
7421 if test -n "$CONVERT"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7423 printf "%s\n" "$CONVERT" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$CONVERT" && break
7431 done
7432 test -n "$CONVERT" || CONVERT="false"
7434 for ac_prog in icotool
7436 # Extract the first word of "$ac_prog", so it can be a program name with args.
7437 set dummy $ac_prog; ac_word=$2
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7439 printf %s "checking for $ac_word... " >&6; }
7440 if test ${ac_cv_prog_ICOTOOL+y}
7441 then :
7442 printf %s "(cached) " >&6
7443 else $as_nop
7444 if test -n "$ICOTOOL"; then
7445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7450 IFS=$as_save_IFS
7451 case $as_dir in #(((
7452 '') as_dir=./ ;;
7453 */) ;;
7454 *) as_dir=$as_dir/ ;;
7455 esac
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ICOTOOL="$ac_prog"
7459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 ICOTOOL=$ac_cv_prog_ICOTOOL
7469 if test -n "$ICOTOOL"; then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7471 printf "%s\n" "$ICOTOOL" >&6; }
7472 else
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 printf "%s\n" "no" >&6; }
7478 test -n "$ICOTOOL" && break
7479 done
7480 test -n "$ICOTOOL" || ICOTOOL="false"
7482 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7483 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7485 if test "$CONVERT" = false
7486 then
7487 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7488 else
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7490 printf %s "checking for recent enough imagemagick... " >&6; }
7491 convert_version=`convert --version | head -n1`
7492 if test "x$convert_version" != "x"
7493 then
7494 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7495 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7496 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7497 then
7498 CONVERT=false
7501 if test "$CONVERT" = false
7502 then
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7504 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7505 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7506 else
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7508 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7512 if test "$ICOTOOL" = false
7513 then
7514 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7517 printf %s "checking for recent enough icotool... " >&6; }
7518 icotool_version=`icotool --version | head -n1`
7519 if test "x$icotool_version" != "x"
7520 then
7521 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7522 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7523 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7524 then
7525 ICOTOOL=false
7526 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7529 if test "$ICOTOOL" = false
7530 then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7532 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7533 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7534 else
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7536 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7540 with_gettext=yes
7541 with_gettextpo=yes
7543 enable_werror=yes
7546 test "x$with_gettext" != xno || MSGFMT=false
7547 if test "$MSGFMT" != "false"
7548 then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7550 printf %s "checking whether msgfmt supports contexts... " >&6; }
7551 if test ${wine_cv_msgfmt_contexts+y}
7552 then :
7553 printf %s "(cached) " >&6
7554 else $as_nop
7555 cat >conftest.po <<EOF
7556 # comment
7557 msgctxt "ctxt"
7558 msgid "id"
7559 msgstr "str"
7561 if $MSGFMT -o /dev/null conftest.po 2>&5
7562 then
7563 wine_cv_msgfmt_contexts=yes
7564 else
7565 wine_cv_msgfmt_contexts=no
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7569 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7570 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7572 if test "$MSGFMT" = false
7573 then :
7574 case "x$with_gettext" in
7575 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7576 xno) ;;
7577 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7578 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7579 esac
7580 enable_po=${enable_po:-no}
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7585 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7586 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_check_lib_save_LIBS=$LIBS
7591 LIBS="-li386 $LIBS"
7592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h. */
7595 /* Override any GCC internal prototype to avoid an error.
7596 Use char because int might match the return type of a GCC
7597 builtin and then its argument prototype would still apply. */
7598 char i386_set_ldt ();
7600 main (void)
7602 return i386_set_ldt ();
7604 return 0;
7606 _ACEOF
7607 if ac_fn_c_try_link "$LINENO"
7608 then :
7609 ac_cv_lib_i386_i386_set_ldt=yes
7610 else $as_nop
7611 ac_cv_lib_i386_i386_set_ldt=no
7613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7618 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7619 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7620 then :
7621 I386_LIBS="-li386"
7626 OPENGL_LIBS=""
7630 # Check whether --enable-largefile was given.
7631 if test ${enable_largefile+y}
7632 then :
7633 enableval=$enable_largefile;
7636 if test "$enable_largefile" != no; then
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7639 printf %s "checking for special C compiler options needed for large files... " >&6; }
7640 if test ${ac_cv_sys_largefile_CC+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 ac_cv_sys_largefile_CC=no
7645 if test "$GCC" != yes; then
7646 ac_save_CC=$CC
7647 while :; do
7648 # IRIX 6.2 and later do not support large files by default,
7649 # so use the C compiler's -n32 option if that helps.
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam
7674 CC="$CC -n32"
7675 if ac_fn_c_try_compile "$LINENO"
7676 then :
7677 ac_cv_sys_largefile_CC=' -n32'; break
7679 rm -f core conftest.err conftest.$ac_objext conftest.beam
7680 break
7681 done
7682 CC=$ac_save_CC
7683 rm -f conftest.$ac_ext
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7687 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7688 if test "$ac_cv_sys_largefile_CC" != no; then
7689 CC=$CC$ac_cv_sys_largefile_CC
7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7693 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7694 if test ${ac_cv_sys_file_offset_bits+y}
7695 then :
7696 printf %s "(cached) " >&6
7697 else $as_nop
7698 while :; do
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <sys/types.h>
7702 /* Check that off_t can represent 2**63 - 1 correctly.
7703 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7704 since some C++ compilers masquerading as C compilers
7705 incorrectly reject 9223372036854775807. */
7706 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7707 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7708 && LARGE_OFF_T % 2147483647 == 1)
7709 ? 1 : -1];
7711 main (void)
7715 return 0;
7717 _ACEOF
7718 if ac_fn_c_try_compile "$LINENO"
7719 then :
7720 ac_cv_sys_file_offset_bits=no; break
7722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7725 #define _FILE_OFFSET_BITS 64
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=64; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 ac_cv_sys_file_offset_bits=unknown
7749 break
7750 done
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7753 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7754 case $ac_cv_sys_file_offset_bits in #(
7755 no | unknown) ;;
7757 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7759 esac
7760 rm -rf conftest*
7761 if test $ac_cv_sys_file_offset_bits = unknown; then
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7763 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7764 if test ${ac_cv_sys_large_files+y}
7765 then :
7766 printf %s "(cached) " >&6
7767 else $as_nop
7768 while :; do
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <sys/types.h>
7772 /* Check that off_t can represent 2**63 - 1 correctly.
7773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7774 since some C++ compilers masquerading as C compilers
7775 incorrectly reject 9223372036854775807. */
7776 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7778 && LARGE_OFF_T % 2147483647 == 1)
7779 ? 1 : -1];
7781 main (void)
7785 return 0;
7787 _ACEOF
7788 if ac_fn_c_try_compile "$LINENO"
7789 then :
7790 ac_cv_sys_large_files=no; break
7792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #define _LARGE_FILES 1
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=1; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 ac_cv_sys_large_files=unknown
7819 break
7820 done
7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7823 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7824 case $ac_cv_sys_large_files in #(
7825 no | unknown) ;;
7827 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7829 esac
7830 rm -rf conftest*
7835 ac_header= ac_cache=
7836 for ac_item in $ac_header_c_list
7838 if test $ac_cache; then
7839 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7840 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7841 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7843 ac_header= ac_cache=
7844 elif test $ac_header; then
7845 ac_cache=$ac_item
7846 else
7847 ac_header=$ac_item
7849 done
7858 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7859 then :
7861 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_EGL_egl_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_arpa_inet_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_asm_types_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_asm_user_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_elf_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_float_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_gettext_po_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_libproc_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_link_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_linux_filter_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_input_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_major_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_param_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_serial_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_types_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_lwp_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_mach_mach_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_machine_cpu_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_mntent_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_netdb_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_netinet_in_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_port_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_pthread_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pwd_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_sched_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_scsi_sg_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_stdint_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_sys_attr_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_sys_auxv_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_sys_cdio_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_epoll_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_event_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_extattr_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_filio_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_ipc_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_link_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_modem_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_mtio_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_param_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_prctl_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_queue_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_random_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_resource_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_shm_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_signal_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_sockio_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_strtio_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_syscall_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_times_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_uio_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_user_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_utsname_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_vnode_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_xattr_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_syscall_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_utime_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8341 then :
8343 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8347 if test $ac_cv_header_sys_mkdev_h = no; then
8348 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8350 then :
8352 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8358 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8359 if test ${ac_cv_header_stat_broken+y}
8360 then :
8361 printf %s "(cached) " >&6
8362 else $as_nop
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 #include <sys/types.h>
8366 #include <sys/stat.h>
8368 #if defined S_ISBLK && defined S_IFDIR
8369 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8370 #endif
8372 #if defined S_ISBLK && defined S_IFCHR
8373 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8374 #endif
8376 #if defined S_ISLNK && defined S_IFREG
8377 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8378 #endif
8380 #if defined S_ISSOCK && defined S_IFREG
8381 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8382 #endif
8384 _ACEOF
8385 if ac_fn_c_try_compile "$LINENO"
8386 then :
8387 ac_cv_header_stat_broken=no
8388 else $as_nop
8389 ac_cv_header_stat_broken=yes
8391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8394 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8395 if test $ac_cv_header_stat_broken = yes; then
8397 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8403 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8404 #ifdef HAVE_SYS_PARAM_H
8405 # include <sys/param.h>
8406 #endif
8408 if test "x$ac_cv_header_sys_conf_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8414 #ifdef HAVE_SYS_PARAM_H
8415 # include <sys/param.h>
8416 #endif
8418 if test "x$ac_cv_header_sys_mount_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8424 #ifdef HAVE_SYS_PARAM_H
8425 # include <sys/param.h>
8426 #endif
8428 if test "x$ac_cv_header_sys_statfs_h" = xyes
8429 then :
8430 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8433 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8434 #ifdef HAVE_SYS_PARAM_H
8435 # include <sys/param.h>
8436 #endif
8438 if test "x$ac_cv_header_sys_user_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8444 #ifdef HAVE_SYS_PARAM_H
8445 # include <sys/param.h>
8446 #endif
8448 if test "x$ac_cv_header_sys_vfs_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8455 saved_sysctl_h_CFLAGS=$CFLAGS
8456 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8457 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8468 CFLAGS=$saved_sysctl_h_CFLAGS
8470 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8471 #include <sys/socket.h>
8472 #ifdef HAVE_SYS_SOCKETVAR_H
8473 # include <sys/socketvar.h>
8474 #endif
8475 #ifdef HAVE_NET_ROUTE_H
8476 # include <net/route.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_H
8479 # include <netinet/in.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IN_SYSTM_H
8482 # include <netinet/in_systm.h>
8483 #endif
8484 #ifdef HAVE_NET_IF_H
8485 # include <net/if.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IP_H
8488 # include <netinet/ip.h>
8489 #endif
8491 if test "x$ac_cv_header_netinet_ip_h" = xyes
8492 then :
8493 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8496 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8497 #include <sys/socket.h>
8498 #ifdef HAVE_SYS_SOCKETVAR_H
8499 # include <sys/socketvar.h>
8500 #endif
8501 #ifdef HAVE_NET_ROUTE_H
8502 # include <net/route.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_H
8505 # include <netinet/in.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IN_SYSTM_H
8508 # include <netinet/in_systm.h>
8509 #endif
8510 #ifdef HAVE_NET_IF_H
8511 # include <net/if.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IP_H
8514 # include <netinet/ip.h>
8515 #endif
8517 if test "x$ac_cv_header_net_if_h" = xyes
8518 then :
8519 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8522 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8523 #include <sys/socket.h>
8524 #ifdef HAVE_SYS_SOCKETVAR_H
8525 # include <sys/socketvar.h>
8526 #endif
8527 #ifdef HAVE_NET_ROUTE_H
8528 # include <net/route.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_H
8531 # include <netinet/in.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IN_SYSTM_H
8534 # include <netinet/in_systm.h>
8535 #endif
8536 #ifdef HAVE_NET_IF_H
8537 # include <net/if.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IP_H
8540 # include <netinet/ip.h>
8541 #endif
8543 if test "x$ac_cv_header_net_if_arp_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8549 #include <sys/socket.h>
8550 #ifdef HAVE_SYS_SOCKETVAR_H
8551 # include <sys/socketvar.h>
8552 #endif
8553 #ifdef HAVE_NET_ROUTE_H
8554 # include <net/route.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_H
8557 # include <netinet/in.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IN_SYSTM_H
8560 # include <netinet/in_systm.h>
8561 #endif
8562 #ifdef HAVE_NET_IF_H
8563 # include <net/if.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IP_H
8566 # include <netinet/ip.h>
8567 #endif
8569 if test "x$ac_cv_header_net_if_dl_h" = xyes
8570 then :
8571 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8574 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8575 #include <sys/socket.h>
8576 #ifdef HAVE_SYS_SOCKETVAR_H
8577 # include <sys/socketvar.h>
8578 #endif
8579 #ifdef HAVE_NET_ROUTE_H
8580 # include <net/route.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_H
8583 # include <netinet/in.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IN_SYSTM_H
8586 # include <netinet/in_systm.h>
8587 #endif
8588 #ifdef HAVE_NET_IF_H
8589 # include <net/if.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IP_H
8592 # include <netinet/ip.h>
8593 #endif
8595 if test "x$ac_cv_header_net_if_types_h" = xyes
8596 then :
8597 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8600 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8601 #include <sys/socket.h>
8602 #ifdef HAVE_SYS_SOCKETVAR_H
8603 # include <sys/socketvar.h>
8604 #endif
8605 #ifdef HAVE_NET_ROUTE_H
8606 # include <net/route.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_H
8609 # include <netinet/in.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IN_SYSTM_H
8612 # include <netinet/in_systm.h>
8613 #endif
8614 #ifdef HAVE_NET_IF_H
8615 # include <net/if.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IP_H
8618 # include <netinet/ip.h>
8619 #endif
8621 if test "x$ac_cv_header_net_route_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8627 #include <sys/socket.h>
8628 #ifdef HAVE_SYS_SOCKETVAR_H
8629 # include <sys/socketvar.h>
8630 #endif
8631 #ifdef HAVE_NET_ROUTE_H
8632 # include <net/route.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_H
8635 # include <netinet/in.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IN_SYSTM_H
8638 # include <netinet/in_systm.h>
8639 #endif
8640 #ifdef HAVE_NET_IF_H
8641 # include <net/if.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IP_H
8644 # include <netinet/ip.h>
8645 #endif
8647 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8648 then :
8649 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8652 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8653 #include <sys/socket.h>
8654 #ifdef HAVE_SYS_SOCKETVAR_H
8655 # include <sys/socketvar.h>
8656 #endif
8657 #ifdef HAVE_NET_ROUTE_H
8658 # include <net/route.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_H
8661 # include <netinet/in.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IN_SYSTM_H
8664 # include <netinet/in_systm.h>
8665 #endif
8666 #ifdef HAVE_NET_IF_H
8667 # include <net/if.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IP_H
8670 # include <netinet/ip.h>
8671 #endif
8673 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8674 then :
8675 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8678 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8679 #include <sys/socket.h>
8680 #ifdef HAVE_SYS_SOCKETVAR_H
8681 # include <sys/socketvar.h>
8682 #endif
8683 #ifdef HAVE_NET_ROUTE_H
8684 # include <net/route.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_H
8687 # include <netinet/in.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IN_SYSTM_H
8690 # include <netinet/in_systm.h>
8691 #endif
8692 #ifdef HAVE_NET_IF_H
8693 # include <net/if.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IP_H
8696 # include <netinet/ip.h>
8697 #endif
8699 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8705 #include <sys/socket.h>
8706 #ifdef HAVE_SYS_SOCKETVAR_H
8707 # include <sys/socketvar.h>
8708 #endif
8709 #ifdef HAVE_NET_ROUTE_H
8710 # include <net/route.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_H
8713 # include <netinet/in.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IN_SYSTM_H
8716 # include <netinet/in_systm.h>
8717 #endif
8718 #ifdef HAVE_NET_IF_H
8719 # include <net/if.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IP_H
8722 # include <netinet/ip.h>
8723 #endif
8725 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8726 then :
8727 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8730 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8731 #include <sys/socket.h>
8732 #ifdef HAVE_SYS_SOCKETVAR_H
8733 # include <sys/socketvar.h>
8734 #endif
8735 #ifdef HAVE_NET_ROUTE_H
8736 # include <net/route.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_H
8739 # include <netinet/in.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IN_SYSTM_H
8742 # include <netinet/in_systm.h>
8743 #endif
8744 #ifdef HAVE_NET_IF_H
8745 # include <net/if.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IP_H
8748 # include <netinet/ip.h>
8749 #endif
8751 if test "x$ac_cv_header_netinet_udp_h" = xyes
8752 then :
8753 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8756 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8757 #include <sys/socket.h>
8758 #ifdef HAVE_SYS_SOCKETVAR_H
8759 # include <sys/socketvar.h>
8760 #endif
8761 #ifdef HAVE_NET_ROUTE_H
8762 # include <net/route.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_H
8765 # include <netinet/in.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IN_SYSTM_H
8768 # include <netinet/in_systm.h>
8769 #endif
8770 #ifdef HAVE_NET_IF_H
8771 # include <net/if.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IP_H
8774 # include <netinet/ip.h>
8775 #endif
8777 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8778 then :
8779 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8782 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8783 #include <sys/socket.h>
8784 #ifdef HAVE_SYS_SOCKETVAR_H
8785 # include <sys/socketvar.h>
8786 #endif
8787 #ifdef HAVE_NET_ROUTE_H
8788 # include <net/route.h>
8789 #endif
8790 #ifdef HAVE_NETINET_IN_H
8791 # include <netinet/in.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IN_SYSTM_H
8794 # include <netinet/in_systm.h>
8795 #endif
8796 #ifdef HAVE_NET_IF_H
8797 # include <net/if.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IP_H
8800 # include <netinet/ip.h>
8801 #endif
8803 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8804 then :
8805 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8808 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8809 #include <sys/socket.h>
8810 #ifdef HAVE_SYS_SOCKETVAR_H
8811 # include <sys/socketvar.h>
8812 #endif
8813 #ifdef HAVE_NET_ROUTE_H
8814 # include <net/route.h>
8815 #endif
8816 #ifdef HAVE_NETINET_IN_H
8817 # include <netinet/in.h>
8818 #endif
8819 #ifdef HAVE_NETINET_IN_SYSTM_H
8820 # include <netinet/in_systm.h>
8821 #endif
8822 #ifdef HAVE_NET_IF_H
8823 # include <net/if.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IP_H
8826 # include <netinet/ip.h>
8827 #endif
8829 if test "x$ac_cv_header_sys_un_h" = xyes
8830 then :
8831 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_H
8848 # include <netinet/ip.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_VAR_H
8851 # include <netinet/ip_var.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_ICMP_H
8854 # include <netinet/ip_icmp.h>
8855 #endif
8856 #ifdef HAVE_NETINET_UDP_H
8857 # include <netinet/udp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_TCP_H
8860 # include <netinet/tcp.h>
8861 #endif
8863 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8868 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8869 #include <sys/socket.h>
8870 #ifdef HAVE_SYS_SOCKETVAR_H
8871 # include <sys/socketvar.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_VAR_H
8883 # include <netinet/ip_var.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_ICMP_H
8886 # include <netinet/ip_icmp.h>
8887 #endif
8888 #ifdef HAVE_NETINET_UDP_H
8889 # include <netinet/udp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_TCP_H
8892 # include <netinet/tcp.h>
8893 #endif
8895 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8900 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8901 #include <sys/socket.h>
8902 #ifdef HAVE_SYS_SOCKETVAR_H
8903 # include <sys/socketvar.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_H
8912 # include <netinet/ip.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_VAR_H
8915 # include <netinet/ip_var.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_ICMP_H
8918 # include <netinet/ip_icmp.h>
8919 #endif
8920 #ifdef HAVE_NETINET_UDP_H
8921 # include <netinet/udp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_TCP_H
8924 # include <netinet/tcp.h>
8925 #endif
8927 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8932 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8933 #include <sys/socket.h>
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8936 #endif
8937 #ifdef HAVE_NETINET_IN_H
8938 # include <netinet/in.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_SYSTM_H
8941 # include <netinet/in_systm.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IP_H
8944 # include <netinet/ip.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IP_VAR_H
8947 # include <netinet/ip_var.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_ICMP_H
8950 # include <netinet/ip_icmp.h>
8951 #endif
8952 #ifdef HAVE_NETINET_UDP_H
8953 # include <netinet/udp.h>
8954 #endif
8955 #ifdef HAVE_NETINET_TCP_H
8956 # include <netinet/tcp.h>
8957 #endif
8959 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8960 then :
8961 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_ASM_TYPES_H
8969 # include <asm/types.h>
8970 #endif
8971 #ifdef HAVE_LINUX_TYPES_H
8972 # include <linux/types.h>
8973 #endif
8975 if test "x$ac_cv_header_linux_ipx_h" = xyes
8976 then :
8977 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8984 #endif
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8987 #endif
8989 if test "x$ac_cv_header_linux_irda_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8998 #endif
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9001 #endif
9003 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9004 then :
9005 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9010 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9011 #include <sys/socket.h>
9012 #ifdef HAVE_NETINET_IN_H
9013 # include <netinet/in.h>
9014 #endif
9015 #ifdef HAVE_ARPA_NAMESER_H
9016 # include <arpa/nameser.h>
9017 #endif
9019 if test "x$ac_cv_header_resolv_h" = xyes
9020 then :
9021 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9026 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9028 if test "x$ac_cv_header_ifaddrs_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9037 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9045 #ifdef HAVE_SYS_UCONTEXT_H
9046 #include <sys/ucontext.h>
9047 #endif
9049 if test "x$ac_cv_header_sys_thr_h" = xyes
9050 then :
9051 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9056 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9057 #include <pthread.h>
9058 #endif
9060 if test "x$ac_cv_header_pthread_np_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9068 #include <sys/types.h>
9069 #ifdef HAVE_ASM_TYPES_H
9070 #include <asm/types.h>
9071 #endif
9073 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9074 then :
9075 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9081 #include <sys/param.h>
9082 #endif
9083 #include <sys/socket.h>
9084 #ifdef HAVE_SYS_QUEUE_H
9085 #include <sys/queue.h>
9086 #endif
9088 if test "x$ac_cv_header_libprocstat_h" = xyes
9089 then :
9090 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9095 if test "x$ac_cv_header_sys_xattr_h" = xyes
9096 then
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9098 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9099 if test ${wine_cv_xattr_extra_args+y}
9100 then :
9101 printf %s "(cached) " >&6
9102 else $as_nop
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <sys/xattr.h>
9107 main (void)
9109 getxattr("", "", "", 0, 0, 0);
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_compile "$LINENO"
9115 then :
9116 wine_cv_xattr_extra_args=yes
9117 else $as_nop
9118 wine_cv_xattr_extra_args=no
9120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9123 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9124 test $wine_cv_xattr_extra_args != yes ||
9125 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9130 DLLFLAGS=""
9132 LDDLLFLAGS=""
9134 LDEXECFLAGS=""
9136 EXTRACFLAGS=""
9138 UNIXDLLFLAGS="-fPIC"
9140 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9142 TOP_INSTALL_LIB=""
9144 TOP_INSTALL_DEV=""
9146 WINELOADER_LDFLAGS=""
9148 WINEPRELOADER_LDFLAGS=""
9150 DLLEXT=".so"
9152 LIBEXT="so"
9153 # Extract the first word of "ldd", so it can be a program name with args.
9154 set dummy ldd; ac_word=$2
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 printf %s "checking for $ac_word... " >&6; }
9157 if test ${ac_cv_path_LDD+y}
9158 then :
9159 printf %s "(cached) " >&6
9160 else $as_nop
9161 case $LDD in
9162 [\\/]* | ?:[\\/]*)
9163 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 as_dummy="/sbin:/usr/sbin:$PATH"
9168 for as_dir in $as_dummy
9170 IFS=$as_save_IFS
9171 case $as_dir in #(((
9172 '') as_dir=./ ;;
9173 */) ;;
9174 *) as_dir=$as_dir/ ;;
9175 esac
9176 for ac_exec_ext in '' $ac_executable_extensions; do
9177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9178 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9180 break 2
9182 done
9183 done
9184 IFS=$as_save_IFS
9186 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9188 esac
9190 LDD=$ac_cv_path_LDD
9191 if test -n "$LDD"; then
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9193 printf "%s\n" "$LDD" >&6; }
9194 else
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 printf "%s\n" "no" >&6; }
9200 if test -n "$ac_tool_prefix"; then
9201 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9202 set dummy ${ac_tool_prefix}otool; ac_word=$2
9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9204 printf %s "checking for $ac_word... " >&6; }
9205 if test ${ac_cv_prog_OTOOL+y}
9206 then :
9207 printf %s "(cached) " >&6
9208 else $as_nop
9209 if test -n "$OTOOL"; then
9210 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9211 else
9212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9213 for as_dir in $PATH
9215 IFS=$as_save_IFS
9216 case $as_dir in #(((
9217 '') as_dir=./ ;;
9218 */) ;;
9219 *) as_dir=$as_dir/ ;;
9220 esac
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9223 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9225 break 2
9227 done
9228 done
9229 IFS=$as_save_IFS
9233 OTOOL=$ac_cv_prog_OTOOL
9234 if test -n "$OTOOL"; then
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9236 printf "%s\n" "$OTOOL" >&6; }
9237 else
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 printf "%s\n" "no" >&6; }
9244 if test -z "$ac_cv_prog_OTOOL"; then
9245 ac_ct_OTOOL=$OTOOL
9246 # Extract the first word of "otool", so it can be a program name with args.
9247 set dummy otool; ac_word=$2
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 printf %s "checking for $ac_word... " >&6; }
9250 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9251 then :
9252 printf %s "(cached) " >&6
9253 else $as_nop
9254 if test -n "$ac_ct_OTOOL"; then
9255 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9256 else
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 for as_dir in $PATH
9260 IFS=$as_save_IFS
9261 case $as_dir in #(((
9262 '') as_dir=./ ;;
9263 */) ;;
9264 *) as_dir=$as_dir/ ;;
9265 esac
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_ac_ct_OTOOL="otool"
9269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9270 break 2
9272 done
9273 done
9274 IFS=$as_save_IFS
9278 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9279 if test -n "$ac_ct_OTOOL"; then
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9281 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9282 else
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 printf "%s\n" "no" >&6; }
9287 if test "x$ac_ct_OTOOL" = x; then
9288 OTOOL="otool"
9289 else
9290 case $cross_compiling:$ac_tool_warned in
9291 yes:)
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9293 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9294 ac_tool_warned=yes ;;
9295 esac
9296 OTOOL=$ac_ct_OTOOL
9298 else
9299 OTOOL="$ac_cv_prog_OTOOL"
9302 if test -n "$ac_tool_prefix"; then
9303 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9304 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9306 printf %s "checking for $ac_word... " >&6; }
9307 if test ${ac_cv_prog_READELF+y}
9308 then :
9309 printf %s "(cached) " >&6
9310 else $as_nop
9311 if test -n "$READELF"; then
9312 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9313 else
9314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9315 for as_dir in $PATH
9317 IFS=$as_save_IFS
9318 case $as_dir in #(((
9319 '') as_dir=./ ;;
9320 */) ;;
9321 *) as_dir=$as_dir/ ;;
9322 esac
9323 for ac_exec_ext in '' $ac_executable_extensions; do
9324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9327 break 2
9329 done
9330 done
9331 IFS=$as_save_IFS
9335 READELF=$ac_cv_prog_READELF
9336 if test -n "$READELF"; then
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9338 printf "%s\n" "$READELF" >&6; }
9339 else
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9341 printf "%s\n" "no" >&6; }
9346 if test -z "$ac_cv_prog_READELF"; then
9347 ac_ct_READELF=$READELF
9348 # Extract the first word of "readelf", so it can be a program name with args.
9349 set dummy readelf; ac_word=$2
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 printf %s "checking for $ac_word... " >&6; }
9352 if test ${ac_cv_prog_ac_ct_READELF+y}
9353 then :
9354 printf %s "(cached) " >&6
9355 else $as_nop
9356 if test -n "$ac_ct_READELF"; then
9357 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9358 else
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9360 for as_dir in $PATH
9362 IFS=$as_save_IFS
9363 case $as_dir in #(((
9364 '') as_dir=./ ;;
9365 */) ;;
9366 *) as_dir=$as_dir/ ;;
9367 esac
9368 for ac_exec_ext in '' $ac_executable_extensions; do
9369 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9370 ac_cv_prog_ac_ct_READELF="readelf"
9371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9372 break 2
9374 done
9375 done
9376 IFS=$as_save_IFS
9380 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9381 if test -n "$ac_ct_READELF"; then
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9383 printf "%s\n" "$ac_ct_READELF" >&6; }
9384 else
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9386 printf "%s\n" "no" >&6; }
9389 if test "x$ac_ct_READELF" = x; then
9390 READELF="true"
9391 else
9392 case $cross_compiling:$ac_tool_warned in
9393 yes:)
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9395 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9396 ac_tool_warned=yes ;;
9397 esac
9398 READELF=$ac_ct_READELF
9400 else
9401 READELF="$ac_cv_prog_READELF"
9404 wine_rules="all:"
9405 SUBDIRS=""
9407 DISABLED_SUBDIRS=""
9409 CONFIGURE_TARGETS=""
9412 wine_fn_config_makefile ()
9414 as_fn_append SUBDIRS " \\$as_nl $1"
9415 eval enable=\$$2
9416 case "$enable" in
9417 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9418 *aarch64*|*arm*|*i386*|*x86_64*)
9419 if test -n "$PE_ARCHS"
9420 then
9421 for i in $PE_ARCHS
9423 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9424 done
9425 else
9426 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9427 fi;;
9428 esac
9431 wine_fn_config_symlink ()
9433 ac_links=$@
9434 as_fn_append wine_rules "
9435 $ac_links:
9436 @./config.status \$@"
9437 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9440 case $host_os in
9441 cygwin*|mingw32*)
9442 LIBEXT="dll"
9443 DLLEXT=""
9444 EXTRACFLAGS="-D__WINE_PE_BUILD"
9445 case $host_cpu in
9446 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9447 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9448 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9449 then :
9450 printf %s "(cached) " >&6
9451 else $as_nop
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"
9459 then :
9460 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9461 else $as_nop
9462 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9469 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9470 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9471 then :
9472 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9473 fi ;;
9474 esac
9475 enable_loader=${enable_loader:-no}
9476 enable_server=${enable_server:-no}
9477 with_x=${with_x:-no}
9478 with_pthread=${with_pthread:-no}
9481 darwin*|macosx*)
9482 LIBEXT="dylib"
9483 DLLFLAGS="$DLLFLAGS -fPIC"
9484 LDDLLFLAGS="-fPIC"
9485 enable_winemac_drv=${enable_winemac_drv:-yes}
9486 CARBON_LIBS="-framework Carbon"
9488 COREFOUNDATION_LIBS="-framework CoreFoundation"
9490 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9492 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9494 METAL_LIBS="-framework Metal"
9496 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9498 CORESERVICES_LIBS="-framework CoreServices"
9500 APPKIT_LIBS="-framework AppKit"
9502 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9504 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9507 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9509 wine_can_build_preloader=yes
9510 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9512 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9513 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9514 then :
9515 printf %s "(cached) " >&6
9516 else $as_nop
9517 ac_wine_try_cflags_saved=$CFLAGS
9518 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"
9524 then :
9525 ac_cv_cflags__Wl__no_new_main__e__main=yes
9526 else $as_nop
9527 ac_cv_cflags__Wl__no_new_main__e__main=no
9529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9530 conftest$ac_exeext conftest.$ac_ext
9531 CFLAGS=$ac_wine_try_cflags_saved
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9534 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9535 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9536 then :
9537 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9539 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9540 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9541 then :
9542 printf %s "(cached) " >&6
9543 else $as_nop
9544 ac_wine_try_cflags_saved=$CFLAGS
9545 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"
9551 then :
9552 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9553 else $as_nop
9554 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9557 conftest$ac_exeext conftest.$ac_ext
9558 CFLAGS=$ac_wine_try_cflags_saved
9560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9561 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9562 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9563 then :
9564 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9565 else $as_nop
9566 wine_can_build_preloader=no
9568 else $as_nop
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9570 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9571 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9572 then :
9573 printf %s "(cached) " >&6
9574 else $as_nop
9575 ac_wine_try_cflags_saved=$CFLAGS
9576 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9579 int main(int argc, char **argv) { return 0; }
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"
9582 then :
9583 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9584 else $as_nop
9585 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9592 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9593 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9594 then :
9595 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9596 else $as_nop
9597 wine_can_build_preloader=no
9600 if test "$wine_can_build_preloader" = "yes"
9601 then
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9603 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9604 if test ${ac_cv_cflags__Wl__no_pie+y}
9605 then :
9606 printf %s "(cached) " >&6
9607 else $as_nop
9608 ac_wine_try_cflags_saved=$CFLAGS
9609 CFLAGS="$CFLAGS -Wl,-no_pie"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612 int main(int argc, char **argv) { return 0; }
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"
9615 then :
9616 ac_cv_cflags__Wl__no_pie=yes
9617 else $as_nop
9618 ac_cv_cflags__Wl__no_pie=no
9620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9621 conftest$ac_exeext conftest.$ac_ext
9622 CFLAGS=$ac_wine_try_cflags_saved
9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9625 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9626 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9627 then :
9628 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9630 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9631 else
9632 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9635 if test "x$with_coreaudio" != "xno";
9636 then
9637 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9639 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9641 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9642 then
9643 OPENCL_LIBS="-framework OpenCL"
9645 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9649 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9650 ac_ext=m
9651 ac_cpp='$OBJCPP $CPPFLAGS'
9652 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9653 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9654 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9656 ac_ext=m
9657 ac_cpp='$OBJCPP $CPPFLAGS'
9658 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9659 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9660 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9661 if test -n "$ac_tool_prefix"; then
9662 for ac_prog in gcc objcc objc cc CC clang
9664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9667 printf %s "checking for $ac_word... " >&6; }
9668 if test ${ac_cv_prog_OBJC+y}
9669 then :
9670 printf %s "(cached) " >&6
9671 else $as_nop
9672 if test -n "$OBJC"; then
9673 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9674 else
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 for as_dir in $PATH
9678 IFS=$as_save_IFS
9679 case $as_dir in #(((
9680 '') as_dir=./ ;;
9681 */) ;;
9682 *) as_dir=$as_dir/ ;;
9683 esac
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9686 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9688 break 2
9690 done
9691 done
9692 IFS=$as_save_IFS
9696 OBJC=$ac_cv_prog_OBJC
9697 if test -n "$OBJC"; then
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9699 printf "%s\n" "$OBJC" >&6; }
9700 else
9701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9702 printf "%s\n" "no" >&6; }
9706 test -n "$OBJC" && break
9707 done
9709 if test -z "$OBJC"; then
9710 ac_ct_OBJC=$OBJC
9711 for ac_prog in gcc objcc objc cc CC clang
9713 # Extract the first word of "$ac_prog", so it can be a program name with args.
9714 set dummy $ac_prog; ac_word=$2
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9716 printf %s "checking for $ac_word... " >&6; }
9717 if test ${ac_cv_prog_ac_ct_OBJC+y}
9718 then :
9719 printf %s "(cached) " >&6
9720 else $as_nop
9721 if test -n "$ac_ct_OBJC"; then
9722 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9723 else
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9725 for as_dir in $PATH
9727 IFS=$as_save_IFS
9728 case $as_dir in #(((
9729 '') as_dir=./ ;;
9730 */) ;;
9731 *) as_dir=$as_dir/ ;;
9732 esac
9733 for ac_exec_ext in '' $ac_executable_extensions; do
9734 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9735 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9737 break 2
9739 done
9740 done
9741 IFS=$as_save_IFS
9745 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9746 if test -n "$ac_ct_OBJC"; then
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9748 printf "%s\n" "$ac_ct_OBJC" >&6; }
9749 else
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 printf "%s\n" "no" >&6; }
9755 test -n "$ac_ct_OBJC" && break
9756 done
9758 if test "x$ac_ct_OBJC" = x; then
9759 OBJC="gcc"
9760 else
9761 case $cross_compiling:$ac_tool_warned in
9762 yes:)
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9765 ac_tool_warned=yes ;;
9766 esac
9767 OBJC=$ac_ct_OBJC
9771 # Provide some information about the compiler.
9772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9773 set X $ac_compile
9774 ac_compiler=$2
9775 for ac_option in --version -v -V -qversion; do
9776 { { ac_try="$ac_compiler $ac_option >&5"
9777 case "(($ac_try" in
9778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9780 esac
9781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9782 printf "%s\n" "$ac_try_echo"; } >&5
9783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9784 ac_status=$?
9785 if test -s conftest.err; then
9786 sed '10a\
9787 ... rest of stderr output deleted ...
9788 10q' conftest.err >conftest.er1
9789 cat conftest.er1 >&5
9791 rm -f conftest.er1 conftest.err
9792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9794 done
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9797 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9798 if test ${ac_cv_objc_compiler_gnu+y}
9799 then :
9800 printf %s "(cached) " >&6
9801 else $as_nop
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9806 main (void)
9808 #ifndef __GNUC__
9809 choke me
9810 #endif
9813 return 0;
9815 _ACEOF
9816 if ac_fn_objc_try_compile "$LINENO"
9817 then :
9818 ac_compiler_gnu=yes
9819 else $as_nop
9820 ac_compiler_gnu=no
9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9823 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9827 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9828 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9830 if test $ac_compiler_gnu = yes; then
9831 GOBJC=yes
9832 else
9833 GOBJC=
9835 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9836 ac_save_OBJCFLAGS=$OBJCFLAGS
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9838 printf %s "checking whether $OBJC accepts -g... " >&6; }
9839 if test ${ac_cv_prog_objc_g+y}
9840 then :
9841 printf %s "(cached) " >&6
9842 else $as_nop
9843 ac_save_objc_werror_flag=$ac_objc_werror_flag
9844 ac_objc_werror_flag=yes
9845 ac_cv_prog_objc_g=no
9846 OBJCFLAGS="-g"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9851 main (void)
9855 return 0;
9857 _ACEOF
9858 if ac_fn_objc_try_compile "$LINENO"
9859 then :
9860 ac_cv_prog_objc_g=yes
9861 else $as_nop
9862 OBJCFLAGS=""
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9867 main (void)
9871 return 0;
9873 _ACEOF
9874 if ac_fn_objc_try_compile "$LINENO"
9875 then :
9877 else $as_nop
9878 ac_objc_werror_flag=$ac_save_objc_werror_flag
9879 OBJCFLAGS="-g"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9884 main (void)
9888 return 0;
9890 _ACEOF
9891 if ac_fn_objc_try_compile "$LINENO"
9892 then :
9893 ac_cv_prog_objc_g=yes
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9900 ac_objc_werror_flag=$ac_save_objc_werror_flag
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9903 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9904 if test $ac_test_OBJCFLAGS; then
9905 OBJCFLAGS=$ac_save_OBJCFLAGS
9906 elif test $ac_cv_prog_objc_g = yes; then
9907 if test "$GOBJC" = yes; then
9908 OBJCFLAGS="-g -O2"
9909 else
9910 OBJCFLAGS="-g"
9912 else
9913 if test "$GOBJC" = yes; then
9914 OBJCFLAGS="-O2"
9915 else
9916 OBJCFLAGS=
9919 ac_ext=m
9920 ac_cpp='$OBJCPP $CPPFLAGS'
9921 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9922 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9923 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 #include <Metal/Metal.h>
9930 main (void)
9932 id<MTLDevice> device; device.registryID;
9934 return 0;
9936 _ACEOF
9937 if ac_fn_objc_try_compile "$LINENO"
9938 then :
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9940 printf "%s\n" "yes" >&6; }
9942 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9944 else $as_nop
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 printf "%s\n" "no" >&6; }
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9949 ac_ext=c
9950 ac_cpp='$CPP $CPPFLAGS'
9951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9956 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9957 WINELOADER_DEPENDS="wine_info.plist"
9961 linux-android*)
9963 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9965 DLLFLAGS="$DLLFLAGS -fPIC"
9966 LDDLLFLAGS="-fPIC"
9967 LDEXECFLAGS="-Wl,-pie"
9968 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9970 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9971 if test ${ac_cv_cflags__Wl__z_defs+y}
9972 then :
9973 printf %s "(cached) " >&6
9974 else $as_nop
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 CFLAGS="$CFLAGS -Wl,-z,defs"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"
9982 then :
9983 ac_cv_cflags__Wl__z_defs=yes
9984 else $as_nop
9985 ac_cv_cflags__Wl__z_defs=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9992 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9993 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9994 then :
9995 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9998 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9999 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10000 then :
10001 printf %s "(cached) " >&6
10002 else $as_nop
10003 ac_wine_try_cflags_saved=$CFLAGS
10004 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 int main(int argc, char **argv) { return 0; }
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"
10010 then :
10011 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10012 else $as_nop
10013 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10016 conftest$ac_exeext conftest.$ac_ext
10017 CFLAGS=$ac_wine_try_cflags_saved
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10020 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10021 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10022 then :
10023 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10025 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10028 printf %s "checking for -lEGL... " >&6; }
10029 if test ${ac_cv_lib_soname_EGL+y}
10030 then :
10031 printf %s "(cached) " >&6
10032 else $as_nop
10033 ac_check_soname_save_LIBS=$LIBS
10034 LIBS="-lEGL $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 char eglGetProcAddress ();
10043 main (void)
10045 return eglGetProcAddress ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"
10051 then :
10052 case "$LIBEXT" in
10053 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10054 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10055 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10056 if ${ac_cv_lib_soname_EGL:+false} :
10057 then :
10058 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10059 fi ;;
10060 esac
10061 else $as_nop
10062 ac_cv_lib_soname_EGL=
10064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_soname_save_LIBS
10068 if ${ac_cv_lib_soname_EGL:+false} :
10069 then :
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10071 printf "%s\n" "not found" >&6; }
10073 else $as_nop
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10075 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10077 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10082 printf %s "checking for -lGLESv2... " >&6; }
10083 if test ${ac_cv_lib_soname_GLESv2+y}
10084 then :
10085 printf %s "(cached) " >&6
10086 else $as_nop
10087 ac_check_soname_save_LIBS=$LIBS
10088 LIBS="-lGLESv2 $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 char glFlush ();
10097 main (void)
10099 return glFlush ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"
10105 then :
10106 case "$LIBEXT" in
10107 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10108 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10109 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10110 if ${ac_cv_lib_soname_GLESv2:+false} :
10111 then :
10112 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10113 fi ;;
10114 esac
10115 else $as_nop
10116 ac_cv_lib_soname_GLESv2=
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_GLESv2:+false} :
10123 then :
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10125 printf "%s\n" "not found" >&6; }
10127 else $as_nop
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10129 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10131 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10136 if test "x$exec_prefix" = xNONE
10137 then
10138 case $host_cpu in
10139 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10140 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10141 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10142 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10143 esac
10149 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10151 test "$ac_cv_sys_file_offset_bits" = 64 &&
10152 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10154 case $host_cpu in
10155 *i[3456789]86*)
10156 DLLFLAGS="$DLLFLAGS -fno-PIC"
10157 LDDLLFLAGS="-fno-PIC"
10158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10159 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10160 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10161 then :
10162 printf %s "(cached) " >&6
10163 else $as_nop
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"
10171 then :
10172 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10173 else $as_nop
10174 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10181 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10182 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10183 then :
10184 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10188 DLLFLAGS="$DLLFLAGS -fPIC"
10189 LDDLLFLAGS="-fPIC" ;;
10190 esac
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10193 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10194 if test ${ac_cv_cflags__Wl__z_defs+y}
10195 then :
10196 printf %s "(cached) " >&6
10197 else $as_nop
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 CFLAGS="$CFLAGS -Wl,-z,defs"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"
10205 then :
10206 ac_cv_cflags__Wl__z_defs=yes
10207 else $as_nop
10208 ac_cv_cflags__Wl__z_defs=no
10210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10215 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10216 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10217 then :
10218 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10221 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10222 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10223 then :
10224 printf %s "(cached) " >&6
10225 else $as_nop
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int main(int argc, char **argv) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"
10233 then :
10234 ac_cv_cflags__Wl___export_dynamic=yes
10235 else $as_nop
10236 ac_cv_cflags__Wl___export_dynamic=no
10238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10243 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10244 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10245 then :
10246 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10248 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10250 case $host_os in
10251 linux*)
10252 as_fn_append WINELOADER_LDFLAGS " -pie"
10253 case $HOST_ARCH in
10254 i386|arm)
10255 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10258 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10259 if test ${ac_cv_cflags__static_pie+y}
10260 then :
10261 printf %s "(cached) " >&6
10262 else $as_nop
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 CFLAGS="$CFLAGS -static-pie"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int main(int argc, char **argv) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"
10270 then :
10271 ac_cv_cflags__static_pie=yes
10272 else $as_nop
10273 ac_cv_cflags__static_pie=no
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 CFLAGS=$ac_wine_try_cflags_saved
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10280 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10281 if test "x$ac_cv_cflags__static_pie" = xyes
10282 then :
10283 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10284 else $as_nop
10285 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10288 esac
10291 case $HOST_ARCH in
10292 i386|arm)
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10294 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10295 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10296 then :
10297 printf %s "(cached) " >&6
10298 else $as_nop
10299 ac_wine_try_cflags_saved=$CFLAGS
10300 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10303 int main(int argc, char **argv) { return 0; }
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"
10306 then :
10307 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10308 else $as_nop
10309 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10316 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10317 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10318 then :
10319 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10320 else $as_nop
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10322 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10323 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10324 then :
10325 printf %s "(cached) " >&6
10326 else $as_nop
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int main(int argc, char **argv) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"
10334 then :
10335 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10336 else $as_nop
10337 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10344 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10345 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10346 then :
10347 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10352 as_fn_append WINELOADER_LDFLAGS " -pie"
10354 esac
10356 esac
10358 esac
10360 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10361 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10362 enable_winemac_drv=${enable_winemac_drv:-no}
10364 PE_ARCHS=""
10366 cross_archs=
10367 if test ${enable_archs+y}
10368 then :
10369 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10370 ac_save_IFS=$IFS
10371 IFS=' ,'
10372 set x $enable_archs
10373 IFS=$ac_save_IFS
10374 shift
10375 for arch
10377 case $arch in
10378 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10379 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10380 esac
10381 done
10382 else $as_nop
10383 if test "x$with_mingw" != xno
10384 then
10385 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10386 case "x$with_mingw" in
10387 x|xyes) ;;
10388 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10389 esac
10393 for wine_arch in $cross_archs
10395 if eval \${${wine_arch}_CC:+false} :
10396 then :
10397 case $wine_arch in
10398 aarch64)
10399 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10401 # Extract the first word of "$ac_prog", so it can be a program name with args.
10402 set dummy $ac_prog; ac_word=$2
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 printf %s "checking for $ac_word... " >&6; }
10405 if test ${ac_cv_prog_aarch64_CC+y}
10406 then :
10407 printf %s "(cached) " >&6
10408 else $as_nop
10409 if test -n "$aarch64_CC"; then
10410 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10411 else
10412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10413 for as_dir in $PATH
10415 IFS=$as_save_IFS
10416 case $as_dir in #(((
10417 '') as_dir=./ ;;
10418 */) ;;
10419 *) as_dir=$as_dir/ ;;
10420 esac
10421 for ac_exec_ext in '' $ac_executable_extensions; do
10422 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10423 ac_cv_prog_aarch64_CC="$ac_prog"
10424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10425 break 2
10427 done
10428 done
10429 IFS=$as_save_IFS
10433 aarch64_CC=$ac_cv_prog_aarch64_CC
10434 if test -n "$aarch64_CC"; then
10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10436 printf "%s\n" "$aarch64_CC" >&6; }
10437 else
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 printf "%s\n" "no" >&6; }
10443 test -n "$aarch64_CC" && break
10444 done
10445 test -n "$aarch64_CC" || aarch64_CC="false"
10448 arm)
10449 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10451 # Extract the first word of "$ac_prog", so it can be a program name with args.
10452 set dummy $ac_prog; ac_word=$2
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10454 printf %s "checking for $ac_word... " >&6; }
10455 if test ${ac_cv_prog_arm_CC+y}
10456 then :
10457 printf %s "(cached) " >&6
10458 else $as_nop
10459 if test -n "$arm_CC"; then
10460 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10461 else
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10465 IFS=$as_save_IFS
10466 case $as_dir in #(((
10467 '') as_dir=./ ;;
10468 */) ;;
10469 *) as_dir=$as_dir/ ;;
10470 esac
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_arm_CC="$ac_prog"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10475 break 2
10477 done
10478 done
10479 IFS=$as_save_IFS
10483 arm_CC=$ac_cv_prog_arm_CC
10484 if test -n "$arm_CC"; then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10486 printf "%s\n" "$arm_CC" >&6; }
10487 else
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 printf "%s\n" "no" >&6; }
10493 test -n "$arm_CC" && break
10494 done
10495 test -n "$arm_CC" || arm_CC="false"
10498 i386)
10499 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10500 for ac_prog in $ac_prefix_list clang
10502 # Extract the first word of "$ac_prog", so it can be a program name with args.
10503 set dummy $ac_prog; ac_word=$2
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10505 printf %s "checking for $ac_word... " >&6; }
10506 if test ${ac_cv_prog_i386_CC+y}
10507 then :
10508 printf %s "(cached) " >&6
10509 else $as_nop
10510 if test -n "$i386_CC"; then
10511 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10512 else
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10516 IFS=$as_save_IFS
10517 case $as_dir in #(((
10518 '') as_dir=./ ;;
10519 */) ;;
10520 *) as_dir=$as_dir/ ;;
10521 esac
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10524 ac_cv_prog_i386_CC="$ac_prog"
10525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10526 break 2
10528 done
10529 done
10530 IFS=$as_save_IFS
10534 i386_CC=$ac_cv_prog_i386_CC
10535 if test -n "$i386_CC"; then
10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10537 printf "%s\n" "$i386_CC" >&6; }
10538 else
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10540 printf "%s\n" "no" >&6; }
10544 test -n "$i386_CC" && break
10545 done
10546 test -n "$i386_CC" || i386_CC="false"
10549 x86_64)
10550 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10551 for ac_prog in $ac_prefix_list clang
10553 # Extract the first word of "$ac_prog", so it can be a program name with args.
10554 set dummy $ac_prog; ac_word=$2
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10556 printf %s "checking for $ac_word... " >&6; }
10557 if test ${ac_cv_prog_x86_64_CC+y}
10558 then :
10559 printf %s "(cached) " >&6
10560 else $as_nop
10561 if test -n "$x86_64_CC"; then
10562 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10563 else
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10567 IFS=$as_save_IFS
10568 case $as_dir in #(((
10569 '') as_dir=./ ;;
10570 */) ;;
10571 *) as_dir=$as_dir/ ;;
10572 esac
10573 for ac_exec_ext in '' $ac_executable_extensions; do
10574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10575 ac_cv_prog_x86_64_CC="$ac_prog"
10576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10577 break 2
10579 done
10580 done
10581 IFS=$as_save_IFS
10585 x86_64_CC=$ac_cv_prog_x86_64_CC
10586 if test -n "$x86_64_CC"; then
10587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10588 printf "%s\n" "$x86_64_CC" >&6; }
10589 else
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10591 printf "%s\n" "no" >&6; }
10595 test -n "$x86_64_CC" && break
10596 done
10597 test -n "$x86_64_CC" || x86_64_CC="false"
10600 esac
10603 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10604 then :
10605 continue
10608 saved_CC=$CC
10609 saved_CFLAGS=$CFLAGS
10610 saved_LDFLAGS=$LDFLAGS
10612 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10613 LDFLAGS=$CROSSLDFLAGS
10614 eval CC=\$${wine_arch}_CC
10615 eval ${wine_arch}_CFLAGS=\$CFLAGS
10616 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10617 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10619 target=""
10620 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10623 printf %s "checking whether $CC works... " >&6; }
10624 if eval test \${$as_wine_cv_crosscc+y}
10625 then :
10626 printf %s "(cached) " >&6
10627 else $as_nop
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10632 main (void)
10636 return 0;
10638 _ACEOF
10639 if ac_fn_c_try_compile "$LINENO"
10640 then :
10641 eval "$as_wine_cv_crosscc=yes"
10642 else $as_nop
10643 eval "$as_wine_cv_crosscc=no"
10645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10647 eval ac_res=\$$as_wine_cv_crosscc
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10649 printf "%s\n" "$ac_res" >&6; }
10650 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10651 then :
10652 set x $CC
10653 shift
10654 while test $# -ge 1
10656 case "$1" in
10657 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10658 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10659 esac
10660 shift
10661 done
10663 llvm_target=$target
10664 if test -z "$llvm_target"
10665 then
10666 case $wine_arch in
10667 i386) llvm_target=i686-windows ;;
10668 arm) llvm_target=armv7-windows ;;
10669 *) llvm_target=$wine_arch-windows ;;
10670 esac
10672 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10673 case $llvm_target in
10674 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10675 esac
10676 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10678 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10679 if eval test \${$as_ac_var+y}
10680 then :
10681 printf %s "(cached) " >&6
10682 else $as_nop
10683 ac_wine_try_cflags_saved=$CFLAGS
10684 ac_wine_try_cflags_saved_exeext=$ac_exeext
10685 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10686 ac_exeext=".exe"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int __cdecl mainCRTStartup(void) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"
10692 then :
10693 eval "$as_ac_var=yes"
10694 else $as_nop
10695 eval "$as_ac_var=no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10700 ac_exeext=$ac_wine_try_cflags_saved_exeext
10702 eval ac_res=\$$as_ac_var
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10704 printf "%s\n" "$ac_res" >&6; }
10705 if eval test \"x\$"$as_ac_var"\" = x"yes"
10706 then :
10707 target=$llvm_target
10708 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10709 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10710 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10711 fi }
10712 eval "${wine_arch}_TARGET=\$target"
10716 if test -z "$target"
10717 then
10718 CC=$saved_CC
10719 CFLAGS=$saved_CFLAGS
10720 LDFLAGS=$saved_LDFLAGS
10721 continue
10723 as_fn_append PE_ARCHS " $wine_arch"
10725 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10728 printf %s "checking for $CC option to enable C99 features... " >&6; }
10729 if eval test \${$as_wine_cv_crosscc_c99+y}
10730 then :
10731 printf %s "(cached) " >&6
10732 else $as_nop
10733 eval "$as_wine_cv_crosscc_c99=no"
10734 for arg in '' '-std=gnu99'
10736 test -z "$arg" || CC="$CC $arg"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 $ac_c_conftest_c99_program
10740 _ACEOF
10741 if ac_fn_c_try_compile "$LINENO"
10742 then :
10743 eval "$as_wine_cv_crosscc_c99=\$arg"
10744 else $as_nop
10745 eval "$as_wine_cv_crosscc_c99=no"
10747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10748 eval CC=\$${wine_arch}_CC
10749 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10750 then :
10752 else $as_nop
10753 break
10755 done
10758 eval res=\$$as_wine_cv_crosscc_c99
10759 case "x$res" in
10760 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10761 printf "%s\n" "none needed" >&6; } ;;
10762 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10763 printf "%s\n" "unsupported" >&6; } ;;
10764 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10765 printf "%s\n" "$res" >&6; }
10766 as_fn_append ${wine_arch}_CC " $res" ;;
10767 esac
10770 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10772 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10773 if eval test \${$as_ac_var+y}
10774 then :
10775 printf %s "(cached) " >&6
10776 else $as_nop
10777 ac_wine_try_cflags_saved=$CFLAGS
10778 ac_wine_try_cflags_saved_exeext=$ac_exeext
10779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10780 ac_exeext=".exe"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10783 int __cdecl mainCRTStartup(void) { return 0; }
10784 _ACEOF
10785 if ac_fn_c_try_link "$LINENO"
10786 then :
10787 eval "$as_ac_var=yes"
10788 else $as_nop
10789 eval "$as_ac_var=no"
10791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10792 conftest$ac_exeext conftest.$ac_ext
10793 CFLAGS=$ac_wine_try_cflags_saved
10794 ac_exeext=$ac_wine_try_cflags_saved_exeext
10796 eval ac_res=\$$as_ac_var
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10798 printf "%s\n" "$ac_res" >&6; }
10799 if eval test \"x\$"$as_ac_var"\" = x"yes"
10800 then :
10801 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10802 fi }
10803 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10805 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10806 if eval test \${$as_ac_var+y}
10807 then :
10808 printf %s "(cached) " >&6
10809 else $as_nop
10810 ac_wine_try_cflags_saved=$CFLAGS
10811 ac_wine_try_cflags_saved_exeext=$ac_exeext
10812 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10813 ac_exeext=".exe"
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 int __cdecl mainCRTStartup(void) { return 0; }
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"
10819 then :
10820 eval "$as_ac_var=yes"
10821 else $as_nop
10822 eval "$as_ac_var=no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10825 conftest$ac_exeext conftest.$ac_ext
10826 CFLAGS=$ac_wine_try_cflags_saved
10827 ac_exeext=$ac_wine_try_cflags_saved_exeext
10829 eval ac_res=\$$as_ac_var
10830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10831 printf "%s\n" "$ac_res" >&6; }
10832 if eval test \"x\$"$as_ac_var"\" = x"yes"
10833 then :
10834 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10835 fi }
10836 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10838 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10839 if eval test \${$as_ac_var+y}
10840 then :
10841 printf %s "(cached) " >&6
10842 else $as_nop
10843 ac_wine_try_cflags_saved=$CFLAGS
10844 ac_wine_try_cflags_saved_exeext=$ac_exeext
10845 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10846 ac_exeext=".exe"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10849 int __cdecl mainCRTStartup(void) { return 0; }
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"
10852 then :
10853 eval "$as_ac_var=yes"
10854 else $as_nop
10855 eval "$as_ac_var=no"
10857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10858 conftest$ac_exeext conftest.$ac_ext
10859 CFLAGS=$ac_wine_try_cflags_saved
10860 ac_exeext=$ac_wine_try_cflags_saved_exeext
10862 eval ac_res=\$$as_ac_var
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10864 printf "%s\n" "$ac_res" >&6; }
10865 if eval test \"x\$"$as_ac_var"\" = x"yes"
10866 then :
10867 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10868 fi }
10869 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10871 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10872 if eval test \${$as_ac_var+y}
10873 then :
10874 printf %s "(cached) " >&6
10875 else $as_nop
10876 ac_wine_try_cflags_saved=$CFLAGS
10877 ac_wine_try_cflags_saved_exeext=$ac_exeext
10878 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10879 ac_exeext=".exe"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10882 int __cdecl mainCRTStartup(void) { return 0; }
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"
10885 then :
10886 eval "$as_ac_var=yes"
10887 else $as_nop
10888 eval "$as_ac_var=no"
10890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10891 conftest$ac_exeext conftest.$ac_ext
10892 CFLAGS=$ac_wine_try_cflags_saved
10893 ac_exeext=$ac_wine_try_cflags_saved_exeext
10895 eval ac_res=\$$as_ac_var
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10897 printf "%s\n" "$ac_res" >&6; }
10898 if eval test \"x\$"$as_ac_var"\" = x"yes"
10899 then :
10900 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10901 fi }
10902 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10904 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10905 if eval test \${$as_ac_var+y}
10906 then :
10907 printf %s "(cached) " >&6
10908 else $as_nop
10909 ac_wine_try_cflags_saved=$CFLAGS
10910 ac_wine_try_cflags_saved_exeext=$ac_exeext
10911 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10912 ac_exeext=".exe"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 int __cdecl mainCRTStartup(void) { return 0; }
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"
10918 then :
10919 eval "$as_ac_var=yes"
10920 else $as_nop
10921 eval "$as_ac_var=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10924 conftest$ac_exeext conftest.$ac_ext
10925 CFLAGS=$ac_wine_try_cflags_saved
10926 ac_exeext=$ac_wine_try_cflags_saved_exeext
10928 eval ac_res=\$$as_ac_var
10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10930 printf "%s\n" "$ac_res" >&6; }
10931 if eval test \"x\$"$as_ac_var"\" = x"yes"
10932 then :
10933 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10934 fi }
10935 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10937 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10938 if eval test \${$as_ac_var+y}
10939 then :
10940 printf %s "(cached) " >&6
10941 else $as_nop
10942 ac_wine_try_cflags_saved=$CFLAGS
10943 ac_wine_try_cflags_saved_exeext=$ac_exeext
10944 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10945 ac_exeext=".exe"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 int __cdecl mainCRTStartup(void) { return 0; }
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"
10951 then :
10952 eval "$as_ac_var=yes"
10953 else $as_nop
10954 eval "$as_ac_var=no"
10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10957 conftest$ac_exeext conftest.$ac_ext
10958 CFLAGS=$ac_wine_try_cflags_saved
10959 ac_exeext=$ac_wine_try_cflags_saved_exeext
10961 eval ac_res=\$$as_ac_var
10962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10963 printf "%s\n" "$ac_res" >&6; }
10964 if eval test \"x\$"$as_ac_var"\" = x"yes"
10965 then :
10966 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10967 fi }
10968 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10970 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10971 if eval test \${$as_ac_var+y}
10972 then :
10973 printf %s "(cached) " >&6
10974 else $as_nop
10975 ac_wine_try_cflags_saved=$CFLAGS
10976 ac_wine_try_cflags_saved_exeext=$ac_exeext
10977 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10978 ac_exeext=".exe"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 int __cdecl mainCRTStartup(void) { return 0; }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"
10984 then :
10985 eval "$as_ac_var=yes"
10986 else $as_nop
10987 eval "$as_ac_var=no"
10989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10990 conftest$ac_exeext conftest.$ac_ext
10991 CFLAGS=$ac_wine_try_cflags_saved
10992 ac_exeext=$ac_wine_try_cflags_saved_exeext
10994 eval ac_res=\$$as_ac_var
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10996 printf "%s\n" "$ac_res" >&6; }
10997 if eval test \"x\$"$as_ac_var"\" = x"yes"
10998 then :
10999 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11000 fi }
11001 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11003 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11004 if eval test \${$as_ac_var+y}
11005 then :
11006 printf %s "(cached) " >&6
11007 else $as_nop
11008 ac_wine_try_cflags_saved=$CFLAGS
11009 ac_wine_try_cflags_saved_exeext=$ac_exeext
11010 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11011 ac_exeext=".exe"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11014 int __cdecl mainCRTStartup(void) { return 0; }
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"
11017 then :
11018 eval "$as_ac_var=yes"
11019 else $as_nop
11020 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11023 conftest$ac_exeext conftest.$ac_ext
11024 CFLAGS=$ac_wine_try_cflags_saved
11025 ac_exeext=$ac_wine_try_cflags_saved_exeext
11027 eval ac_res=\$$as_ac_var
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11029 printf "%s\n" "$ac_res" >&6; }
11030 if eval test \"x\$"$as_ac_var"\" = x"yes"
11031 then :
11032 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11033 fi }
11034 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11036 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11037 if eval test \${$as_ac_var+y}
11038 then :
11039 printf %s "(cached) " >&6
11040 else $as_nop
11041 ac_wine_try_cflags_saved=$CFLAGS
11042 ac_wine_try_cflags_saved_exeext=$ac_exeext
11043 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11044 ac_exeext=".exe"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int __cdecl mainCRTStartup(void) { return 0; }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"
11050 then :
11051 eval "$as_ac_var=yes"
11052 else $as_nop
11053 eval "$as_ac_var=no"
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11058 ac_exeext=$ac_wine_try_cflags_saved_exeext
11060 eval ac_res=\$$as_ac_var
11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11062 printf "%s\n" "$ac_res" >&6; }
11063 if eval test \"x\$"$as_ac_var"\" = x"yes"
11064 then :
11065 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11066 fi }
11067 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11069 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11070 if eval test \${$as_ac_var+y}
11071 then :
11072 printf %s "(cached) " >&6
11073 else $as_nop
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 ac_wine_try_cflags_saved_exeext=$ac_exeext
11076 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11077 ac_exeext=".exe"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 int __cdecl mainCRTStartup(void) { return 0; }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"
11083 then :
11084 eval "$as_ac_var=yes"
11085 else $as_nop
11086 eval "$as_ac_var=no"
11088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11089 conftest$ac_exeext conftest.$ac_ext
11090 CFLAGS=$ac_wine_try_cflags_saved
11091 ac_exeext=$ac_wine_try_cflags_saved_exeext
11093 eval ac_res=\$$as_ac_var
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11095 printf "%s\n" "$ac_res" >&6; }
11096 if eval test \"x\$"$as_ac_var"\" = x"yes"
11097 then :
11098 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11099 fi }
11100 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11102 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11103 if eval test \${$as_ac_var+y}
11104 then :
11105 printf %s "(cached) " >&6
11106 else $as_nop
11107 ac_wine_try_cflags_saved=$CFLAGS
11108 ac_wine_try_cflags_saved_exeext=$ac_exeext
11109 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11110 ac_exeext=".exe"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11113 int __cdecl mainCRTStartup(void) { return 0; }
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"
11116 then :
11117 eval "$as_ac_var=yes"
11118 else $as_nop
11119 eval "$as_ac_var=no"
11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11122 conftest$ac_exeext conftest.$ac_ext
11123 CFLAGS=$ac_wine_try_cflags_saved
11124 ac_exeext=$ac_wine_try_cflags_saved_exeext
11126 eval ac_res=\$$as_ac_var
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11128 printf "%s\n" "$ac_res" >&6; }
11129 if eval test \"x\$"$as_ac_var"\" = x"yes"
11130 then :
11131 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11132 fi }
11133 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11135 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11136 if eval test \${$as_ac_var+y}
11137 then :
11138 printf %s "(cached) " >&6
11139 else $as_nop
11140 ac_wine_try_cflags_saved=$CFLAGS
11141 ac_wine_try_cflags_saved_exeext=$ac_exeext
11142 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11143 ac_exeext=".exe"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 int __cdecl mainCRTStartup(void) { return 0; }
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"
11149 then :
11150 eval "$as_ac_var=yes"
11151 else $as_nop
11152 eval "$as_ac_var=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11155 conftest$ac_exeext conftest.$ac_ext
11156 CFLAGS=$ac_wine_try_cflags_saved
11157 ac_exeext=$ac_wine_try_cflags_saved_exeext
11159 eval ac_res=\$$as_ac_var
11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11161 printf "%s\n" "$ac_res" >&6; }
11162 if eval test \"x\$"$as_ac_var"\" = x"yes"
11163 then :
11164 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11165 fi }
11166 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11168 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11169 if eval test \${$as_ac_var+y}
11170 then :
11171 printf %s "(cached) " >&6
11172 else $as_nop
11173 ac_wine_try_cflags_saved=$CFLAGS
11174 ac_wine_try_cflags_saved_exeext=$ac_exeext
11175 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11176 ac_exeext=".exe"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11179 int __cdecl mainCRTStartup(void) { return 0; }
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"
11182 then :
11183 eval "$as_ac_var=yes"
11184 else $as_nop
11185 eval "$as_ac_var=no"
11187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11188 conftest$ac_exeext conftest.$ac_ext
11189 CFLAGS=$ac_wine_try_cflags_saved
11190 ac_exeext=$ac_wine_try_cflags_saved_exeext
11192 eval ac_res=\$$as_ac_var
11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11194 printf "%s\n" "$ac_res" >&6; }
11195 if eval test \"x\$"$as_ac_var"\" = x"yes"
11196 then :
11197 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11198 fi }
11199 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11201 printf %s "checking whether $CC supports -Wvla... " >&6; }
11202 if eval test \${$as_ac_var+y}
11203 then :
11204 printf %s "(cached) " >&6
11205 else $as_nop
11206 ac_wine_try_cflags_saved=$CFLAGS
11207 ac_wine_try_cflags_saved_exeext=$ac_exeext
11208 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11209 ac_exeext=".exe"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int __cdecl mainCRTStartup(void) { return 0; }
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"
11215 then :
11216 eval "$as_ac_var=yes"
11217 else $as_nop
11218 eval "$as_ac_var=no"
11220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11221 conftest$ac_exeext conftest.$ac_ext
11222 CFLAGS=$ac_wine_try_cflags_saved
11223 ac_exeext=$ac_wine_try_cflags_saved_exeext
11225 eval ac_res=\$$as_ac_var
11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11227 printf "%s\n" "$ac_res" >&6; }
11228 if eval test \"x\$"$as_ac_var"\" = x"yes"
11229 then :
11230 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11231 fi }
11232 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11234 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11235 if eval test \${$as_ac_var+y}
11236 then :
11237 printf %s "(cached) " >&6
11238 else $as_nop
11239 ac_wine_try_cflags_saved=$CFLAGS
11240 ac_wine_try_cflags_saved_exeext=$ac_exeext
11241 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11242 ac_exeext=".exe"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 int __cdecl mainCRTStartup(void) { return 0; }
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"
11248 then :
11249 eval "$as_ac_var=yes"
11250 else $as_nop
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 then :
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11264 fi }
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11267 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11268 if eval test \${$as_ac_var+y}
11269 then :
11270 printf %s "(cached) " >&6
11271 else $as_nop
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11275 ac_exeext=".exe"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 int __cdecl mainCRTStartup(void) { return 0; }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"
11281 then :
11282 eval "$as_ac_var=yes"
11283 else $as_nop
11284 eval "$as_ac_var=no"
11286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11287 conftest$ac_exeext conftest.$ac_ext
11288 CFLAGS=$ac_wine_try_cflags_saved
11289 ac_exeext=$ac_wine_try_cflags_saved_exeext
11291 eval ac_res=\$$as_ac_var
11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11293 printf "%s\n" "$ac_res" >&6; }
11294 if eval test \"x\$"$as_ac_var"\" = x"yes"
11295 then :
11296 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11297 fi }
11298 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11300 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11301 if eval test \${$as_ac_var+y}
11302 then :
11303 printf %s "(cached) " >&6
11304 else $as_nop
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_exeext=$ac_exeext
11307 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11308 ac_exeext=".exe"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 int __cdecl mainCRTStartup(void) { return 0; }
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"
11314 then :
11315 eval "$as_ac_var=yes"
11316 else $as_nop
11317 eval "$as_ac_var=no"
11319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11320 conftest$ac_exeext conftest.$ac_ext
11321 CFLAGS=$ac_wine_try_cflags_saved
11322 ac_exeext=$ac_wine_try_cflags_saved_exeext
11324 eval ac_res=\$$as_ac_var
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11326 printf "%s\n" "$ac_res" >&6; }
11327 if eval test \"x\$"$as_ac_var"\" = x"yes"
11328 then :
11329 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11330 fi }
11331 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11333 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11334 if eval test \${$as_ac_var+y}
11335 then :
11336 printf %s "(cached) " >&6
11337 else $as_nop
11338 ac_wine_try_cflags_saved=$CFLAGS
11339 ac_wine_try_cflags_saved_exeext=$ac_exeext
11340 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11341 ac_exeext=".exe"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11344 int __cdecl mainCRTStartup(void) { return 0; }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"
11347 then :
11348 eval "$as_ac_var=yes"
11349 else $as_nop
11350 eval "$as_ac_var=no"
11352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11353 conftest$ac_exeext conftest.$ac_ext
11354 CFLAGS=$ac_wine_try_cflags_saved
11355 ac_exeext=$ac_wine_try_cflags_saved_exeext
11357 eval ac_res=\$$as_ac_var
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11359 printf "%s\n" "$ac_res" >&6; }
11360 if eval test \"x\$"$as_ac_var"\" = x"yes"
11361 then :
11362 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11363 fi }
11365 case $wine_arch in
11366 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11368 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11369 if eval test \${$as_ac_var+y}
11370 then :
11371 printf %s "(cached) " >&6
11372 else $as_nop
11373 ac_wine_try_cflags_saved=$CFLAGS
11374 ac_wine_try_cflags_saved_exeext=$ac_exeext
11375 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11376 ac_exeext=".exe"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int __cdecl mainCRTStartup(void) { return 0; }
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"
11382 then :
11383 eval "$as_ac_var=yes"
11384 else $as_nop
11385 eval "$as_ac_var=no"
11387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11388 conftest$ac_exeext conftest.$ac_ext
11389 CFLAGS=$ac_wine_try_cflags_saved
11390 ac_exeext=$ac_wine_try_cflags_saved_exeext
11392 eval ac_res=\$$as_ac_var
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11394 printf "%s\n" "$ac_res" >&6; }
11395 if eval test \"x\$"$as_ac_var"\" = x"yes"
11396 then :
11397 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11398 fi }
11399 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11401 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11402 if eval test \${$as_ac_var+y}
11403 then :
11404 printf %s "(cached) " >&6
11405 else $as_nop
11406 ac_wine_try_cflags_saved=$CFLAGS
11407 ac_wine_try_cflags_saved_exeext=$ac_exeext
11408 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11409 ac_exeext=".exe"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 int __cdecl mainCRTStartup(void) { return 0; }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"
11415 then :
11416 eval "$as_ac_var=yes"
11417 else $as_nop
11418 eval "$as_ac_var=no"
11420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11421 conftest$ac_exeext conftest.$ac_ext
11422 CFLAGS=$ac_wine_try_cflags_saved
11423 ac_exeext=$ac_wine_try_cflags_saved_exeext
11425 eval ac_res=\$$as_ac_var
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11427 printf "%s\n" "$ac_res" >&6; }
11428 if eval test \"x\$"$as_ac_var"\" = x"yes"
11429 then :
11430 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11431 fi } ;;
11432 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11434 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11435 if eval test \${$as_ac_var+y}
11436 then :
11437 printf %s "(cached) " >&6
11438 else $as_nop
11439 ac_wine_try_cflags_saved=$CFLAGS
11440 ac_wine_try_cflags_saved_exeext=$ac_exeext
11441 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11442 ac_exeext=".exe"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11445 int __cdecl mainCRTStartup(void) { return 0; }
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"
11448 then :
11449 eval "$as_ac_var=yes"
11450 else $as_nop
11451 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11454 conftest$ac_exeext conftest.$ac_ext
11455 CFLAGS=$ac_wine_try_cflags_saved
11456 ac_exeext=$ac_wine_try_cflags_saved_exeext
11458 eval ac_res=\$$as_ac_var
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11460 printf "%s\n" "$ac_res" >&6; }
11461 if eval test \"x\$"$as_ac_var"\" = x"yes"
11462 then :
11463 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11464 fi }
11465 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11467 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11468 if eval test \${$as_ac_var+y}
11469 then :
11470 printf %s "(cached) " >&6
11471 else $as_nop
11472 ac_wine_try_cflags_saved=$CFLAGS
11473 ac_wine_try_cflags_saved_exeext=$ac_exeext
11474 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11475 ac_exeext=".exe"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478 int __cdecl mainCRTStartup(void) { return 0; }
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"
11481 then :
11482 eval "$as_ac_var=yes"
11483 else $as_nop
11484 eval "$as_ac_var=no"
11486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11487 conftest$ac_exeext conftest.$ac_ext
11488 CFLAGS=$ac_wine_try_cflags_saved
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 eval ac_res=\$$as_ac_var
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11493 printf "%s\n" "$ac_res" >&6; }
11494 if eval test \"x\$"$as_ac_var"\" = x"yes"
11495 then :
11496 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11497 fi }
11498 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11500 printf %s "checking whether $CC supports -mcx16... " >&6; }
11501 if eval test \${$as_ac_var+y}
11502 then :
11503 printf %s "(cached) " >&6
11504 else $as_nop
11505 ac_wine_try_cflags_saved=$CFLAGS
11506 ac_wine_try_cflags_saved_exeext=$ac_exeext
11507 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"
11514 then :
11515 eval "$as_ac_var=yes"
11516 else $as_nop
11517 eval "$as_ac_var=no"
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 eval ac_res=\$$as_ac_var
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11526 printf "%s\n" "$ac_res" >&6; }
11527 if eval test \"x\$"$as_ac_var"\" = x"yes"
11528 then :
11529 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11530 fi }
11531 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11533 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11534 if eval test \${$as_ac_var+y}
11535 then :
11536 printf %s "(cached) " >&6
11537 else $as_nop
11538 ac_wine_try_cflags_saved=$CFLAGS
11539 ac_wine_try_cflags_saved_exeext=$ac_exeext
11540 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 eval "$as_ac_var=yes"
11549 else $as_nop
11550 eval "$as_ac_var=no"
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 ac_exeext=$ac_wine_try_cflags_saved_exeext
11557 eval ac_res=\$$as_ac_var
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11559 printf "%s\n" "$ac_res" >&6; }
11560 if eval test \"x\$"$as_ac_var"\" = x"yes"
11561 then :
11562 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11563 fi } ;;
11564 esac
11566 wine_crossdebug=$CROSSDEBUG
11567 if test -z "$wine_crossdebug"
11568 then
11569 for ac_flag in $CFLAGS; do
11570 case $ac_flag in
11571 -gdwarf*) wine_crossdebug=dwarf ;;
11572 -gcodeview) wine_crossdebug=pdb ;;
11573 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11574 esac
11575 done
11578 ac_debug_format_seen=""
11579 for ac_flag in $CFLAGS; do
11580 case $ac_flag in
11581 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11582 esac
11583 done
11584 if test "x$ac_debug_format_seen" = x
11585 then
11586 case $wine_crossdebug in
11587 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11589 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11590 if eval test \${$as_ac_var+y}
11591 then :
11592 printf %s "(cached) " >&6
11593 else $as_nop
11594 ac_wine_try_cflags_saved=$CFLAGS
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11597 ac_exeext=".exe"
11598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 int __cdecl mainCRTStartup(void) { return 0; }
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"
11603 then :
11604 eval "$as_ac_var=yes"
11605 else $as_nop
11606 eval "$as_ac_var=no"
11608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11609 conftest$ac_exeext conftest.$ac_ext
11610 CFLAGS=$ac_wine_try_cflags_saved
11611 ac_exeext=$ac_wine_try_cflags_saved_exeext
11613 eval ac_res=\$$as_ac_var
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11615 printf "%s\n" "$ac_res" >&6; }
11616 if eval test \"x\$"$as_ac_var"\" = x"yes"
11617 then :
11618 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11619 fi } ;;
11620 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11622 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11623 if eval test \${$as_ac_var+y}
11624 then :
11625 printf %s "(cached) " >&6
11626 else $as_nop
11627 ac_wine_try_cflags_saved=$CFLAGS
11628 ac_wine_try_cflags_saved_exeext=$ac_exeext
11629 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11630 ac_exeext=".exe"
11631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11633 int __cdecl mainCRTStartup(void) { return 0; }
11634 _ACEOF
11635 if ac_fn_c_try_link "$LINENO"
11636 then :
11637 eval "$as_ac_var=yes"
11638 else $as_nop
11639 eval "$as_ac_var=no"
11641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11642 conftest$ac_exeext conftest.$ac_ext
11643 CFLAGS=$ac_wine_try_cflags_saved
11644 ac_exeext=$ac_wine_try_cflags_saved_exeext
11646 eval ac_res=\$$as_ac_var
11647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11648 printf "%s\n" "$ac_res" >&6; }
11649 if eval test \"x\$"$as_ac_var"\" = x"yes"
11650 then :
11651 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11652 fi } ;;
11653 esac
11655 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11657 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11659 printf %s "checking whether $CC supports -Werror... " >&6; }
11660 if eval test \${$as_ac_var+y}
11661 then :
11662 printf %s "(cached) " >&6
11663 else $as_nop
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11667 ac_exeext=".exe"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 int __cdecl mainCRTStartup(void) { return 0; }
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"
11673 then :
11674 eval "$as_ac_var=yes"
11675 else $as_nop
11676 eval "$as_ac_var=no"
11678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11679 conftest$ac_exeext conftest.$ac_ext
11680 CFLAGS=$ac_wine_try_cflags_saved
11681 ac_exeext=$ac_wine_try_cflags_saved_exeext
11683 eval ac_res=\$$as_ac_var
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11685 printf "%s\n" "$ac_res" >&6; }
11686 if eval test \"x\$"$as_ac_var"\" = x"yes"
11687 then :
11688 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11689 fi }
11690 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11692 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11693 if eval test \${$as_ac_var+y}
11694 then :
11695 printf %s "(cached) " >&6
11696 else $as_nop
11697 ac_wine_try_cflags_saved=$CFLAGS
11698 ac_wine_try_cflags_saved_exeext=$ac_exeext
11699 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11700 ac_exeext=".exe"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 int __cdecl mainCRTStartup(void) { return 0; }
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"
11706 then :
11707 eval "$as_ac_var=yes"
11708 else $as_nop
11709 eval "$as_ac_var=no"
11711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11712 conftest$ac_exeext conftest.$ac_ext
11713 CFLAGS=$ac_wine_try_cflags_saved
11714 ac_exeext=$ac_wine_try_cflags_saved_exeext
11716 eval ac_res=\$$as_ac_var
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11718 printf "%s\n" "$ac_res" >&6; }
11719 if eval test \"x\$"$as_ac_var"\" = x"yes"
11720 then :
11721 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11722 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11723 fi }
11725 CC=$saved_CC
11726 CFLAGS=$saved_CFLAGS
11727 LDFLAGS=$saved_LDFLAGS
11728 done
11730 if test $HOST_ARCH = aarch64
11731 then
11732 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11733 DLLEXT=""
11734 else
11735 if test "x$PE_ARCHS" = "x"
11736 then :
11737 case "x$with_mingw" in
11738 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11741 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11742 esac
11748 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11749 then
11750 case "$host_cpu" in
11751 i[3456789]86*)
11752 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11754 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11755 esac
11756 for ac_prog in $ac_prefix_list
11758 # Extract the first word of "$ac_prog", so it can be a program name with args.
11759 set dummy $ac_prog; ac_word=$2
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761 printf %s "checking for $ac_word... " >&6; }
11762 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11763 then :
11764 printf %s "(cached) " >&6
11765 else $as_nop
11766 if test -n "$MINGW_PKG_CONFIG"; then
11767 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11768 else
11769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11770 for as_dir in $PATH
11772 IFS=$as_save_IFS
11773 case $as_dir in #(((
11774 '') as_dir=./ ;;
11775 */) ;;
11776 *) as_dir=$as_dir/ ;;
11777 esac
11778 for ac_exec_ext in '' $ac_executable_extensions; do
11779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11780 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11782 break 2
11784 done
11785 done
11786 IFS=$as_save_IFS
11790 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11791 if test -n "$MINGW_PKG_CONFIG"; then
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11793 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11794 else
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 printf "%s\n" "no" >&6; }
11800 test -n "$MINGW_PKG_CONFIG" && break
11801 done
11802 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11804 if ${FAUDIO_PE_CFLAGS:+false} :
11805 then :
11806 if test ${MINGW_PKG_CONFIG+y}
11807 then :
11808 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11811 if ${FAUDIO_PE_LIBS:+false} :
11812 then :
11813 if test ${MINGW_PKG_CONFIG+y}
11814 then :
11815 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11818 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11819 ac_save_CPPFLAGS=$CPPFLAGS
11820 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11822 printf %s "checking for MinGW FAudio.h... " >&6; }
11823 if test ${ac_cv_mingw_header_FAudio_h+y}
11824 then :
11825 printf %s "(cached) " >&6
11826 else $as_nop
11827 ac_wine_check_headers_saved_cc=$CC
11828 ac_wine_check_headers_saved_exeext=$ac_exeext
11829 eval CC=\$${wine_arch}_CC
11830 ac_exeext=".exe"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 #include <FAudio.h>
11836 main (void)
11840 return 0;
11842 _ACEOF
11843 if ac_fn_c_try_compile "$LINENO"
11844 then :
11845 ac_cv_mingw_header_FAudio_h=yes
11846 else $as_nop
11847 ac_cv_mingw_header_FAudio_h=no
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11850 CC=$ac_wine_check_headers_saved_cc
11851 ac_exeext=$ac_wine_check_headers_saved_exeext
11853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11854 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11855 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11856 then :
11857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11858 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11859 if test ${ac_cv_mingw_lib_FAudio+y}
11860 then :
11861 printf %s "(cached) " >&6
11862 else $as_nop
11863 ac_wine_check_headers_saved_cc=$CC
11864 ac_wine_check_headers_saved_exeext=$ac_exeext
11865 ac_wine_check_headers_saved_libs=$LIBS
11866 eval CC=\$${wine_arch}_CC
11867 ac_exeext=".exe"
11868 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 char FAudio_CommitOperationSet ();
11877 main (void)
11879 return FAudio_CommitOperationSet ();
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"
11885 then :
11886 ac_cv_mingw_lib_FAudio=yes
11887 else $as_nop
11888 ac_cv_mingw_lib_FAudio=no
11890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11891 conftest$ac_exeext conftest.$ac_ext
11892 CC=$ac_wine_check_headers_saved_cc
11893 ac_exeext=$ac_wine_check_headers_saved_exeext
11894 LIBS=$ac_wine_check_headers_saved_libs
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11897 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11898 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11899 then :
11901 else $as_nop
11902 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11904 else $as_nop
11905 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11907 CPPFLAGS=$ac_save_CPPFLAGS
11909 if test "x$FAUDIO_PE_LIBS" = "x"
11910 then
11911 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11914 if ${JPEG_PE_CFLAGS:+false} :
11915 then :
11916 if test ${MINGW_PKG_CONFIG+y}
11917 then :
11918 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11921 if ${JPEG_PE_LIBS:+false} :
11922 then :
11923 if test ${MINGW_PKG_CONFIG+y}
11924 then :
11925 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11929 ac_save_CPPFLAGS=$CPPFLAGS
11930 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11932 printf %s "checking for MinGW jpeglib.h... " >&6; }
11933 if test ${ac_cv_mingw_header_jpeglib_h+y}
11934 then :
11935 printf %s "(cached) " >&6
11936 else $as_nop
11937 ac_wine_check_headers_saved_cc=$CC
11938 ac_wine_check_headers_saved_exeext=$ac_exeext
11939 eval CC=\$${wine_arch}_CC
11940 ac_exeext=".exe"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #include <stddef.h>
11944 #include <stdio.h>
11945 #include <jpeglib.h>
11947 main (void)
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_compile "$LINENO"
11955 then :
11956 ac_cv_mingw_header_jpeglib_h=yes
11957 else $as_nop
11958 ac_cv_mingw_header_jpeglib_h=no
11960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11961 CC=$ac_wine_check_headers_saved_cc
11962 ac_exeext=$ac_wine_check_headers_saved_exeext
11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11965 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11966 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11967 then :
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11969 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11970 if test ${ac_cv_mingw_lib_jpeg+y}
11971 then :
11972 printf %s "(cached) " >&6
11973 else $as_nop
11974 ac_wine_check_headers_saved_cc=$CC
11975 ac_wine_check_headers_saved_exeext=$ac_exeext
11976 ac_wine_check_headers_saved_libs=$LIBS
11977 eval CC=\$${wine_arch}_CC
11978 ac_exeext=".exe"
11979 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 char jpeg_start_decompress ();
11988 main (void)
11990 return jpeg_start_decompress ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"
11996 then :
11997 ac_cv_mingw_lib_jpeg=yes
11998 else $as_nop
11999 ac_cv_mingw_lib_jpeg=no
12001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12002 conftest$ac_exeext conftest.$ac_ext
12003 CC=$ac_wine_check_headers_saved_cc
12004 ac_exeext=$ac_wine_check_headers_saved_exeext
12005 LIBS=$ac_wine_check_headers_saved_libs
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12008 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12009 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12010 then :
12012 else $as_nop
12013 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12015 else $as_nop
12016 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12018 CPPFLAGS=$ac_save_CPPFLAGS
12020 if test "x$JPEG_PE_LIBS" = "x"
12021 then
12022 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12025 if ${LCMS2_PE_CFLAGS:+false} :
12026 then :
12027 if test ${MINGW_PKG_CONFIG+y}
12028 then :
12029 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12032 if ${LCMS2_PE_LIBS:+false} :
12033 then :
12034 if test ${MINGW_PKG_CONFIG+y}
12035 then :
12036 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12039 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12040 ac_save_CPPFLAGS=$CPPFLAGS
12041 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12043 printf %s "checking for MinGW lcms2.h... " >&6; }
12044 if test ${ac_cv_mingw_header_lcms2_h+y}
12045 then :
12046 printf %s "(cached) " >&6
12047 else $as_nop
12048 ac_wine_check_headers_saved_cc=$CC
12049 ac_wine_check_headers_saved_exeext=$ac_exeext
12050 eval CC=\$${wine_arch}_CC
12051 ac_exeext=".exe"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 #include <lcms2.h>
12057 main (void)
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_compile "$LINENO"
12065 then :
12066 ac_cv_mingw_header_lcms2_h=yes
12067 else $as_nop
12068 ac_cv_mingw_header_lcms2_h=no
12070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12071 CC=$ac_wine_check_headers_saved_cc
12072 ac_exeext=$ac_wine_check_headers_saved_exeext
12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12075 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12076 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12077 then :
12078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12079 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12080 if test ${ac_cv_mingw_lib_lcms2+y}
12081 then :
12082 printf %s "(cached) " >&6
12083 else $as_nop
12084 ac_wine_check_headers_saved_cc=$CC
12085 ac_wine_check_headers_saved_exeext=$ac_exeext
12086 ac_wine_check_headers_saved_libs=$LIBS
12087 eval CC=\$${wine_arch}_CC
12088 ac_exeext=".exe"
12089 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12093 /* Override any GCC internal prototype to avoid an error.
12094 Use char because int might match the return type of a GCC
12095 builtin and then its argument prototype would still apply. */
12096 char cmsOpenProfileFromFile ();
12098 main (void)
12100 return cmsOpenProfileFromFile ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"
12106 then :
12107 ac_cv_mingw_lib_lcms2=yes
12108 else $as_nop
12109 ac_cv_mingw_lib_lcms2=no
12111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12112 conftest$ac_exeext conftest.$ac_ext
12113 CC=$ac_wine_check_headers_saved_cc
12114 ac_exeext=$ac_wine_check_headers_saved_exeext
12115 LIBS=$ac_wine_check_headers_saved_libs
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12118 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12119 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12120 then :
12122 else $as_nop
12123 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12125 else $as_nop
12126 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12128 CPPFLAGS=$ac_save_CPPFLAGS
12130 if test "x$LCMS2_PE_LIBS" = "x"
12131 then
12132 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12135 if ${MPG123_PE_CFLAGS:+false} :
12136 then :
12137 if test ${MINGW_PKG_CONFIG+y}
12138 then :
12139 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12142 if ${MPG123_PE_LIBS:+false} :
12143 then :
12144 if test ${MINGW_PKG_CONFIG+y}
12145 then :
12146 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12149 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12150 ac_save_CPPFLAGS=$CPPFLAGS
12151 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12153 printf %s "checking for MinGW mpg123.h... " >&6; }
12154 if test ${ac_cv_mingw_header_mpg123_h+y}
12155 then :
12156 printf %s "(cached) " >&6
12157 else $as_nop
12158 ac_wine_check_headers_saved_cc=$CC
12159 ac_wine_check_headers_saved_exeext=$ac_exeext
12160 eval CC=\$${wine_arch}_CC
12161 ac_exeext=".exe"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 #include <mpg123.h>
12167 main (void)
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_compile "$LINENO"
12175 then :
12176 ac_cv_mingw_header_mpg123_h=yes
12177 else $as_nop
12178 ac_cv_mingw_header_mpg123_h=no
12180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12181 CC=$ac_wine_check_headers_saved_cc
12182 ac_exeext=$ac_wine_check_headers_saved_exeext
12184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12185 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12186 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12187 then :
12188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12189 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12190 if test ${ac_cv_mingw_lib_mpg123+y}
12191 then :
12192 printf %s "(cached) " >&6
12193 else $as_nop
12194 ac_wine_check_headers_saved_cc=$CC
12195 ac_wine_check_headers_saved_exeext=$ac_exeext
12196 ac_wine_check_headers_saved_libs=$LIBS
12197 eval CC=\$${wine_arch}_CC
12198 ac_exeext=".exe"
12199 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12206 char mpg123_feed ();
12208 main (void)
12210 return mpg123_feed ();
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"
12216 then :
12217 ac_cv_mingw_lib_mpg123=yes
12218 else $as_nop
12219 ac_cv_mingw_lib_mpg123=no
12221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12222 conftest$ac_exeext conftest.$ac_ext
12223 CC=$ac_wine_check_headers_saved_cc
12224 ac_exeext=$ac_wine_check_headers_saved_exeext
12225 LIBS=$ac_wine_check_headers_saved_libs
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12228 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12229 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12230 then :
12232 else $as_nop
12233 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12235 else $as_nop
12236 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12238 CPPFLAGS=$ac_save_CPPFLAGS
12240 if test "x$MPG123_PE_LIBS" = "x"
12241 then
12242 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12245 if ${PNG_PE_CFLAGS:+false} :
12246 then :
12247 if test ${MINGW_PKG_CONFIG+y}
12248 then :
12249 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12252 if ${PNG_PE_LIBS:+false} :
12253 then :
12254 if test ${MINGW_PKG_CONFIG+y}
12255 then :
12256 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12260 ac_save_CPPFLAGS=$CPPFLAGS
12261 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12263 printf %s "checking for MinGW png.h... " >&6; }
12264 if test ${ac_cv_mingw_header_png_h+y}
12265 then :
12266 printf %s "(cached) " >&6
12267 else $as_nop
12268 ac_wine_check_headers_saved_cc=$CC
12269 ac_wine_check_headers_saved_exeext=$ac_exeext
12270 eval CC=\$${wine_arch}_CC
12271 ac_exeext=".exe"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 #include <png.h>
12277 main (void)
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"
12285 then :
12286 ac_cv_mingw_header_png_h=yes
12287 else $as_nop
12288 ac_cv_mingw_header_png_h=no
12290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12291 CC=$ac_wine_check_headers_saved_cc
12292 ac_exeext=$ac_wine_check_headers_saved_exeext
12294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12295 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12296 if test "x$ac_cv_mingw_header_png_h" = xyes
12297 then :
12298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12299 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12300 if test ${ac_cv_mingw_lib_png+y}
12301 then :
12302 printf %s "(cached) " >&6
12303 else $as_nop
12304 ac_wine_check_headers_saved_cc=$CC
12305 ac_wine_check_headers_saved_exeext=$ac_exeext
12306 ac_wine_check_headers_saved_libs=$LIBS
12307 eval CC=\$${wine_arch}_CC
12308 ac_exeext=".exe"
12309 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 char png_create_read_struct ();
12318 main (void)
12320 return png_create_read_struct ();
12322 return 0;
12324 _ACEOF
12325 if ac_fn_c_try_link "$LINENO"
12326 then :
12327 ac_cv_mingw_lib_png=yes
12328 else $as_nop
12329 ac_cv_mingw_lib_png=no
12331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12332 conftest$ac_exeext conftest.$ac_ext
12333 CC=$ac_wine_check_headers_saved_cc
12334 ac_exeext=$ac_wine_check_headers_saved_exeext
12335 LIBS=$ac_wine_check_headers_saved_libs
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12338 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12339 if test "x$ac_cv_mingw_lib_png" = xyes
12340 then :
12342 else $as_nop
12343 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12345 else $as_nop
12346 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12348 CPPFLAGS=$ac_save_CPPFLAGS
12350 if test "x$PNG_PE_LIBS" = "x"
12351 then
12352 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12355 if ${TIFF_PE_CFLAGS:+false} :
12356 then :
12357 if test ${MINGW_PKG_CONFIG+y}
12358 then :
12359 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12362 if ${TIFF_PE_LIBS:+false} :
12363 then :
12364 if test ${MINGW_PKG_CONFIG+y}
12365 then :
12366 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12370 ac_save_CPPFLAGS=$CPPFLAGS
12371 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12373 printf %s "checking for MinGW tiffio.h... " >&6; }
12374 if test ${ac_cv_mingw_header_tiffio_h+y}
12375 then :
12376 printf %s "(cached) " >&6
12377 else $as_nop
12378 ac_wine_check_headers_saved_cc=$CC
12379 ac_wine_check_headers_saved_exeext=$ac_exeext
12380 eval CC=\$${wine_arch}_CC
12381 ac_exeext=".exe"
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 #include <tiffio.h>
12387 main (void)
12391 return 0;
12393 _ACEOF
12394 if ac_fn_c_try_compile "$LINENO"
12395 then :
12396 ac_cv_mingw_header_tiffio_h=yes
12397 else $as_nop
12398 ac_cv_mingw_header_tiffio_h=no
12400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12401 CC=$ac_wine_check_headers_saved_cc
12402 ac_exeext=$ac_wine_check_headers_saved_exeext
12404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12405 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12406 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12407 then :
12408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12409 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12410 if test ${ac_cv_mingw_lib_tiff+y}
12411 then :
12412 printf %s "(cached) " >&6
12413 else $as_nop
12414 ac_wine_check_headers_saved_cc=$CC
12415 ac_wine_check_headers_saved_exeext=$ac_exeext
12416 ac_wine_check_headers_saved_libs=$LIBS
12417 eval CC=\$${wine_arch}_CC
12418 ac_exeext=".exe"
12419 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 char TIFFClientOpen ();
12428 main (void)
12430 return TIFFClientOpen ();
12432 return 0;
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"
12436 then :
12437 ac_cv_mingw_lib_tiff=yes
12438 else $as_nop
12439 ac_cv_mingw_lib_tiff=no
12441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12442 conftest$ac_exeext conftest.$ac_ext
12443 CC=$ac_wine_check_headers_saved_cc
12444 ac_exeext=$ac_wine_check_headers_saved_exeext
12445 LIBS=$ac_wine_check_headers_saved_libs
12447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12448 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12449 if test "x$ac_cv_mingw_lib_tiff" = xyes
12450 then :
12452 else $as_nop
12453 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12455 else $as_nop
12456 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12458 CPPFLAGS=$ac_save_CPPFLAGS
12460 if test "x$TIFF_PE_LIBS" = "x"
12461 then
12462 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12465 if ${XML2_PE_CFLAGS:+false} :
12466 then :
12467 if test ${MINGW_PKG_CONFIG+y}
12468 then :
12469 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12472 if ${XML2_PE_LIBS:+false} :
12473 then :
12474 if test ${MINGW_PKG_CONFIG+y}
12475 then :
12476 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12479 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12480 ac_save_CPPFLAGS=$CPPFLAGS
12481 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12483 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12484 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12485 then :
12486 printf %s "(cached) " >&6
12487 else $as_nop
12488 ac_wine_check_headers_saved_cc=$CC
12489 ac_wine_check_headers_saved_exeext=$ac_exeext
12490 eval CC=\$${wine_arch}_CC
12491 ac_exeext=".exe"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 #include <libxml/parser.h>
12497 main (void)
12501 return 0;
12503 _ACEOF
12504 if ac_fn_c_try_compile "$LINENO"
12505 then :
12506 ac_cv_mingw_header_libxml_parser_h=yes
12507 else $as_nop
12508 ac_cv_mingw_header_libxml_parser_h=no
12510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12511 CC=$ac_wine_check_headers_saved_cc
12512 ac_exeext=$ac_wine_check_headers_saved_exeext
12514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12515 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12516 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12517 then :
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12521 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12522 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12523 then :
12524 printf %s "(cached) " >&6
12525 else $as_nop
12526 ac_wine_check_headers_saved_cc=$CC
12527 ac_wine_check_headers_saved_exeext=$ac_exeext
12528 eval CC=\$${wine_arch}_CC
12529 ac_exeext=".exe"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 #include <libxml/xmlsave.h>
12535 main (void)
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_compile "$LINENO"
12543 then :
12544 ac_cv_mingw_header_libxml_xmlsave_h=yes
12545 else $as_nop
12546 ac_cv_mingw_header_libxml_xmlsave_h=no
12548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12549 CC=$ac_wine_check_headers_saved_cc
12550 ac_exeext=$ac_wine_check_headers_saved_exeext
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12553 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12554 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12555 then :
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12559 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12560 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12561 then :
12562 printf %s "(cached) " >&6
12563 else $as_nop
12564 ac_wine_check_headers_saved_cc=$CC
12565 ac_wine_check_headers_saved_exeext=$ac_exeext
12566 eval CC=\$${wine_arch}_CC
12567 ac_exeext=".exe"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 #include <libxml/SAX2.h>
12573 main (void)
12577 return 0;
12579 _ACEOF
12580 if ac_fn_c_try_compile "$LINENO"
12581 then :
12582 ac_cv_mingw_header_libxml_SAX2_h=yes
12583 else $as_nop
12584 ac_cv_mingw_header_libxml_SAX2_h=no
12586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12587 CC=$ac_wine_check_headers_saved_cc
12588 ac_exeext=$ac_wine_check_headers_saved_exeext
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12591 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12592 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12593 then :
12596 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"
12597 then
12598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12599 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12600 if test ${ac_cv_mingw_lib_xml2+y}
12601 then :
12602 printf %s "(cached) " >&6
12603 else $as_nop
12604 ac_wine_check_headers_saved_cc=$CC
12605 ac_wine_check_headers_saved_exeext=$ac_exeext
12606 ac_wine_check_headers_saved_libs=$LIBS
12607 eval CC=\$${wine_arch}_CC
12608 ac_exeext=".exe"
12609 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 char xmlFirstElementChild ();
12618 main (void)
12620 return xmlFirstElementChild ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"
12626 then :
12627 ac_cv_mingw_lib_xml2=yes
12628 else $as_nop
12629 ac_cv_mingw_lib_xml2=no
12631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12632 conftest$ac_exeext conftest.$ac_ext
12633 CC=$ac_wine_check_headers_saved_cc
12634 ac_exeext=$ac_wine_check_headers_saved_exeext
12635 LIBS=$ac_wine_check_headers_saved_libs
12637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12638 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12639 if test "x$ac_cv_mingw_lib_xml2" = xyes
12640 then :
12642 else $as_nop
12643 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12645 else
12646 XML2_PE_CFLAGS=""
12647 XML2_PE_LIBS=""
12649 CPPFLAGS=$ac_save_CPPFLAGS
12651 if test "x$XML2_PE_LIBS" = "x"
12652 then
12653 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12656 if ${XSLT_PE_CFLAGS:+false} :
12657 then :
12658 if test ${MINGW_PKG_CONFIG+y}
12659 then :
12660 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12663 if ${XSLT_PE_LIBS:+false} :
12664 then :
12665 if test ${MINGW_PKG_CONFIG+y}
12666 then :
12667 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12670 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12671 ac_save_CPPFLAGS=$CPPFLAGS
12672 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12674 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12675 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12676 then :
12677 printf %s "(cached) " >&6
12678 else $as_nop
12679 ac_wine_check_headers_saved_cc=$CC
12680 ac_wine_check_headers_saved_exeext=$ac_exeext
12681 eval CC=\$${wine_arch}_CC
12682 ac_exeext=".exe"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 #include <libxslt/pattern.h>
12688 main (void)
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_compile "$LINENO"
12696 then :
12697 ac_cv_mingw_header_libxslt_pattern_h=yes
12698 else $as_nop
12699 ac_cv_mingw_header_libxslt_pattern_h=no
12701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12702 CC=$ac_wine_check_headers_saved_cc
12703 ac_exeext=$ac_wine_check_headers_saved_exeext
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12706 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12707 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12708 then :
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12712 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12713 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12714 then :
12715 printf %s "(cached) " >&6
12716 else $as_nop
12717 ac_wine_check_headers_saved_cc=$CC
12718 ac_wine_check_headers_saved_exeext=$ac_exeext
12719 eval CC=\$${wine_arch}_CC
12720 ac_exeext=".exe"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 #include <libxslt/transform.h>
12726 main (void)
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_compile "$LINENO"
12734 then :
12735 ac_cv_mingw_header_libxslt_transform_h=yes
12736 else $as_nop
12737 ac_cv_mingw_header_libxslt_transform_h=no
12739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12744 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12745 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12746 then :
12749 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12750 then
12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12752 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12753 if test ${ac_cv_mingw_lib_xslt+y}
12754 then :
12755 printf %s "(cached) " >&6
12756 else $as_nop
12757 ac_wine_check_headers_saved_cc=$CC
12758 ac_wine_check_headers_saved_exeext=$ac_exeext
12759 ac_wine_check_headers_saved_libs=$LIBS
12760 eval CC=\$${wine_arch}_CC
12761 ac_exeext=".exe"
12762 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 char xsltCompilePattern ();
12771 main (void)
12773 return xsltCompilePattern ();
12775 return 0;
12777 _ACEOF
12778 if ac_fn_c_try_link "$LINENO"
12779 then :
12780 ac_cv_mingw_lib_xslt=yes
12781 else $as_nop
12782 ac_cv_mingw_lib_xslt=no
12784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12785 conftest$ac_exeext conftest.$ac_ext
12786 CC=$ac_wine_check_headers_saved_cc
12787 ac_exeext=$ac_wine_check_headers_saved_exeext
12788 LIBS=$ac_wine_check_headers_saved_libs
12790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12791 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12792 if test "x$ac_cv_mingw_lib_xslt" = xyes
12793 then :
12795 else $as_nop
12796 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12798 else
12799 XSLT_PE_CFLAGS=""
12800 XSLT_PE_LIBS=""
12802 CPPFLAGS=$ac_save_CPPFLAGS
12804 if test "x$XSLT_PE_LIBS" = "x"
12805 then
12806 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12809 if ${VKD3D_PE_CFLAGS:+false} :
12810 then :
12811 if test ${MINGW_PKG_CONFIG+y}
12812 then :
12813 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12816 if ${VKD3D_PE_LIBS:+false} :
12817 then :
12818 if test ${MINGW_PKG_CONFIG+y}
12819 then :
12820 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12823 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12824 ac_save_CPPFLAGS=$CPPFLAGS
12825 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12827 printf %s "checking for MinGW vkd3d.h... " >&6; }
12828 if test ${ac_cv_mingw_header_vkd3d_h+y}
12829 then :
12830 printf %s "(cached) " >&6
12831 else $as_nop
12832 ac_wine_check_headers_saved_cc=$CC
12833 ac_wine_check_headers_saved_exeext=$ac_exeext
12834 eval CC=\$${wine_arch}_CC
12835 ac_exeext=".exe"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 #include <vkd3d.h>
12841 main (void)
12845 return 0;
12847 _ACEOF
12848 if ac_fn_c_try_compile "$LINENO"
12849 then :
12850 ac_cv_mingw_header_vkd3d_h=yes
12851 else $as_nop
12852 ac_cv_mingw_header_vkd3d_h=no
12854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12855 CC=$ac_wine_check_headers_saved_cc
12856 ac_exeext=$ac_wine_check_headers_saved_exeext
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12859 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12860 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12861 then :
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12865 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12866 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12867 then :
12868 printf %s "(cached) " >&6
12869 else $as_nop
12870 ac_wine_check_headers_saved_cc=$CC
12871 ac_wine_check_headers_saved_exeext=$ac_exeext
12872 eval CC=\$${wine_arch}_CC
12873 ac_exeext=".exe"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 #include <vkd3d_shader.h>
12879 main (void)
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_compile "$LINENO"
12887 then :
12888 ac_cv_mingw_header_vkd3d_shader_h=yes
12889 else $as_nop
12890 ac_cv_mingw_header_vkd3d_shader_h=no
12892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12893 CC=$ac_wine_check_headers_saved_cc
12894 ac_exeext=$ac_wine_check_headers_saved_exeext
12896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12897 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12898 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12899 then :
12902 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12903 then
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12905 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12906 if test ${ac_cv_mingw_lib_vkd3d+y}
12907 then :
12908 printf %s "(cached) " >&6
12909 else $as_nop
12910 ac_wine_check_headers_saved_cc=$CC
12911 ac_wine_check_headers_saved_exeext=$ac_exeext
12912 ac_wine_check_headers_saved_libs=$LIBS
12913 eval CC=\$${wine_arch}_CC
12914 ac_exeext=".exe"
12915 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 char vkd3d_set_log_callback ();
12924 main (void)
12926 return vkd3d_set_log_callback ();
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_link "$LINENO"
12932 then :
12933 ac_cv_mingw_lib_vkd3d=yes
12934 else $as_nop
12935 ac_cv_mingw_lib_vkd3d=no
12937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12938 conftest$ac_exeext conftest.$ac_ext
12939 CC=$ac_wine_check_headers_saved_cc
12940 ac_exeext=$ac_wine_check_headers_saved_exeext
12941 LIBS=$ac_wine_check_headers_saved_libs
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12944 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12945 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12946 then :
12948 else $as_nop
12951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12952 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12953 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12954 then :
12955 printf %s "(cached) " >&6
12956 else $as_nop
12957 ac_wine_check_headers_saved_cc=$CC
12958 ac_wine_check_headers_saved_exeext=$ac_exeext
12959 ac_wine_check_headers_saved_libs=$LIBS
12960 eval CC=\$${wine_arch}_CC
12961 ac_exeext=".exe"
12962 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12969 char vkd3d_shader_serialize_dxbc ();
12971 main (void)
12973 return vkd3d_shader_serialize_dxbc ();
12975 return 0;
12977 _ACEOF
12978 if ac_fn_c_try_link "$LINENO"
12979 then :
12980 ac_cv_mingw_lib_vkd3d_shader=yes
12981 else $as_nop
12982 ac_cv_mingw_lib_vkd3d_shader=no
12984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12985 conftest$ac_exeext conftest.$ac_ext
12986 CC=$ac_wine_check_headers_saved_cc
12987 ac_exeext=$ac_wine_check_headers_saved_exeext
12988 LIBS=$ac_wine_check_headers_saved_libs
12990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12991 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12992 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12993 then :
12995 else $as_nop
12998 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12999 then
13000 VKD3D_PE_CFLAGS=""
13001 VKD3D_PE_LIBS=""
13003 else
13004 VKD3D_PE_CFLAGS=""
13005 VKD3D_PE_LIBS=""
13007 CPPFLAGS=$ac_save_CPPFLAGS
13009 if test "x$VKD3D_PE_LIBS" = "x"
13010 then
13011 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13014 if ${ZLIB_PE_CFLAGS:+false} :
13015 then :
13016 if test ${MINGW_PKG_CONFIG+y}
13017 then :
13018 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13021 if ${ZLIB_PE_LIBS:+false} :
13022 then :
13023 if test ${MINGW_PKG_CONFIG+y}
13024 then :
13025 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13028 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13032 printf %s "checking for MinGW zlib.h... " >&6; }
13033 if test ${ac_cv_mingw_header_zlib_h+y}
13034 then :
13035 printf %s "(cached) " >&6
13036 else $as_nop
13037 ac_wine_check_headers_saved_cc=$CC
13038 ac_wine_check_headers_saved_exeext=$ac_exeext
13039 eval CC=\$${wine_arch}_CC
13040 ac_exeext=".exe"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 #include <zlib.h>
13046 main (void)
13050 return 0;
13052 _ACEOF
13053 if ac_fn_c_try_compile "$LINENO"
13054 then :
13055 ac_cv_mingw_header_zlib_h=yes
13056 else $as_nop
13057 ac_cv_mingw_header_zlib_h=no
13059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13060 CC=$ac_wine_check_headers_saved_cc
13061 ac_exeext=$ac_wine_check_headers_saved_exeext
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13064 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13065 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13066 then :
13067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13068 printf %s "checking for inflate in MinGW -lz... " >&6; }
13069 if test ${ac_cv_mingw_lib_z+y}
13070 then :
13071 printf %s "(cached) " >&6
13072 else $as_nop
13073 ac_wine_check_headers_saved_cc=$CC
13074 ac_wine_check_headers_saved_exeext=$ac_exeext
13075 ac_wine_check_headers_saved_libs=$LIBS
13076 eval CC=\$${wine_arch}_CC
13077 ac_exeext=".exe"
13078 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13085 char inflate ();
13087 main (void)
13089 return inflate ();
13091 return 0;
13093 _ACEOF
13094 if ac_fn_c_try_link "$LINENO"
13095 then :
13096 ac_cv_mingw_lib_z=yes
13097 else $as_nop
13098 ac_cv_mingw_lib_z=no
13100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13101 conftest$ac_exeext conftest.$ac_ext
13102 CC=$ac_wine_check_headers_saved_cc
13103 ac_exeext=$ac_wine_check_headers_saved_exeext
13104 LIBS=$ac_wine_check_headers_saved_libs
13106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13107 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13108 if test "x$ac_cv_mingw_lib_z" = xyes
13109 then :
13111 else $as_nop
13112 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13114 else $as_nop
13115 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13117 CPPFLAGS=$ac_save_CPPFLAGS
13119 if test "x$ZLIB_PE_LIBS" = "x"
13120 then
13121 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13125 if ${FAUDIO_PE_LIBS:+false} :
13126 then :
13127 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13128 if ${FAUDIO_PE_CFLAGS:+false} :
13129 then :
13130 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13131 else $as_nop
13132 enable_faudio=no
13134 else $as_nop
13135 enable_faudio=no
13137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13140 if ${GSM_PE_LIBS:+false} :
13141 then :
13142 GSM_PE_LIBS=gsm
13143 if ${GSM_PE_CFLAGS:+false} :
13144 then :
13145 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13146 else $as_nop
13147 enable_gsm=no
13149 else $as_nop
13150 enable_gsm=no
13152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13155 if ${JPEG_PE_LIBS:+false} :
13156 then :
13157 JPEG_PE_LIBS=jpeg
13158 if ${JPEG_PE_CFLAGS:+false} :
13159 then :
13160 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13161 else $as_nop
13162 enable_jpeg=no
13164 else $as_nop
13165 enable_jpeg=no
13167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13170 if ${JXR_PE_LIBS:+false} :
13171 then :
13172 JXR_PE_LIBS=jxr
13173 if ${JXR_PE_CFLAGS:+false} :
13174 then :
13175 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13176 else $as_nop
13177 enable_jxr=no
13179 else $as_nop
13180 enable_jxr=no
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13185 if ${LCMS2_PE_LIBS:+false} :
13186 then :
13187 LCMS2_PE_LIBS=lcms2
13188 if ${LCMS2_PE_CFLAGS:+false} :
13189 then :
13190 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13191 else $as_nop
13192 enable_lcms2=no
13194 else $as_nop
13195 enable_lcms2=no
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13200 if ${LDAP_PE_LIBS:+false} :
13201 then :
13202 LDAP_PE_LIBS=ldap
13203 if ${LDAP_PE_CFLAGS:+false} :
13204 then :
13205 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13206 else $as_nop
13207 enable_ldap=no
13209 else $as_nop
13210 enable_ldap=no
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13215 if ${MPG123_PE_LIBS:+false} :
13216 then :
13217 MPG123_PE_LIBS=mpg123
13218 if ${MPG123_PE_CFLAGS:+false} :
13219 then :
13220 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13221 else $as_nop
13222 enable_mpg123=no
13224 else $as_nop
13225 enable_mpg123=no
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13230 if ${MUSL_PE_LIBS:+false} :
13231 then :
13232 MUSL_PE_LIBS=musl
13233 if ${MUSL_PE_CFLAGS:+false} :
13234 then :
13235 MUSL_PE_CFLAGS=
13236 else $as_nop
13237 enable_musl=no
13239 else $as_nop
13240 enable_musl=no
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13245 if ${PNG_PE_LIBS:+false} :
13246 then :
13247 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13248 if ${PNG_PE_CFLAGS:+false} :
13249 then :
13250 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13251 else $as_nop
13252 enable_png=no
13254 else $as_nop
13255 enable_png=no
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13260 if ${TIFF_PE_LIBS:+false} :
13261 then :
13262 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13263 if ${TIFF_PE_CFLAGS:+false} :
13264 then :
13265 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13266 else $as_nop
13267 enable_tiff=no
13269 else $as_nop
13270 enable_tiff=no
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13275 if ${VKD3D_PE_LIBS:+false} :
13276 then :
13277 VKD3D_PE_LIBS=vkd3d
13278 if ${VKD3D_PE_CFLAGS:+false} :
13279 then :
13280 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13281 else $as_nop
13282 enable_vkd3d=no
13284 else $as_nop
13285 enable_vkd3d=no
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13290 if ${XML2_PE_LIBS:+false} :
13291 then :
13292 XML2_PE_LIBS=xml2
13293 if ${XML2_PE_CFLAGS:+false} :
13294 then :
13295 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13296 else $as_nop
13297 enable_xml2=no
13299 else $as_nop
13300 enable_xml2=no
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13305 if ${XSLT_PE_LIBS:+false} :
13306 then :
13307 XSLT_PE_LIBS=xslt
13308 if ${XSLT_PE_CFLAGS:+false} :
13309 then :
13310 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13311 else $as_nop
13312 enable_xslt=no
13314 else $as_nop
13315 enable_xslt=no
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13320 if ${ZLIB_PE_LIBS:+false} :
13321 then :
13322 ZLIB_PE_LIBS=z
13323 if ${ZLIB_PE_CFLAGS:+false} :
13324 then :
13325 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13326 else $as_nop
13327 enable_zlib=no
13329 else $as_nop
13330 enable_zlib=no
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13335 if ${ZYDIS_PE_LIBS:+false} :
13336 then :
13337 ZYDIS_PE_LIBS=zydis
13338 if ${ZYDIS_PE_CFLAGS:+false} :
13339 then :
13340 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13341 else $as_nop
13342 enable_zydis=no
13344 else $as_nop
13345 enable_zydis=no
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13352 if test "$ac_cv_header_pthread_h" = "yes"
13353 then
13354 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13355 if test "x$ac_cv_func_pthread_create" = xyes
13356 then :
13358 else $as_nop
13359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13360 printf %s "checking for pthread_create in -lpthread... " >&6; }
13361 if test ${ac_cv_lib_pthread_pthread_create+y}
13362 then :
13363 printf %s "(cached) " >&6
13364 else $as_nop
13365 ac_check_lib_save_LIBS=$LIBS
13366 LIBS="-lpthread $LIBS"
13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13370 /* Override any GCC internal prototype to avoid an error.
13371 Use char because int might match the return type of a GCC
13372 builtin and then its argument prototype would still apply. */
13373 char pthread_create ();
13375 main (void)
13377 return pthread_create ();
13379 return 0;
13381 _ACEOF
13382 if ac_fn_c_try_link "$LINENO"
13383 then :
13384 ac_cv_lib_pthread_pthread_create=yes
13385 else $as_nop
13386 ac_cv_lib_pthread_pthread_create=no
13388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_lib_save_LIBS
13392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13393 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13394 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13395 then :
13396 PTHREAD_LIBS="-lpthread"
13403 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13404 then :
13405 case "x$with_pthread" in
13406 xno) ;;
13407 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13408 Wine cannot support threads without libpthread.
13409 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13410 esac
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13421 printf %s "checking how to run the C preprocessor... " >&6; }
13422 # On Suns, sometimes $CPP names a directory.
13423 if test -n "$CPP" && test -d "$CPP"; then
13424 CPP=
13426 if test -z "$CPP"; then
13427 if test ${ac_cv_prog_CPP+y}
13428 then :
13429 printf %s "(cached) " >&6
13430 else $as_nop
13431 # Double quotes because $CC needs to be expanded
13432 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13434 ac_preproc_ok=false
13435 for ac_c_preproc_warn_flag in '' yes
13437 # Use a header file that comes with gcc, so configuring glibc
13438 # with a fresh cross-compiler works.
13439 # On the NeXT, cc -E runs the code through the compiler's parser,
13440 # not just through cpp. "Syntax error" is here to catch this case.
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13443 #include <limits.h>
13444 Syntax error
13445 _ACEOF
13446 if ac_fn_c_try_cpp "$LINENO"
13447 then :
13449 else $as_nop
13450 # Broken: fails on valid input.
13451 continue
13453 rm -f conftest.err conftest.i conftest.$ac_ext
13455 # OK, works on sane cases. Now check whether nonexistent headers
13456 # can be detected and how.
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13459 #include <ac_nonexistent.h>
13460 _ACEOF
13461 if ac_fn_c_try_cpp "$LINENO"
13462 then :
13463 # Broken: success on invalid input.
13464 continue
13465 else $as_nop
13466 # Passes both tests.
13467 ac_preproc_ok=:
13468 break
13470 rm -f conftest.err conftest.i conftest.$ac_ext
13472 done
13473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13474 rm -f conftest.i conftest.err conftest.$ac_ext
13475 if $ac_preproc_ok
13476 then :
13477 break
13480 done
13481 ac_cv_prog_CPP=$CPP
13484 CPP=$ac_cv_prog_CPP
13485 else
13486 ac_cv_prog_CPP=$CPP
13488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13489 printf "%s\n" "$CPP" >&6; }
13490 ac_preproc_ok=false
13491 for ac_c_preproc_warn_flag in '' yes
13493 # Use a header file that comes with gcc, so configuring glibc
13494 # with a fresh cross-compiler works.
13495 # On the NeXT, cc -E runs the code through the compiler's parser,
13496 # not just through cpp. "Syntax error" is here to catch this case.
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13499 #include <limits.h>
13500 Syntax error
13501 _ACEOF
13502 if ac_fn_c_try_cpp "$LINENO"
13503 then :
13505 else $as_nop
13506 # Broken: fails on valid input.
13507 continue
13509 rm -f conftest.err conftest.i conftest.$ac_ext
13511 # OK, works on sane cases. Now check whether nonexistent headers
13512 # can be detected and how.
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 #include <ac_nonexistent.h>
13516 _ACEOF
13517 if ac_fn_c_try_cpp "$LINENO"
13518 then :
13519 # Broken: success on invalid input.
13520 continue
13521 else $as_nop
13522 # Passes both tests.
13523 ac_preproc_ok=:
13524 break
13526 rm -f conftest.err conftest.i conftest.$ac_ext
13528 done
13529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13530 rm -f conftest.i conftest.err conftest.$ac_ext
13531 if $ac_preproc_ok
13532 then :
13534 else $as_nop
13535 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13536 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13537 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13538 See \`config.log' for more details" "$LINENO" 5; }
13541 ac_ext=c
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13549 printf %s "checking for X... " >&6; }
13552 # Check whether --with-x was given.
13553 if test ${with_x+y}
13554 then :
13555 withval=$with_x;
13558 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13559 if test "x$with_x" = xno; then
13560 # The user explicitly disabled X.
13561 have_x=disabled
13562 else
13563 case $x_includes,$x_libraries in #(
13564 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13565 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13566 then :
13567 printf %s "(cached) " >&6
13568 else $as_nop
13569 # One or both of the vars are not set, and there is no cached value.
13570 ac_x_includes=no
13571 ac_x_libraries=no
13572 # Do we need to do anything special at all?
13573 ac_save_LIBS=$LIBS
13574 LIBS="-lX11 $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13577 #include <X11/Xlib.h>
13579 main (void)
13581 XrmInitialize ()
13583 return 0;
13585 _ACEOF
13586 if ac_fn_c_try_link "$LINENO"
13587 then :
13588 # We can compile and link X programs with no special options.
13589 ac_x_includes=
13590 ac_x_libraries=
13592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13593 conftest$ac_exeext conftest.$ac_ext
13594 LIBS="$ac_save_LIBS"
13595 # If that didn't work, only try xmkmf and file system searches
13596 # for native compilation.
13597 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13598 then :
13599 rm -f -r conftest.dir
13600 if mkdir conftest.dir; then
13601 cd conftest.dir
13602 cat >Imakefile <<'_ACEOF'
13603 incroot:
13604 @echo incroot='${INCROOT}'
13605 usrlibdir:
13606 @echo usrlibdir='${USRLIBDIR}'
13607 libdir:
13608 @echo libdir='${LIBDIR}'
13609 _ACEOF
13610 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13611 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13612 for ac_var in incroot usrlibdir libdir; do
13613 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13614 done
13615 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13616 for ac_extension in a so sl dylib la dll; do
13617 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13618 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13619 ac_im_usrlibdir=$ac_im_libdir; break
13621 done
13622 # Screen out bogus values from the imake configuration. They are
13623 # bogus both because they are the default anyway, and because
13624 # using them would break gcc on systems where it needs fixed includes.
13625 case $ac_im_incroot in
13626 /usr/include) ac_x_includes= ;;
13627 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13628 esac
13629 case $ac_im_usrlibdir in
13630 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13631 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13632 esac
13634 cd ..
13635 rm -f -r conftest.dir
13638 # Standard set of common directories for X headers.
13639 # Check X11 before X11Rn because it is often a symlink to the current release.
13640 ac_x_header_dirs='
13641 /usr/X11/include
13642 /usr/X11R7/include
13643 /usr/X11R6/include
13644 /usr/X11R5/include
13645 /usr/X11R4/include
13647 /usr/include/X11
13648 /usr/include/X11R7
13649 /usr/include/X11R6
13650 /usr/include/X11R5
13651 /usr/include/X11R4
13653 /usr/local/X11/include
13654 /usr/local/X11R7/include
13655 /usr/local/X11R6/include
13656 /usr/local/X11R5/include
13657 /usr/local/X11R4/include
13659 /usr/local/include/X11
13660 /usr/local/include/X11R7
13661 /usr/local/include/X11R6
13662 /usr/local/include/X11R5
13663 /usr/local/include/X11R4
13665 /opt/X11/include
13667 /usr/X386/include
13668 /usr/x386/include
13669 /usr/XFree86/include/X11
13671 /usr/include
13672 /usr/local/include
13673 /usr/unsupported/include
13674 /usr/athena/include
13675 /usr/local/x11r5/include
13676 /usr/lpp/Xamples/include
13678 /usr/openwin/include
13679 /usr/openwin/share/include'
13681 if test "$ac_x_includes" = no; then
13682 # Guess where to find include files, by looking for Xlib.h.
13683 # First, try using that file with no special directory specified.
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13686 #include <X11/Xlib.h>
13687 _ACEOF
13688 if ac_fn_c_try_cpp "$LINENO"
13689 then :
13690 # We can compile using X headers with no special include directory.
13691 ac_x_includes=
13692 else $as_nop
13693 for ac_dir in $ac_x_header_dirs; do
13694 if test -r "$ac_dir/X11/Xlib.h"; then
13695 ac_x_includes=$ac_dir
13696 break
13698 done
13700 rm -f conftest.err conftest.i conftest.$ac_ext
13701 fi # $ac_x_includes = no
13703 if test "$ac_x_libraries" = no; then
13704 # Check for the libraries.
13705 # See if we find them without any special options.
13706 # Don't add to $LIBS permanently.
13707 ac_save_LIBS=$LIBS
13708 LIBS="-lX11 $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 #include <X11/Xlib.h>
13713 main (void)
13715 XrmInitialize ()
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"
13721 then :
13722 LIBS=$ac_save_LIBS
13723 # We can link X programs with no special library path.
13724 ac_x_libraries=
13725 else $as_nop
13726 LIBS=$ac_save_LIBS
13727 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13729 # Don't even attempt the hair of trying to link an X program!
13730 for ac_extension in a so sl dylib la dll; do
13731 if test -r "$ac_dir/libX11.$ac_extension"; then
13732 ac_x_libraries=$ac_dir
13733 break 2
13735 done
13736 done
13738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13739 conftest$ac_exeext conftest.$ac_ext
13740 fi # $ac_x_libraries = no
13743 # Record the results.
13744 case $ac_x_includes,$ac_x_libraries in #(
13745 no,* | *,no | *\'*) :
13746 # Didn't find X, or a directory has "'" in its name.
13747 ac_cv_have_x="have_x=no" ;; #(
13748 *) :
13749 # Record where we found X for the cache.
13750 ac_cv_have_x="have_x=yes\
13751 ac_x_includes='$ac_x_includes'\
13752 ac_x_libraries='$ac_x_libraries'" ;;
13753 esac
13755 ;; #(
13756 *) have_x=yes;;
13757 esac
13758 eval "$ac_cv_have_x"
13759 fi # $with_x != no
13761 if test "$have_x" != yes; then
13762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13763 printf "%s\n" "$have_x" >&6; }
13764 no_x=yes
13765 else
13766 # If each of the values was on the command line, it overrides each guess.
13767 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13768 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13769 # Update the cache value to reflect the command line values.
13770 ac_cv_have_x="have_x=yes\
13771 ac_x_includes='$x_includes'\
13772 ac_x_libraries='$x_libraries'"
13773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13774 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13777 if test "$no_x" = yes; then
13778 # Not all programs may use this symbol, but it does not hurt to define it.
13780 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13782 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13783 else
13784 if test -n "$x_includes"; then
13785 X_CFLAGS="$X_CFLAGS -I$x_includes"
13788 # It would also be nice to do this for all -L options, not just this one.
13789 if test -n "$x_libraries"; then
13790 X_LIBS="$X_LIBS -L$x_libraries"
13791 # For Solaris; some versions of Sun CC require a space after -R and
13792 # others require no space. Words are not sufficient . . . .
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13794 printf %s "checking whether -R must be followed by a space... " >&6; }
13795 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13796 ac_xsave_c_werror_flag=$ac_c_werror_flag
13797 ac_c_werror_flag=yes
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13802 main (void)
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"
13810 then :
13811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812 printf "%s\n" "no" >&6; }
13813 X_LIBS="$X_LIBS -R$x_libraries"
13814 else $as_nop
13815 LIBS="$ac_xsave_LIBS -R $x_libraries"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13820 main (void)
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"
13828 then :
13829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13830 printf "%s\n" "yes" >&6; }
13831 X_LIBS="$X_LIBS -R $x_libraries"
13832 else $as_nop
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13834 printf "%s\n" "neither works" >&6; }
13836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13837 conftest$ac_exeext conftest.$ac_ext
13839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13840 conftest$ac_exeext conftest.$ac_ext
13841 ac_c_werror_flag=$ac_xsave_c_werror_flag
13842 LIBS=$ac_xsave_LIBS
13845 # Check for system-dependent libraries X programs must link with.
13846 # Do this before checking for the system-independent R6 libraries
13847 # (-lICE), since we may need -lsocket or whatever for X linking.
13849 if test "$ISC" = yes; then
13850 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13851 else
13852 # Martyn Johnson says this is needed for Ultrix, if the X
13853 # libraries were built with DECnet support. And Karl Berry says
13854 # the Alpha needs dnet_stub (dnet does not exist).
13855 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 char XOpenDisplay ();
13864 main (void)
13866 return XOpenDisplay ();
13868 return 0;
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"
13872 then :
13874 else $as_nop
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13876 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13877 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13878 then :
13879 printf %s "(cached) " >&6
13880 else $as_nop
13881 ac_check_lib_save_LIBS=$LIBS
13882 LIBS="-ldnet $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 char dnet_ntoa ();
13891 main (void)
13893 return dnet_ntoa ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"
13899 then :
13900 ac_cv_lib_dnet_dnet_ntoa=yes
13901 else $as_nop
13902 ac_cv_lib_dnet_dnet_ntoa=no
13904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_lib_save_LIBS
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13909 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13910 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13911 then :
13912 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13915 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13917 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13918 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13919 then :
13920 printf %s "(cached) " >&6
13921 else $as_nop
13922 ac_check_lib_save_LIBS=$LIBS
13923 LIBS="-ldnet_stub $LIBS"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13927 /* Override any GCC internal prototype to avoid an error.
13928 Use char because int might match the return type of a GCC
13929 builtin and then its argument prototype would still apply. */
13930 char dnet_ntoa ();
13932 main (void)
13934 return dnet_ntoa ();
13936 return 0;
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"
13940 then :
13941 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13942 else $as_nop
13943 ac_cv_lib_dnet_stub_dnet_ntoa=no
13945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_lib_save_LIBS
13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13950 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13951 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13952 then :
13953 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13959 conftest$ac_exeext conftest.$ac_ext
13960 LIBS="$ac_xsave_LIBS"
13962 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13963 # to get the SysV transport functions.
13964 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13965 # needs -lnsl.
13966 # The nsl library prevents programs from opening the X display
13967 # on Irix 5.2, according to T.E. Dickey.
13968 # The functions gethostbyname, getservbyname, and inet_addr are
13969 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13970 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13971 if test "x$ac_cv_func_gethostbyname" = xyes
13972 then :
13976 if test $ac_cv_func_gethostbyname = no; then
13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13978 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13979 if test ${ac_cv_lib_nsl_gethostbyname+y}
13980 then :
13981 printf %s "(cached) " >&6
13982 else $as_nop
13983 ac_check_lib_save_LIBS=$LIBS
13984 LIBS="-lnsl $LIBS"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13988 /* Override any GCC internal prototype to avoid an error.
13989 Use char because int might match the return type of a GCC
13990 builtin and then its argument prototype would still apply. */
13991 char gethostbyname ();
13993 main (void)
13995 return gethostbyname ();
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"
14001 then :
14002 ac_cv_lib_nsl_gethostbyname=yes
14003 else $as_nop
14004 ac_cv_lib_nsl_gethostbyname=no
14006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14007 conftest$ac_exeext conftest.$ac_ext
14008 LIBS=$ac_check_lib_save_LIBS
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14011 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14012 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14013 then :
14014 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14017 if test $ac_cv_lib_nsl_gethostbyname = no; then
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14019 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14020 if test ${ac_cv_lib_bsd_gethostbyname+y}
14021 then :
14022 printf %s "(cached) " >&6
14023 else $as_nop
14024 ac_check_lib_save_LIBS=$LIBS
14025 LIBS="-lbsd $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 gethostbyname ();
14034 main (void)
14036 return gethostbyname ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"
14042 then :
14043 ac_cv_lib_bsd_gethostbyname=yes
14044 else $as_nop
14045 ac_cv_lib_bsd_gethostbyname=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_bsd_gethostbyname" >&5
14052 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14053 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14054 then :
14055 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14061 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14062 # socket/setsockopt and other routines are undefined under SCO ODT
14063 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14064 # on later versions), says Simon Leinen: it contains gethostby*
14065 # variants that don't use the name server (or something). -lsocket
14066 # must be given before -lnsl if both are needed. We assume that
14067 # if connect needs -lnsl, so does gethostbyname.
14068 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14069 if test "x$ac_cv_func_connect" = xyes
14070 then :
14074 if test $ac_cv_func_connect = no; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14076 printf %s "checking for connect in -lsocket... " >&6; }
14077 if test ${ac_cv_lib_socket_connect+y}
14078 then :
14079 printf %s "(cached) " >&6
14080 else $as_nop
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char connect ();
14091 main (void)
14093 return connect ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"
14099 then :
14100 ac_cv_lib_socket_connect=yes
14101 else $as_nop
14102 ac_cv_lib_socket_connect=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14109 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14110 if test "x$ac_cv_lib_socket_connect" = xyes
14111 then :
14112 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14117 # Guillermo Gomez says -lposix is necessary on A/UX.
14118 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14119 if test "x$ac_cv_func_remove" = xyes
14120 then :
14124 if test $ac_cv_func_remove = no; then
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14126 printf %s "checking for remove in -lposix... " >&6; }
14127 if test ${ac_cv_lib_posix_remove+y}
14128 then :
14129 printf %s "(cached) " >&6
14130 else $as_nop
14131 ac_check_lib_save_LIBS=$LIBS
14132 LIBS="-lposix $LIBS"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14136 /* Override any GCC internal prototype to avoid an error.
14137 Use char because int might match the return type of a GCC
14138 builtin and then its argument prototype would still apply. */
14139 char remove ();
14141 main (void)
14143 return remove ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"
14149 then :
14150 ac_cv_lib_posix_remove=yes
14151 else $as_nop
14152 ac_cv_lib_posix_remove=no
14154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_lib_save_LIBS
14158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14159 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14160 if test "x$ac_cv_lib_posix_remove" = xyes
14161 then :
14162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14167 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14168 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14169 if test "x$ac_cv_func_shmat" = xyes
14170 then :
14174 if test $ac_cv_func_shmat = no; then
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14176 printf %s "checking for shmat in -lipc... " >&6; }
14177 if test ${ac_cv_lib_ipc_shmat+y}
14178 then :
14179 printf %s "(cached) " >&6
14180 else $as_nop
14181 ac_check_lib_save_LIBS=$LIBS
14182 LIBS="-lipc $LIBS"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14186 /* Override any GCC internal prototype to avoid an error.
14187 Use char because int might match the return type of a GCC
14188 builtin and then its argument prototype would still apply. */
14189 char shmat ();
14191 main (void)
14193 return shmat ();
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"
14199 then :
14200 ac_cv_lib_ipc_shmat=yes
14201 else $as_nop
14202 ac_cv_lib_ipc_shmat=no
14204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_lib_save_LIBS
14208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14209 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14210 if test "x$ac_cv_lib_ipc_shmat" = xyes
14211 then :
14212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14218 # Check for libraries that X11R6 Xt/Xaw programs need.
14219 ac_save_LDFLAGS=$LDFLAGS
14220 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14221 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14222 # check for ICE first), but we must link in the order -lSM -lICE or
14223 # we get undefined symbols. So assume we have SM if we have ICE.
14224 # These have to be linked with before -lX11, unlike the other
14225 # libraries we check for below, so use a different variable.
14226 # John Interrante, Karl Berry
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14228 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14229 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14230 then :
14231 printf %s "(cached) " >&6
14232 else $as_nop
14233 ac_check_lib_save_LIBS=$LIBS
14234 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14238 /* Override any GCC internal prototype to avoid an error.
14239 Use char because int might match the return type of a GCC
14240 builtin and then its argument prototype would still apply. */
14241 char IceConnectionNumber ();
14243 main (void)
14245 return IceConnectionNumber ();
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"
14251 then :
14252 ac_cv_lib_ICE_IceConnectionNumber=yes
14253 else $as_nop
14254 ac_cv_lib_ICE_IceConnectionNumber=no
14256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14261 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14262 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14263 then :
14264 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14267 LDFLAGS=$ac_save_LDFLAGS
14272 if test "$have_x" = "yes"
14273 then
14274 ac_save_CPPFLAGS="$CPPFLAGS"
14275 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14278 printf %s "checking for -lX11... " >&6; }
14279 if test ${ac_cv_lib_soname_X11+y}
14280 then :
14281 printf %s "(cached) " >&6
14282 else $as_nop
14283 ac_check_soname_save_LIBS=$LIBS
14284 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14291 char XCreateWindow ();
14293 main (void)
14295 return XCreateWindow ();
14297 return 0;
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"
14301 then :
14302 case "$LIBEXT" in
14303 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14304 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'` ;;
14305 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14306 if ${ac_cv_lib_soname_X11:+false} :
14307 then :
14308 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14309 fi ;;
14310 esac
14311 else $as_nop
14312 ac_cv_lib_soname_X11=
14314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14315 conftest$ac_exeext conftest.$ac_ext
14316 LIBS=$ac_check_soname_save_LIBS
14318 if ${ac_cv_lib_soname_X11:+false} :
14319 then :
14320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14321 printf "%s\n" "not found" >&6; }
14323 else $as_nop
14324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14325 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14327 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14332 printf %s "checking for -lXext... " >&6; }
14333 if test ${ac_cv_lib_soname_Xext+y}
14334 then :
14335 printf %s "(cached) " >&6
14336 else $as_nop
14337 ac_check_soname_save_LIBS=$LIBS
14338 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14345 char XextCreateExtension ();
14347 main (void)
14349 return XextCreateExtension ();
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"
14355 then :
14356 case "$LIBEXT" in
14357 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14358 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'` ;;
14359 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14360 if ${ac_cv_lib_soname_Xext:+false} :
14361 then :
14362 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14363 fi ;;
14364 esac
14365 else $as_nop
14366 ac_cv_lib_soname_Xext=
14368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14369 conftest$ac_exeext conftest.$ac_ext
14370 LIBS=$ac_check_soname_save_LIBS
14372 if ${ac_cv_lib_soname_Xext:+false} :
14373 then :
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14375 printf "%s\n" "not found" >&6; }
14377 else $as_nop
14378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14379 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14381 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14383 X_LIBS="$X_LIBS -lXext"
14385 X_LIBS="$X_LIBS -lX11"
14387 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14388 # include <X11/Xlib.h>
14389 #endif
14390 #ifdef HAVE_X11_XUTIL_H
14391 # include <X11/Xutil.h>
14392 #endif
14394 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14395 then :
14396 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14399 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14400 # include <X11/Xlib.h>
14401 #endif
14402 #ifdef HAVE_X11_XUTIL_H
14403 # include <X11/Xutil.h>
14404 #endif
14406 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14407 then :
14408 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14411 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14412 # include <X11/Xlib.h>
14413 #endif
14414 #ifdef HAVE_X11_XUTIL_H
14415 # include <X11/Xutil.h>
14416 #endif
14418 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14419 then :
14420 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14423 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14424 # include <X11/Xlib.h>
14425 #endif
14426 #ifdef HAVE_X11_XUTIL_H
14427 # include <X11/Xutil.h>
14428 #endif
14430 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14431 then :
14432 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14435 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14436 # include <X11/Xlib.h>
14437 #endif
14438 #ifdef HAVE_X11_XUTIL_H
14439 # include <X11/Xutil.h>
14440 #endif
14442 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14443 then :
14444 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14447 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14448 # include <X11/Xlib.h>
14449 #endif
14450 #ifdef HAVE_X11_XUTIL_H
14451 # include <X11/Xutil.h>
14452 #endif
14454 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14455 then :
14456 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14459 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14460 # include <X11/Xlib.h>
14461 #endif
14462 #ifdef HAVE_X11_XUTIL_H
14463 # include <X11/Xutil.h>
14464 #endif
14466 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14467 then :
14468 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14471 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14472 # include <X11/Xlib.h>
14473 #endif
14474 #ifdef HAVE_X11_XUTIL_H
14475 # include <X11/Xutil.h>
14476 #endif
14478 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14479 then :
14480 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14483 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14484 # include <X11/Xlib.h>
14485 #endif
14486 #ifdef HAVE_X11_XUTIL_H
14487 # include <X11/Xutil.h>
14488 #endif
14490 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14491 then :
14492 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14495 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14496 # include <X11/Xlib.h>
14497 #endif
14498 #ifdef HAVE_X11_XUTIL_H
14499 # include <X11/Xutil.h>
14500 #endif
14502 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14503 then :
14504 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14507 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14508 # include <X11/Xlib.h>
14509 #endif
14510 #ifdef HAVE_X11_XUTIL_H
14511 # include <X11/Xutil.h>
14512 #endif
14514 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14515 then :
14516 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14519 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14520 # include <X11/Xlib.h>
14521 #endif
14522 #ifdef HAVE_X11_XUTIL_H
14523 # include <X11/Xutil.h>
14524 #endif
14526 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14527 then :
14528 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14531 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14532 # include <X11/Xlib.h>
14533 #endif
14534 #ifdef HAVE_X11_XUTIL_H
14535 # include <X11/Xutil.h>
14536 #endif
14538 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14539 then :
14540 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14543 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14544 # include <X11/Xlib.h>
14545 #endif
14546 #ifdef HAVE_X11_XUTIL_H
14547 # include <X11/Xutil.h>
14548 #endif
14550 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14551 then :
14552 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14555 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14556 # include <X11/Xlib.h>
14557 #endif
14558 #ifdef HAVE_X11_XUTIL_H
14559 # include <X11/Xutil.h>
14560 #endif
14562 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14563 then :
14564 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14569 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14570 then
14571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14572 printf %s "checking for -lXcursor... " >&6; }
14573 if test ${ac_cv_lib_soname_Xcursor+y}
14574 then :
14575 printf %s "(cached) " >&6
14576 else $as_nop
14577 ac_check_soname_save_LIBS=$LIBS
14578 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h. */
14582 /* Override any GCC internal prototype to avoid an error.
14583 Use char because int might match the return type of a GCC
14584 builtin and then its argument prototype would still apply. */
14585 char XcursorImageLoadCursor ();
14587 main (void)
14589 return XcursorImageLoadCursor ();
14591 return 0;
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"
14595 then :
14596 case "$LIBEXT" in
14597 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14598 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'` ;;
14599 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14600 if ${ac_cv_lib_soname_Xcursor:+false} :
14601 then :
14602 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14603 fi ;;
14604 esac
14605 else $as_nop
14606 ac_cv_lib_soname_Xcursor=
14608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_soname_save_LIBS
14612 if ${ac_cv_lib_soname_Xcursor:+false} :
14613 then :
14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14615 printf "%s\n" "not found" >&6; }
14617 else $as_nop
14618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14619 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14621 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14626 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14627 then :
14628 case "x$with_xcursor" in
14629 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14630 xno) ;;
14631 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14632 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14633 esac
14637 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14638 then
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14640 printf %s "checking for -lXi... " >&6; }
14641 if test ${ac_cv_lib_soname_Xi+y}
14642 then :
14643 printf %s "(cached) " >&6
14644 else $as_nop
14645 ac_check_soname_save_LIBS=$LIBS
14646 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 char XOpenDevice ();
14655 main (void)
14657 return XOpenDevice ();
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"
14663 then :
14664 case "$LIBEXT" in
14665 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14666 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'` ;;
14667 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14668 if ${ac_cv_lib_soname_Xi:+false} :
14669 then :
14670 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14671 fi ;;
14672 esac
14673 else $as_nop
14674 ac_cv_lib_soname_Xi=
14676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_soname_save_LIBS
14680 if ${ac_cv_lib_soname_Xi:+false} :
14681 then :
14682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14683 printf "%s\n" "not found" >&6; }
14685 else $as_nop
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14687 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14689 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14694 if test "x$ac_cv_lib_soname_Xi" = "x"
14695 then :
14696 case "x$with_xinput" in
14697 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14698 xno) ;;
14699 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14700 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14701 esac
14705 if test "x$ac_cv_lib_soname_Xi" != x
14706 then
14707 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14708 then :
14709 case "x$with_xinput2" in
14710 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14711 xno) ;;
14712 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14713 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14714 esac
14719 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14720 then
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14722 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14723 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14724 then :
14725 printf %s "(cached) " >&6
14726 else $as_nop
14727 ac_check_lib_save_LIBS=$LIBS
14728 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14735 char XShmQueryExtension ();
14737 main (void)
14739 return XShmQueryExtension ();
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"
14745 then :
14746 ac_cv_lib_Xext_XShmQueryExtension=yes
14747 else $as_nop
14748 ac_cv_lib_Xext_XShmQueryExtension=no
14750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_check_lib_save_LIBS
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14755 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14756 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14757 then :
14759 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14764 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14765 then :
14766 case "x$with_xshm" in
14767 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14768 xno) ;;
14769 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14770 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14771 esac
14775 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14776 then
14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14778 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14779 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14780 then :
14781 printf %s "(cached) " >&6
14782 else $as_nop
14783 ac_check_lib_save_LIBS=$LIBS
14784 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 char XShapeQueryExtension ();
14793 main (void)
14795 return XShapeQueryExtension ();
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"
14801 then :
14802 ac_cv_lib_Xext_XShapeQueryExtension=yes
14803 else $as_nop
14804 ac_cv_lib_Xext_XShapeQueryExtension=no
14806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14807 conftest$ac_exeext conftest.$ac_ext
14808 LIBS=$ac_check_lib_save_LIBS
14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14811 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14812 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14813 then :
14815 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14820 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14821 then :
14822 case "x$with_xshape" in
14823 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14824 xno) ;;
14825 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14826 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14827 esac
14831 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14832 then
14833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14834 printf %s "checking for -lXxf86vm... " >&6; }
14835 if test ${ac_cv_lib_soname_Xxf86vm+y}
14836 then :
14837 printf %s "(cached) " >&6
14838 else $as_nop
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14847 char XF86VidModeQueryExtension ();
14849 main (void)
14851 return XF86VidModeQueryExtension ();
14853 return 0;
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"
14857 then :
14858 case "$LIBEXT" in
14859 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14860 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'` ;;
14861 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14862 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14863 then :
14864 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14865 fi ;;
14866 esac
14867 else $as_nop
14868 ac_cv_lib_soname_Xxf86vm=
14870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14871 conftest$ac_exeext conftest.$ac_ext
14872 LIBS=$ac_check_soname_save_LIBS
14874 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14875 then :
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14877 printf "%s\n" "not found" >&6; }
14879 else $as_nop
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14881 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14883 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14888 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14889 then :
14890 case "x$with_xxf86vm" in
14891 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14892 xno) ;;
14893 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14894 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14895 esac
14899 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14900 then
14901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14902 printf %s "checking for -lXrender... " >&6; }
14903 if test ${ac_cv_lib_soname_Xrender+y}
14904 then :
14905 printf %s "(cached) " >&6
14906 else $as_nop
14907 ac_check_soname_save_LIBS=$LIBS
14908 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 /* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14915 char XRenderQueryExtension ();
14917 main (void)
14919 return XRenderQueryExtension ();
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"
14925 then :
14926 case "$LIBEXT" in
14927 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14928 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'` ;;
14929 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14930 if ${ac_cv_lib_soname_Xrender:+false} :
14931 then :
14932 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14933 fi ;;
14934 esac
14935 else $as_nop
14936 ac_cv_lib_soname_Xrender=
14938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14939 conftest$ac_exeext conftest.$ac_ext
14940 LIBS=$ac_check_soname_save_LIBS
14942 if ${ac_cv_lib_soname_Xrender:+false} :
14943 then :
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14945 printf "%s\n" "not found" >&6; }
14947 else $as_nop
14948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14949 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14951 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14954 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14955 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14956 then :
14957 printf %s "(cached) " >&6
14958 else $as_nop
14959 ac_check_lib_save_LIBS=$LIBS
14960 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 char XRenderSetPictureTransform ();
14969 main (void)
14971 return XRenderSetPictureTransform ();
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"
14977 then :
14978 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14979 else $as_nop
14980 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14983 conftest$ac_exeext conftest.$ac_ext
14984 LIBS=$ac_check_lib_save_LIBS
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14987 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14988 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14989 then :
14991 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14996 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14997 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14998 then :
14999 printf %s "(cached) " >&6
15000 else $as_nop
15001 ac_check_lib_save_LIBS=$LIBS
15002 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 char XRenderCreateLinearGradient ();
15011 main (void)
15013 return XRenderCreateLinearGradient ();
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"
15019 then :
15020 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15021 else $as_nop
15022 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15025 conftest$ac_exeext conftest.$ac_ext
15026 LIBS=$ac_check_lib_save_LIBS
15028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15029 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15030 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15031 then :
15033 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15040 if test "x$ac_cv_lib_soname_Xrender" = "x"
15041 then :
15042 case "x$with_xrender" in
15043 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15044 xno) ;;
15045 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15046 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15047 esac
15051 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15052 then
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 #include <X11/Xlib.h>
15056 #include <X11/extensions/Xrandr.h>
15058 main (void)
15060 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_compile "$LINENO"
15066 then :
15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15068 printf %s "checking for -lXrandr... " >&6; }
15069 if test ${ac_cv_lib_soname_Xrandr+y}
15070 then :
15071 printf %s "(cached) " >&6
15072 else $as_nop
15073 ac_check_soname_save_LIBS=$LIBS
15074 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 char XRRQueryExtension ();
15083 main (void)
15085 return XRRQueryExtension ();
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"
15091 then :
15092 case "$LIBEXT" in
15093 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15094 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'` ;;
15095 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15096 if ${ac_cv_lib_soname_Xrandr:+false} :
15097 then :
15098 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15099 fi ;;
15100 esac
15101 else $as_nop
15102 ac_cv_lib_soname_Xrandr=
15104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_check_soname_save_LIBS
15108 if ${ac_cv_lib_soname_Xrandr:+false} :
15109 then :
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15111 printf "%s\n" "not found" >&6; }
15113 else $as_nop
15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15115 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15117 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15121 #include <X11/Xlib.h>
15122 #include <X11/extensions/Xrandr.h>
15124 main (void)
15126 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_compile "$LINENO"
15132 then :
15134 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15136 else $as_nop
15137 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15144 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15145 then :
15146 case "x$with_xrandr" in
15147 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15148 xno) ;;
15149 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15150 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15151 esac
15155 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15156 then
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #include <X11/Xlib.h>
15160 #include <X11/extensions/Xfixes.h>
15162 main (void)
15164 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"
15170 then :
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15172 printf %s "checking for -lXfixes... " >&6; }
15173 if test ${ac_cv_lib_soname_Xfixes+y}
15174 then :
15175 printf %s "(cached) " >&6
15176 else $as_nop
15177 ac_check_soname_save_LIBS=$LIBS
15178 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 char XFixesQueryVersion ();
15187 main (void)
15189 return XFixesQueryVersion ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"
15195 then :
15196 case "$LIBEXT" in
15197 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15200 if ${ac_cv_lib_soname_Xfixes:+false} :
15201 then :
15202 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15203 fi ;;
15204 esac
15205 else $as_nop
15206 ac_cv_lib_soname_Xfixes=
15208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if ${ac_cv_lib_soname_Xfixes:+false} :
15213 then :
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15215 printf "%s\n" "not found" >&6; }
15217 else $as_nop
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15219 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15221 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15228 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15229 then :
15230 case "x$with_xfixes" in
15231 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15232 xno) ;;
15233 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15234 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15235 esac
15239 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15240 then
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #include <X11/Xlib.h>
15244 #include <X11/extensions/Xinerama.h>
15246 main (void)
15248 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_compile "$LINENO"
15254 then :
15255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15256 printf %s "checking for -lXinerama... " >&6; }
15257 if test ${ac_cv_lib_soname_Xinerama+y}
15258 then :
15259 printf %s "(cached) " >&6
15260 else $as_nop
15261 ac_check_soname_save_LIBS=$LIBS
15262 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 char XineramaQueryScreens ();
15271 main (void)
15273 return XineramaQueryScreens ();
15275 return 0;
15277 _ACEOF
15278 if ac_fn_c_try_link "$LINENO"
15279 then :
15280 case "$LIBEXT" in
15281 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15282 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'` ;;
15283 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15284 if ${ac_cv_lib_soname_Xinerama:+false} :
15285 then :
15286 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15287 fi ;;
15288 esac
15289 else $as_nop
15290 ac_cv_lib_soname_Xinerama=
15292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15293 conftest$ac_exeext conftest.$ac_ext
15294 LIBS=$ac_check_soname_save_LIBS
15296 if ${ac_cv_lib_soname_Xinerama:+false} :
15297 then :
15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15299 printf "%s\n" "not found" >&6; }
15301 else $as_nop
15302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15303 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15305 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15312 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15313 then :
15314 case "x$with_xinerama" in
15315 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15316 xno) ;;
15317 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15318 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15319 esac
15323 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15324 then
15325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15326 printf %s "checking for -lXcomposite... " >&6; }
15327 if test ${ac_cv_lib_soname_Xcomposite+y}
15328 then :
15329 printf %s "(cached) " >&6
15330 else $as_nop
15331 ac_check_soname_save_LIBS=$LIBS
15332 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 char XCompositeRedirectWindow ();
15341 main (void)
15343 return XCompositeRedirectWindow ();
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"
15349 then :
15350 case "$LIBEXT" in
15351 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15352 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'` ;;
15353 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15354 if ${ac_cv_lib_soname_Xcomposite:+false} :
15355 then :
15356 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15357 fi ;;
15358 esac
15359 else $as_nop
15360 ac_cv_lib_soname_Xcomposite=
15362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_check_soname_save_LIBS
15366 if ${ac_cv_lib_soname_Xcomposite:+false} :
15367 then :
15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15369 printf "%s\n" "not found" >&6; }
15371 else $as_nop
15372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15373 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15375 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15380 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15381 then :
15382 case "x$with_xcomposite" in
15383 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15384 xno) ;;
15385 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15386 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15387 esac
15391 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15392 #include <X11/Xlib.h>
15393 #endif
15395 if test "x$ac_cv_member_XICCallback_callback" = xyes
15396 then :
15398 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15402 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15403 #include <X11/Xlib.h>
15404 #endif
15406 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15407 then :
15409 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15416 opengl_msg=""
15417 if test "x$with_opengl" != "xno"
15418 then
15419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15420 printf %s "checking for -lGL... " >&6; }
15421 if test ${ac_cv_lib_soname_GL+y}
15422 then :
15423 printf %s "(cached) " >&6
15424 else $as_nop
15425 ac_check_soname_save_LIBS=$LIBS
15426 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15430 /* Override any GCC internal prototype to avoid an error.
15431 Use char because int might match the return type of a GCC
15432 builtin and then its argument prototype would still apply. */
15433 char glXCreateContext ();
15435 main (void)
15437 return glXCreateContext ();
15439 return 0;
15441 _ACEOF
15442 if ac_fn_c_try_link "$LINENO"
15443 then :
15444 case "$LIBEXT" in
15445 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15446 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'` ;;
15447 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15448 if ${ac_cv_lib_soname_GL:+false} :
15449 then :
15450 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15451 fi ;;
15452 esac
15453 else $as_nop
15454 ac_cv_lib_soname_GL=
15456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_check_soname_save_LIBS
15460 if ${ac_cv_lib_soname_GL:+false} :
15461 then :
15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15463 printf "%s\n" "not found" >&6; }
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15465 printf %s "checking for -lGL... " >&6; }
15466 if test ${ac_cv_lib_soname_GL+y}
15467 then :
15468 printf %s "(cached) " >&6
15469 else $as_nop
15470 ac_check_soname_save_LIBS=$LIBS
15471 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"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15478 char glXCreateContext ();
15480 main (void)
15482 return glXCreateContext ();
15484 return 0;
15486 _ACEOF
15487 if ac_fn_c_try_link "$LINENO"
15488 then :
15489 case "$LIBEXT" in
15490 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15491 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'` ;;
15492 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15493 if ${ac_cv_lib_soname_GL:+false} :
15494 then :
15495 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15496 fi ;;
15497 esac
15498 else $as_nop
15499 ac_cv_lib_soname_GL=
15501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15502 conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_soname_save_LIBS
15505 if ${ac_cv_lib_soname_GL:+false} :
15506 then :
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15508 printf "%s\n" "not found" >&6; }
15509 if test -f /usr/X11R6/lib/libGL.a
15510 then
15511 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15512 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15513 else
15514 opengl_msg="No OpenGL library found on this system."
15516 else $as_nop
15517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15518 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15520 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15522 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"
15524 else $as_nop
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15528 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15530 OPENGL_LIBS="-lGL"
15532 if test "x$with_osmesa" != "xno"
15533 then
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15535 printf %s "checking for -lOSMesa... " >&6; }
15536 if test ${ac_cv_lib_soname_OSMesa+y}
15537 then :
15538 printf %s "(cached) " >&6
15539 else $as_nop
15540 ac_check_soname_save_LIBS=$LIBS
15541 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15545 /* Override any GCC internal prototype to avoid an error.
15546 Use char because int might match the return type of a GCC
15547 builtin and then its argument prototype would still apply. */
15548 char OSMesaGetProcAddress ();
15550 main (void)
15552 return OSMesaGetProcAddress ();
15554 return 0;
15556 _ACEOF
15557 if ac_fn_c_try_link "$LINENO"
15558 then :
15559 case "$LIBEXT" in
15560 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15561 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'` ;;
15562 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15563 if ${ac_cv_lib_soname_OSMesa:+false} :
15564 then :
15565 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15566 fi ;;
15567 esac
15568 else $as_nop
15569 ac_cv_lib_soname_OSMesa=
15571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15572 conftest$ac_exeext conftest.$ac_ext
15573 LIBS=$ac_check_soname_save_LIBS
15575 if ${ac_cv_lib_soname_OSMesa:+false} :
15576 then :
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15578 printf "%s\n" "not found" >&6; }
15580 else $as_nop
15581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15582 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15584 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15588 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15589 then :
15590 case "x$with_osmesa" in
15591 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15592 xno) ;;
15593 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15594 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15595 esac
15600 if test -n "$opengl_msg"
15601 then :
15602 case "x$with_opengl" in
15603 x) as_fn_append wine_warnings "|$opengl_msg
15604 OpenGL and Direct3D won't be supported." ;;
15605 xno) ;;
15606 *) as_fn_error $? "$opengl_msg
15607 OpenGL and Direct3D won't be supported.
15608 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15609 esac
15613 CPPFLAGS="$ac_save_CPPFLAGS"
15614 else
15615 X_CFLAGS=""
15616 X_LIBS=""
15619 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15620 then
15621 if test "x$X_LIBS" = "x"
15622 then :
15623 case "x$with_x" in
15624 xno) ;;
15625 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15626 without X support, which probably isn't what you want. You will need
15627 to install ${notice_platform}development packages of Xlib at the very least.
15628 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15629 esac
15630 enable_winex11_drv=${enable_winex11_drv:-no}
15632 else
15633 if test "x$X_LIBS" = "x"
15634 then :
15635 case "x$with_x" in
15636 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15637 xno) ;;
15638 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15639 This is an error since --with-x was requested." "$LINENO" 5 ;;
15640 esac
15641 enable_winex11_drv=${enable_winex11_drv:-no}
15645 if test "x$with_wayland" != "xno"
15646 then
15647 rm -f conftest.err
15648 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15649 then :
15650 if test ${PKG_CONFIG+y}
15651 then :
15652 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15656 if ${WAYLAND_CLIENT_LIBS:+false} :
15657 then :
15658 if test ${PKG_CONFIG+y}
15659 then :
15660 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15667 if test -s conftest.err; then
15668 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15669 cat conftest.err >&5
15671 rm -f conftest.err
15672 ac_save_CPPFLAGS=$CPPFLAGS
15673 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15674 for ac_header in wayland-client.h
15675 do :
15676 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15677 if test "x$ac_cv_header_wayland_client_h" = xyes
15678 then :
15679 printf "%s\n" "#define HAVE_WAYLAND_CLIENT_H 1" >>confdefs.h
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15681 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15682 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15683 then :
15684 printf %s "(cached) " >&6
15685 else $as_nop
15686 ac_check_lib_save_LIBS=$LIBS
15687 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15691 /* Override any GCC internal prototype to avoid an error.
15692 Use char because int might match the return type of a GCC
15693 builtin and then its argument prototype would still apply. */
15694 char wl_display_connect ();
15696 main (void)
15698 return wl_display_connect ();
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"
15704 then :
15705 ac_cv_lib_wayland_client_wl_display_connect=yes
15706 else $as_nop
15707 ac_cv_lib_wayland_client_wl_display_connect=no
15709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15710 conftest$ac_exeext conftest.$ac_ext
15711 LIBS=$ac_check_lib_save_LIBS
15713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15714 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15715 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15716 then :
15717 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15718 set dummy wayland-scanner; ac_word=$2
15719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15720 printf %s "checking for $ac_word... " >&6; }
15721 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15722 then :
15723 printf %s "(cached) " >&6
15724 else $as_nop
15725 case $WAYLAND_SCANNER in
15726 [\\/]* | ?:[\\/]*)
15727 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731 for as_dir in $PATH
15733 IFS=$as_save_IFS
15734 case $as_dir in #(((
15735 '') as_dir=./ ;;
15736 */) ;;
15737 *) as_dir=$as_dir/ ;;
15738 esac
15739 for ac_exec_ext in '' $ac_executable_extensions; do
15740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15741 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15743 break 2
15745 done
15746 done
15747 IFS=$as_save_IFS
15749 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15751 esac
15753 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15754 if test -n "$WAYLAND_SCANNER"; then
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15756 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15757 else
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15759 printf "%s\n" "no" >&6; }
15763 else $as_nop
15764 WAYLAND_CLIENT_LIBS=""
15769 done
15770 CPPFLAGS=$ac_save_CPPFLAGS
15773 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15774 then :
15775 case "x$with_wayland" in
15776 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15777 xno) ;;
15778 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15779 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15780 esac
15781 enable_winewayland_drv=${enable_winewayland_drv:-no}
15784 if test "$ac_cv_header_CL_cl_h" = "yes"
15785 then
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15787 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15788 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15789 then :
15790 printf %s "(cached) " >&6
15791 else $as_nop
15792 ac_check_lib_save_LIBS=$LIBS
15793 LIBS="-lOpenCL $LIBS"
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 char clGetPlatformInfo ();
15802 main (void)
15804 return clGetPlatformInfo ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"
15810 then :
15811 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15812 else $as_nop
15813 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_lib_save_LIBS
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15820 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15822 then :
15823 OPENCL_LIBS="-lOpenCL"
15828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15829 then :
15830 case "x$with_opencl" in
15831 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15832 xno) ;;
15833 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15835 esac
15836 enable_opencl=${enable_opencl:-no}
15839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15840 then
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15842 printf %s "checking for pcap_init in -lpcap... " >&6; }
15843 if test ${ac_cv_lib_pcap_pcap_init+y}
15844 then :
15845 printf %s "(cached) " >&6
15846 else $as_nop
15847 ac_check_lib_save_LIBS=$LIBS
15848 LIBS="-lpcap $LIBS"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 char pcap_init ();
15857 main (void)
15859 return pcap_init ();
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"
15865 then :
15866 ac_cv_lib_pcap_pcap_init=yes
15867 else $as_nop
15868 ac_cv_lib_pcap_pcap_init=no
15870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15875 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15876 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15877 then :
15878 PCAP_LIBS="-lpcap"
15883 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15884 then :
15885 case "x$with_pcap" in
15886 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15887 xno) ;;
15888 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15890 esac
15891 enable_wpcap=${enable_wpcap:-no}
15894 if test "x$with_pcsclite" != "xno"
15895 then
15896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15897 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15898 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15899 then :
15900 printf %s "(cached) " >&6
15901 else $as_nop
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lpcsclite $LIBS"
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 char SCardEstablishContext ();
15912 main (void)
15914 return SCardEstablishContext ();
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"
15920 then :
15921 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15922 else $as_nop
15923 ac_cv_lib_pcsclite_SCardEstablishContext=no
15925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15926 conftest$ac_exeext conftest.$ac_ext
15927 LIBS=$ac_check_lib_save_LIBS
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15930 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15931 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15932 then :
15933 PCSCLITE_LIBS="-lpcsclite"
15938 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15939 then :
15940 case "x$with_pcsclite" in
15941 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15942 xno) ;;
15943 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15944 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15945 esac
15946 enable_winscard=${enable_winscard:-no}
15949 if test "x$with_inotify" != "xno"
15950 then
15951 rm -f conftest.err
15952 if ${INOTIFY_CFLAGS:+false} :
15953 then :
15954 if test ${PKG_CONFIG+y}
15955 then :
15956 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15960 if ${INOTIFY_LIBS:+false} :
15961 then :
15962 if test ${PKG_CONFIG+y}
15963 then :
15964 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15971 if test -s conftest.err; then
15972 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15973 cat conftest.err >&5
15975 rm -f conftest.err
15976 ac_save_CPPFLAGS=$CPPFLAGS
15977 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15978 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15979 if test "x$ac_cv_header_sys_inotify_h" = xyes
15980 then :
15981 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15986 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15987 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15988 then :
15989 printf %s "(cached) " >&6
15990 else $as_nop
15991 ac_check_lib_save_LIBS=$LIBS
15992 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
15999 char inotify_add_watch ();
16001 main (void)
16003 return inotify_add_watch ();
16005 return 0;
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"
16009 then :
16010 ac_cv_lib_inotify_inotify_add_watch=yes
16011 else $as_nop
16012 ac_cv_lib_inotify_inotify_add_watch=no
16014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16015 conftest$ac_exeext conftest.$ac_ext
16016 LIBS=$ac_check_lib_save_LIBS
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16019 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16020 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16021 then :
16023 else $as_nop
16024 INOTIFY_LIBS=""
16027 CPPFLAGS=$ac_save_CPPFLAGS
16030 if test "$ac_cv_header_sys_inotify_h" != "yes"
16031 then :
16032 case "x$with_inotify" in
16033 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16034 xno) ;;
16035 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16036 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16037 esac
16041 if test "x$with_dbus" != "xno"
16042 then
16043 rm -f conftest.err
16044 if ${DBUS_CFLAGS:+false} :
16045 then :
16046 if test ${PKG_CONFIG+y}
16047 then :
16048 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16052 if ${DBUS_LIBS:+false} :
16053 then :
16054 if test ${PKG_CONFIG+y}
16055 then :
16056 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16063 if test -s conftest.err; then
16064 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16065 cat conftest.err >&5
16067 rm -f conftest.err
16068 ac_save_CPPFLAGS=$CPPFLAGS
16069 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16070 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16071 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16072 then :
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16074 printf %s "checking for -ldbus-1... " >&6; }
16075 if test ${ac_cv_lib_soname_dbus_1+y}
16076 then :
16077 printf %s "(cached) " >&6
16078 else $as_nop
16079 ac_check_soname_save_LIBS=$LIBS
16080 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16084 /* Override any GCC internal prototype to avoid an error.
16085 Use char because int might match the return type of a GCC
16086 builtin and then its argument prototype would still apply. */
16087 char dbus_connection_close ();
16089 main (void)
16091 return dbus_connection_close ();
16093 return 0;
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"
16097 then :
16098 case "$LIBEXT" in
16099 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16100 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'` ;;
16101 *) 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'`
16102 if ${ac_cv_lib_soname_dbus_1:+false} :
16103 then :
16104 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16105 fi ;;
16106 esac
16107 else $as_nop
16108 ac_cv_lib_soname_dbus_1=
16110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16111 conftest$ac_exeext conftest.$ac_ext
16112 LIBS=$ac_check_soname_save_LIBS
16114 if ${ac_cv_lib_soname_dbus_1:+false} :
16115 then :
16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16117 printf "%s\n" "not found" >&6; }
16118 DBUS_CFLAGS=""
16119 else $as_nop
16120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16121 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16123 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16127 else $as_nop
16128 DBUS_CFLAGS=""
16131 CPPFLAGS=$ac_save_CPPFLAGS
16134 case $host_os in
16135 darwin*|macosx*) ;;
16136 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16137 then :
16138 case "x$with_dbus" in
16139 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16140 xno) ;;
16141 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16142 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16143 esac
16145 fi ;;
16146 esac
16148 if test "x$with_gnutls" != "xno"
16149 then
16150 rm -f conftest.err
16151 if ${GNUTLS_CFLAGS:+false} :
16152 then :
16153 if test ${PKG_CONFIG+y}
16154 then :
16155 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16159 if ${GNUTLS_LIBS:+false} :
16160 then :
16161 if test ${PKG_CONFIG+y}
16162 then :
16163 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16167 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16170 if test -s conftest.err; then
16171 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16172 cat conftest.err >&5
16174 rm -f conftest.err
16175 ac_save_CPPFLAGS=$CPPFLAGS
16176 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16177 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16178 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16179 then :
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16182 #include <gnutls/gnutls.h>
16183 #include <gnutls/crypto.h>
16185 main (void)
16187 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16189 return 0;
16191 _ACEOF
16192 if ac_fn_c_try_compile "$LINENO"
16193 then :
16194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16195 printf %s "checking for -lgnutls... " >&6; }
16196 if test ${ac_cv_lib_soname_gnutls+y}
16197 then :
16198 printf %s "(cached) " >&6
16199 else $as_nop
16200 ac_check_soname_save_LIBS=$LIBS
16201 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16203 /* end confdefs.h. */
16205 /* Override any GCC internal prototype to avoid an error.
16206 Use char because int might match the return type of a GCC
16207 builtin and then its argument prototype would still apply. */
16208 char gnutls_global_init ();
16210 main (void)
16212 return gnutls_global_init ();
16214 return 0;
16216 _ACEOF
16217 if ac_fn_c_try_link "$LINENO"
16218 then :
16219 case "$LIBEXT" in
16220 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16221 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'` ;;
16222 *) 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'`
16223 if ${ac_cv_lib_soname_gnutls:+false} :
16224 then :
16225 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'`
16226 fi ;;
16227 esac
16228 else $as_nop
16229 ac_cv_lib_soname_gnutls=
16231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16232 conftest$ac_exeext conftest.$ac_ext
16233 LIBS=$ac_check_soname_save_LIBS
16235 if ${ac_cv_lib_soname_gnutls:+false} :
16236 then :
16237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16238 printf "%s\n" "not found" >&6; }
16239 GNUTLS_CFLAGS=""
16240 else $as_nop
16241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16242 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16244 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16248 ac_wine_check_funcs_save_LIBS="$LIBS"
16249 LIBS="$LIBS $GNUTLS_LIBS"
16251 for ac_func in gnutls_cipher_init
16252 do :
16253 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16254 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16255 then :
16256 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16258 else $as_nop
16259 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16262 done
16263 LIBS="$ac_wine_check_funcs_save_LIBS"
16265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16266 else $as_nop
16267 GNUTLS_CFLAGS=""
16270 CPPFLAGS=$ac_save_CPPFLAGS
16273 if test "x$ac_cv_lib_soname_gnutls" = "x"
16274 then :
16275 case "x$with_gnutls" in
16276 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16277 xno) ;;
16278 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16279 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16280 esac
16284 if test "x$with_sane" != "xno"
16285 then
16286 rm -f conftest.err
16287 if ${SANE_CFLAGS:+false} :
16288 then :
16289 if test ${PKG_CONFIG+y}
16290 then :
16291 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16294 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16295 if ${SANE_LIBS:+false} :
16296 then :
16297 if test ${PKG_CONFIG+y}
16298 then :
16299 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16302 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16306 if test -s conftest.err; then
16307 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16308 cat conftest.err >&5
16310 rm -f conftest.err
16311 ac_save_CPPFLAGS=$CPPFLAGS
16312 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16313 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16314 if test "x$ac_cv_header_sane_sane_h" = xyes
16315 then :
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16317 printf %s "checking for sane_init in -lsane... " >&6; }
16318 if test ${ac_cv_lib_sane_sane_init+y}
16319 then :
16320 printf %s "(cached) " >&6
16321 else $as_nop
16322 ac_check_lib_save_LIBS=$LIBS
16323 LIBS="-lsane $SANE_LIBS $LIBS"
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16327 /* Override any GCC internal prototype to avoid an error.
16328 Use char because int might match the return type of a GCC
16329 builtin and then its argument prototype would still apply. */
16330 char sane_init ();
16332 main (void)
16334 return sane_init ();
16336 return 0;
16338 _ACEOF
16339 if ac_fn_c_try_link "$LINENO"
16340 then :
16341 ac_cv_lib_sane_sane_init=yes
16342 else $as_nop
16343 ac_cv_lib_sane_sane_init=no
16345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16346 conftest$ac_exeext conftest.$ac_ext
16347 LIBS=$ac_check_lib_save_LIBS
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16350 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16351 if test "x$ac_cv_lib_sane_sane_init" = xyes
16352 then :
16358 CPPFLAGS=$ac_save_CPPFLAGS
16361 if test "$ac_cv_lib_sane_sane_init" != "yes"
16362 then :
16363 case "x$with_sane" in
16364 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16365 xno) ;;
16366 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16367 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16368 esac
16369 enable_sane_ds=${enable_sane_ds:-no}
16372 if test "x$with_usb" != "xno"
16373 then
16374 rm -f conftest.err
16375 if ${USB_CFLAGS:+false} :
16376 then :
16377 if test ${PKG_CONFIG+y}
16378 then :
16379 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16383 if ${USB_LIBS:+false} :
16384 then :
16385 if test ${PKG_CONFIG+y}
16386 then :
16387 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16391 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16394 if test -s conftest.err; then
16395 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16396 cat conftest.err >&5
16398 rm -f conftest.err
16399 ac_save_CPPFLAGS=$CPPFLAGS
16400 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16401 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_libusb_h" = xyes
16403 then :
16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16405 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16406 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16407 then :
16408 printf %s "(cached) " >&6
16409 else $as_nop
16410 ac_check_lib_save_LIBS=$LIBS
16411 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16415 /* Override any GCC internal prototype to avoid an error.
16416 Use char because int might match the return type of a GCC
16417 builtin and then its argument prototype would still apply. */
16418 char libusb_interrupt_event_handler ();
16420 main (void)
16422 return libusb_interrupt_event_handler ();
16424 return 0;
16426 _ACEOF
16427 if ac_fn_c_try_link "$LINENO"
16428 then :
16429 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16430 else $as_nop
16431 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16434 conftest$ac_exeext conftest.$ac_ext
16435 LIBS=$ac_check_lib_save_LIBS
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16438 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16439 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16440 then :
16442 else $as_nop
16443 USB_LIBS=""
16446 else $as_nop
16447 USB_LIBS=""
16450 CPPFLAGS=$ac_save_CPPFLAGS
16453 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16454 then :
16455 case "x$with_usb" in
16456 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16457 xno) ;;
16458 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16459 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16460 esac
16461 enable_wineusb_sys=${enable_wineusb_sys:-no}
16464 if test "x$with_v4l2" != "xno"
16465 then
16466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16467 printf %s "checking for -lv4l2... " >&6; }
16468 if test ${ac_cv_lib_soname_v4l2+y}
16469 then :
16470 printf %s "(cached) " >&6
16471 else $as_nop
16472 ac_check_soname_save_LIBS=$LIBS
16473 LIBS="-lv4l2 $LIBS"
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16477 /* Override any GCC internal prototype to avoid an error.
16478 Use char because int might match the return type of a GCC
16479 builtin and then its argument prototype would still apply. */
16480 char v4l2_open ();
16482 main (void)
16484 return v4l2_open ();
16486 return 0;
16488 _ACEOF
16489 if ac_fn_c_try_link "$LINENO"
16490 then :
16491 case "$LIBEXT" in
16492 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16493 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'` ;;
16494 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16495 if ${ac_cv_lib_soname_v4l2:+false} :
16496 then :
16497 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16498 fi ;;
16499 esac
16500 else $as_nop
16501 ac_cv_lib_soname_v4l2=
16503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16504 conftest$ac_exeext conftest.$ac_ext
16505 LIBS=$ac_check_soname_save_LIBS
16507 if ${ac_cv_lib_soname_v4l2:+false} :
16508 then :
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16510 printf "%s\n" "not found" >&6; }
16512 else $as_nop
16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16514 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16516 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16521 if test "x$ac_cv_lib_soname_v4l2" = "x"
16522 then :
16523 case "x$with_v4l2" in
16524 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16525 xno) ;;
16526 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16527 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16528 esac
16532 if test "x$with_gphoto" != "xno"
16533 then
16534 rm -f conftest.err
16535 if ${GPHOTO2_CFLAGS:+false} :
16536 then :
16537 if test ${PKG_CONFIG+y}
16538 then :
16539 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16542 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16543 if ${GPHOTO2_LIBS:+false} :
16544 then :
16545 if test ${PKG_CONFIG+y}
16546 then :
16547 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16550 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16551 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16554 if test -s conftest.err; then
16555 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16556 cat conftest.err >&5
16558 rm -f conftest.err
16559 ac_save_CPPFLAGS=$CPPFLAGS
16560 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16561 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16562 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16563 then :
16564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16565 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16566 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16567 then :
16568 printf %s "(cached) " >&6
16569 else $as_nop
16570 ac_check_lib_save_LIBS=$LIBS
16571 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 char gp_camera_new ();
16580 main (void)
16582 return gp_camera_new ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"
16588 then :
16589 ac_cv_lib_gphoto2_gp_camera_new=yes
16590 else $as_nop
16591 ac_cv_lib_gphoto2_gp_camera_new=no
16593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16594 conftest$ac_exeext conftest.$ac_ext
16595 LIBS=$ac_check_lib_save_LIBS
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16598 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16599 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16600 then :
16606 CPPFLAGS=$ac_save_CPPFLAGS
16608 rm -f conftest.err
16609 if ${GPHOTO2_PORT_CFLAGS:+false} :
16610 then :
16611 if test ${PKG_CONFIG+y}
16612 then :
16613 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16616 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16617 if ${GPHOTO2_PORT_LIBS:+false} :
16618 then :
16619 if test ${PKG_CONFIG+y}
16620 then :
16621 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16624 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16625 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16628 if test -s conftest.err; then
16629 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16630 cat conftest.err >&5
16632 rm -f conftest.err
16633 ac_save_CPPFLAGS=$CPPFLAGS
16634 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16635 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16636 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16637 then :
16638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16639 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16640 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16641 then :
16642 printf %s "(cached) " >&6
16643 else $as_nop
16644 ac_check_lib_save_LIBS=$LIBS
16645 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16649 /* Override any GCC internal prototype to avoid an error.
16650 Use char because int might match the return type of a GCC
16651 builtin and then its argument prototype would still apply. */
16652 char gp_port_info_list_new ();
16654 main (void)
16656 return gp_port_info_list_new ();
16658 return 0;
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"
16662 then :
16663 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16664 else $as_nop
16665 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16668 conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_lib_save_LIBS
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16672 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16673 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16674 then :
16676 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16678 else $as_nop
16679 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16682 else $as_nop
16683 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16686 CPPFLAGS=$ac_save_CPPFLAGS
16689 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16690 then :
16691 case "x$with_gphoto" in
16692 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16693 xno) ;;
16694 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16695 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16696 esac
16697 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16699 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16700 then :
16701 case "x$with_gphoto" in
16702 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16703 xno) ;;
16704 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16705 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16706 esac
16711 if test "$ac_cv_header_resolv_h" = "yes"
16712 then
16713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16714 printf %s "checking for resolver library... " >&6; }
16715 if test ${ac_cv_have_resolv+y}
16716 then :
16717 printf %s "(cached) " >&6
16718 else $as_nop
16719 ac_save_LIBS="$LIBS"
16720 for lib in '' -lresolv
16722 LIBS="$lib $ac_save_LIBS"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #ifdef HAVE_NETINET_IN_H
16726 #include <netinet/in.h>
16727 #endif
16728 #include <resolv.h>
16730 main (void)
16732 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"
16738 then :
16739 ac_cv_have_resolv=${lib:-"none required"}
16740 else $as_nop
16741 ac_cv_have_resolv="not found"
16743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16744 conftest$ac_exeext conftest.$ac_ext
16745 test "x$ac_cv_have_resolv" = "xnot found" || break
16746 done
16747 LIBS="$ac_save_LIBS"
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16750 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16752 case "$ac_cv_have_resolv" in
16753 "not found") ;;
16754 "none required")
16756 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16759 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16761 RESOLV_LIBS=$ac_cv_have_resolv
16763 esac
16765 if test "x$ac_cv_have_resolv" != "xnot found"
16766 then
16767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16768 printf %s "checking for res_getservers... " >&6; }
16769 if test ${ac_cv_have_res_getservers+y}
16770 then :
16771 printf %s "(cached) " >&6
16772 else $as_nop
16773 ac_save_LIBS="$LIBS"
16774 LIBS="$RESOLV_LIBS $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 #include <resolv.h>
16779 main (void)
16781 res_getservers(NULL, NULL, 0);
16783 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"
16787 then :
16788 ac_cv_have_res_getservers=yes
16789 else $as_nop
16790 ac_cv_have_res_getservers=no
16792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16793 conftest$ac_exeext conftest.$ac_ext
16794 LIBS="$ac_save_LIBS"
16796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16797 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16798 if test "$ac_cv_have_res_getservers" = "yes"
16799 then
16801 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16807 if test "x$with_freetype" != "xno"
16808 then
16809 rm -f conftest.err
16810 if ${FREETYPE_CFLAGS:+false} :
16811 then :
16812 if test ${PKG_CONFIG+y}
16813 then :
16814 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16817 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16818 if ${FREETYPE_LIBS:+false} :
16819 then :
16820 if test ${PKG_CONFIG+y}
16821 then :
16822 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16825 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16826 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16829 if test -s conftest.err; then
16830 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16831 cat conftest.err >&5
16833 rm -f conftest.err
16834 ac_save_CPPFLAGS=$CPPFLAGS
16835 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16836 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16837 if test "x$ac_cv_header_ft2build_h" = xyes
16838 then :
16839 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16843 if test "$ac_cv_header_ft2build_h" = "yes"
16844 then
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16846 printf %s "checking for -lfreetype... " >&6; }
16847 if test ${ac_cv_lib_soname_freetype+y}
16848 then :
16849 printf %s "(cached) " >&6
16850 else $as_nop
16851 ac_check_soname_save_LIBS=$LIBS
16852 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16856 /* Override any GCC internal prototype to avoid an error.
16857 Use char because int might match the return type of a GCC
16858 builtin and then its argument prototype would still apply. */
16859 char FT_Init_FreeType ();
16861 main (void)
16863 return FT_Init_FreeType ();
16865 return 0;
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"
16869 then :
16870 case "$LIBEXT" in
16871 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16872 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'` ;;
16873 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16874 if ${ac_cv_lib_soname_freetype:+false} :
16875 then :
16876 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16877 fi ;;
16878 esac
16879 else $as_nop
16880 ac_cv_lib_soname_freetype=
16882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16883 conftest$ac_exeext conftest.$ac_ext
16884 LIBS=$ac_check_soname_save_LIBS
16886 if ${ac_cv_lib_soname_freetype:+false} :
16887 then :
16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16889 printf "%s\n" "not found" >&6; }
16890 FREETYPE_LIBS=""
16891 else $as_nop
16892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16893 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16895 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16898 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16900 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16901 #include FT_MODULE_H
16903 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16904 then :
16906 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16912 else
16913 FREETYPE_CFLAGS=""
16914 FREETYPE_LIBS=""
16916 CPPFLAGS=$ac_save_CPPFLAGS
16919 if test "x$ac_cv_lib_soname_freetype" = x
16920 then :
16921 case "x$with_freetype" in
16922 xno) ;;
16923 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16924 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16925 esac
16926 enable_fonts=${enable_fonts:-no}
16929 ac_wine_check_funcs_save_LIBS="$LIBS"
16930 LIBS="$LIBS $PTHREAD_LIBS"
16931 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16932 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16933 then :
16934 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16938 LIBS="$ac_wine_check_funcs_save_LIBS"
16940 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16941 then
16942 if test "$ac_cv_header_gettext_po_h" = "yes"
16943 then
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16945 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16946 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16947 then :
16948 printf %s "(cached) " >&6
16949 else $as_nop
16950 ac_check_lib_save_LIBS=$LIBS
16951 LIBS="-lgettextpo $LIBS"
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 char po_message_msgctxt ();
16960 main (void)
16962 return po_message_msgctxt ();
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"
16968 then :
16969 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16970 else $as_nop
16971 ac_cv_lib_gettextpo_po_message_msgctxt=no
16973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16974 conftest$ac_exeext conftest.$ac_ext
16975 LIBS=$ac_check_lib_save_LIBS
16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16978 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16979 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16980 then :
16982 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16984 GETTEXTPO_LIBS="-lgettextpo"
16989 if test "x$GETTEXTPO_LIBS" = "x"
16990 then :
16991 case "x$with_gettextpo" in
16992 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16993 xno) ;;
16994 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16995 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16996 esac
16999 if test "$srcdir" != .
17000 then :
17001 case "x$with_gettextpo" in
17002 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17003 xno) ;;
17004 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17005 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17006 esac
17011 if test "x$with_pulse" != "xno";
17012 then
17013 rm -f conftest.err
17014 if ${PULSE_CFLAGS:+false} :
17015 then :
17016 if test ${PKG_CONFIG+y}
17017 then :
17018 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17022 if ${PULSE_LIBS:+false} :
17023 then :
17024 if test ${PKG_CONFIG+y}
17025 then :
17026 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17033 if test -s conftest.err; then
17034 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17035 cat conftest.err >&5
17037 rm -f conftest.err
17038 ac_save_CPPFLAGS=$CPPFLAGS
17039 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17040 for ac_header in pulse/pulseaudio.h
17041 do :
17042 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17043 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17044 then :
17045 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17047 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17048 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17049 then :
17050 printf %s "(cached) " >&6
17051 else $as_nop
17052 ac_check_lib_save_LIBS=$LIBS
17053 LIBS="-lpulse $PULSE_LIBS $LIBS"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 char pa_stream_is_corked ();
17062 main (void)
17064 return pa_stream_is_corked ();
17066 return 0;
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"
17070 then :
17071 ac_cv_lib_pulse_pa_stream_is_corked=yes
17072 else $as_nop
17073 ac_cv_lib_pulse_pa_stream_is_corked=no
17075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17076 conftest$ac_exeext conftest.$ac_ext
17077 LIBS=$ac_check_lib_save_LIBS
17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17080 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17081 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17082 then :
17084 else $as_nop
17085 PULSE_LIBS=""
17088 else $as_nop
17089 PULSE_LIBS=""
17092 done
17093 CPPFLAGS=$ac_save_CPPFLAGS
17096 if test -z "$PULSE_LIBS"
17097 then :
17098 case "x$with_pulse" in
17099 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17100 xno) ;;
17101 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17102 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17103 esac
17104 enable_winepulse_drv=${enable_winepulse_drv:-no}
17107 if test "x$with_gstreamer" != "xno"
17108 then
17109 rm -f conftest.err
17110 if ${GSTREAMER_CFLAGS:+false} :
17111 then :
17112 if test ${PKG_CONFIG+y}
17113 then :
17114 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17118 if ${GSTREAMER_LIBS:+false} :
17119 then :
17120 if test ${PKG_CONFIG+y}
17121 then :
17122 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17127 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
17128 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
17129 if test -s conftest.err; then
17130 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17131 cat conftest.err >&5
17133 rm -f conftest.err
17134 ac_save_CPPFLAGS=$CPPFLAGS
17135 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17136 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17137 if test "x$ac_cv_header_gst_gst_h" = xyes
17138 then :
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17140 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <gst/gst.h>
17145 main (void)
17147 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17149 return 0;
17151 _ACEOF
17152 if ac_fn_c_try_compile "$LINENO"
17153 then :
17154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17155 printf "%s\n" "yes" >&6; }
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17157 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17158 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17159 then :
17160 printf %s "(cached) " >&6
17161 else $as_nop
17162 ac_check_lib_save_LIBS=$LIBS
17163 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17167 /* Override any GCC internal prototype to avoid an error.
17168 Use char because int might match the return type of a GCC
17169 builtin and then its argument prototype would still apply. */
17170 char gst_pad_new ();
17172 main (void)
17174 return gst_pad_new ();
17176 return 0;
17178 _ACEOF
17179 if ac_fn_c_try_link "$LINENO"
17180 then :
17181 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17182 else $as_nop
17183 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17186 conftest$ac_exeext conftest.$ac_ext
17187 LIBS=$ac_check_lib_save_LIBS
17189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17190 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17191 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17192 then :
17196 else $as_nop
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17198 printf "%s\n" "no" >&6; }
17199 ac_glib2_broken=yes
17200 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17205 CPPFLAGS=$ac_save_CPPFLAGS
17208 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17209 then :
17210 case "x$with_gstreamer" in
17211 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17212 xno) ;;
17213 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17214 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17215 esac
17216 enable_winegstreamer=${enable_winegstreamer:-no}
17219 ALSA_LIBS=""
17221 if test "x$with_alsa" != "xno"
17222 then
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17224 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17225 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17226 then :
17227 printf %s "(cached) " >&6
17228 else $as_nop
17229 ac_check_lib_save_LIBS=$LIBS
17230 LIBS="-lasound $LIBS"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 /* Override any GCC internal prototype to avoid an error.
17235 Use char because int might match the return type of a GCC
17236 builtin and then its argument prototype would still apply. */
17237 char snd_pcm_hw_params_get_access_mask ();
17239 main (void)
17241 return snd_pcm_hw_params_get_access_mask ();
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"
17247 then :
17248 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17249 else $as_nop
17250 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17253 conftest$ac_exeext conftest.$ac_ext
17254 LIBS=$ac_check_lib_save_LIBS
17256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17257 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17258 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17259 then :
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 #include <alsa/asoundlib.h>
17264 main (void)
17266 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_compile "$LINENO"
17272 then :
17273 ALSA_LIBS="-lasound"
17275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17279 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17281 if test "x$with_oss" != xno
17282 then
17283 ac_save_CPPFLAGS="$CPPFLAGS"
17284 if test -f /etc/oss.conf
17285 then
17286 . /etc/oss.conf
17288 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17289 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17290 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17291 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17292 then :
17293 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17295 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17296 then :
17298 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17300 OSS4_CFLAGS="$ac_oss_incl"
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17303 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17304 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17305 then :
17306 printf %s "(cached) " >&6
17307 else $as_nop
17308 ac_check_lib_save_LIBS=$LIBS
17309 LIBS="-lossaudio $LIBS"
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17313 /* Override any GCC internal prototype to avoid an error.
17314 Use char because int might match the return type of a GCC
17315 builtin and then its argument prototype would still apply. */
17316 char _oss_ioctl ();
17318 main (void)
17320 return _oss_ioctl ();
17322 return 0;
17324 _ACEOF
17325 if ac_fn_c_try_link "$LINENO"
17326 then :
17327 ac_cv_lib_ossaudio__oss_ioctl=yes
17328 else $as_nop
17329 ac_cv_lib_ossaudio__oss_ioctl=no
17331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17332 conftest$ac_exeext conftest.$ac_ext
17333 LIBS=$ac_check_lib_save_LIBS
17335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17336 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17337 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17338 then :
17339 OSS4_LIBS="-lossaudio"
17347 CPPFLAGS="$ac_save_CPPFLAGS"
17349 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17350 then :
17351 case "x$with_oss" in
17352 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17353 xno) ;;
17354 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17355 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17356 esac
17357 enable_wineoss_drv=${enable_wineoss_drv:-no}
17360 if test "x$with_udev" != "xno"
17361 then
17362 rm -f conftest.err
17363 if ${UDEV_CFLAGS:+false} :
17364 then :
17365 if test ${PKG_CONFIG+y}
17366 then :
17367 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17371 if ${UDEV_LIBS:+false} :
17372 then :
17373 if test ${PKG_CONFIG+y}
17374 then :
17375 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17379 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17382 if test -s conftest.err; then
17383 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17384 cat conftest.err >&5
17386 rm -f conftest.err
17387 ac_save_CPPFLAGS=$CPPFLAGS
17388 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17389 for ac_header in libudev.h
17390 do :
17391 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17392 if test "x$ac_cv_header_libudev_h" = xyes
17393 then :
17394 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17396 printf %s "checking for udev_new in -ludev... " >&6; }
17397 if test ${ac_cv_lib_udev_udev_new+y}
17398 then :
17399 printf %s "(cached) " >&6
17400 else $as_nop
17401 ac_check_lib_save_LIBS=$LIBS
17402 LIBS="-ludev $UDEV_LIBS $LIBS"
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17406 /* Override any GCC internal prototype to avoid an error.
17407 Use char because int might match the return type of a GCC
17408 builtin and then its argument prototype would still apply. */
17409 char udev_new ();
17411 main (void)
17413 return udev_new ();
17415 return 0;
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"
17419 then :
17420 ac_cv_lib_udev_udev_new=yes
17421 else $as_nop
17422 ac_cv_lib_udev_udev_new=no
17424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17425 conftest$ac_exeext conftest.$ac_ext
17426 LIBS=$ac_check_lib_save_LIBS
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17429 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17430 if test "x$ac_cv_lib_udev_udev_new" = xyes
17431 then :
17433 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17435 else $as_nop
17436 UDEV_LIBS=""
17439 else $as_nop
17440 UDEV_LIBS=""
17443 done
17444 CPPFLAGS=$ac_save_CPPFLAGS
17447 if test "x$UDEV_LIBS" = "x"
17448 then :
17449 case "x$with_udev" in
17450 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17451 xno) ;;
17452 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17453 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17454 esac
17458 if test "x$with_unwind" != xno
17459 then
17460 rm -f conftest.err
17461 if ${UNWIND_CFLAGS:+false} :
17462 then :
17463 if test ${PKG_CONFIG+y}
17464 then :
17465 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17469 if ${UNWIND_LIBS:+false} :
17470 then :
17471 if test ${PKG_CONFIG+y}
17472 then :
17473 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17477 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17480 if test -s conftest.err; then
17481 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17482 cat conftest.err >&5
17484 rm -f conftest.err
17485 ac_save_CPPFLAGS=$CPPFLAGS
17486 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17488 printf %s "checking for unw_step... " >&6; }
17489 if test ${wine_cv_have_unw_step+y}
17490 then :
17491 printf %s "(cached) " >&6
17492 else $as_nop
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #define UNW_LOCAL_ONLY
17496 #include <libunwind.h>
17498 main (void)
17500 unw_cursor_t cursor; unw_step( &cursor );
17502 return 0;
17504 _ACEOF
17505 if ac_fn_c_try_link "$LINENO"
17506 then :
17507 wine_cv_have_unw_step="yes"
17508 else $as_nop
17509 wine_cv_have_unw_step="no"
17511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17512 conftest$ac_exeext conftest.$ac_ext
17514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17515 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17516 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17517 then
17518 save_libs=$LIBS
17519 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17520 LIBS="$UNWIND_LIBS $LIBS"
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17522 printf %s "checking for unw_step in libunwind... " >&6; }
17523 if test ${wine_cv_have_libunwind_unw_step+y}
17524 then :
17525 printf %s "(cached) " >&6
17526 else $as_nop
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #define UNW_LOCAL_ONLY
17530 #include <libunwind.h>
17532 main (void)
17534 unw_cursor_t cursor; unw_step( &cursor );
17536 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"
17540 then :
17541 wine_cv_have_libunwind_unw_step="yes"
17542 else $as_nop
17543 wine_cv_have_libunwind_unw_step="no"
17545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17546 conftest$ac_exeext conftest.$ac_ext
17548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17549 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17550 LIBS=$save_libs
17552 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17553 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17554 then
17556 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17559 CPPFLAGS=$ac_save_CPPFLAGS
17562 case $host in
17563 aarch64*|*-darwin*)
17564 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17565 then :
17566 case "x$with_unwind" in
17567 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17568 xno) ;;
17569 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17570 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17571 esac
17573 fi ;;
17574 esac
17576 if test "x$with_sdl" != "xno"
17577 then
17578 rm -f conftest.err
17579 if ${SDL2_CFLAGS:+false} :
17580 then :
17581 if test ${PKG_CONFIG+y}
17582 then :
17583 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17587 if ${SDL2_LIBS:+false} :
17588 then :
17589 if test ${PKG_CONFIG+y}
17590 then :
17591 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17595 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17598 if test -s conftest.err; then
17599 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17600 cat conftest.err >&5
17602 rm -f conftest.err
17603 ac_save_CPPFLAGS=$CPPFLAGS
17604 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17605 for ac_header in SDL.h
17606 do :
17607 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17608 if test "x$ac_cv_header_SDL_h" = xyes
17609 then :
17610 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17612 printf %s "checking for -lSDL2... " >&6; }
17613 if test ${ac_cv_lib_soname_SDL2+y}
17614 then :
17615 printf %s "(cached) " >&6
17616 else $as_nop
17617 ac_check_soname_save_LIBS=$LIBS
17618 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17622 /* Override any GCC internal prototype to avoid an error.
17623 Use char because int might match the return type of a GCC
17624 builtin and then its argument prototype would still apply. */
17625 char SDL_Init ();
17627 main (void)
17629 return SDL_Init ();
17631 return 0;
17633 _ACEOF
17634 if ac_fn_c_try_link "$LINENO"
17635 then :
17636 case "$LIBEXT" in
17637 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17638 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'` ;;
17639 *) 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'`
17640 if ${ac_cv_lib_soname_SDL2:+false} :
17641 then :
17642 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17643 fi ;;
17644 esac
17645 else $as_nop
17646 ac_cv_lib_soname_SDL2=
17648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17649 conftest$ac_exeext conftest.$ac_ext
17650 LIBS=$ac_check_soname_save_LIBS
17652 if ${ac_cv_lib_soname_SDL2:+false} :
17653 then :
17654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17655 printf "%s\n" "not found" >&6; }
17657 else $as_nop
17658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17659 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17661 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17667 done
17668 CPPFLAGS=$ac_save_CPPFLAGS
17671 if test "x$ac_cv_lib_soname_SDL2" = "x"
17672 then :
17673 case "x$with_sdl" in
17674 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17675 xno) ;;
17676 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17677 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17678 esac
17682 if test "x$with_capi" != "xno"
17683 then
17684 rm -f conftest.err
17685 if ${CAPI20_CFLAGS:+false} :
17686 then :
17687 if test ${PKG_CONFIG+y}
17688 then :
17689 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17693 if ${CAPI20_LIBS:+false} :
17694 then :
17695 if test ${PKG_CONFIG+y}
17696 then :
17697 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17704 if test -s conftest.err; then
17705 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17706 cat conftest.err >&5
17708 rm -f conftest.err
17709 ac_save_CPPFLAGS=$CPPFLAGS
17710 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17711 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17713 if test "x$ac_cv_header_capi20_h" = xyes
17714 then :
17715 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17718 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17720 if test "x$ac_cv_header_linux_capi_h" = xyes
17721 then :
17722 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17726 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17727 then
17728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17729 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17730 if test ${ac_cv_lib_capi20_capi20_register+y}
17731 then :
17732 printf %s "(cached) " >&6
17733 else $as_nop
17734 ac_check_lib_save_LIBS=$LIBS
17735 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17739 /* Override any GCC internal prototype to avoid an error.
17740 Use char because int might match the return type of a GCC
17741 builtin and then its argument prototype would still apply. */
17742 char capi20_register ();
17744 main (void)
17746 return capi20_register ();
17748 return 0;
17750 _ACEOF
17751 if ac_fn_c_try_link "$LINENO"
17752 then :
17753 ac_cv_lib_capi20_capi20_register=yes
17754 else $as_nop
17755 ac_cv_lib_capi20_capi20_register=no
17757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17758 conftest$ac_exeext conftest.$ac_ext
17759 LIBS=$ac_check_lib_save_LIBS
17761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17762 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17763 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17764 then :
17766 else $as_nop
17767 CAPI20_LIBS=""
17771 CPPFLAGS=$ac_save_CPPFLAGS
17774 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17775 then :
17776 case "x$with_capi" in
17777 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17778 xno) ;;
17779 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17780 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17781 esac
17782 enable_capi2032=${enable_capi2032:-no}
17785 if test "x$with_cups" != "xno"
17786 then
17787 rm -f conftest.err
17788 if ${CUPS_CFLAGS:+false} :
17789 then :
17790 if test ${PKG_CONFIG+y}
17791 then :
17792 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17795 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17796 if ${CUPS_LIBS:+false} :
17797 then :
17798 if test ${PKG_CONFIG+y}
17799 then :
17800 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17803 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17804 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17807 if test -s conftest.err; then
17808 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17809 cat conftest.err >&5
17811 rm -f conftest.err
17812 ac_save_CPPFLAGS=$CPPFLAGS
17813 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17814 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17815 if test "x$ac_cv_header_cups_cups_h" = xyes
17816 then :
17817 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17820 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17821 if test "x$ac_cv_header_cups_ppd_h" = xyes
17822 then :
17823 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17827 if test "$ac_cv_header_cups_cups_h" = "yes"
17828 then
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17830 printf %s "checking for -lcups... " >&6; }
17831 if test ${ac_cv_lib_soname_cups+y}
17832 then :
17833 printf %s "(cached) " >&6
17834 else $as_nop
17835 ac_check_soname_save_LIBS=$LIBS
17836 LIBS="-lcups $CUPS_LIBS $LIBS"
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17840 /* Override any GCC internal prototype to avoid an error.
17841 Use char because int might match the return type of a GCC
17842 builtin and then its argument prototype would still apply. */
17843 char cupsGetDefault ();
17845 main (void)
17847 return cupsGetDefault ();
17849 return 0;
17851 _ACEOF
17852 if ac_fn_c_try_link "$LINENO"
17853 then :
17854 case "$LIBEXT" in
17855 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17856 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'` ;;
17857 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17858 if ${ac_cv_lib_soname_cups:+false} :
17859 then :
17860 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17861 fi ;;
17862 esac
17863 else $as_nop
17864 ac_cv_lib_soname_cups=
17866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17867 conftest$ac_exeext conftest.$ac_ext
17868 LIBS=$ac_check_soname_save_LIBS
17870 if ${ac_cv_lib_soname_cups:+false} :
17871 then :
17872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17873 printf "%s\n" "not found" >&6; }
17874 CUPS_LIBS=""
17875 else $as_nop
17876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17877 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17879 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17883 else
17884 CUPS_CFLAGS=""
17885 CUPS_LIBS=""
17887 CPPFLAGS=$ac_save_CPPFLAGS
17890 if test "x$ac_cv_lib_soname_cups" = "x"
17891 then :
17892 case "x$with_cups" in
17893 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17894 xno) ;;
17895 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17896 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17897 esac
17901 if test "x$with_fontconfig" != "xno"
17902 then
17903 rm -f conftest.err
17904 if ${FONTCONFIG_CFLAGS:+false} :
17905 then :
17906 if test ${PKG_CONFIG+y}
17907 then :
17908 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17911 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17912 if ${FONTCONFIG_LIBS:+false} :
17913 then :
17914 if test ${PKG_CONFIG+y}
17915 then :
17916 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17919 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17923 if test -s conftest.err; then
17924 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17925 cat conftest.err >&5
17927 rm -f conftest.err
17928 ac_save_CPPFLAGS=$CPPFLAGS
17929 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17930 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17931 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17932 then :
17933 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17937 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17938 then
17939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17940 printf %s "checking for -lfontconfig... " >&6; }
17941 if test ${ac_cv_lib_soname_fontconfig+y}
17942 then :
17943 printf %s "(cached) " >&6
17944 else $as_nop
17945 ac_check_soname_save_LIBS=$LIBS
17946 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17953 char FcInit ();
17955 main (void)
17957 return FcInit ();
17959 return 0;
17961 _ACEOF
17962 if ac_fn_c_try_link "$LINENO"
17963 then :
17964 case "$LIBEXT" in
17965 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17966 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'` ;;
17967 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17968 if ${ac_cv_lib_soname_fontconfig:+false} :
17969 then :
17970 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17971 fi ;;
17972 esac
17973 else $as_nop
17974 ac_cv_lib_soname_fontconfig=
17976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17977 conftest$ac_exeext conftest.$ac_ext
17978 LIBS=$ac_check_soname_save_LIBS
17980 if ${ac_cv_lib_soname_fontconfig:+false} :
17981 then :
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17983 printf "%s\n" "not found" >&6; }
17984 FONTCONFIG_CFLAGS=""
17985 else $as_nop
17986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17987 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17989 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17993 else
17994 FONTCONFIG_CFLAGS=""
17996 CPPFLAGS=$ac_save_CPPFLAGS
17999 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18000 then :
18001 case "x$with_fontconfig" in
18002 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18003 xno) ;;
18004 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18005 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18006 esac
18010 if test "x$with_krb5" != "xno"
18011 then
18012 rm -f conftest.err
18013 if ${KRB5_CFLAGS:+false} :
18014 then :
18015 if test ${PKG_CONFIG+y}
18016 then :
18017 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18020 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18021 if ${KRB5_LIBS:+false} :
18022 then :
18023 if test ${PKG_CONFIG+y}
18024 then :
18025 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18028 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18032 if test -s conftest.err; then
18033 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18034 cat conftest.err >&5
18036 rm -f conftest.err
18037 ac_save_CPPFLAGS=$CPPFLAGS
18038 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18039 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18040 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18041 then :
18042 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18046 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18047 then
18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18049 printf %s "checking for -lkrb5... " >&6; }
18050 if test ${ac_cv_lib_soname_krb5+y}
18051 then :
18052 printf %s "(cached) " >&6
18053 else $as_nop
18054 ac_check_soname_save_LIBS=$LIBS
18055 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 char krb5_is_config_principal ();
18064 main (void)
18066 return krb5_is_config_principal ();
18068 return 0;
18070 _ACEOF
18071 if ac_fn_c_try_link "$LINENO"
18072 then :
18073 case "$LIBEXT" in
18074 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18075 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'` ;;
18076 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18077 if ${ac_cv_lib_soname_krb5:+false} :
18078 then :
18079 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18080 fi ;;
18081 esac
18082 else $as_nop
18083 ac_cv_lib_soname_krb5=
18085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18086 conftest$ac_exeext conftest.$ac_ext
18087 LIBS=$ac_check_soname_save_LIBS
18089 if ${ac_cv_lib_soname_krb5:+false} :
18090 then :
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18092 printf "%s\n" "not found" >&6; }
18093 KRB5_CFLAGS=""
18094 else $as_nop
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18096 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18098 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18102 else
18103 KRB5_CFLAGS=""
18105 CPPFLAGS=$ac_save_CPPFLAGS
18108 if test "x$ac_cv_lib_soname_krb5" = "x"
18109 then :
18110 case "x$with_krb5" in
18111 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18112 xno) ;;
18113 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18114 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18115 esac
18118 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18120 if test "x$with_gssapi" != "xno"
18121 then
18122 rm -f conftest.err
18123 if ${GSSAPI_CFLAGS:+false} :
18124 then :
18125 if test ${PKG_CONFIG+y}
18126 then :
18127 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18130 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18131 if ${GSSAPI_LIBS:+false} :
18132 then :
18133 if test ${PKG_CONFIG+y}
18134 then :
18135 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18138 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18142 if test -s conftest.err; then
18143 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18144 cat conftest.err >&5
18146 rm -f conftest.err
18147 ac_save_CPPFLAGS=$CPPFLAGS
18148 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18149 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18150 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18151 then :
18152 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18155 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18156 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18157 then :
18158 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18162 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18163 then
18164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18165 printf %s "checking for -lgssapi_krb5... " >&6; }
18166 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18167 then :
18168 printf %s "(cached) " >&6
18169 else $as_nop
18170 ac_check_soname_save_LIBS=$LIBS
18171 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18175 /* Override any GCC internal prototype to avoid an error.
18176 Use char because int might match the return type of a GCC
18177 builtin and then its argument prototype would still apply. */
18178 char gss_init_sec_context ();
18180 main (void)
18182 return gss_init_sec_context ();
18184 return 0;
18186 _ACEOF
18187 if ac_fn_c_try_link "$LINENO"
18188 then :
18189 case "$LIBEXT" in
18190 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18191 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'` ;;
18192 *) 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'`
18193 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18194 then :
18195 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18196 fi ;;
18197 esac
18198 else $as_nop
18199 ac_cv_lib_soname_gssapi_krb5=
18201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18202 conftest$ac_exeext conftest.$ac_ext
18203 LIBS=$ac_check_soname_save_LIBS
18205 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18206 then :
18207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18208 printf "%s\n" "not found" >&6; }
18209 GSSAPI_CFLAGS=""
18210 else $as_nop
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18212 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18214 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18218 else
18219 GSSAPI_CFLAGS=""
18221 CPPFLAGS=$ac_save_CPPFLAGS
18224 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18225 then :
18226 case "x$with_gssapi" in
18227 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18228 xno) ;;
18229 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18230 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18231 esac
18235 if test "$ac_cv_header_libprocstat_h" = "yes"
18236 then
18237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18238 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18239 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18240 then :
18241 printf %s "(cached) " >&6
18242 else $as_nop
18243 ac_check_lib_save_LIBS=$LIBS
18244 LIBS="-lprocstat $LIBS"
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18248 /* Override any GCC internal prototype to avoid an error.
18249 Use char because int might match the return type of a GCC
18250 builtin and then its argument prototype would still apply. */
18251 char procstat_open_sysctl ();
18253 main (void)
18255 return procstat_open_sysctl ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"
18261 then :
18262 ac_cv_lib_procstat_procstat_open_sysctl=yes
18263 else $as_nop
18264 ac_cv_lib_procstat_procstat_open_sysctl=no
18266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18267 conftest$ac_exeext conftest.$ac_ext
18268 LIBS=$ac_check_lib_save_LIBS
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18271 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18272 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18273 then :
18275 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18277 PROCSTAT_LIBS="-lprocstat"
18283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18284 printf %s "checking for -lodbc... " >&6; }
18285 if test ${ac_cv_lib_soname_odbc+y}
18286 then :
18287 printf %s "(cached) " >&6
18288 else $as_nop
18289 ac_check_soname_save_LIBS=$LIBS
18290 LIBS="-lodbc $LIBS"
18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18294 /* Override any GCC internal prototype to avoid an error.
18295 Use char because int might match the return type of a GCC
18296 builtin and then its argument prototype would still apply. */
18297 char SQLConnect ();
18299 main (void)
18301 return SQLConnect ();
18303 return 0;
18305 _ACEOF
18306 if ac_fn_c_try_link "$LINENO"
18307 then :
18308 case "$LIBEXT" in
18309 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18310 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'` ;;
18311 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18312 if ${ac_cv_lib_soname_odbc:+false} :
18313 then :
18314 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18315 fi ;;
18316 esac
18317 else $as_nop
18318 ac_cv_lib_soname_odbc=
18320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18321 conftest$ac_exeext conftest.$ac_ext
18322 LIBS=$ac_check_soname_save_LIBS
18324 if ${ac_cv_lib_soname_odbc:+false} :
18325 then :
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18327 printf "%s\n" "not found" >&6; }
18328 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18330 else $as_nop
18331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18332 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18334 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18339 if test "x$with_netapi" != "xno"
18340 then
18341 rm -f conftest.err
18342 if ${NETAPI_CFLAGS:+false} :
18343 then :
18344 if test ${PKG_CONFIG+y}
18345 then :
18346 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18350 if ${NETAPI_LIBS:+false} :
18351 then :
18352 if test ${PKG_CONFIG+y}
18353 then :
18354 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18361 if test -s conftest.err; then
18362 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18363 cat conftest.err >&5
18365 rm -f conftest.err
18366 ac_save_CPPFLAGS=$CPPFLAGS
18367 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18369 printf %s "checking for -lnetapi... " >&6; }
18370 if test ${ac_cv_lib_soname_netapi+y}
18371 then :
18372 printf %s "(cached) " >&6
18373 else $as_nop
18374 ac_check_soname_save_LIBS=$LIBS
18375 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 /* Override any GCC internal prototype to avoid an error.
18380 Use char because int might match the return type of a GCC
18381 builtin and then its argument prototype would still apply. */
18382 char libnetapi_init ();
18384 main (void)
18386 return libnetapi_init ();
18388 return 0;
18390 _ACEOF
18391 if ac_fn_c_try_link "$LINENO"
18392 then :
18393 case "$LIBEXT" in
18394 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18395 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'` ;;
18396 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18397 if ${ac_cv_lib_soname_netapi:+false} :
18398 then :
18399 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18400 fi ;;
18401 esac
18402 else $as_nop
18403 ac_cv_lib_soname_netapi=
18405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_check_soname_save_LIBS
18409 if ${ac_cv_lib_soname_netapi:+false} :
18410 then :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18412 printf "%s\n" "not found" >&6; }
18413 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18415 else $as_nop
18416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18417 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18419 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18423 CPPFLAGS=$ac_save_CPPFLAGS
18426 if test "x$ac_cv_lib_soname_netapi" = "x"
18427 then :
18428 case "x$with_netapi" in
18429 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18430 xno) ;;
18431 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18432 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18433 esac
18434 enable_netapi=${enable_netapi:-no}
18438 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18439 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18440 then
18441 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18444 if test "x$with_vulkan" != "xno"
18445 then
18446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18447 printf %s "checking for -lvulkan... " >&6; }
18448 if test ${ac_cv_lib_soname_vulkan+y}
18449 then :
18450 printf %s "(cached) " >&6
18451 else $as_nop
18452 ac_check_soname_save_LIBS=$LIBS
18453 LIBS="-lvulkan $LIBS"
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18460 char vkGetInstanceProcAddr ();
18462 main (void)
18464 return vkGetInstanceProcAddr ();
18466 return 0;
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 case "$LIBEXT" in
18472 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18473 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'` ;;
18474 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18475 if ${ac_cv_lib_soname_vulkan:+false} :
18476 then :
18477 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18478 fi ;;
18479 esac
18480 else $as_nop
18481 ac_cv_lib_soname_vulkan=
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_soname_save_LIBS
18487 if ${ac_cv_lib_soname_vulkan:+false} :
18488 then :
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18490 printf "%s\n" "not found" >&6; }
18492 else $as_nop
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18494 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18496 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18500 if test "x$ac_cv_lib_soname_vulkan" = "x"
18501 then
18502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18503 printf %s "checking for -lMoltenVK... " >&6; }
18504 if test ${ac_cv_lib_soname_MoltenVK+y}
18505 then :
18506 printf %s "(cached) " >&6
18507 else $as_nop
18508 ac_check_soname_save_LIBS=$LIBS
18509 LIBS="-lMoltenVK $LIBS"
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18513 /* Override any GCC internal prototype to avoid an error.
18514 Use char because int might match the return type of a GCC
18515 builtin and then its argument prototype would still apply. */
18516 char vkGetInstanceProcAddr ();
18518 main (void)
18520 return vkGetInstanceProcAddr ();
18522 return 0;
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"
18526 then :
18527 case "$LIBEXT" in
18528 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18529 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'` ;;
18530 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18531 if ${ac_cv_lib_soname_MoltenVK:+false} :
18532 then :
18533 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18534 fi ;;
18535 esac
18536 else $as_nop
18537 ac_cv_lib_soname_MoltenVK=
18539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18540 conftest$ac_exeext conftest.$ac_ext
18541 LIBS=$ac_check_soname_save_LIBS
18543 if ${ac_cv_lib_soname_MoltenVK:+false} :
18544 then :
18545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18546 printf "%s\n" "not found" >&6; }
18548 else $as_nop
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18550 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18552 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18558 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18559 then :
18560 case "x$with_vulkan" in
18561 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18562 xno) ;;
18563 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18564 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18565 esac
18570 if test "x${GCC}" = "xyes"
18571 then
18572 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18574 saved_CFLAGS=$CFLAGS
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18576 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18577 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18578 then :
18579 printf %s "(cached) " >&6
18580 else $as_nop
18581 ac_wine_try_cflags_saved=$CFLAGS
18582 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 int main(int argc, char **argv) { return 0; }
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"
18588 then :
18589 ac_cv_cflags__Werror_unknown_warning_option=yes
18590 else $as_nop
18591 ac_cv_cflags__Werror_unknown_warning_option=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18594 conftest$ac_exeext conftest.$ac_ext
18595 CFLAGS=$ac_wine_try_cflags_saved
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18598 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18599 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18600 then :
18601 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18604 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18605 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18614 _ACEOF
18615 if ac_fn_c_try_link "$LINENO"
18616 then :
18617 ac_cv_cflags__Werror_unused_command_line_argument=yes
18618 else $as_nop
18619 ac_cv_cflags__Werror_unused_command_line_argument=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18622 conftest$ac_exeext conftest.$ac_ext
18623 CFLAGS=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18626 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18627 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18628 then :
18629 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18632 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18633 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18634 then :
18635 printf %s "(cached) " >&6
18636 else $as_nop
18637 ac_wine_try_cflags_saved=$CFLAGS
18638 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 int main(int argc, char **argv) { return 0; }
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"
18644 then :
18645 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18646 else $as_nop
18647 ac_cv_cflags__Werror_ignored_optimization_argument=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18650 conftest$ac_exeext conftest.$ac_ext
18651 CFLAGS=$ac_wine_try_cflags_saved
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18654 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18655 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18656 then :
18657 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18660 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18661 if test ${ac_cv_cflags__fcf_protection_none+y}
18662 then :
18663 printf %s "(cached) " >&6
18664 else $as_nop
18665 ac_wine_try_cflags_saved=$CFLAGS
18666 CFLAGS="$CFLAGS -fcf-protection=none"
18667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18669 int main(int argc, char **argv) { return 0; }
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"
18672 then :
18673 ac_cv_cflags__fcf_protection_none=yes
18674 else $as_nop
18675 ac_cv_cflags__fcf_protection_none=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18678 conftest$ac_exeext conftest.$ac_ext
18679 CFLAGS=$ac_wine_try_cflags_saved
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18682 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18683 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18684 then :
18685 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18688 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18689 if test ${ac_cv_cflags__fno_stack_protector+y}
18690 then :
18691 printf %s "(cached) " >&6
18692 else $as_nop
18693 ac_wine_try_cflags_saved=$CFLAGS
18694 CFLAGS="$CFLAGS -fno-stack-protector"
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 int main(int argc, char **argv) { return 0; }
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"
18700 then :
18701 ac_cv_cflags__fno_stack_protector=yes
18702 else $as_nop
18703 ac_cv_cflags__fno_stack_protector=no
18705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18706 conftest$ac_exeext conftest.$ac_ext
18707 CFLAGS=$ac_wine_try_cflags_saved
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18710 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18711 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18712 then :
18713 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18716 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18717 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18718 then :
18719 printf %s "(cached) " >&6
18720 else $as_nop
18721 ac_wine_try_cflags_saved=$CFLAGS
18722 CFLAGS="$CFLAGS -fno-strict-aliasing"
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 int main(int argc, char **argv) { return 0; }
18726 _ACEOF
18727 if ac_fn_c_try_link "$LINENO"
18728 then :
18729 ac_cv_cflags__fno_strict_aliasing=yes
18730 else $as_nop
18731 ac_cv_cflags__fno_strict_aliasing=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18734 conftest$ac_exeext conftest.$ac_ext
18735 CFLAGS=$ac_wine_try_cflags_saved
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18738 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18739 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18740 then :
18741 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18744 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18745 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18746 then :
18747 printf %s "(cached) " >&6
18748 else $as_nop
18749 ac_wine_try_cflags_saved=$CFLAGS
18750 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 int main(int argc, char **argv) { return 0; }
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"
18756 then :
18757 ac_cv_cflags__Wdeclaration_after_statement=yes
18758 else $as_nop
18759 ac_cv_cflags__Wdeclaration_after_statement=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18762 conftest$ac_exeext conftest.$ac_ext
18763 CFLAGS=$ac_wine_try_cflags_saved
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18766 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18767 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18768 then :
18769 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18772 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18773 if test ${ac_cv_cflags__Wempty_body+y}
18774 then :
18775 printf %s "(cached) " >&6
18776 else $as_nop
18777 ac_wine_try_cflags_saved=$CFLAGS
18778 CFLAGS="$CFLAGS -Wempty-body"
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 int main(int argc, char **argv) { return 0; }
18782 _ACEOF
18783 if ac_fn_c_try_link "$LINENO"
18784 then :
18785 ac_cv_cflags__Wempty_body=yes
18786 else $as_nop
18787 ac_cv_cflags__Wempty_body=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18790 conftest$ac_exeext conftest.$ac_ext
18791 CFLAGS=$ac_wine_try_cflags_saved
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18794 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18795 if test "x$ac_cv_cflags__Wempty_body" = xyes
18796 then :
18797 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18800 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18801 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18802 then :
18803 printf %s "(cached) " >&6
18804 else $as_nop
18805 ac_wine_try_cflags_saved=$CFLAGS
18806 CFLAGS="$CFLAGS -Wignored-qualifiers"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 int main(int argc, char **argv) { return 0; }
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"
18812 then :
18813 ac_cv_cflags__Wignored_qualifiers=yes
18814 else $as_nop
18815 ac_cv_cflags__Wignored_qualifiers=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18818 conftest$ac_exeext conftest.$ac_ext
18819 CFLAGS=$ac_wine_try_cflags_saved
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18822 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18823 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18824 then :
18825 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18828 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18829 if test ${ac_cv_cflags__Winit_self+y}
18830 then :
18831 printf %s "(cached) " >&6
18832 else $as_nop
18833 ac_wine_try_cflags_saved=$CFLAGS
18834 CFLAGS="$CFLAGS -Winit-self"
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 int main(int argc, char **argv) { return 0; }
18838 _ACEOF
18839 if ac_fn_c_try_link "$LINENO"
18840 then :
18841 ac_cv_cflags__Winit_self=yes
18842 else $as_nop
18843 ac_cv_cflags__Winit_self=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18846 conftest$ac_exeext conftest.$ac_ext
18847 CFLAGS=$ac_wine_try_cflags_saved
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18850 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18851 if test "x$ac_cv_cflags__Winit_self" = xyes
18852 then :
18853 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18856 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18857 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18858 then :
18859 printf %s "(cached) " >&6
18860 else $as_nop
18861 ac_wine_try_cflags_saved=$CFLAGS
18862 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 int main(int argc, char **argv) { return 0; }
18866 _ACEOF
18867 if ac_fn_c_try_link "$LINENO"
18868 then :
18869 ac_cv_cflags__Wpacked_not_aligned=yes
18870 else $as_nop
18871 ac_cv_cflags__Wpacked_not_aligned=no
18873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18874 conftest$ac_exeext conftest.$ac_ext
18875 CFLAGS=$ac_wine_try_cflags_saved
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18878 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18879 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18880 then :
18881 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18884 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18885 if test ${ac_cv_cflags__Wpragma_pack+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wpragma-pack"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__Wpragma_pack=yes
18898 else $as_nop
18899 ac_cv_cflags__Wpragma_pack=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18907 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18908 then :
18909 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18912 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18913 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 ac_wine_try_cflags_saved=$CFLAGS
18918 CFLAGS="$CFLAGS -Wshift-overflow=2"
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18921 int main(int argc, char **argv) { return 0; }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"
18924 then :
18925 ac_cv_cflags__Wshift_overflow_2=yes
18926 else $as_nop
18927 ac_cv_cflags__Wshift_overflow_2=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18930 conftest$ac_exeext conftest.$ac_ext
18931 CFLAGS=$ac_wine_try_cflags_saved
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18934 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18935 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18936 then :
18937 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18940 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18941 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18942 then :
18943 printf %s "(cached) " >&6
18944 else $as_nop
18945 ac_wine_try_cflags_saved=$CFLAGS
18946 CFLAGS="$CFLAGS -Wstrict-prototypes"
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 int main(int argc, char **argv) { return 0; }
18950 _ACEOF
18951 if ac_fn_c_try_link "$LINENO"
18952 then :
18953 ac_cv_cflags__Wstrict_prototypes=yes
18954 else $as_nop
18955 ac_cv_cflags__Wstrict_prototypes=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18958 conftest$ac_exeext conftest.$ac_ext
18959 CFLAGS=$ac_wine_try_cflags_saved
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18962 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18963 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18964 then :
18965 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18968 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18969 if test ${ac_cv_cflags__Wtype_limits+y}
18970 then :
18971 printf %s "(cached) " >&6
18972 else $as_nop
18973 ac_wine_try_cflags_saved=$CFLAGS
18974 CFLAGS="$CFLAGS -Wtype-limits"
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 int main(int argc, char **argv) { return 0; }
18978 _ACEOF
18979 if ac_fn_c_try_link "$LINENO"
18980 then :
18981 ac_cv_cflags__Wtype_limits=yes
18982 else $as_nop
18983 ac_cv_cflags__Wtype_limits=no
18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18986 conftest$ac_exeext conftest.$ac_ext
18987 CFLAGS=$ac_wine_try_cflags_saved
18989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18990 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18991 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18992 then :
18993 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18996 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18997 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18998 then :
18999 printf %s "(cached) " >&6
19000 else $as_nop
19001 ac_wine_try_cflags_saved=$CFLAGS
19002 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19005 int main(int argc, char **argv) { return 0; }
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"
19008 then :
19009 ac_cv_cflags__Wunused_but_set_parameter=yes
19010 else $as_nop
19011 ac_cv_cflags__Wunused_but_set_parameter=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19014 conftest$ac_exeext conftest.$ac_ext
19015 CFLAGS=$ac_wine_try_cflags_saved
19017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19018 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19019 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19020 then :
19021 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19024 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19025 if test ${ac_cv_cflags__Wvla+y}
19026 then :
19027 printf %s "(cached) " >&6
19028 else $as_nop
19029 ac_wine_try_cflags_saved=$CFLAGS
19030 CFLAGS="$CFLAGS -Wvla"
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 int main(int argc, char **argv) { return 0; }
19034 _ACEOF
19035 if ac_fn_c_try_link "$LINENO"
19036 then :
19037 ac_cv_cflags__Wvla=yes
19038 else $as_nop
19039 ac_cv_cflags__Wvla=no
19041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19042 conftest$ac_exeext conftest.$ac_ext
19043 CFLAGS=$ac_wine_try_cflags_saved
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19046 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19047 if test "x$ac_cv_cflags__Wvla" = xyes
19048 then :
19049 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19052 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19053 if test ${ac_cv_cflags__Wwrite_strings+y}
19054 then :
19055 printf %s "(cached) " >&6
19056 else $as_nop
19057 ac_wine_try_cflags_saved=$CFLAGS
19058 CFLAGS="$CFLAGS -Wwrite-strings"
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19062 _ACEOF
19063 if ac_fn_c_try_link "$LINENO"
19064 then :
19065 ac_cv_cflags__Wwrite_strings=yes
19066 else $as_nop
19067 ac_cv_cflags__Wwrite_strings=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 CFLAGS=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19075 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19076 then :
19077 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19081 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19082 if test ${ac_cv_cflags__Wpointer_arith+y}
19083 then :
19084 printf %s "(cached) " >&6
19085 else $as_nop
19086 ac_wine_try_cflags_saved=$CFLAGS
19087 CFLAGS="$CFLAGS -Wpointer-arith"
19088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 int main(int argc, char **argv) { return 0; }
19091 _ACEOF
19092 if ac_fn_c_try_link "$LINENO"
19093 then :
19094 ac_cv_cflags__Wpointer_arith=yes
19095 else $as_nop
19096 ac_cv_cflags__Wpointer_arith=no
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19099 conftest$ac_exeext conftest.$ac_ext
19100 CFLAGS=$ac_wine_try_cflags_saved
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19103 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19104 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19105 then :
19106 saved_string_h_CFLAGS=$CFLAGS
19107 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19109 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19110 if test ${ac_cv_c_string_h_warnings+y}
19111 then :
19112 printf %s "(cached) " >&6
19113 else $as_nop
19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 #include <string.h>
19118 main (void)
19122 return 0;
19124 _ACEOF
19125 if ac_fn_c_try_compile "$LINENO"
19126 then :
19127 ac_cv_c_string_h_warnings=no
19128 else $as_nop
19129 ac_cv_c_string_h_warnings=yes
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19134 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19135 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19136 CFLAGS=$saved_string_h_CFLAGS
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19140 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19141 if test ${ac_cv_cflags__Wlogical_op+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_wine_try_cflags_saved=$CFLAGS
19146 CFLAGS="$CFLAGS -Wlogical-op"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 int main(int argc, char **argv) { return 0; }
19150 _ACEOF
19151 if ac_fn_c_try_link "$LINENO"
19152 then :
19153 ac_cv_cflags__Wlogical_op=yes
19154 else $as_nop
19155 ac_cv_cflags__Wlogical_op=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19158 conftest$ac_exeext conftest.$ac_ext
19159 CFLAGS=$ac_wine_try_cflags_saved
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19162 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19163 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19164 then :
19165 saved_string_h_CFLAGS=$CFLAGS
19166 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19168 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19169 if test ${ac_cv_c_logicalop_noisy+y}
19170 then :
19171 printf %s "(cached) " >&6
19172 else $as_nop
19173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19175 #include <string.h>
19176 char*f(const char *h,char n) {return strchr(h,n);}
19178 main (void)
19182 return 0;
19184 _ACEOF
19185 if ac_fn_c_try_compile "$LINENO"
19186 then :
19187 ac_cv_c_logicalop_noisy=no
19188 else $as_nop
19189 ac_cv_c_logicalop_noisy=yes
19191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19194 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19195 CFLAGS=$saved_string_h_CFLAGS
19196 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19200 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19201 if test ${wine_cv_64bit_compare_swap+y}
19202 then :
19203 printf %s "(cached) " >&6
19204 else $as_nop
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19208 #error no
19209 #endif
19211 main (void)
19215 return 0;
19217 _ACEOF
19218 if ac_fn_c_try_compile "$LINENO"
19219 then :
19220 wine_cv_64bit_compare_swap="none needed"
19221 else $as_nop
19222 case $host_cpu in
19223 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19224 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19225 *) wine_cv_64bit_compare_swap="unknown" ;;
19226 esac
19227 if test "x$wine_cv_64bit_compare_swap" != xunknown
19228 then
19229 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19233 #error no
19234 #endif
19236 main (void)
19240 return 0;
19242 _ACEOF
19243 if ac_fn_c_try_compile "$LINENO"
19244 then :
19246 else $as_nop
19247 wine_cv_64bit_compare_swap="unknown"
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19250 CFLAGS=$saved_CFLAGS
19253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19256 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19257 case "$wine_cv_64bit_compare_swap" in
19258 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19259 "none needed") ;;
19260 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19261 esac
19263 ac_debug_format_seen=""
19264 for ac_flag in $CFLAGS; do
19265 case $ac_flag in
19266 -gdwarf*) ac_debug_format_seen=yes ;;
19267 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19268 esac
19269 done
19270 if test "x$ac_debug_format_seen" = xdefault
19271 then
19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19273 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19274 if test ${ac_cv_cflags__gdwarf_4+y}
19275 then :
19276 printf %s "(cached) " >&6
19277 else $as_nop
19278 ac_wine_try_cflags_saved=$CFLAGS
19279 CFLAGS="$CFLAGS -gdwarf-4"
19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282 int main(int argc, char **argv) { return 0; }
19283 _ACEOF
19284 if ac_fn_c_try_link "$LINENO"
19285 then :
19286 ac_cv_cflags__gdwarf_4=yes
19287 else $as_nop
19288 ac_cv_cflags__gdwarf_4=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19291 conftest$ac_exeext conftest.$ac_ext
19292 CFLAGS=$ac_wine_try_cflags_saved
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19295 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19296 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19297 then :
19298 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19302 MSVCRTFLAGS=""
19304 case $host_os in
19305 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19306 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19307 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19308 then :
19309 printf %s "(cached) " >&6
19310 else $as_nop
19311 ac_wine_try_cflags_saved=$CFLAGS
19312 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19315 int main(int argc, char **argv) { return 0; }
19316 _ACEOF
19317 if ac_fn_c_try_link "$LINENO"
19318 then :
19319 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19320 else $as_nop
19321 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19324 conftest$ac_exeext conftest.$ac_ext
19325 CFLAGS=$ac_wine_try_cflags_saved
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19328 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19329 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19330 then :
19331 DELAYLOADFLAG="-Wl,-delayload,"
19333 fi ;;
19334 *) MSVCRTFLAGS="-D_WIN32"
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19336 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19337 if test ${ac_cv_cflags__fno_builtin+y}
19338 then :
19339 printf %s "(cached) " >&6
19340 else $as_nop
19341 ac_wine_try_cflags_saved=$CFLAGS
19342 CFLAGS="$CFLAGS -fno-builtin"
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19346 _ACEOF
19347 if ac_fn_c_try_link "$LINENO"
19348 then :
19349 ac_cv_cflags__fno_builtin=yes
19350 else $as_nop
19351 ac_cv_cflags__fno_builtin=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19354 conftest$ac_exeext conftest.$ac_ext
19355 CFLAGS=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19358 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19359 if test "x$ac_cv_cflags__fno_builtin" = xyes
19360 then :
19361 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19364 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19365 if test ${ac_cv_cflags__fshort_wchar+y}
19366 then :
19367 printf %s "(cached) " >&6
19368 else $as_nop
19369 ac_wine_try_cflags_saved=$CFLAGS
19370 CFLAGS="$CFLAGS -fshort-wchar"
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19374 _ACEOF
19375 if ac_fn_c_try_link "$LINENO"
19376 then :
19377 ac_cv_cflags__fshort_wchar=yes
19378 else $as_nop
19379 ac_cv_cflags__fshort_wchar=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19382 conftest$ac_exeext conftest.$ac_ext
19383 CFLAGS=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19386 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19387 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19388 then :
19389 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19392 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19393 if test ${ac_cv_cflags__fvisibility_hidden+y}
19394 then :
19395 printf %s "(cached) " >&6
19396 else $as_nop
19397 ac_wine_try_cflags_saved=$CFLAGS
19398 CFLAGS="$CFLAGS -fvisibility=hidden"
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 int main(int argc, char **argv) { return 0; }
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"
19404 then :
19405 ac_cv_cflags__fvisibility_hidden=yes
19406 else $as_nop
19407 ac_cv_cflags__fvisibility_hidden=no
19409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19410 conftest$ac_exeext conftest.$ac_ext
19411 CFLAGS=$ac_wine_try_cflags_saved
19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19414 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19415 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19416 then :
19417 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19420 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19421 if test ${ac_cv_cflags__Wno_format+y}
19422 then :
19423 printf %s "(cached) " >&6
19424 else $as_nop
19425 ac_wine_try_cflags_saved=$CFLAGS
19426 CFLAGS="$CFLAGS -Wno-format"
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 int main(int argc, char **argv) { return 0; }
19430 _ACEOF
19431 if ac_fn_c_try_link "$LINENO"
19432 then :
19433 ac_cv_cflags__Wno_format=yes
19434 else $as_nop
19435 ac_cv_cflags__Wno_format=no
19437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19438 conftest$ac_exeext conftest.$ac_ext
19439 CFLAGS=$ac_wine_try_cflags_saved
19441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19442 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19443 if test "x$ac_cv_cflags__Wno_format" = xyes
19444 then :
19445 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19446 fi ;;
19447 esac
19449 case $host_cpu in
19450 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19451 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19452 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19453 then :
19454 printf %s "(cached) " >&6
19455 else $as_nop
19456 ac_wine_try_cflags_saved=$CFLAGS
19457 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h. */
19460 int main(int argc, char **argv) { return 0; }
19461 _ACEOF
19462 if ac_fn_c_try_link "$LINENO"
19463 then :
19464 ac_cv_cflags__fno_omit_frame_pointer=yes
19465 else $as_nop
19466 ac_cv_cflags__fno_omit_frame_pointer=no
19468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19469 conftest$ac_exeext conftest.$ac_ext
19470 CFLAGS=$ac_wine_try_cflags_saved
19472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19473 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19474 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19475 then :
19476 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19477 fi ;;
19478 *x86_64*)
19479 case $host_os in
19480 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19481 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19482 if test ${ac_cv_cflags__Wno_format+y}
19483 then :
19484 printf %s "(cached) " >&6
19485 else $as_nop
19486 ac_wine_try_cflags_saved=$CFLAGS
19487 CFLAGS="$CFLAGS -Wno-format"
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 int main(int argc, char **argv) { return 0; }
19491 _ACEOF
19492 if ac_fn_c_try_link "$LINENO"
19493 then :
19494 ac_cv_cflags__Wno_format=yes
19495 else $as_nop
19496 ac_cv_cflags__Wno_format=no
19498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19499 conftest$ac_exeext conftest.$ac_ext
19500 CFLAGS=$ac_wine_try_cflags_saved
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19503 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19504 if test "x$ac_cv_cflags__Wno_format" = xyes
19505 then :
19506 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19507 fi ;;
19508 *) if test -z "$PE_ARCHS"
19509 then
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19511 printf %s "checking for working -mabi=ms... " >&6; }
19512 if test ${ac_cv_mabi_ms+y}
19513 then :
19514 printf %s "(cached) " >&6
19515 else $as_nop
19516 CFLAGS="$CFLAGS -mabi=ms"
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <stdarg.h>
19520 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19522 main (void)
19526 return 0;
19528 _ACEOF
19529 if ac_fn_c_try_compile "$LINENO"
19530 then :
19531 ac_cv_mabi_ms=yes
19532 else $as_nop
19533 ac_cv_mabi_ms=no
19535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19536 CFLAGS=$saved_CFLAGS
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19539 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19540 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
19542 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19543 esac ;;
19544 arm*)
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19546 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19547 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19548 then :
19549 printf %s "(cached) " >&6
19550 else $as_nop
19551 ac_wine_try_cflags_saved=$CFLAGS
19552 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 int main(int argc, char **argv) { return 0; }
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"
19558 then :
19559 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19560 else $as_nop
19561 ac_cv_cflags__Wincompatible_function_pointer_types=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19564 conftest$ac_exeext conftest.$ac_ext
19565 CFLAGS=$ac_wine_try_cflags_saved
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19568 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19569 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19570 then :
19571 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19572 fi ;;
19573 esac
19575 CFLAGS=$saved_CFLAGS
19577 if test "x$enable_werror" = "xyes"
19578 then
19579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19580 printf %s "checking whether the compiler supports -Werror... " >&6; }
19581 if test ${ac_cv_cflags__Werror+y}
19582 then :
19583 printf %s "(cached) " >&6
19584 else $as_nop
19585 ac_wine_try_cflags_saved=$CFLAGS
19586 CFLAGS="$CFLAGS -Werror"
19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19589 int main(int argc, char **argv) { return 0; }
19590 _ACEOF
19591 if ac_fn_c_try_link "$LINENO"
19592 then :
19593 ac_cv_cflags__Werror=yes
19594 else $as_nop
19595 ac_cv_cflags__Werror=no
19597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19598 conftest$ac_exeext conftest.$ac_ext
19599 CFLAGS=$ac_wine_try_cflags_saved
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19602 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19603 if test "x$ac_cv_cflags__Werror" = xyes
19604 then :
19605 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19608 if test "x$enable_build_id" = "xyes"
19609 then
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19611 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19612 if test ${ac_cv_cflags__Wl___build_id+y}
19613 then :
19614 printf %s "(cached) " >&6
19615 else $as_nop
19616 ac_wine_try_cflags_saved=$CFLAGS
19617 CFLAGS="$CFLAGS -Wl,--build-id"
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 int main(int argc, char **argv) { return 0; }
19621 _ACEOF
19622 if ac_fn_c_try_link "$LINENO"
19623 then :
19624 ac_cv_cflags__Wl___build_id=yes
19625 else $as_nop
19626 ac_cv_cflags__Wl___build_id=no
19628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19629 conftest$ac_exeext conftest.$ac_ext
19630 CFLAGS=$ac_wine_try_cflags_saved
19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19633 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19634 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19635 then :
19636 CFLAGS="$CFLAGS -Wl,--build-id"
19637 LDFLAGS="$LDFLAGS -Wl,--build-id"
19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19644 printf %s "checking for the need to disable Fortify... " >&6; }
19645 if test ${ac_cv_c_fortify_enabled+y}
19646 then :
19647 printf %s "(cached) " >&6
19648 else $as_nop
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #include <string.h>
19653 main (void)
19655 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19656 #error Fortify enabled
19657 #endif
19659 return 0;
19661 _ACEOF
19662 if ac_fn_c_try_compile "$LINENO"
19663 then :
19664 ac_cv_c_fortify_enabled=no
19665 else $as_nop
19666 ac_cv_c_fortify_enabled=yes
19668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19671 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19672 if test "$ac_cv_c_fortify_enabled" = yes
19673 then
19674 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19679 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19680 if test ${ac_cv_c_cfi_support+y}
19681 then :
19682 printf %s "(cached) " >&6
19683 else $as_nop
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19686 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19688 main (void)
19692 return 0;
19694 _ACEOF
19695 if ac_fn_c_try_compile "$LINENO"
19696 then :
19697 ac_cv_c_cfi_support="yes"
19698 else $as_nop
19699 ac_cv_c_cfi_support="no"
19701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19704 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19705 if test "$ac_cv_c_cfi_support" = "yes"
19706 then
19707 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19708 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19709 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19710 elif test $HOST_ARCH = x86_64
19711 then
19712 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19716 case "$HOST_ARCH,$PE_ARCHS" in
19717 x86_64,*i386*) wine_binary="wine" ;;
19718 x86_64,*) wine_binary="wine64" ;;
19719 *) wine_binary="wine" ;;
19720 esac
19721 WINELOADER_PROGRAMS="$wine_binary"
19724 case $host_os in
19725 linux*)
19726 case $host_cpu in
19727 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19728 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19729 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19731 esac
19733 darwin*|macosx*)
19734 if test "$wine_can_build_preloader" = "yes"
19735 then
19736 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19737 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19740 esac
19743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19744 printf %s "checking for library containing dlopen... " >&6; }
19745 if test ${ac_cv_search_dlopen+y}
19746 then :
19747 printf %s "(cached) " >&6
19748 else $as_nop
19749 ac_func_search_save_LIBS=$LIBS
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19753 /* Override any GCC internal prototype to avoid an error.
19754 Use char because int might match the return type of a GCC
19755 builtin and then its argument prototype would still apply. */
19756 char dlopen ();
19758 main (void)
19760 return dlopen ();
19762 return 0;
19764 _ACEOF
19765 for ac_lib in '' dl
19767 if test -z "$ac_lib"; then
19768 ac_res="none required"
19769 else
19770 ac_res=-l$ac_lib
19771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19773 if ac_fn_c_try_link "$LINENO"
19774 then :
19775 ac_cv_search_dlopen=$ac_res
19777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19778 conftest$ac_exeext
19779 if test ${ac_cv_search_dlopen+y}
19780 then :
19781 break
19783 done
19784 if test ${ac_cv_search_dlopen+y}
19785 then :
19787 else $as_nop
19788 ac_cv_search_dlopen=no
19790 rm conftest.$ac_ext
19791 LIBS=$ac_func_search_save_LIBS
19793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19794 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19795 ac_res=$ac_cv_search_dlopen
19796 if test "$ac_res" != no
19797 then :
19798 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19804 printf %s "checking for library containing gethostbyname... " >&6; }
19805 if test ${ac_cv_search_gethostbyname+y}
19806 then :
19807 printf %s "(cached) " >&6
19808 else $as_nop
19809 ac_func_search_save_LIBS=$LIBS
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19813 /* Override any GCC internal prototype to avoid an error.
19814 Use char because int might match the return type of a GCC
19815 builtin and then its argument prototype would still apply. */
19816 char gethostbyname ();
19818 main (void)
19820 return gethostbyname ();
19822 return 0;
19824 _ACEOF
19825 for ac_lib in '' nsl
19827 if test -z "$ac_lib"; then
19828 ac_res="none required"
19829 else
19830 ac_res=-l$ac_lib
19831 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19833 if ac_fn_c_try_link "$LINENO"
19834 then :
19835 ac_cv_search_gethostbyname=$ac_res
19837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19838 conftest$ac_exeext
19839 if test ${ac_cv_search_gethostbyname+y}
19840 then :
19841 break
19843 done
19844 if test ${ac_cv_search_gethostbyname+y}
19845 then :
19847 else $as_nop
19848 ac_cv_search_gethostbyname=no
19850 rm conftest.$ac_ext
19851 LIBS=$ac_func_search_save_LIBS
19853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19854 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19855 ac_res=$ac_cv_search_gethostbyname
19856 if test "$ac_res" != no
19857 then :
19858 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19864 printf %s "checking for library containing connect... " >&6; }
19865 if test ${ac_cv_search_connect+y}
19866 then :
19867 printf %s "(cached) " >&6
19868 else $as_nop
19869 ac_func_search_save_LIBS=$LIBS
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19873 /* Override any GCC internal prototype to avoid an error.
19874 Use char because int might match the return type of a GCC
19875 builtin and then its argument prototype would still apply. */
19876 char connect ();
19878 main (void)
19880 return connect ();
19882 return 0;
19884 _ACEOF
19885 for ac_lib in '' socket
19887 if test -z "$ac_lib"; then
19888 ac_res="none required"
19889 else
19890 ac_res=-l$ac_lib
19891 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19893 if ac_fn_c_try_link "$LINENO"
19894 then :
19895 ac_cv_search_connect=$ac_res
19897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19898 conftest$ac_exeext
19899 if test ${ac_cv_search_connect+y}
19900 then :
19901 break
19903 done
19904 if test ${ac_cv_search_connect+y}
19905 then :
19907 else $as_nop
19908 ac_cv_search_connect=no
19910 rm conftest.$ac_ext
19911 LIBS=$ac_func_search_save_LIBS
19913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19914 printf "%s\n" "$ac_cv_search_connect" >&6; }
19915 ac_res=$ac_cv_search_connect
19916 if test "$ac_res" != no
19917 then :
19918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19924 printf %s "checking for library containing inet_aton... " >&6; }
19925 if test ${ac_cv_search_inet_aton+y}
19926 then :
19927 printf %s "(cached) " >&6
19928 else $as_nop
19929 ac_func_search_save_LIBS=$LIBS
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19933 /* Override any GCC internal prototype to avoid an error.
19934 Use char because int might match the return type of a GCC
19935 builtin and then its argument prototype would still apply. */
19936 char inet_aton ();
19938 main (void)
19940 return inet_aton ();
19942 return 0;
19944 _ACEOF
19945 for ac_lib in '' resolv
19947 if test -z "$ac_lib"; then
19948 ac_res="none required"
19949 else
19950 ac_res=-l$ac_lib
19951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19953 if ac_fn_c_try_link "$LINENO"
19954 then :
19955 ac_cv_search_inet_aton=$ac_res
19957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19958 conftest$ac_exeext
19959 if test ${ac_cv_search_inet_aton+y}
19960 then :
19961 break
19963 done
19964 if test ${ac_cv_search_inet_aton+y}
19965 then :
19967 else $as_nop
19968 ac_cv_search_inet_aton=no
19970 rm conftest.$ac_ext
19971 LIBS=$ac_func_search_save_LIBS
19973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19974 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19975 ac_res=$ac_cv_search_inet_aton
19976 if test "$ac_res" != no
19977 then :
19978 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19983 ac_save_CFLAGS="$CFLAGS"
19984 CFLAGS="$CFLAGS $BUILTINFLAG"
19985 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19986 if test "x$ac_cv_func_dladdr1" = xyes
19987 then :
19988 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19991 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19992 if test "x$ac_cv_func_dlinfo" = xyes
19993 then :
19994 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19997 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19998 if test "x$ac_cv_func_epoll_create" = xyes
19999 then :
20000 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20003 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20004 if test "x$ac_cv_func_fstatfs" = xyes
20005 then :
20006 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20009 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20010 if test "x$ac_cv_func_futimens" = xyes
20011 then :
20012 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20015 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20016 if test "x$ac_cv_func_futimes" = xyes
20017 then :
20018 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20021 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20022 if test "x$ac_cv_func_futimesat" = xyes
20023 then :
20024 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20027 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20028 if test "x$ac_cv_func_getaddrinfo" = xyes
20029 then :
20030 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20033 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20034 if test "x$ac_cv_func_getattrlist" = xyes
20035 then :
20036 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20039 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20040 if test "x$ac_cv_func_getauxval" = xyes
20041 then :
20042 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20045 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20046 if test "x$ac_cv_func_getifaddrs" = xyes
20047 then :
20048 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20051 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20052 if test "x$ac_cv_func_getrandom" = xyes
20053 then :
20054 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20057 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20058 if test "x$ac_cv_func_kqueue" = xyes
20059 then :
20060 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20063 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20064 if test "x$ac_cv_func_mach_continuous_time" = xyes
20065 then :
20066 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20069 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20070 if test "x$ac_cv_func_pipe2" = xyes
20071 then :
20072 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20075 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20076 if test "x$ac_cv_func_port_create" = xyes
20077 then :
20078 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20081 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20082 if test "x$ac_cv_func_posix_fadvise" = xyes
20083 then :
20084 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20087 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20088 if test "x$ac_cv_func_posix_fallocate" = xyes
20089 then :
20090 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20093 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20094 if test "x$ac_cv_func_prctl" = xyes
20095 then :
20096 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20099 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20100 if test "x$ac_cv_func_proc_pidinfo" = xyes
20101 then :
20102 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20105 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20106 if test "x$ac_cv_func_sched_yield" = xyes
20107 then :
20108 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20111 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20112 if test "x$ac_cv_func_setproctitle" = xyes
20113 then :
20114 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20117 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20118 if test "x$ac_cv_func_setprogname" = xyes
20119 then :
20120 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20123 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20124 if test "x$ac_cv_func_sigprocmask" = xyes
20125 then :
20126 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20129 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20130 if test "x$ac_cv_func_sysinfo" = xyes
20131 then :
20132 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20135 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20136 if test "x$ac_cv_func_tcdrain" = xyes
20137 then :
20138 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20141 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20142 if test "x$ac_cv_func_thr_kill2" = xyes
20143 then :
20144 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20148 CFLAGS="$ac_save_CFLAGS"
20150 case $host_os in
20151 darwin*|macosx*) ;;
20152 *) ac_save_LIBS=$LIBS
20153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20154 printf %s "checking for library containing clock_gettime... " >&6; }
20155 if test ${ac_cv_search_clock_gettime+y}
20156 then :
20157 printf %s "(cached) " >&6
20158 else $as_nop
20159 ac_func_search_save_LIBS=$LIBS
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 /* Override any GCC internal prototype to avoid an error.
20164 Use char because int might match the return type of a GCC
20165 builtin and then its argument prototype would still apply. */
20166 char clock_gettime ();
20168 main (void)
20170 return clock_gettime ();
20172 return 0;
20174 _ACEOF
20175 for ac_lib in '' rt
20177 if test -z "$ac_lib"; then
20178 ac_res="none required"
20179 else
20180 ac_res=-l$ac_lib
20181 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20183 if ac_fn_c_try_link "$LINENO"
20184 then :
20185 ac_cv_search_clock_gettime=$ac_res
20187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20188 conftest$ac_exeext
20189 if test ${ac_cv_search_clock_gettime+y}
20190 then :
20191 break
20193 done
20194 if test ${ac_cv_search_clock_gettime+y}
20195 then :
20197 else $as_nop
20198 ac_cv_search_clock_gettime=no
20200 rm conftest.$ac_ext
20201 LIBS=$ac_func_search_save_LIBS
20203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20204 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20205 ac_res=$ac_cv_search_clock_gettime
20206 if test "$ac_res" != no
20207 then :
20208 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20210 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20212 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20216 LIBS=$ac_save_LIBS
20218 esac
20220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20221 printf %s "checking for sched_setaffinity... " >&6; }
20222 if test ${wine_cv_have_sched_setaffinity+y}
20223 then :
20224 printf %s "(cached) " >&6
20225 else $as_nop
20226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20227 /* end confdefs.h. */
20228 #include <sched.h>
20230 main (void)
20232 sched_setaffinity(0, 0, 0);
20234 return 0;
20236 _ACEOF
20237 if ac_fn_c_try_link "$LINENO"
20238 then :
20239 wine_cv_have_sched_setaffinity=yes
20240 else $as_nop
20241 wine_cv_have_sched_setaffinity=no
20243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20244 conftest$ac_exeext conftest.$ac_ext
20246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20247 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20248 if test "$wine_cv_have_sched_setaffinity" = "yes"
20249 then
20251 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20257 printf %s "checking for inline... " >&6; }
20258 if test ${ac_cv_c_inline+y}
20259 then :
20260 printf %s "(cached) " >&6
20261 else $as_nop
20262 ac_cv_c_inline=no
20263 for ac_kw in inline __inline__ __inline; do
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 #ifndef __cplusplus
20267 typedef int foo_t;
20268 static $ac_kw foo_t static_foo (void) {return 0; }
20269 $ac_kw foo_t foo (void) {return 0; }
20270 #endif
20272 _ACEOF
20273 if ac_fn_c_try_compile "$LINENO"
20274 then :
20275 ac_cv_c_inline=$ac_kw
20277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20278 test "$ac_cv_c_inline" != no && break
20279 done
20282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20283 printf "%s\n" "$ac_cv_c_inline" >&6; }
20285 case $ac_cv_c_inline in
20286 inline | yes) ;;
20288 case $ac_cv_c_inline in
20289 no) ac_val=;;
20290 *) ac_val=$ac_cv_c_inline;;
20291 esac
20292 cat >>confdefs.h <<_ACEOF
20293 #ifndef __cplusplus
20294 #define inline $ac_val
20295 #endif
20296 _ACEOF
20298 esac
20300 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20302 if test "x$ac_cv_type_request_sense" = xyes
20303 then :
20305 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20311 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20312 #include <sys/socket.h>
20313 #ifdef HAVE_SYS_SOCKETVAR_H
20314 #include <sys/socketvar.h>
20315 #endif
20316 #ifdef HAVE_NET_ROUTE_H
20317 #include <net/route.h>
20318 #endif
20319 #ifdef HAVE_NETINET_IN_H
20320 #include <netinet/in.h>
20321 #endif
20322 #ifdef HAVE_NETINET_IN_SYSTM_H
20323 #include <netinet/in_systm.h>
20324 #endif
20325 #ifdef HAVE_NETINET_IP_H
20326 #include <netinet/ip.h>
20327 #endif
20328 #ifdef HAVE_NETINET_IN_PCB_H
20329 #include <netinet/in_pcb.h>
20330 #endif
20332 if test "x$ac_cv_type_struct_xinpgen" = xyes
20333 then :
20335 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20342 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20343 if test ${wine_cv_linux_gethostbyname_r_6+y}
20344 then :
20345 printf %s "(cached) " >&6
20346 else $as_nop
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <netdb.h>
20351 main (void)
20354 char *name=0;
20355 struct hostent he;
20356 struct hostent *result;
20357 char *buf=0;
20358 int bufsize=0;
20359 int errnr;
20360 char *addr=0;
20361 int addrlen=0;
20362 int addrtype=0;
20363 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20364 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20367 return 0;
20369 _ACEOF
20370 if ac_fn_c_try_link "$LINENO"
20371 then :
20372 wine_cv_linux_gethostbyname_r_6=yes
20373 else $as_nop
20374 wine_cv_linux_gethostbyname_r_6=no
20377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20378 conftest$ac_exeext conftest.$ac_ext
20381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20382 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20383 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20384 then
20386 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20390 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20391 #include <sys/socket.h>
20392 #ifdef HAVE_SYS_UN_H
20393 # include <sys/un.h>
20394 #endif
20396 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20397 then :
20399 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20403 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20404 #include <sys/socket.h>
20405 #ifdef HAVE_SYS_UN_H
20406 # include <sys/un.h>
20407 #endif
20409 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20410 then :
20412 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20419 #ifdef HAVE_SCSI_SG_H
20420 #include <scsi/sg.h>
20421 #endif
20423 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20424 then :
20426 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20430 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>
20431 #ifdef HAVE_SCSI_SG_H
20432 #include <scsi/sg.h>
20433 #endif
20435 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20436 then :
20438 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20444 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20446 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20456 #ifdef HAVE_SYS_MTIO_H
20457 #include <sys/mtio.h>
20458 #endif
20460 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20468 #ifdef HAVE_SYS_MTIO_H
20469 #include <sys/mtio.h>
20470 #endif
20472 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20473 then :
20475 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20480 #ifdef HAVE_SYS_MTIO_H
20481 #include <sys/mtio.h>
20482 #endif
20484 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20485 then :
20487 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20493 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20494 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20501 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20502 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20503 then :
20505 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20509 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20510 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20517 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20518 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20525 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20526 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20527 then :
20529 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20533 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20534 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20535 then :
20537 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20541 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20542 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20543 then :
20545 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20550 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20557 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20558 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20559 then :
20561 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20566 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20574 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20575 then :
20577 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20583 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>
20584 #ifdef HAVE_NETINET_IN_H
20585 #include <netinet/in.h>
20586 #endif
20588 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20589 then :
20591 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20597 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
20598 #include <resolv.h>
20599 #endif
20601 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20602 then :
20604 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20610 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20611 #include <netinet/in.h>
20612 #endif
20614 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20615 then :
20617 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20623 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20624 #ifdef HAVE_SYS_SOCKETVAR_H
20625 #include <sys/socketvar.h>
20626 #endif
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
20634 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20643 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
20644 #include <netinet/ip_var.h>
20645 #endif
20647 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20657 #ifdef HAVE_SYS_SOCKETVAR_H
20658 #include <sys/socketvar.h>
20659 #endif
20660 #ifdef HAVE_NETINET_IN_H
20661 #include <netinet/in.h>
20662 #endif
20663 #ifdef HAVE_NETINET6_IP6_VAR_H
20664 #include <netinet6/ip6_var.h>
20665 #endif
20667 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20668 then :
20670 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20676 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20677 #ifdef HAVE_SYS_SOCKETVAR_H
20678 #include <sys/socketvar.h>
20679 #endif
20680 #ifdef HAVE_NETINET_IN_H
20681 #include <netinet/in.h>
20682 #endif
20683 #ifdef HAVE_NETINET_IP_H
20684 #include <netinet/ip.h>
20685 #endif
20686 #ifdef HAVE_NETINET_IP_ICMP_H
20687 #include <netinet/ip_icmp.h>
20688 #endif
20689 #ifdef HAVE_NETINET_ICMP_VAR_H
20690 #include <netinet/icmp_var.h>
20691 #endif
20693 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20694 then :
20696 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20702 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20703 #ifdef HAVE_SYS_SOCKETVAR_H
20704 #include <sys/socketvar.h>
20705 #endif
20706 #ifdef HAVE_NETINET_IN_H
20707 #include <netinet/in.h>
20708 #endif
20709 #ifdef HAVE_NETINET_ICMP6_H
20710 #include <netinet/icmp6.h>
20711 #endif
20713 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20714 then :
20716 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20722 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20723 #ifdef HAVE_SYS_SOCKETVAR_H
20724 #include <sys/socketvar.h>
20725 #endif
20726 #ifdef HAVE_NETINET_IN_H
20727 #include <netinet/in.h>
20728 #endif
20729 #ifdef HAVE_NETINET_TCP_H
20730 #include <netinet/tcp.h>
20731 #endif
20732 #ifdef HAVE_NETINET_TCP_VAR_H
20733 #include <netinet/tcp_var.h>
20734 #endif
20736 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20737 then :
20739 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20745 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
20746 #include <netinet/tcp_var.h>
20747 #endif
20749 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20750 then :
20752 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20758 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20759 #ifdef HAVE_NETINET_IN_H
20760 #include <netinet/in.h>
20761 #endif
20762 #ifdef HAVE_NETINET_IP_VAR_H
20763 #include <netinet/ip_var.h>
20764 #endif
20765 #ifdef HAVE_NETINET_UDP_H
20766 #include <netinet/udp.h>
20767 #endif
20768 #ifdef HAVE_NETINET_UDP_VAR_H
20769 #include <netinet/udp_var.h>
20770 #endif
20772 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20773 then :
20775 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20781 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20782 #ifdef HAVE_NET_IF_H
20783 # include <net/if.h>
20784 #endif
20786 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20787 then :
20789 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20795 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20796 # include <sys/sysinfo.h>
20797 #endif
20799 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20800 then :
20802 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20806 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20807 # include <sys/sysinfo.h>
20808 #endif
20810 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20811 then :
20813 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20819 LIBS="$ac_save_LIBS"
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20822 printf %s "checking for __builtin_popcount... " >&6; }
20823 if test ${ac_cv_have___builtin_popcount+y}
20824 then :
20825 printf %s "(cached) " >&6
20826 else $as_nop
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20831 main (void)
20833 return __builtin_popcount(1)
20835 return 0;
20837 _ACEOF
20838 if ac_fn_c_try_link "$LINENO"
20839 then :
20840 ac_cv_have___builtin_popcount="yes"
20841 else $as_nop
20842 ac_cv_have___builtin_popcount="no"
20844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20845 conftest$ac_exeext conftest.$ac_ext
20847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20848 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20849 if test "$ac_cv_have___builtin_popcount" = "yes"
20850 then
20852 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20857 printf %s "checking for __clear_cache... " >&6; }
20858 if test ${ac_cv_have___clear_cache+y}
20859 then :
20860 printf %s "(cached) " >&6
20861 else $as_nop
20862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20863 /* end confdefs.h. */
20866 main (void)
20868 __clear_cache((void*)0, (void*)0); return 0;
20870 return 0;
20872 _ACEOF
20873 if ac_fn_c_try_link "$LINENO"
20874 then :
20875 ac_cv_have___clear_cache="yes"
20876 else $as_nop
20877 ac_cv_have___clear_cache="no"
20879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20880 conftest$ac_exeext conftest.$ac_ext
20882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20883 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20884 if test "$ac_cv_have___clear_cache" = "yes"
20885 then
20887 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20892 case $host_cpu in
20893 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20894 printf %s "checking whether we need to define __i386__... " >&6; }
20895 if test ${ac_cv_cpp_def___i386__+y}
20896 then :
20897 printf %s "(cached) " >&6
20898 else $as_nop
20899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20901 #ifndef __i386__
20903 #endif
20904 _ACEOF
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev/null 2>&1
20907 then :
20908 ac_cv_cpp_def___i386__=yes
20909 else $as_nop
20910 ac_cv_cpp_def___i386__=no
20912 rm -rf conftest*
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20917 if test "x$ac_cv_cpp_def___i386__" = xyes
20918 then :
20919 CFLAGS="$CFLAGS -D__i386__"
20920 LINTFLAGS="$LINTFLAGS -D__i386__"
20921 fi ;;
20922 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20923 printf %s "checking whether we need to define __x86_64__... " >&6; }
20924 if test ${ac_cv_cpp_def___x86_64__+y}
20925 then :
20926 printf %s "(cached) " >&6
20927 else $as_nop
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 #ifndef __x86_64__
20932 #endif
20933 _ACEOF
20934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20935 $EGREP "yes" >/dev/null 2>&1
20936 then :
20937 ac_cv_cpp_def___x86_64__=yes
20938 else $as_nop
20939 ac_cv_cpp_def___x86_64__=no
20941 rm -rf conftest*
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20945 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20946 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20947 then :
20948 CFLAGS="$CFLAGS -D__x86_64__"
20949 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20950 fi ;;
20951 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20952 printf %s "checking whether we need to define __sparc64__... " >&6; }
20953 if test ${ac_cv_cpp_def___sparc64__+y}
20954 then :
20955 printf %s "(cached) " >&6
20956 else $as_nop
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20959 #ifndef __sparc64__
20961 #endif
20962 _ACEOF
20963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20964 $EGREP "yes" >/dev/null 2>&1
20965 then :
20966 ac_cv_cpp_def___sparc64__=yes
20967 else $as_nop
20968 ac_cv_cpp_def___sparc64__=no
20970 rm -rf conftest*
20973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20974 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20975 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20976 then :
20977 CFLAGS="$CFLAGS -D__sparc64__"
20978 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20979 fi ;;
20980 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20981 printf %s "checking whether we need to define __sparc__... " >&6; }
20982 if test ${ac_cv_cpp_def___sparc__+y}
20983 then :
20984 printf %s "(cached) " >&6
20985 else $as_nop
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __sparc__
20990 #endif
20991 _ACEOF
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev/null 2>&1
20994 then :
20995 ac_cv_cpp_def___sparc__=yes
20996 else $as_nop
20997 ac_cv_cpp_def___sparc__=no
20999 rm -rf conftest*
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21004 if test "x$ac_cv_cpp_def___sparc__" = xyes
21005 then :
21006 CFLAGS="$CFLAGS -D__sparc__"
21007 LINTFLAGS="$LINTFLAGS -D__sparc__"
21008 fi ;;
21009 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21010 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21011 if test ${ac_cv_cpp_def___powerpc64__+y}
21012 then :
21013 printf %s "(cached) " >&6
21014 else $as_nop
21015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21016 /* end confdefs.h. */
21017 #ifndef __powerpc64__
21019 #endif
21020 _ACEOF
21021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21022 $EGREP "yes" >/dev/null 2>&1
21023 then :
21024 ac_cv_cpp_def___powerpc64__=yes
21025 else $as_nop
21026 ac_cv_cpp_def___powerpc64__=no
21028 rm -rf conftest*
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21032 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21033 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21034 then :
21035 CFLAGS="$CFLAGS -D__powerpc64__"
21036 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21037 fi ;;
21038 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21039 printf %s "checking whether we need to define __powerpc__... " >&6; }
21040 if test ${ac_cv_cpp_def___powerpc__+y}
21041 then :
21042 printf %s "(cached) " >&6
21043 else $as_nop
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #ifndef __powerpc__
21048 #endif
21049 _ACEOF
21050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21051 $EGREP "yes" >/dev/null 2>&1
21052 then :
21053 ac_cv_cpp_def___powerpc__=yes
21054 else $as_nop
21055 ac_cv_cpp_def___powerpc__=no
21057 rm -rf conftest*
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21061 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21062 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21063 then :
21064 CFLAGS="$CFLAGS -D__powerpc__"
21065 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21066 fi ;;
21067 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21068 printf %s "checking whether we need to define __aarch64__... " >&6; }
21069 if test ${ac_cv_cpp_def___aarch64__+y}
21070 then :
21071 printf %s "(cached) " >&6
21072 else $as_nop
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21075 #ifndef __aarch64__
21077 #endif
21078 _ACEOF
21079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21080 $EGREP "yes" >/dev/null 2>&1
21081 then :
21082 ac_cv_cpp_def___aarch64__=yes
21083 else $as_nop
21084 ac_cv_cpp_def___aarch64__=no
21086 rm -rf conftest*
21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21090 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21091 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21092 then :
21093 CFLAGS="$CFLAGS -D__aarch64__"
21094 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21095 fi ;;
21096 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21097 printf %s "checking whether we need to define __arm__... " >&6; }
21098 if test ${ac_cv_cpp_def___arm__+y}
21099 then :
21100 printf %s "(cached) " >&6
21101 else $as_nop
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21104 #ifndef __arm__
21106 #endif
21107 _ACEOF
21108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21109 $EGREP "yes" >/dev/null 2>&1
21110 then :
21111 ac_cv_cpp_def___arm__=yes
21112 else $as_nop
21113 ac_cv_cpp_def___arm__=no
21115 rm -rf conftest*
21118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21119 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21120 if test "x$ac_cv_cpp_def___arm__" = xyes
21121 then :
21122 CFLAGS="$CFLAGS -D__arm__"
21123 LINTFLAGS="$LINTFLAGS -D__arm__"
21124 fi ;;
21125 esac
21127 case $host_vendor in
21128 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21129 printf %s "checking whether we need to define __sun__... " >&6; }
21130 if test ${ac_cv_cpp_def___sun__+y}
21131 then :
21132 printf %s "(cached) " >&6
21133 else $as_nop
21134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21136 #ifndef __sun__
21138 #endif
21139 _ACEOF
21140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21141 $EGREP "yes" >/dev/null 2>&1
21142 then :
21143 ac_cv_cpp_def___sun__=yes
21144 else $as_nop
21145 ac_cv_cpp_def___sun__=no
21147 rm -rf conftest*
21150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21151 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21152 if test "x$ac_cv_cpp_def___sun__" = xyes
21153 then :
21154 CFLAGS="$CFLAGS -D__sun__"
21155 LINTFLAGS="$LINTFLAGS -D__sun__"
21156 fi ;;
21157 esac
21163 ac_config_commands="$ac_config_commands include/stamp-h"
21165 printf %s "creating Makefile rules..." >&6
21167 makedep_flags=""
21168 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21170 wine_srcdir=
21171 test "$srcdir" = . || wine_srcdir="$srcdir/"
21173 ac_config_links="$ac_config_links wine:tools/winewrapper"
21174 wine_fn_config_symlink wine
21175 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21176 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21177 wine_fn_config_symlink wine64
21180 wine_fn_config_makefile dlls/acledit enable_acledit
21181 wine_fn_config_makefile dlls/aclui enable_aclui
21182 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21183 wine_fn_config_makefile dlls/activeds enable_activeds
21184 wine_fn_config_makefile dlls/activeds/tests enable_tests
21185 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21186 wine_fn_config_makefile dlls/adsldp enable_adsldp
21187 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21188 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21189 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21190 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21191 wine_fn_config_makefile dlls/advpack enable_advpack
21192 wine_fn_config_makefile dlls/advpack/tests enable_tests
21193 wine_fn_config_makefile dlls/amsi enable_amsi
21194 wine_fn_config_makefile dlls/amstream enable_amstream
21195 wine_fn_config_makefile dlls/amstream/tests enable_tests
21196 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21197 wine_fn_config_makefile dlls/apphelp enable_apphelp
21198 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21199 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21200 wine_fn_config_makefile dlls/atl enable_atl
21201 wine_fn_config_makefile dlls/atl/tests enable_tests
21202 wine_fn_config_makefile dlls/atl100 enable_atl100
21203 wine_fn_config_makefile dlls/atl100/tests enable_tests
21204 wine_fn_config_makefile dlls/atl110 enable_atl110
21205 wine_fn_config_makefile dlls/atl110/tests enable_tests
21206 wine_fn_config_makefile dlls/atl80 enable_atl80
21207 wine_fn_config_makefile dlls/atl80/tests enable_tests
21208 wine_fn_config_makefile dlls/atl90 enable_atl90
21209 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21210 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21211 wine_fn_config_makefile dlls/atmlib enable_atmlib
21212 wine_fn_config_makefile dlls/authz enable_authz
21213 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21214 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21215 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21216 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21217 wine_fn_config_makefile dlls/avrt enable_avrt
21218 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21219 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21220 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21221 wine_fn_config_makefile dlls/browseui enable_browseui
21222 wine_fn_config_makefile dlls/browseui/tests enable_tests
21223 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21224 wine_fn_config_makefile dlls/cabinet enable_cabinet
21225 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21226 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21227 wine_fn_config_makefile dlls/cards enable_cards
21228 wine_fn_config_makefile dlls/cdosys enable_cdosys
21229 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21230 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21231 wine_fn_config_makefile dlls/clusapi enable_clusapi
21232 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21233 wine_fn_config_makefile dlls/combase enable_combase
21234 wine_fn_config_makefile dlls/combase/tests enable_tests
21235 wine_fn_config_makefile dlls/comcat enable_comcat
21236 wine_fn_config_makefile dlls/comcat/tests enable_tests
21237 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21238 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21239 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21240 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21241 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21242 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21243 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21244 wine_fn_config_makefile dlls/compstui enable_compstui
21245 wine_fn_config_makefile dlls/compstui/tests enable_tests
21246 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21247 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21248 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21249 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21250 wine_fn_config_makefile dlls/connect enable_connect
21251 wine_fn_config_makefile dlls/credui enable_credui
21252 wine_fn_config_makefile dlls/credui/tests enable_tests
21253 wine_fn_config_makefile dlls/crtdll enable_crtdll
21254 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21255 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21256 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21257 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21258 wine_fn_config_makefile dlls/cryptext enable_cryptext
21259 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21260 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21261 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21262 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21263 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21264 wine_fn_config_makefile dlls/cryptui enable_cryptui
21265 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21266 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21267 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21268 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21269 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21270 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21271 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21272 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21273 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21274 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21275 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21276 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21277 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21278 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21279 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21280 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21281 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21282 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21283 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21284 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21285 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21286 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21287 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21288 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21289 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21290 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21291 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21292 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21293 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21294 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21295 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21296 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21297 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21298 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21299 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21300 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21301 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21302 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21303 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21304 wine_fn_config_makefile dlls/d3dim enable_d3dim
21305 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21306 wine_fn_config_makefile dlls/d3drm enable_d3drm
21307 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21308 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21309 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21310 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21311 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21312 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21313 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21314 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21315 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21316 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21317 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21318 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21319 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21320 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21321 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21322 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21323 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21324 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21325 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21326 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21327 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21328 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21329 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21330 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21331 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21332 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21333 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21334 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21335 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21336 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21337 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21338 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21339 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21340 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21341 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21342 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21343 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21344 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21345 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21346 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21347 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21348 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21349 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21350 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21351 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21352 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21353 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21354 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21355 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21356 wine_fn_config_makefile dlls/davclnt enable_davclnt
21357 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21358 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21359 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21360 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21361 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21362 wine_fn_config_makefile dlls/dcomp enable_dcomp
21363 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21364 wine_fn_config_makefile dlls/ddraw enable_ddraw
21365 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21366 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21367 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21368 wine_fn_config_makefile dlls/devenum enable_devenum
21369 wine_fn_config_makefile dlls/devenum/tests enable_tests
21370 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21371 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21372 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21373 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21374 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21375 wine_fn_config_makefile dlls/difxapi enable_difxapi
21376 wine_fn_config_makefile dlls/dinput enable_dinput
21377 wine_fn_config_makefile dlls/dinput/tests enable_tests
21378 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21379 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21380 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21381 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21382 wine_fn_config_makefile dlls/dispex enable_dispex
21383 wine_fn_config_makefile dlls/dispex/tests enable_tests
21384 wine_fn_config_makefile dlls/display.drv16 enable_win16
21385 wine_fn_config_makefile dlls/dmband enable_dmband
21386 wine_fn_config_makefile dlls/dmband/tests enable_tests
21387 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21388 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21389 wine_fn_config_makefile dlls/dmime enable_dmime
21390 wine_fn_config_makefile dlls/dmime/tests enable_tests
21391 wine_fn_config_makefile dlls/dmloader enable_dmloader
21392 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21393 wine_fn_config_makefile dlls/dmscript enable_dmscript
21394 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21395 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21396 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21397 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21398 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21399 wine_fn_config_makefile dlls/dmusic enable_dmusic
21400 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21401 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21402 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21403 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21404 wine_fn_config_makefile dlls/dplay enable_dplay
21405 wine_fn_config_makefile dlls/dplayx enable_dplayx
21406 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21407 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21408 wine_fn_config_makefile dlls/dpnet enable_dpnet
21409 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21410 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21411 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21412 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21413 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21414 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21415 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21416 wine_fn_config_makefile dlls/drmclien enable_drmclien
21417 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21418 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21419 wine_fn_config_makefile dlls/dsound enable_dsound
21420 wine_fn_config_makefile dlls/dsound/tests enable_tests
21421 wine_fn_config_makefile dlls/dsquery enable_dsquery
21422 wine_fn_config_makefile dlls/dssenh enable_dssenh
21423 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21424 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21425 wine_fn_config_makefile dlls/dswave enable_dswave
21426 wine_fn_config_makefile dlls/dswave/tests enable_tests
21427 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21428 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21429 wine_fn_config_makefile dlls/dwrite enable_dwrite
21430 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21431 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21432 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21433 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21434 wine_fn_config_makefile dlls/dxgi enable_dxgi
21435 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21436 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21437 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21438 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21439 wine_fn_config_makefile dlls/esent enable_esent
21440 wine_fn_config_makefile dlls/evr enable_evr
21441 wine_fn_config_makefile dlls/evr/tests enable_tests
21442 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21443 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21444 wine_fn_config_makefile dlls/faultrep enable_faultrep
21445 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21446 wine_fn_config_makefile dlls/feclient enable_feclient
21447 wine_fn_config_makefile dlls/fltlib enable_fltlib
21448 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21449 wine_fn_config_makefile dlls/fntcache enable_fntcache
21450 wine_fn_config_makefile dlls/fontsub enable_fontsub
21451 wine_fn_config_makefile dlls/fusion enable_fusion
21452 wine_fn_config_makefile dlls/fusion/tests enable_tests
21453 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21454 wine_fn_config_makefile dlls/gameux enable_gameux
21455 wine_fn_config_makefile dlls/gameux/tests enable_tests
21456 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21457 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21458 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21459 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21460 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21461 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21462 wine_fn_config_makefile dlls/glu32 enable_glu32
21463 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21464 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21465 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21466 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21467 wine_fn_config_makefile dlls/hal enable_hal
21468 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21469 wine_fn_config_makefile dlls/hid enable_hid
21470 wine_fn_config_makefile dlls/hid/tests enable_tests
21471 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21472 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21473 wine_fn_config_makefile dlls/hlink enable_hlink
21474 wine_fn_config_makefile dlls/hlink/tests enable_tests
21475 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21476 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21477 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21478 wine_fn_config_makefile dlls/http.sys enable_http_sys
21479 wine_fn_config_makefile dlls/httpapi enable_httpapi
21480 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21481 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21482 wine_fn_config_makefile dlls/iccvid enable_iccvid
21483 wine_fn_config_makefile dlls/icmp enable_icmp
21484 wine_fn_config_makefile dlls/ieframe enable_ieframe
21485 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21486 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21487 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21488 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21489 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21490 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21491 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21492 wine_fn_config_makefile dlls/imm32 enable_imm32
21493 wine_fn_config_makefile dlls/imm32/tests enable_tests
21494 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21495 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21496 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21497 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21498 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21499 wine_fn_config_makefile dlls/infosoft enable_infosoft
21500 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21501 wine_fn_config_makefile dlls/initpki enable_initpki
21502 wine_fn_config_makefile dlls/inkobj enable_inkobj
21503 wine_fn_config_makefile dlls/inseng enable_inseng
21504 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21505 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21506 wine_fn_config_makefile dlls/iprop enable_iprop
21507 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21508 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21509 wine_fn_config_makefile dlls/itircl enable_itircl
21510 wine_fn_config_makefile dlls/itss enable_itss
21511 wine_fn_config_makefile dlls/itss/tests enable_tests
21512 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21513 wine_fn_config_makefile dlls/jscript enable_jscript
21514 wine_fn_config_makefile dlls/jscript/tests enable_tests
21515 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21516 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21517 wine_fn_config_makefile dlls/kerberos enable_kerberos
21518 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21519 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21520 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21521 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21522 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21523 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21524 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21525 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21526 wine_fn_config_makefile dlls/ksuser enable_ksuser
21527 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21528 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21529 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21530 wine_fn_config_makefile dlls/loadperf enable_loadperf
21531 wine_fn_config_makefile dlls/localspl enable_localspl
21532 wine_fn_config_makefile dlls/localspl/tests enable_tests
21533 wine_fn_config_makefile dlls/localui enable_localui
21534 wine_fn_config_makefile dlls/localui/tests enable_tests
21535 wine_fn_config_makefile dlls/lz32 enable_lz32
21536 wine_fn_config_makefile dlls/lz32/tests enable_tests
21537 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21538 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21539 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21540 wine_fn_config_makefile dlls/mapistub enable_mapistub
21541 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21542 wine_fn_config_makefile dlls/mcicda enable_mcicda
21543 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21544 wine_fn_config_makefile dlls/mciseq enable_mciseq
21545 wine_fn_config_makefile dlls/mciwave enable_mciwave
21546 wine_fn_config_makefile dlls/mf enable_mf
21547 wine_fn_config_makefile dlls/mf/tests enable_tests
21548 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21549 wine_fn_config_makefile dlls/mferror enable_mferror
21550 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21551 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21552 wine_fn_config_makefile dlls/mfplat enable_mfplat
21553 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21554 wine_fn_config_makefile dlls/mfplay enable_mfplay
21555 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21556 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21557 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21558 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21559 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21560 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21561 wine_fn_config_makefile dlls/midimap enable_midimap
21562 wine_fn_config_makefile dlls/mlang enable_mlang
21563 wine_fn_config_makefile dlls/mlang/tests enable_tests
21564 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21565 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21566 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21567 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21568 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21569 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21570 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21571 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21572 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21573 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21574 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21575 wine_fn_config_makefile dlls/mpr enable_mpr
21576 wine_fn_config_makefile dlls/mpr/tests enable_tests
21577 wine_fn_config_makefile dlls/mprapi enable_mprapi
21578 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21579 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21580 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21581 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21582 wine_fn_config_makefile dlls/msado15 enable_msado15
21583 wine_fn_config_makefile dlls/msado15/tests enable_tests
21584 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21585 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21586 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21587 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21588 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21589 wine_fn_config_makefile dlls/mscms enable_mscms
21590 wine_fn_config_makefile dlls/mscms/tests enable_tests
21591 wine_fn_config_makefile dlls/mscoree enable_mscoree
21592 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21593 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21594 wine_fn_config_makefile dlls/msctf enable_msctf
21595 wine_fn_config_makefile dlls/msctf/tests enable_tests
21596 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21597 wine_fn_config_makefile dlls/msctfp enable_msctfp
21598 wine_fn_config_makefile dlls/msdaps enable_msdaps
21599 wine_fn_config_makefile dlls/msdasql enable_msdasql
21600 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21601 wine_fn_config_makefile dlls/msdelta enable_msdelta
21602 wine_fn_config_makefile dlls/msdmo enable_msdmo
21603 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21604 wine_fn_config_makefile dlls/msdrm enable_msdrm
21605 wine_fn_config_makefile dlls/msftedit enable_msftedit
21606 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21607 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21608 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21609 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21610 wine_fn_config_makefile dlls/mshtml enable_mshtml
21611 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21612 wine_fn_config_makefile dlls/msi enable_msi
21613 wine_fn_config_makefile dlls/msi/tests enable_tests
21614 wine_fn_config_makefile dlls/msident enable_msident
21615 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21616 wine_fn_config_makefile dlls/msimsg enable_msimsg
21617 wine_fn_config_makefile dlls/msimtf enable_msimtf
21618 wine_fn_config_makefile dlls/msisip enable_msisip
21619 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21620 wine_fn_config_makefile dlls/msls31 enable_msls31
21621 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21622 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21623 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21624 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21625 wine_fn_config_makefile dlls/msports enable_msports
21626 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21627 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21628 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21629 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21630 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21631 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21632 wine_fn_config_makefile dlls/mstask enable_mstask
21633 wine_fn_config_makefile dlls/mstask/tests enable_tests
21634 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21635 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21636 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21637 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21638 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21639 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21640 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21641 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21642 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21643 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21644 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21645 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21646 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21647 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21648 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21649 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21650 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21651 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21652 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21653 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21654 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21655 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21656 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21657 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21658 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21659 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21660 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21661 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21662 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21663 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21664 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21665 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21666 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21667 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21668 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21669 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21670 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21671 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21672 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21673 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21674 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21675 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21676 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21677 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21678 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21679 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21680 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21681 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21682 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21683 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21684 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21685 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21686 wine_fn_config_makefile dlls/mswsock enable_mswsock
21687 wine_fn_config_makefile dlls/msxml enable_msxml
21688 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21689 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21690 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21691 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21692 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21693 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21694 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21695 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21696 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21697 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21698 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21699 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21700 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21701 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21702 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21703 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21704 wine_fn_config_makefile dlls/netprofm enable_netprofm
21705 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21706 wine_fn_config_makefile dlls/netutils enable_netutils
21707 wine_fn_config_makefile dlls/newdev enable_newdev
21708 wine_fn_config_makefile dlls/ninput enable_ninput
21709 wine_fn_config_makefile dlls/ninput/tests enable_tests
21710 wine_fn_config_makefile dlls/normaliz enable_normaliz
21711 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21712 wine_fn_config_makefile dlls/npptools enable_npptools
21713 wine_fn_config_makefile dlls/nsi enable_nsi
21714 wine_fn_config_makefile dlls/nsi/tests enable_tests
21715 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21716 wine_fn_config_makefile dlls/ntdll enable_ntdll
21717 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21718 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21719 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21720 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21721 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21722 wine_fn_config_makefile dlls/ntprint enable_ntprint
21723 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21724 wine_fn_config_makefile dlls/objsel enable_objsel
21725 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21726 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21727 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21728 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21729 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21730 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21731 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21732 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21733 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21734 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21735 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21736 wine_fn_config_makefile dlls/ole32 enable_ole32
21737 wine_fn_config_makefile dlls/ole32/tests enable_tests
21738 wine_fn_config_makefile dlls/oleacc enable_oleacc
21739 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21740 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21741 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21742 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21743 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21744 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21745 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21746 wine_fn_config_makefile dlls/oledlg enable_oledlg
21747 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21748 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21749 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21750 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21751 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21752 wine_fn_config_makefile dlls/opcservices enable_opcservices
21753 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21754 wine_fn_config_makefile dlls/opencl enable_opencl
21755 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21756 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21757 wine_fn_config_makefile dlls/packager enable_packager
21758 wine_fn_config_makefile dlls/packager/tests enable_tests
21759 wine_fn_config_makefile dlls/pdh enable_pdh
21760 wine_fn_config_makefile dlls/pdh/tests enable_tests
21761 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21762 wine_fn_config_makefile dlls/pidgen enable_pidgen
21763 wine_fn_config_makefile dlls/powrprof enable_powrprof
21764 wine_fn_config_makefile dlls/printui enable_printui
21765 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21766 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21767 wine_fn_config_makefile dlls/propsys enable_propsys
21768 wine_fn_config_makefile dlls/propsys/tests enable_tests
21769 wine_fn_config_makefile dlls/psapi enable_psapi
21770 wine_fn_config_makefile dlls/psapi/tests enable_tests
21771 wine_fn_config_makefile dlls/pstorec enable_pstorec
21772 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21773 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21774 wine_fn_config_makefile dlls/qasf enable_qasf
21775 wine_fn_config_makefile dlls/qasf/tests enable_tests
21776 wine_fn_config_makefile dlls/qcap enable_qcap
21777 wine_fn_config_makefile dlls/qcap/tests enable_tests
21778 wine_fn_config_makefile dlls/qdvd enable_qdvd
21779 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21780 wine_fn_config_makefile dlls/qedit enable_qedit
21781 wine_fn_config_makefile dlls/qedit/tests enable_tests
21782 wine_fn_config_makefile dlls/qmgr enable_qmgr
21783 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21784 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21785 wine_fn_config_makefile dlls/quartz enable_quartz
21786 wine_fn_config_makefile dlls/quartz/tests enable_tests
21787 wine_fn_config_makefile dlls/query enable_query
21788 wine_fn_config_makefile dlls/qwave enable_qwave
21789 wine_fn_config_makefile dlls/qwave/tests enable_tests
21790 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21791 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21792 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21793 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21794 wine_fn_config_makefile dlls/regapi enable_regapi
21795 wine_fn_config_makefile dlls/resutils enable_resutils
21796 wine_fn_config_makefile dlls/riched20 enable_riched20
21797 wine_fn_config_makefile dlls/riched20/tests enable_tests
21798 wine_fn_config_makefile dlls/riched32 enable_riched32
21799 wine_fn_config_makefile dlls/riched32/tests enable_tests
21800 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21801 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21802 wine_fn_config_makefile dlls/rsabase enable_rsabase
21803 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21804 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21805 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21806 wine_fn_config_makefile dlls/rtutils enable_rtutils
21807 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21808 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21809 wine_fn_config_makefile dlls/samlib enable_samlib
21810 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21811 wine_fn_config_makefile dlls/sapi enable_sapi
21812 wine_fn_config_makefile dlls/sapi/tests enable_tests
21813 wine_fn_config_makefile dlls/sas enable_sas
21814 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21815 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21816 wine_fn_config_makefile dlls/sccbase enable_sccbase
21817 wine_fn_config_makefile dlls/schannel enable_schannel
21818 wine_fn_config_makefile dlls/schannel/tests enable_tests
21819 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21820 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21821 wine_fn_config_makefile dlls/scrobj enable_scrobj
21822 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21823 wine_fn_config_makefile dlls/scrrun enable_scrrun
21824 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21825 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21826 wine_fn_config_makefile dlls/sechost enable_sechost
21827 wine_fn_config_makefile dlls/secur32 enable_secur32
21828 wine_fn_config_makefile dlls/secur32/tests enable_tests
21829 wine_fn_config_makefile dlls/security enable_security
21830 wine_fn_config_makefile dlls/sensapi enable_sensapi
21831 wine_fn_config_makefile dlls/serialui enable_serialui
21832 wine_fn_config_makefile dlls/serialui/tests enable_tests
21833 wine_fn_config_makefile dlls/setupapi enable_setupapi
21834 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21835 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21836 wine_fn_config_makefile dlls/sfc enable_sfc
21837 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21838 wine_fn_config_makefile dlls/shcore enable_shcore
21839 wine_fn_config_makefile dlls/shcore/tests enable_tests
21840 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21841 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21842 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21843 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21844 wine_fn_config_makefile dlls/shell32 enable_shell32
21845 wine_fn_config_makefile dlls/shell32/tests enable_tests
21846 wine_fn_config_makefile dlls/shfolder enable_shfolder
21847 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21848 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21849 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21850 wine_fn_config_makefile dlls/slc enable_slc
21851 wine_fn_config_makefile dlls/slc/tests enable_tests
21852 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21853 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21854 wine_fn_config_makefile dlls/softpub enable_softpub
21855 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21856 wine_fn_config_makefile dlls/spoolss enable_spoolss
21857 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21858 wine_fn_config_makefile dlls/sppc enable_sppc
21859 wine_fn_config_makefile dlls/srclient enable_srclient
21860 wine_fn_config_makefile dlls/srvcli enable_srvcli
21861 wine_fn_config_makefile dlls/sspicli enable_sspicli
21862 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21863 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21864 wine_fn_config_makefile dlls/sti enable_sti
21865 wine_fn_config_makefile dlls/sti/tests enable_tests
21866 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21867 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21868 wine_fn_config_makefile dlls/strmdll enable_strmdll
21869 wine_fn_config_makefile dlls/svrapi enable_svrapi
21870 wine_fn_config_makefile dlls/sxs enable_sxs
21871 wine_fn_config_makefile dlls/sxs/tests enable_tests
21872 wine_fn_config_makefile dlls/system.drv16 enable_win16
21873 wine_fn_config_makefile dlls/t2embed enable_t2embed
21874 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21875 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21876 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21877 wine_fn_config_makefile dlls/taskschd enable_taskschd
21878 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21879 wine_fn_config_makefile dlls/tbs enable_tbs
21880 wine_fn_config_makefile dlls/tdh enable_tdh
21881 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21882 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21883 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21884 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21885 wine_fn_config_makefile dlls/traffic enable_traffic
21886 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21887 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21888 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21889 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21890 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21891 wine_fn_config_makefile dlls/tzres enable_tzres
21892 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21893 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21894 wine_fn_config_makefile dlls/uianimation enable_uianimation
21895 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21896 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21897 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21898 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21899 wine_fn_config_makefile dlls/unicows enable_unicows
21900 wine_fn_config_makefile dlls/updspapi enable_updspapi
21901 wine_fn_config_makefile dlls/url enable_url
21902 wine_fn_config_makefile dlls/urlmon enable_urlmon
21903 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21904 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21905 wine_fn_config_makefile dlls/user.exe16 enable_win16
21906 wine_fn_config_makefile dlls/user32 enable_user32
21907 wine_fn_config_makefile dlls/user32/tests enable_tests
21908 wine_fn_config_makefile dlls/userenv enable_userenv
21909 wine_fn_config_makefile dlls/userenv/tests enable_tests
21910 wine_fn_config_makefile dlls/usp10 enable_usp10
21911 wine_fn_config_makefile dlls/usp10/tests enable_tests
21912 wine_fn_config_makefile dlls/utildll enable_utildll
21913 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21914 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21915 wine_fn_config_makefile dlls/vbscript enable_vbscript
21916 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21917 wine_fn_config_makefile dlls/vcomp enable_vcomp
21918 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21919 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21920 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21921 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21922 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21923 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21924 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21925 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21926 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21927 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21928 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21929 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21930 wine_fn_config_makefile dlls/version enable_version
21931 wine_fn_config_makefile dlls/version/tests enable_tests
21932 wine_fn_config_makefile dlls/vga enable_vga
21933 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21934 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21935 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21936 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21937 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21938 wine_fn_config_makefile dlls/vssapi enable_vssapi
21939 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21940 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21941 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21942 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21943 wine_fn_config_makefile dlls/w32skrnl enable_win16
21944 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21945 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21946 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21947 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21948 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21949 wine_fn_config_makefile dlls/wdscore enable_wdscore
21950 wine_fn_config_makefile dlls/webservices enable_webservices
21951 wine_fn_config_makefile dlls/webservices/tests enable_tests
21952 wine_fn_config_makefile dlls/websocket enable_websocket
21953 wine_fn_config_makefile dlls/wer enable_wer
21954 wine_fn_config_makefile dlls/wer/tests enable_tests
21955 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21956 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21957 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21958 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21959 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21960 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21961 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21962 wine_fn_config_makefile dlls/win32u enable_win32u
21963 wine_fn_config_makefile dlls/win32u/tests enable_tests
21964 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21965 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21966 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21967 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21968 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21969 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21970 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21971 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21972 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21973 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21974 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21975 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21976 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21977 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21978 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21979 wine_fn_config_makefile dlls/windows.media enable_windows_media
21980 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21981 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21982 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21983 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21984 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21985 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21986 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21987 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21988 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21989 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21990 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21991 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21992 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21993 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21994 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21995 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21996 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21997 wine_fn_config_makefile dlls/wined3d enable_wined3d
21998 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21999 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22000 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22001 wine_fn_config_makefile dlls/winemapi enable_winemapi
22002 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22003 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22004 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22005 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22006 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22007 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22008 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22009 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22010 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22011 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22012 wine_fn_config_makefile dlls/wing32 enable_wing32
22013 wine_fn_config_makefile dlls/winhttp enable_winhttp
22014 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22015 wine_fn_config_makefile dlls/wininet enable_wininet
22016 wine_fn_config_makefile dlls/wininet/tests enable_tests
22017 wine_fn_config_makefile dlls/winmm enable_winmm
22018 wine_fn_config_makefile dlls/winmm/tests enable_tests
22019 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22020 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22021 wine_fn_config_makefile dlls/winprint enable_winprint
22022 wine_fn_config_makefile dlls/winscard enable_winscard
22023 wine_fn_config_makefile dlls/winscard/tests enable_tests
22024 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22025 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22026 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22027 wine_fn_config_makefile dlls/winsta enable_winsta
22028 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22029 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22030 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22031 wine_fn_config_makefile dlls/wintrust enable_wintrust
22032 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22033 wine_fn_config_makefile dlls/wintypes enable_wintypes
22034 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22035 wine_fn_config_makefile dlls/winusb enable_winusb
22036 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22037 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22038 wine_fn_config_makefile dlls/wlanui enable_wlanui
22039 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22040 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22041 wine_fn_config_makefile dlls/wmasf enable_wmasf
22042 wine_fn_config_makefile dlls/wmi enable_wmi
22043 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22044 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22045 wine_fn_config_makefile dlls/wmp enable_wmp
22046 wine_fn_config_makefile dlls/wmp/tests enable_tests
22047 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22048 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22049 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22050 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22051 wine_fn_config_makefile dlls/wofutil enable_wofutil
22052 wine_fn_config_makefile dlls/wow32 enable_win16
22053 wine_fn_config_makefile dlls/wow64 enable_wow64
22054 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22055 wine_fn_config_makefile dlls/wow64win enable_wow64win
22056 wine_fn_config_makefile dlls/wpc enable_wpc
22057 wine_fn_config_makefile dlls/wpc/tests enable_tests
22058 wine_fn_config_makefile dlls/wpcap enable_wpcap
22059 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22060 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22061 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22062 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22063 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22064 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22065 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22066 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22067 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22068 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22069 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22070 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22071 wine_fn_config_makefile dlls/wuapi enable_wuapi
22072 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22073 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22074 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22075 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22076 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22077 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22078 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22079 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22080 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22081 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22082 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22083 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22084 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22085 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22086 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22087 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22088 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22089 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22090 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22091 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22092 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22093 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22094 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22095 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22096 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22097 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22098 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22099 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22100 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22101 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22102 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22103 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22104 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22105 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22106 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22107 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22108 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22109 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22110 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22111 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22112 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22113 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22114 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22115 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22116 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22117 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22118 wine_fn_config_makefile dlls/xmllite enable_xmllite
22119 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22120 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22121 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22122 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22123 wine_fn_config_makefile fonts enable_fonts
22124 wine_fn_config_makefile include enable_include
22125 wine_fn_config_makefile libs/adsiid enable_adsiid
22126 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22127 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22128 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22129 wine_fn_config_makefile libs/dxguid enable_dxguid
22130 wine_fn_config_makefile libs/faudio enable_faudio
22131 wine_fn_config_makefile libs/gsm enable_gsm
22132 wine_fn_config_makefile libs/jpeg enable_jpeg
22133 wine_fn_config_makefile libs/jxr enable_jxr
22134 wine_fn_config_makefile libs/lcms2 enable_lcms2
22135 wine_fn_config_makefile libs/ldap enable_ldap
22136 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22137 wine_fn_config_makefile libs/mpg123 enable_mpg123
22138 wine_fn_config_makefile libs/musl enable_musl
22139 wine_fn_config_makefile libs/png enable_png
22140 wine_fn_config_makefile libs/strmbase enable_strmbase
22141 wine_fn_config_makefile libs/strmiids enable_strmiids
22142 wine_fn_config_makefile libs/tiff enable_tiff
22143 wine_fn_config_makefile libs/uuid enable_uuid
22144 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22145 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22146 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22147 wine_fn_config_makefile libs/xml2 enable_xml2
22148 wine_fn_config_makefile libs/xslt enable_xslt
22149 wine_fn_config_makefile libs/zlib enable_zlib
22150 wine_fn_config_makefile libs/zydis enable_zydis
22151 wine_fn_config_makefile loader enable_loader
22152 wine_fn_config_makefile nls enable_nls
22153 wine_fn_config_makefile po enable_po
22154 wine_fn_config_makefile programs/arp enable_arp
22155 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22156 wine_fn_config_makefile programs/attrib enable_attrib
22157 wine_fn_config_makefile programs/cabarc enable_cabarc
22158 wine_fn_config_makefile programs/cacls enable_cacls
22159 wine_fn_config_makefile programs/certutil enable_certutil
22160 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22161 wine_fn_config_makefile programs/clock enable_clock
22162 wine_fn_config_makefile programs/cmd enable_cmd
22163 wine_fn_config_makefile programs/cmd/tests enable_tests
22164 wine_fn_config_makefile programs/conhost enable_conhost
22165 wine_fn_config_makefile programs/conhost/tests enable_tests
22166 wine_fn_config_makefile programs/control enable_control
22167 wine_fn_config_makefile programs/cscript enable_cscript
22168 wine_fn_config_makefile programs/dism enable_dism
22169 wine_fn_config_makefile programs/dllhost enable_dllhost
22170 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22171 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22172 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22173 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22174 wine_fn_config_makefile programs/eject enable_eject
22175 wine_fn_config_makefile programs/expand enable_expand
22176 wine_fn_config_makefile programs/explorer enable_explorer
22177 wine_fn_config_makefile programs/explorer/tests enable_tests
22178 wine_fn_config_makefile programs/extrac32 enable_extrac32
22179 wine_fn_config_makefile programs/fc enable_fc
22180 wine_fn_config_makefile programs/find enable_find
22181 wine_fn_config_makefile programs/find/tests enable_tests
22182 wine_fn_config_makefile programs/findstr enable_findstr
22183 wine_fn_config_makefile programs/findstr/tests enable_tests
22184 wine_fn_config_makefile programs/fsutil enable_fsutil
22185 wine_fn_config_makefile programs/fsutil/tests enable_tests
22186 wine_fn_config_makefile programs/hh enable_hh
22187 wine_fn_config_makefile programs/hostname enable_hostname
22188 wine_fn_config_makefile programs/icacls enable_icacls
22189 wine_fn_config_makefile programs/icinfo enable_icinfo
22190 wine_fn_config_makefile programs/iexplore enable_iexplore
22191 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22192 wine_fn_config_makefile programs/lodctr enable_lodctr
22193 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22194 wine_fn_config_makefile programs/mshta enable_mshta
22195 wine_fn_config_makefile programs/msidb enable_msidb
22196 wine_fn_config_makefile programs/msiexec enable_msiexec
22197 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22198 wine_fn_config_makefile programs/net enable_net
22199 wine_fn_config_makefile programs/netsh enable_netsh
22200 wine_fn_config_makefile programs/netstat enable_netstat
22201 wine_fn_config_makefile programs/ngen enable_ngen
22202 wine_fn_config_makefile programs/notepad enable_notepad
22203 wine_fn_config_makefile programs/oleview enable_oleview
22204 wine_fn_config_makefile programs/ping enable_ping
22205 wine_fn_config_makefile programs/plugplay enable_plugplay
22206 wine_fn_config_makefile programs/powershell enable_powershell
22207 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22208 wine_fn_config_makefile programs/progman enable_progman
22209 wine_fn_config_makefile programs/reg enable_reg
22210 wine_fn_config_makefile programs/reg/tests enable_tests
22211 wine_fn_config_makefile programs/regasm enable_regasm
22212 wine_fn_config_makefile programs/regedit enable_regedit
22213 wine_fn_config_makefile programs/regedit/tests enable_tests
22214 wine_fn_config_makefile programs/regini enable_regini
22215 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22216 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22217 wine_fn_config_makefile programs/robocopy enable_robocopy
22218 wine_fn_config_makefile programs/rpcss enable_rpcss
22219 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22220 wine_fn_config_makefile programs/rundll32 enable_rundll32
22221 wine_fn_config_makefile programs/sc enable_sc
22222 wine_fn_config_makefile programs/sc/tests enable_tests
22223 wine_fn_config_makefile programs/schtasks enable_schtasks
22224 wine_fn_config_makefile programs/schtasks/tests enable_tests
22225 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22226 wine_fn_config_makefile programs/secedit enable_secedit
22227 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22228 wine_fn_config_makefile programs/services enable_services
22229 wine_fn_config_makefile programs/services/tests enable_tests
22230 wine_fn_config_makefile programs/setx enable_setx
22231 wine_fn_config_makefile programs/shutdown enable_shutdown
22232 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22233 wine_fn_config_makefile programs/start enable_start
22234 wine_fn_config_makefile programs/subst enable_subst
22235 wine_fn_config_makefile programs/svchost enable_svchost
22236 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22237 wine_fn_config_makefile programs/taskkill enable_taskkill
22238 wine_fn_config_makefile programs/tasklist enable_tasklist
22239 wine_fn_config_makefile programs/tasklist/tests enable_tests
22240 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22241 wine_fn_config_makefile programs/termsv enable_termsv
22242 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22243 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22244 wine_fn_config_makefile programs/view enable_view
22245 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22246 wine_fn_config_makefile programs/where enable_where
22247 wine_fn_config_makefile programs/whoami enable_whoami
22248 wine_fn_config_makefile programs/wineboot enable_wineboot
22249 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22250 wine_fn_config_makefile programs/winecfg enable_winecfg
22251 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22252 wine_fn_config_makefile programs/winedbg enable_winedbg
22253 wine_fn_config_makefile programs/winedevice enable_winedevice
22254 wine_fn_config_makefile programs/winefile enable_winefile
22255 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22256 wine_fn_config_makefile programs/winemine enable_winemine
22257 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22258 wine_fn_config_makefile programs/winepath enable_winepath
22259 wine_fn_config_makefile programs/winetest enable_winetest
22260 wine_fn_config_makefile programs/winevdm enable_win16
22261 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22262 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22263 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22264 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22265 wine_fn_config_makefile programs/winver enable_winver
22266 wine_fn_config_makefile programs/wmic enable_wmic
22267 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22268 wine_fn_config_makefile programs/wordpad enable_wordpad
22269 wine_fn_config_makefile programs/write enable_write
22270 wine_fn_config_makefile programs/wscript enable_wscript
22271 wine_fn_config_makefile programs/wscript/tests enable_tests
22272 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22273 wine_fn_config_makefile programs/wusa enable_wusa
22274 wine_fn_config_makefile programs/xcopy enable_xcopy
22275 wine_fn_config_makefile programs/xcopy/tests enable_tests
22276 wine_fn_config_makefile server enable_server
22277 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22278 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22279 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22280 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22281 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22282 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22283 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22284 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22285 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22288 as_fn_append CONFIGURE_TARGETS " TAGS"
22289 as_fn_append CONFIGURE_TARGETS " tags"
22290 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22291 as_fn_append CONFIGURE_TARGETS " config.log"
22292 as_fn_append CONFIGURE_TARGETS " config.status"
22293 as_fn_append CONFIGURE_TARGETS " include/config.h"
22294 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22295 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22297 if test "x$enable_tools" != xno
22298 then
22299 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22300 ac_config_commands="$ac_config_commands tools/makedep"
22304 ac_config_commands="$ac_config_commands Makefile"
22308 SHELL=/bin/sh
22311 as_fn_append wine_rules "
22312 all: wine
22313 @echo \"Wine build complete.\"
22314 .INIT: Makefile
22315 .MAKEFILEDEPS:
22316 all: Makefile
22317 Makefile: config.status \$(MAKEDEP)
22318 @./config.status Makefile
22319 depend: \$(MAKEDEP)
22320 \$(MAKEDEP)$makedep_flags"
22323 as_fn_append wine_rules "
22324 config.status: ${wine_srcdir}configure
22325 @./config.status --recheck
22326 include/config.h: include/stamp-h
22327 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22328 @./config.status include/config.h include/stamp-h"
22330 if test "x$enable_maintainer_mode" = xyes
22331 then
22332 as_fn_append wine_rules "
22333 configure: configure.ac aclocal.m4
22334 autoconf --warnings=all
22335 include/config.h.in: include/stamp-h.in
22336 include/stamp-h.in: configure.ac aclocal.m4
22337 autoheader --warnings=all
22338 @echo timestamp > \$@"
22341 if test "x$enable_tools" != xno
22342 then
22343 as_fn_append wine_rules "
22344 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22345 @./config.status tools/makedep
22346 Makefile: tools/makedep$ac_exeext"
22347 else
22348 as_fn_append wine_rules "
22349 \$(MAKEDEP):
22350 @echo \"You need to run make in $toolsdir first\" && false"
22354 if test -n "$with_wine64"
22355 then
22356 case "$with_wine64" in
22357 /*) reldir="" ;;
22358 *) reldir="../" ;;
22359 esac
22360 rm -f fonts server 2>/dev/null
22361 as_fn_append wine_rules "
22362 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22363 loader/wine64 loader/wine64-preloader:
22364 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22365 $with_wine64/loader/wine:
22366 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22367 $with_wine64/loader/wine-preloader:
22368 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22369 clean::
22370 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22371 else
22372 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22373 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22374 fonts \
22375 loader/wine.inf \
22376 nls \
22377 programs/msidb/msidb \
22378 programs/msiexec/msiexec \
22379 programs/notepad/notepad \
22380 programs/regedit/regedit \
22381 programs/regsvr32/regsvr32 \
22382 programs/wineboot/wineboot \
22383 programs/winecfg/winecfg \
22384 programs/wineconsole/wineconsole \
22385 programs/winedbg/winedbg \
22386 programs/winefile/winefile \
22387 programs/winemine/winemine \
22388 programs/winepath/winepath \
22389 server/wineserver"
22391 case $host_os in
22392 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22393 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22394 esac
22398 as_fn_append wine_rules "
22399 distclean:: clean
22400 rm -rf autom4te.cache
22401 maintainer-clean::
22402 rm -f configure include/config.h.in"
22405 as_fn_append wine_rules "
22406 dlls/ntdll/unix/version.c: dummy
22407 @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)
22408 programs/winetest/build.rc: dummy
22409 @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)
22410 programs/winetest/build.nfo:
22411 @-\$(CC) -v 2>\$@
22412 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
22413 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22414 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22417 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22419 as_fn_append wine_rules "
22420 TAGS etags:
22421 rm -f TAGS
22422 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22423 tags ctags:
22424 rm -f tags
22425 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22426 dummy:
22427 .PHONY: depend dummy install-manpages"
22429 printf "%s\n" " done" >&6
22430 cat >confcache <<\_ACEOF
22431 # This file is a shell script that caches the results of configure
22432 # tests run on this system so they can be shared between configure
22433 # scripts and configure runs, see configure's option --config-cache.
22434 # It is not useful on other systems. If it contains results you don't
22435 # want to keep, you may remove or edit it.
22437 # config.status only pays attention to the cache file if you give it
22438 # the --recheck option to rerun configure.
22440 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22441 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22442 # following values.
22444 _ACEOF
22446 # The following way of writing the cache mishandles newlines in values,
22447 # but we know of no workaround that is simple, portable, and efficient.
22448 # So, we kill variables containing newlines.
22449 # Ultrix sh set writes to stderr and can't be redirected directly,
22450 # and sets the high bit in the cache file unless we assign to the vars.
22452 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22453 eval ac_val=\$$ac_var
22454 case $ac_val in #(
22455 *${as_nl}*)
22456 case $ac_var in #(
22457 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22458 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22459 esac
22460 case $ac_var in #(
22461 _ | IFS | as_nl) ;; #(
22462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22463 *) { eval $ac_var=; unset $ac_var;} ;;
22464 esac ;;
22465 esac
22466 done
22468 (set) 2>&1 |
22469 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22470 *${as_nl}ac_space=\ *)
22471 # `set' does not quote correctly, so add quotes: double-quote
22472 # substitution turns \\\\ into \\, and sed turns \\ into \.
22473 sed -n \
22474 "s/'/'\\\\''/g;
22475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22476 ;; #(
22478 # `set' quotes correctly as required by POSIX, so do not add quotes.
22479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22481 esac |
22482 sort
22484 sed '
22485 /^ac_cv_env_/b end
22486 t clear
22487 :clear
22488 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22489 t end
22490 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22491 :end' >>confcache
22492 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22493 if test -w "$cache_file"; then
22494 if test "x$cache_file" != "x/dev/null"; then
22495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22496 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22497 if test ! -f "$cache_file" || test -h "$cache_file"; then
22498 cat confcache >"$cache_file"
22499 else
22500 case $cache_file in #(
22501 */* | ?:*)
22502 mv -f confcache "$cache_file"$$ &&
22503 mv -f "$cache_file"$$ "$cache_file" ;; #(
22505 mv -f confcache "$cache_file" ;;
22506 esac
22509 else
22510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22511 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22514 rm -f confcache
22516 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22517 # Let make expand exec_prefix.
22518 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22520 DEFS=-DHAVE_CONFIG_H
22522 ac_libobjs=
22523 ac_ltlibobjs=
22525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22526 # 1. Remove the extension, and $U if already installed.
22527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22528 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22530 # will be set to the directory where LIBOBJS objects are built.
22531 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22532 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22533 done
22534 LIBOBJS=$ac_libobjs
22536 LTLIBOBJS=$ac_ltlibobjs
22540 : "${CONFIG_STATUS=./config.status}"
22541 ac_write_fail=0
22542 ac_clean_files_save=$ac_clean_files
22543 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22545 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22546 as_write_fail=0
22547 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22548 #! $SHELL
22549 # Generated by $as_me.
22550 # Run this file to recreate the current configuration.
22551 # Compiler output produced by configure, useful for debugging
22552 # configure, is in config.log if it exists.
22554 debug=false
22555 ac_cs_recheck=false
22556 ac_cs_silent=false
22558 SHELL=\${CONFIG_SHELL-$SHELL}
22559 export SHELL
22560 _ASEOF
22561 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22562 ## -------------------- ##
22563 ## M4sh Initialization. ##
22564 ## -------------------- ##
22566 # Be more Bourne compatible
22567 DUALCASE=1; export DUALCASE # for MKS sh
22568 as_nop=:
22569 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22570 then :
22571 emulate sh
22572 NULLCMD=:
22573 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22574 # is contrary to our usage. Disable this feature.
22575 alias -g '${1+"$@"}'='"$@"'
22576 setopt NO_GLOB_SUBST
22577 else $as_nop
22578 case `(set -o) 2>/dev/null` in #(
22579 *posix*) :
22580 set -o posix ;; #(
22581 *) :
22583 esac
22588 # Reset variables that may have inherited troublesome values from
22589 # the environment.
22591 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22592 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22593 # side effect of setting IFS to empty, thus disabling word splitting.)
22594 # Quoting is to prevent editors from complaining about space-tab.
22595 as_nl='
22597 export as_nl
22598 IFS=" "" $as_nl"
22600 PS1='$ '
22601 PS2='> '
22602 PS4='+ '
22604 # Ensure predictable behavior from utilities with locale-dependent output.
22605 LC_ALL=C
22606 export LC_ALL
22607 LANGUAGE=C
22608 export LANGUAGE
22610 # We cannot yet rely on "unset" to work, but we need these variables
22611 # to be unset--not just set to an empty or harmless value--now, to
22612 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22613 # also avoids known problems related to "unset" and subshell syntax
22614 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22615 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22616 do eval test \${$as_var+y} \
22617 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22618 done
22620 # Ensure that fds 0, 1, and 2 are open.
22621 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22622 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22623 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22625 # The user is always right.
22626 if ${PATH_SEPARATOR+false} :; then
22627 PATH_SEPARATOR=:
22628 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22629 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22630 PATH_SEPARATOR=';'
22635 # Find who we are. Look in the path if we contain no directory separator.
22636 as_myself=
22637 case $0 in #((
22638 *[\\/]* ) as_myself=$0 ;;
22639 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22640 for as_dir in $PATH
22642 IFS=$as_save_IFS
22643 case $as_dir in #(((
22644 '') as_dir=./ ;;
22645 */) ;;
22646 *) as_dir=$as_dir/ ;;
22647 esac
22648 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22649 done
22650 IFS=$as_save_IFS
22653 esac
22654 # We did not find ourselves, most probably we were run as `sh COMMAND'
22655 # in which case we are not to be found in the path.
22656 if test "x$as_myself" = x; then
22657 as_myself=$0
22659 if test ! -f "$as_myself"; then
22660 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22661 exit 1
22666 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22667 # ----------------------------------------
22668 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22669 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22670 # script with STATUS, using 1 if that was 0.
22671 as_fn_error ()
22673 as_status=$1; test $as_status -eq 0 && as_status=1
22674 if test "$4"; then
22675 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22678 printf "%s\n" "$as_me: error: $2" >&2
22679 as_fn_exit $as_status
22680 } # as_fn_error
22684 # as_fn_set_status STATUS
22685 # -----------------------
22686 # Set $? to STATUS, without forking.
22687 as_fn_set_status ()
22689 return $1
22690 } # as_fn_set_status
22692 # as_fn_exit STATUS
22693 # -----------------
22694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22695 as_fn_exit ()
22697 set +e
22698 as_fn_set_status $1
22699 exit $1
22700 } # as_fn_exit
22702 # as_fn_unset VAR
22703 # ---------------
22704 # Portably unset VAR.
22705 as_fn_unset ()
22707 { eval $1=; unset $1;}
22709 as_unset=as_fn_unset
22711 # as_fn_append VAR VALUE
22712 # ----------------------
22713 # Append the text in VALUE to the end of the definition contained in VAR. Take
22714 # advantage of any shell optimizations that allow amortized linear growth over
22715 # repeated appends, instead of the typical quadratic growth present in naive
22716 # implementations.
22717 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22718 then :
22719 eval 'as_fn_append ()
22721 eval $1+=\$2
22723 else $as_nop
22724 as_fn_append ()
22726 eval $1=\$$1\$2
22728 fi # as_fn_append
22730 # as_fn_arith ARG...
22731 # ------------------
22732 # Perform arithmetic evaluation on the ARGs, and store the result in the
22733 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22734 # must be portable across $(()) and expr.
22735 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22736 then :
22737 eval 'as_fn_arith ()
22739 as_val=$(( $* ))
22741 else $as_nop
22742 as_fn_arith ()
22744 as_val=`expr "$@" || test $? -eq 1`
22746 fi # as_fn_arith
22749 if expr a : '\(a\)' >/dev/null 2>&1 &&
22750 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22751 as_expr=expr
22752 else
22753 as_expr=false
22756 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22757 as_basename=basename
22758 else
22759 as_basename=false
22762 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22763 as_dirname=dirname
22764 else
22765 as_dirname=false
22768 as_me=`$as_basename -- "$0" ||
22769 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22770 X"$0" : 'X\(//\)$' \| \
22771 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22772 printf "%s\n" X/"$0" |
22773 sed '/^.*\/\([^/][^/]*\)\/*$/{
22774 s//\1/
22777 /^X\/\(\/\/\)$/{
22778 s//\1/
22781 /^X\/\(\/\).*/{
22782 s//\1/
22785 s/.*/./; q'`
22787 # Avoid depending upon Character Ranges.
22788 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22789 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22790 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22791 as_cr_digits='0123456789'
22792 as_cr_alnum=$as_cr_Letters$as_cr_digits
22795 # Determine whether it's possible to make 'echo' print without a newline.
22796 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22797 # for compatibility with existing Makefiles.
22798 ECHO_C= ECHO_N= ECHO_T=
22799 case `echo -n x` in #(((((
22800 -n*)
22801 case `echo 'xy\c'` in
22802 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22803 xy) ECHO_C='\c';;
22804 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22805 ECHO_T=' ';;
22806 esac;;
22808 ECHO_N='-n';;
22809 esac
22811 # For backward compatibility with old third-party macros, we provide
22812 # the shell variables $as_echo and $as_echo_n. New code should use
22813 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22814 as_echo='printf %s\n'
22815 as_echo_n='printf %s'
22817 rm -f conf$$ conf$$.exe conf$$.file
22818 if test -d conf$$.dir; then
22819 rm -f conf$$.dir/conf$$.file
22820 else
22821 rm -f conf$$.dir
22822 mkdir conf$$.dir 2>/dev/null
22824 if (echo >conf$$.file) 2>/dev/null; then
22825 if ln -s conf$$.file conf$$ 2>/dev/null; then
22826 as_ln_s='ln -s'
22827 # ... but there are two gotchas:
22828 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22829 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22830 # In both cases, we have to default to `cp -pR'.
22831 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22832 as_ln_s='cp -pR'
22833 elif ln conf$$.file conf$$ 2>/dev/null; then
22834 as_ln_s=ln
22835 else
22836 as_ln_s='cp -pR'
22838 else
22839 as_ln_s='cp -pR'
22841 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22842 rmdir conf$$.dir 2>/dev/null
22845 # as_fn_mkdir_p
22846 # -------------
22847 # Create "$as_dir" as a directory, including parents if necessary.
22848 as_fn_mkdir_p ()
22851 case $as_dir in #(
22852 -*) as_dir=./$as_dir;;
22853 esac
22854 test -d "$as_dir" || eval $as_mkdir_p || {
22855 as_dirs=
22856 while :; do
22857 case $as_dir in #(
22858 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22859 *) as_qdir=$as_dir;;
22860 esac
22861 as_dirs="'$as_qdir' $as_dirs"
22862 as_dir=`$as_dirname -- "$as_dir" ||
22863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22864 X"$as_dir" : 'X\(//\)[^/]' \| \
22865 X"$as_dir" : 'X\(//\)$' \| \
22866 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22867 printf "%s\n" X"$as_dir" |
22868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22869 s//\1/
22872 /^X\(\/\/\)[^/].*/{
22873 s//\1/
22876 /^X\(\/\/\)$/{
22877 s//\1/
22880 /^X\(\/\).*/{
22881 s//\1/
22884 s/.*/./; q'`
22885 test -d "$as_dir" && break
22886 done
22887 test -z "$as_dirs" || eval "mkdir $as_dirs"
22888 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22891 } # as_fn_mkdir_p
22892 if mkdir -p . 2>/dev/null; then
22893 as_mkdir_p='mkdir -p "$as_dir"'
22894 else
22895 test -d ./-p && rmdir ./-p
22896 as_mkdir_p=false
22900 # as_fn_executable_p FILE
22901 # -----------------------
22902 # Test if FILE is an executable regular file.
22903 as_fn_executable_p ()
22905 test -f "$1" && test -x "$1"
22906 } # as_fn_executable_p
22907 as_test_x='test -x'
22908 as_executable_p=as_fn_executable_p
22910 # Sed expression to map a string onto a valid CPP name.
22911 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22913 # Sed expression to map a string onto a valid variable name.
22914 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22917 exec 6>&1
22918 ## ----------------------------------- ##
22919 ## Main body of $CONFIG_STATUS script. ##
22920 ## ----------------------------------- ##
22921 _ASEOF
22922 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22925 # Save the log message, to keep $0 and so on meaningful, and to
22926 # report actual input values of CONFIG_FILES etc. instead of their
22927 # values after options handling.
22928 ac_log="
22929 This file was extended by Wine $as_me 8.11, which was
22930 generated by GNU Autoconf 2.71. Invocation command line was
22932 CONFIG_FILES = $CONFIG_FILES
22933 CONFIG_HEADERS = $CONFIG_HEADERS
22934 CONFIG_LINKS = $CONFIG_LINKS
22935 CONFIG_COMMANDS = $CONFIG_COMMANDS
22936 $ $0 $@
22938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22941 _ACEOF
22944 case $ac_config_headers in *"
22945 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22946 esac
22949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22950 # Files that config.status was made for.
22951 config_headers="$ac_config_headers"
22952 config_links="$ac_config_links"
22953 config_commands="$ac_config_commands"
22955 _ACEOF
22957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22958 ac_cs_usage="\
22959 \`$as_me' instantiates files and other configuration actions
22960 from templates according to the current configuration. Unless the files
22961 and actions are specified as TAGs, all are instantiated by default.
22963 Usage: $0 [OPTION]... [TAG]...
22965 -h, --help print this help, then exit
22966 -V, --version print version number and configuration settings, then exit
22967 --config print configuration, then exit
22968 -q, --quiet, --silent
22969 do not print progress messages
22970 -d, --debug don't remove temporary files
22971 --recheck update $as_me by reconfiguring in the same conditions
22972 --header=FILE[:TEMPLATE]
22973 instantiate the configuration header FILE
22975 Configuration headers:
22976 $config_headers
22978 Configuration links:
22979 $config_links
22981 Configuration commands:
22982 $config_commands
22984 Report bugs to <wine-devel@winehq.org>.
22985 Wine home page: <https://www.winehq.org>."
22987 _ACEOF
22988 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22989 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22991 ac_cs_config='$ac_cs_config_escaped'
22992 ac_cs_version="\\
22993 Wine config.status 8.11
22994 configured by $0, generated by GNU Autoconf 2.71,
22995 with options \\"\$ac_cs_config\\"
22997 Copyright (C) 2021 Free Software Foundation, Inc.
22998 This config.status script is free software; the Free Software Foundation
22999 gives unlimited permission to copy, distribute and modify it."
23001 ac_pwd='$ac_pwd'
23002 srcdir='$srcdir'
23003 test -n "\$AWK" || AWK=awk
23004 _ACEOF
23006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23007 # The default lists apply if the user does not specify any file.
23008 ac_need_defaults=:
23009 while test $# != 0
23011 case $1 in
23012 --*=?*)
23013 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23014 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23015 ac_shift=:
23017 --*=)
23018 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23019 ac_optarg=
23020 ac_shift=:
23023 ac_option=$1
23024 ac_optarg=$2
23025 ac_shift=shift
23027 esac
23029 case $ac_option in
23030 # Handling of the options.
23031 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23032 ac_cs_recheck=: ;;
23033 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23034 printf "%s\n" "$ac_cs_version"; exit ;;
23035 --config | --confi | --conf | --con | --co | --c )
23036 printf "%s\n" "$ac_cs_config"; exit ;;
23037 --debug | --debu | --deb | --de | --d | -d )
23038 debug=: ;;
23039 --header | --heade | --head | --hea )
23040 $ac_shift
23041 case $ac_optarg in
23042 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23043 esac
23044 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23045 ac_need_defaults=false;;
23046 --he | --h)
23047 # Conflict between --help and --header
23048 as_fn_error $? "ambiguous option: \`$1'
23049 Try \`$0 --help' for more information.";;
23050 --help | --hel | -h )
23051 printf "%s\n" "$ac_cs_usage"; exit ;;
23052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23053 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23054 ac_cs_silent=: ;;
23056 # This is an error.
23057 -*) as_fn_error $? "unrecognized option: \`$1'
23058 Try \`$0 --help' for more information." ;;
23060 *) as_fn_append ac_config_targets " $1"
23061 ac_need_defaults=false ;;
23063 esac
23064 shift
23065 done
23067 ac_configure_extra_args=
23069 if $ac_cs_silent; then
23070 exec 6>/dev/null
23071 ac_configure_extra_args="$ac_configure_extra_args --silent"
23074 _ACEOF
23075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23076 if \$ac_cs_recheck; then
23077 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23078 shift
23079 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23080 CONFIG_SHELL='$SHELL'
23081 export CONFIG_SHELL
23082 exec "\$@"
23085 _ACEOF
23086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23087 exec 5>>config.log
23089 echo
23090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23091 ## Running $as_me. ##
23092 _ASBOX
23093 printf "%s\n" "$ac_log"
23094 } >&5
23096 _ACEOF
23097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23099 # INIT-COMMANDS
23101 wine_fn_output_makedep ()
23103 as_dir=tools; as_fn_mkdir_p
23104 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23106 wine_fn_output_makefile ()
23108 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23109 # This Makefile understands the following targets:
23111 # all (default): build wine
23112 # clean: remove all intermediate files
23113 # distclean: also remove all files created by configure
23114 # test: run tests
23115 # testclean: clean test results to force running all tests again
23116 # install-lib: install libraries needed to run applications
23117 # install-dev: install development environment
23118 # install: install everything
23119 # uninstall: uninstall everything
23120 # ctags: create a tags file for vim and others.
23121 # etags: create a TAGS file for Emacs.
23123 SHELL = $SHELL
23124 PATH_SEPARATOR = $PATH_SEPARATOR
23125 PACKAGE_NAME = $PACKAGE_NAME
23126 PACKAGE_TARNAME = $PACKAGE_TARNAME
23127 PACKAGE_VERSION = $PACKAGE_VERSION
23128 PACKAGE_STRING = $PACKAGE_STRING
23129 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23130 PACKAGE_URL = $PACKAGE_URL
23131 exec_prefix = $exec_prefix
23132 prefix = $prefix
23133 program_transform_name = $program_transform_name
23134 bindir = $bindir
23135 sbindir = $sbindir
23136 libexecdir = $libexecdir
23137 datarootdir = $datarootdir
23138 datadir = $datadir
23139 sysconfdir = $sysconfdir
23140 sharedstatedir = $sharedstatedir
23141 localstatedir = $localstatedir
23142 runstatedir = $runstatedir
23143 includedir = $includedir
23144 oldincludedir = $oldincludedir
23145 docdir = $docdir
23146 infodir = $infodir
23147 htmldir = $htmldir
23148 dvidir = $dvidir
23149 pdfdir = $pdfdir
23150 psdir = $psdir
23151 libdir = $libdir
23152 localedir = $localedir
23153 mandir = $mandir
23154 DEFS = $DEFS
23155 ECHO_C = $ECHO_C
23156 ECHO_N = $ECHO_N
23157 ECHO_T = $ECHO_T
23158 LIBS = $LIBS
23159 build_alias = $build_alias
23160 host_alias = $host_alias
23161 target_alias = $target_alias
23162 system_dllpath = $system_dllpath
23163 build = $build
23164 build_cpu = $build_cpu
23165 build_vendor = $build_vendor
23166 build_os = $build_os
23167 host = $host
23168 host_cpu = $host_cpu
23169 host_vendor = $host_vendor
23170 host_os = $host_os
23171 dlldir = $dlldir
23172 fontdir = $fontdir
23173 nlsdir = $nlsdir
23174 srcdir = $srcdir
23175 SET_MAKE = $SET_MAKE
23176 CC = $CC
23177 CFLAGS = $CFLAGS
23178 LDFLAGS = $LDFLAGS
23179 CPPFLAGS = $CPPFLAGS
23180 ac_ct_CC = $ac_ct_CC
23181 EXEEXT = $EXEEXT
23182 OBJEXT = $OBJEXT
23183 CXX = $CXX
23184 CXXFLAGS = $CXXFLAGS
23185 ac_ct_CXX = $ac_ct_CXX
23186 CPPBIN = $CPPBIN
23187 LD = $LD
23188 TARGETFLAGS = $TARGETFLAGS
23189 toolsext = $toolsext
23190 HOST_ARCH = $HOST_ARCH
23191 aarch64_CC = $aarch64_CC
23192 aarch64_CFLAGS = $aarch64_CFLAGS
23193 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23194 aarch64_LDFLAGS = $aarch64_LDFLAGS
23195 aarch64_DEBUG = $aarch64_DEBUG
23196 aarch64_TARGET = $aarch64_TARGET
23197 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23198 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23199 arm_CC = $arm_CC
23200 arm_CFLAGS = $arm_CFLAGS
23201 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23202 arm_LDFLAGS = $arm_LDFLAGS
23203 arm_DEBUG = $arm_DEBUG
23204 arm_TARGET = $arm_TARGET
23205 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23206 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23207 i386_CC = $i386_CC
23208 i386_CFLAGS = $i386_CFLAGS
23209 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23210 i386_LDFLAGS = $i386_LDFLAGS
23211 i386_DEBUG = $i386_DEBUG
23212 i386_TARGET = $i386_TARGET
23213 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23214 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23215 x86_64_CC = $x86_64_CC
23216 x86_64_CFLAGS = $x86_64_CFLAGS
23217 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23218 x86_64_LDFLAGS = $x86_64_LDFLAGS
23219 x86_64_DEBUG = $x86_64_DEBUG
23220 x86_64_TARGET = $x86_64_TARGET
23221 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23222 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23223 toolsdir = $toolsdir
23224 MAKEDEP = $MAKEDEP
23225 RUNTESTFLAGS = $RUNTESTFLAGS
23226 SED_CMD = $SED_CMD
23227 FLEX = $FLEX
23228 BISON = $BISON
23229 AR = $AR
23230 ac_ct_AR = $ac_ct_AR
23231 STRIP = $STRIP
23232 RANLIB = $RANLIB
23233 LN_S = $LN_S
23234 GREP = $GREP
23235 EGREP = $EGREP
23236 LDCONFIG = $LDCONFIG
23237 MSGFMT = $MSGFMT
23238 PKG_CONFIG = $PKG_CONFIG
23239 FONTFORGE = $FONTFORGE
23240 RSVG = $RSVG
23241 CONVERT = $CONVERT
23242 ICOTOOL = $ICOTOOL
23243 I386_LIBS = $I386_LIBS
23244 OPENGL_LIBS = $OPENGL_LIBS
23245 DLLFLAGS = $DLLFLAGS
23246 LDDLLFLAGS = $LDDLLFLAGS
23247 LDEXECFLAGS = $LDEXECFLAGS
23248 EXTRACFLAGS = $EXTRACFLAGS
23249 UNIXDLLFLAGS = $UNIXDLLFLAGS
23250 UNIXLDFLAGS = $UNIXLDFLAGS
23251 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23252 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23253 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23254 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23255 DLLEXT = $DLLEXT
23256 LDD = $LDD
23257 OTOOL = $OTOOL
23258 READELF = $READELF
23259 SUBDIRS = $SUBDIRS
23260 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23261 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23262 CARBON_LIBS = $CARBON_LIBS
23263 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23264 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23265 IOKIT_LIBS = $IOKIT_LIBS
23266 METAL_LIBS = $METAL_LIBS
23267 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23268 CORESERVICES_LIBS = $CORESERVICES_LIBS
23269 APPKIT_LIBS = $APPKIT_LIBS
23270 SECURITY_LIBS = $SECURITY_LIBS
23271 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23272 COREAUDIO_LIBS = $COREAUDIO_LIBS
23273 OPENCL_LIBS = $OPENCL_LIBS
23274 OBJC = $OBJC
23275 OBJCFLAGS = $OBJCFLAGS
23276 ac_ct_OBJC = $ac_ct_OBJC
23277 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23278 PE_ARCHS = $PE_ARCHS
23279 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23280 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23281 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23282 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23283 GSM_PE_LIBS = $GSM_PE_LIBS
23284 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23285 JPEG_PE_LIBS = $JPEG_PE_LIBS
23286 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23287 JXR_PE_LIBS = $JXR_PE_LIBS
23288 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23289 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23290 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23291 LDAP_PE_LIBS = $LDAP_PE_LIBS
23292 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23293 MPG123_PE_LIBS = $MPG123_PE_LIBS
23294 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23295 MUSL_PE_LIBS = $MUSL_PE_LIBS
23296 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23297 PNG_PE_LIBS = $PNG_PE_LIBS
23298 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23299 TIFF_PE_LIBS = $TIFF_PE_LIBS
23300 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23301 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23302 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23303 XML2_PE_LIBS = $XML2_PE_LIBS
23304 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23305 XSLT_PE_LIBS = $XSLT_PE_LIBS
23306 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23307 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23308 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23309 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23310 PTHREAD_LIBS = $PTHREAD_LIBS
23311 XMKMF = $XMKMF
23312 CPP = $CPP
23313 X_CFLAGS = $X_CFLAGS
23314 X_PRE_LIBS = $X_PRE_LIBS
23315 X_LIBS = $X_LIBS
23316 X_EXTRA_LIBS = $X_EXTRA_LIBS
23317 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23318 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23319 WAYLAND_SCANNER = $WAYLAND_SCANNER
23320 PCAP_LIBS = $PCAP_LIBS
23321 PCSCLITE_LIBS = $PCSCLITE_LIBS
23322 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23323 INOTIFY_LIBS = $INOTIFY_LIBS
23324 DBUS_CFLAGS = $DBUS_CFLAGS
23325 DBUS_LIBS = $DBUS_LIBS
23326 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23327 GNUTLS_LIBS = $GNUTLS_LIBS
23328 SANE_CFLAGS = $SANE_CFLAGS
23329 SANE_LIBS = $SANE_LIBS
23330 USB_CFLAGS = $USB_CFLAGS
23331 USB_LIBS = $USB_LIBS
23332 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23333 GPHOTO2_LIBS = $GPHOTO2_LIBS
23334 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23335 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23336 RESOLV_LIBS = $RESOLV_LIBS
23337 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23338 FREETYPE_LIBS = $FREETYPE_LIBS
23339 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23340 PULSE_CFLAGS = $PULSE_CFLAGS
23341 PULSE_LIBS = $PULSE_LIBS
23342 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23343 GSTREAMER_LIBS = $GSTREAMER_LIBS
23344 ALSA_LIBS = $ALSA_LIBS
23345 OSS4_CFLAGS = $OSS4_CFLAGS
23346 OSS4_LIBS = $OSS4_LIBS
23347 UDEV_CFLAGS = $UDEV_CFLAGS
23348 UDEV_LIBS = $UDEV_LIBS
23349 UNWIND_CFLAGS = $UNWIND_CFLAGS
23350 UNWIND_LIBS = $UNWIND_LIBS
23351 SDL2_CFLAGS = $SDL2_CFLAGS
23352 SDL2_LIBS = $SDL2_LIBS
23353 CAPI20_CFLAGS = $CAPI20_CFLAGS
23354 CAPI20_LIBS = $CAPI20_LIBS
23355 CUPS_CFLAGS = $CUPS_CFLAGS
23356 CUPS_LIBS = $CUPS_LIBS
23357 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23358 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23359 KRB5_CFLAGS = $KRB5_CFLAGS
23360 KRB5_LIBS = $KRB5_LIBS
23361 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23362 GSSAPI_LIBS = $GSSAPI_LIBS
23363 PROCSTAT_LIBS = $PROCSTAT_LIBS
23364 NETAPI_CFLAGS = $NETAPI_CFLAGS
23365 NETAPI_LIBS = $NETAPI_LIBS
23366 MSVCRTFLAGS = $MSVCRTFLAGS
23367 DELAYLOADFLAG = $DELAYLOADFLAG
23368 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23369 RT_LIBS = $RT_LIBS
23370 TAGSFLAGS = $TAGSFLAGS
23371 LIBOBJS = $LIBOBJS
23372 LTLIBOBJS = $LTLIBOBJS
23373 $SET_MAKE
23374 $wine_rules
23375 _WINE_EOF
23376 as_fn_error $? "could not create Makefile" "$LINENO" 5
23379 _ACEOF
23381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23383 # Handling of arguments.
23384 for ac_config_target in $ac_config_targets
23386 case $ac_config_target in
23387 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23388 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23389 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23390 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23391 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23392 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23394 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23395 esac
23396 done
23399 # If the user did not use the arguments to specify the items to instantiate,
23400 # then the envvar interface is used. Set only those that are not.
23401 # We use the long form for the default assignment because of an extremely
23402 # bizarre bug on SunOS 4.1.3.
23403 if $ac_need_defaults; then
23404 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23405 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23406 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23409 # Have a temporary directory for convenience. Make it in the build tree
23410 # simply because there is no reason against having it here, and in addition,
23411 # creating and moving files from /tmp can sometimes cause problems.
23412 # Hook for its removal unless debugging.
23413 # Note that there is a small window in which the directory will not be cleaned:
23414 # after its creation but before its name has been assigned to `$tmp'.
23415 $debug ||
23417 tmp= ac_tmp=
23418 trap 'exit_status=$?
23419 : "${ac_tmp:=$tmp}"
23420 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23422 trap 'as_fn_exit 1' 1 2 13 15
23424 # Create a (secure) tmp directory for tmp files.
23427 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23428 test -d "$tmp"
23429 } ||
23431 tmp=./conf$$-$RANDOM
23432 (umask 077 && mkdir "$tmp")
23433 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23434 ac_tmp=$tmp
23436 # Set up the scripts for CONFIG_HEADERS section.
23437 # No need to generate them if there are no CONFIG_HEADERS.
23438 # This happens for instance with `./config.status Makefile'.
23439 if test -n "$CONFIG_HEADERS"; then
23440 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23441 BEGIN {
23442 _ACEOF
23444 # Transform confdefs.h into an awk script `defines.awk', embedded as
23445 # here-document in config.status, that substitutes the proper values into
23446 # config.h.in to produce config.h.
23448 # Create a delimiter string that does not exist in confdefs.h, to ease
23449 # handling of long lines.
23450 ac_delim='%!_!# '
23451 for ac_last_try in false false :; do
23452 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23453 if test -z "$ac_tt"; then
23454 break
23455 elif $ac_last_try; then
23456 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23457 else
23458 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23460 done
23462 # For the awk script, D is an array of macro values keyed by name,
23463 # likewise P contains macro parameters if any. Preserve backslash
23464 # newline sequences.
23466 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23467 sed -n '
23468 s/.\{148\}/&'"$ac_delim"'/g
23469 t rset
23470 :rset
23471 s/^[ ]*#[ ]*define[ ][ ]*/ /
23472 t def
23474 :def
23475 s/\\$//
23476 t bsnl
23477 s/["\\]/\\&/g
23478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23479 D["\1"]=" \3"/p
23480 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23482 :bsnl
23483 s/["\\]/\\&/g
23484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23485 D["\1"]=" \3\\\\\\n"\\/p
23486 t cont
23487 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23488 t cont
23490 :cont
23492 s/.\{148\}/&'"$ac_delim"'/g
23493 t clear
23494 :clear
23495 s/\\$//
23496 t bsnlc
23497 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23499 :bsnlc
23500 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23501 b cont
23502 ' <confdefs.h | sed '
23503 s/'"$ac_delim"'/"\\\
23504 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23507 for (key in D) D_is_set[key] = 1
23508 FS = "\a"
23510 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23511 line = \$ 0
23512 split(line, arg, " ")
23513 if (arg[1] == "#") {
23514 defundef = arg[2]
23515 mac1 = arg[3]
23516 } else {
23517 defundef = substr(arg[1], 2)
23518 mac1 = arg[2]
23520 split(mac1, mac2, "(") #)
23521 macro = mac2[1]
23522 prefix = substr(line, 1, index(line, defundef) - 1)
23523 if (D_is_set[macro]) {
23524 # Preserve the white space surrounding the "#".
23525 print prefix "define", macro P[macro] D[macro]
23526 next
23527 } else {
23528 # Replace #undef with comments. This is necessary, for example,
23529 # in the case of _POSIX_SOURCE, which is predefined and required
23530 # on some systems where configure will not decide to define it.
23531 if (defundef == "undef") {
23532 print "/*", prefix defundef, macro, "*/"
23533 next
23537 { print }
23538 _ACAWK
23539 _ACEOF
23540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23541 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23542 fi # test -n "$CONFIG_HEADERS"
23545 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23546 shift
23547 for ac_tag
23549 case $ac_tag in
23550 :[FHLC]) ac_mode=$ac_tag; continue;;
23551 esac
23552 case $ac_mode$ac_tag in
23553 :[FHL]*:*);;
23554 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23555 :[FH]-) ac_tag=-:-;;
23556 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23557 esac
23558 ac_save_IFS=$IFS
23559 IFS=:
23560 set x $ac_tag
23561 IFS=$ac_save_IFS
23562 shift
23563 ac_file=$1
23564 shift
23566 case $ac_mode in
23567 :L) ac_source=$1;;
23568 :[FH])
23569 ac_file_inputs=
23570 for ac_f
23572 case $ac_f in
23573 -) ac_f="$ac_tmp/stdin";;
23574 *) # Look for the file first in the build tree, then in the source tree
23575 # (if the path is not absolute). The absolute path cannot be DOS-style,
23576 # because $ac_f cannot contain `:'.
23577 test -f "$ac_f" ||
23578 case $ac_f in
23579 [\\/$]*) false;;
23580 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23581 esac ||
23582 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23583 esac
23584 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23585 as_fn_append ac_file_inputs " '$ac_f'"
23586 done
23588 # Let's still pretend it is `configure' which instantiates (i.e., don't
23589 # use $as_me), people would be surprised to read:
23590 # /* config.h. Generated by config.status. */
23591 configure_input='Generated from '`
23592 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23593 `' by configure.'
23594 if test x"$ac_file" != x-; then
23595 configure_input="$ac_file. $configure_input"
23596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23597 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23599 # Neutralize special characters interpreted by sed in replacement strings.
23600 case $configure_input in #(
23601 *\&* | *\|* | *\\* )
23602 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23603 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23604 *) ac_sed_conf_input=$configure_input;;
23605 esac
23607 case $ac_tag in
23608 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23610 esac
23612 esac
23614 ac_dir=`$as_dirname -- "$ac_file" ||
23615 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23616 X"$ac_file" : 'X\(//\)[^/]' \| \
23617 X"$ac_file" : 'X\(//\)$' \| \
23618 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23619 printf "%s\n" X"$ac_file" |
23620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23621 s//\1/
23624 /^X\(\/\/\)[^/].*/{
23625 s//\1/
23628 /^X\(\/\/\)$/{
23629 s//\1/
23632 /^X\(\/\).*/{
23633 s//\1/
23636 s/.*/./; q'`
23637 as_dir="$ac_dir"; as_fn_mkdir_p
23638 ac_builddir=.
23640 case "$ac_dir" in
23641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23643 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23644 # A ".." for each directory in $ac_dir_suffix.
23645 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23646 case $ac_top_builddir_sub in
23647 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23648 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23649 esac ;;
23650 esac
23651 ac_abs_top_builddir=$ac_pwd
23652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23653 # for backward compatibility:
23654 ac_top_builddir=$ac_top_build_prefix
23656 case $srcdir in
23657 .) # We are building in place.
23658 ac_srcdir=.
23659 ac_top_srcdir=$ac_top_builddir_sub
23660 ac_abs_top_srcdir=$ac_pwd ;;
23661 [\\/]* | ?:[\\/]* ) # Absolute name.
23662 ac_srcdir=$srcdir$ac_dir_suffix;
23663 ac_top_srcdir=$srcdir
23664 ac_abs_top_srcdir=$srcdir ;;
23665 *) # Relative name.
23666 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23667 ac_top_srcdir=$ac_top_build_prefix$srcdir
23668 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23669 esac
23670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23673 case $ac_mode in
23677 # CONFIG_HEADER
23679 if test x"$ac_file" != x-; then
23681 printf "%s\n" "/* $configure_input */" >&1 \
23682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23683 } >"$ac_tmp/config.h" \
23684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23685 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23687 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23688 else
23689 rm -f "$ac_file"
23690 mv "$ac_tmp/config.h" "$ac_file" \
23691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23693 else
23694 printf "%s\n" "/* $configure_input */" >&1 \
23695 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23696 || as_fn_error $? "could not create -" "$LINENO" 5
23701 # CONFIG_LINK
23704 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23706 else
23707 # Prefer the file from the source tree if names are identical.
23708 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23709 ac_source=$srcdir/$ac_source
23712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23713 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23715 if test ! -r "$ac_source"; then
23716 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23718 rm -f "$ac_file"
23720 # Try a relative symlink, then a hard link, then a copy.
23721 case $ac_source in
23722 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23723 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23724 esac
23725 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23726 ln "$ac_source" "$ac_file" 2>/dev/null ||
23727 cp -p "$ac_source" "$ac_file" ||
23728 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23731 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23732 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23734 esac
23737 case $ac_file$ac_mode in
23738 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23739 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23740 "Makefile":C) wine_fn_output_makefile Makefile ;;
23742 esac
23743 done # for ac_tag
23746 as_fn_exit 0
23747 _ACEOF
23748 ac_clean_files=$ac_clean_files_save
23750 test $ac_write_fail = 0 ||
23751 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23754 # configure is writing to config.log, and then calls config.status.
23755 # config.status does its own redirection, appending to config.log.
23756 # Unfortunately, on DOS this fails, as config.log is still kept open
23757 # by configure, so config.status won't be able to write to it; its
23758 # output is simply discarded. So we exec the FD to /dev/null,
23759 # effectively closing config.log, so it can be properly (re)opened and
23760 # appended to by config.status. When coming back to configure, we
23761 # need to make the FD available again.
23762 if test "$no_create" != yes; then
23763 ac_cs_success=:
23764 ac_config_status_args=
23765 test "$silent" = yes &&
23766 ac_config_status_args="$ac_config_status_args --quiet"
23767 exec 5>/dev/null
23768 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23769 exec 5>>config.log
23770 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23771 # would make configure fail if this is the last instruction.
23772 $ac_cs_success || as_fn_exit 1
23774 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23776 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23780 if test "$no_create" = "yes"
23781 then
23782 exit 0
23785 ac_save_IFS="$IFS"
23786 if test "x$wine_notices" != x; then
23787 echo >&6
23788 IFS="|"
23789 for msg in $wine_notices; do
23790 IFS="$ac_save_IFS"
23791 if ${msg:+false} :
23792 then :
23794 else $as_nop
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23796 printf "%s\n" "$as_me: $msg" >&6;}
23798 done
23800 IFS="|"
23801 for msg in $wine_warnings; do
23802 IFS="$ac_save_IFS"
23803 if ${msg:+false} :
23804 then :
23806 else $as_nop
23807 echo >&2
23808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23809 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23811 done
23812 IFS="$ac_save_IFS"
23814 printf "%s\n" "
23815 $as_me: Finished. Do '${ac_make}' to compile Wine.
23816 " >&6